| /trueos/contrib/sendmail/mailstats/ |
| HD | mailstats.c | 43 #define MNAMELEN 20 /* max length of mailer name */ macro 64 char mtable[MAXMAILERS][MNAMELEN + 1]; 133 (void) sm_strlcpy(mtable[mno++], "prog", MNAMELEN + 1); 134 (void) sm_strlcpy(mtable[mno++], "*file*", MNAMELEN + 1); 135 (void) sm_strlcpy(mtable[mno++], "*include*", MNAMELEN + 1); 199 s = m + MNAMELEN; /* is [MNAMELEN + 1] */
|
| /trueos/lib/libnandfs/ |
| HD | libnandfs.h | 35 char n_ioc[MNAMELEN]; 36 char n_dev[MNAMELEN];
|
| /trueos/sys/nfs/ |
| HD | nfsdiskless.h | 66 char root_hostnam[MNAMELEN]; /* Host name for mount pt */ 100 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
|
| HD | nfs_mountcommon.h | 49 char nmcom_hostname[MNAMELEN]; /* server's name */
|
| HD | nfs_diskless.c | 271 strncpy(nd3->root_hostnam, cp, MNAMELEN - 1); in nfs_setup_diskless() 305 strncpy(nd->root_hostnam, cp, MNAMELEN - 1); in nfs_setup_diskless()
|
| /trueos/sys/fs/nandfs/ |
| HD | nandfs_fs.h | 539 #ifndef MNAMELEN 540 #define MNAMELEN 88 macro 547 char fs_dev[MNAMELEN];
|
| /trueos/usr.sbin/rpc.umntall/ |
| HD | rpc.umntall.c | 229 char name[MNAMELEN + 1]; in is_mounted() 233 if (strlen(hostname) + strlen(dirp) >= MNAMELEN) in is_mounted()
|
| /trueos/sys/kern/ |
| HD | vfs_mount.c | 475 strlcpy(mp->mnt_stat.f_mntonname, fspath, MNAMELEN); in vfs_mount_alloc() 663 if (fstypelen > MFSNAMELEN || fspathlen > MNAMELEN) { in vfs_donmount() 751 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN); 1045 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in vfs_domount() 1099 pathbuf = malloc(MNAMELEN, M_TEMP, M_WAITOK); in vfs_domount() 1101 error = vn_path_to_global_path(td, vp, pathbuf, MNAMELEN); in vfs_domount() 1145 pathbuf = malloc(MNAMELEN, M_TEMP, M_WAITOK); in sys_unmount() 1146 error = copyinstr(uap->path, pathbuf, MNAMELEN, NULL); in sys_unmount() 1177 MNAMELEN); in sys_unmount()
|
| /trueos/crypto/openssh/openbsd-compat/ |
| HD | bsd-statvfs.c | 43 to->f_namemax = MNAMELEN; in copy_statfs_to_statvfs()
|
| /trueos/sys/nfsclient/ |
| HD | nfsmount.h | 84 char nm_principal[MNAMELEN]; /* GSS-API principal of server */
|
| HD | nfs_vfsops.c | 258 bcopy(nfs_diskless.root_hostnam, nfsv3_diskless.root_hostnam, MNAMELEN); in nfs_convert_diskless() 837 char hst[MNAMELEN]; in nfs_mount() 1171 error = copyinstr(args.hostname, hst, MNAMELEN-1, &len); in nfs_mount() 1175 bzero(&hst[len], MNAMELEN - len); in nfs_mount() 1295 bcopy(hst, mp->mnt_stat.f_mntfromname, MNAMELEN); in mountnfs()
|
| /trueos/sys/fs/nfsclient/ |
| HD | nfs_clvfsops.c | 261 bcopy(nfs_diskless.root_hostnam, nfsv3_diskless.root_hostnam, MNAMELEN); in nfs_convert_diskless() 336 bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN); in nfs_statfs() 337 bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN); in nfs_statfs() 775 char hst[MNAMELEN]; in nfs_mount() 1121 error = copyinstr(args.hostname, hst, MNAMELEN - 1, &hstlen); in nfs_mount() 1124 bzero(&hst[hstlen], MNAMELEN - hstlen); in nfs_mount() 1150 bcopy(args.hostname, hst, MNAMELEN); in nfs_mount() 1151 hst[MNAMELEN - 1] = '\0'; in nfs_mount() 1364 bcopy(hst, mp->mnt_stat.f_mntfromname, MNAMELEN); in mountnfs()
|
| /trueos/sys/gnu/fs/reiserfs/ |
| HD | reiserfs_vfsops.c | 163 (void)copystr(fspec, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, &size); in reiserfs_mount() 164 bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size); in reiserfs_mount() 315 (caddr_t)&sbp->f_mntonname[0], MNAMELEN); in reiserfs_statfs() 317 (caddr_t)&sbp->f_mntfromname[0], MNAMELEN); in reiserfs_statfs()
|
| /trueos/sbin/fsck/ |
| HD | fsutil.c | 159 char device[sizeof(_PATH_DEV) - 1 + MNAMELEN]; in getmntpt()
|
| /trueos/sys/fs/fuse/ |
| HD | fuse_vfsops.c | 348 copystr(fspec, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, &len); in fuse_vfsop_mount() 349 bzero(mp->mnt_stat.f_mntfromname + len, MNAMELEN - len); in fuse_vfsop_mount()
|
| /trueos/sys/sys/ |
| HD | mount.h | 68 #define MNAMELEN 88 /* size of on/from name bufs */ macro 91 char f_mntfromname[MNAMELEN]; /* mounted filesystem */ 92 char f_mntonname[MNAMELEN]; /* directory on which mounted */
|
| /trueos/sys/cddl/compat/opensolaris/kern/ |
| HD | opensolaris_vfs.c | 129 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot()
|
| /trueos/lib/libc/gen/ |
| HD | fstab.c | 91 static char buf[sizeof(_PATH_DEV) + MNAMELEN]; in fixfsfile()
|
| /trueos/usr.sbin/autofs/ |
| HD | autounmountd.c | 57 char af_mountpoint[MNAMELEN];
|
| /trueos/sys/compat/linux/ |
| HD | linux_file.c | 1077 char mntonname[MNAMELEN], mntfromname[MNAMELEN]; in linux_mount() 1086 error = copyinstr(args->specialfile, mntfromname, MNAMELEN - 1, NULL); in linux_mount() 1089 error = copyinstr(args->dir, mntonname, MNAMELEN - 1, NULL); in linux_mount()
|
| /trueos/sbin/mount_nfs/ |
| HD | mount_nfs.c | 522 static char nam[MNAMELEN + 1], pname[MAXHOSTNAMELEN + 5]; in getnfsargs() 550 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { in getnfsargs()
|
| /trueos/sys/fs/smbfs/ |
| HD | smbfs_vfsops.c | 217 bzero(pc, MNAMELEN); in smbfs_mount()
|
| /trueos/sys/fs/unionfs/ |
| HD | union_vfsops.c | 305 len = MNAMELEN - 1; in unionfs_domount()
|
| /trueos/sbin/fsck_ffs/ |
| HD | main.c | 631 char device[sizeof(_PATH_DEV) - 1 + MNAMELEN]; in getmntpt()
|
| /trueos/lib/libprocstat/ |
| HD | libprocstat.c | 1647 char mntonname[MNAMELEN + 1]; in getmnton() 1661 bcopy(&mnt.mnt_stat.f_mntonname[0], &mt->mntonname[0], MNAMELEN); in getmnton() 1662 mt->mntonname[MNAMELEN] = '\0'; in getmnton()
|