Home
last modified time | relevance | path

Searched refs:MNAMELEN (Results 1 – 25 of 30) sorted by relevance

12

/trueos/contrib/sendmail/mailstats/
HDmailstats.c43 #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/
HDlibnandfs.h35 char n_ioc[MNAMELEN];
36 char n_dev[MNAMELEN];
/trueos/sys/nfs/
HDnfsdiskless.h66 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
100 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
HDnfs_mountcommon.h49 char nmcom_hostname[MNAMELEN]; /* server's name */
HDnfs_diskless.c271 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/
HDnandfs_fs.h539 #ifndef MNAMELEN
540 #define MNAMELEN 88 macro
547 char fs_dev[MNAMELEN];
/trueos/usr.sbin/rpc.umntall/
HDrpc.umntall.c229 char name[MNAMELEN + 1]; in is_mounted()
233 if (strlen(hostname) + strlen(dirp) >= MNAMELEN) in is_mounted()
/trueos/sys/kern/
HDvfs_mount.c475 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/
HDbsd-statvfs.c43 to->f_namemax = MNAMELEN; in copy_statfs_to_statvfs()
/trueos/sys/nfsclient/
HDnfsmount.h84 char nm_principal[MNAMELEN]; /* GSS-API principal of server */
HDnfs_vfsops.c258 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/
HDnfs_clvfsops.c261 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/
HDreiserfs_vfsops.c163 (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/
HDfsutil.c159 char device[sizeof(_PATH_DEV) - 1 + MNAMELEN]; in getmntpt()
/trueos/sys/fs/fuse/
HDfuse_vfsops.c348 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/
HDmount.h68 #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/
HDopensolaris_vfs.c129 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot()
/trueos/lib/libc/gen/
HDfstab.c91 static char buf[sizeof(_PATH_DEV) + MNAMELEN]; in fixfsfile()
/trueos/usr.sbin/autofs/
HDautounmountd.c57 char af_mountpoint[MNAMELEN];
/trueos/sys/compat/linux/
HDlinux_file.c1077 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/
HDmount_nfs.c522 static char nam[MNAMELEN + 1], pname[MAXHOSTNAMELEN + 5]; in getnfsargs()
550 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { in getnfsargs()
/trueos/sys/fs/smbfs/
HDsmbfs_vfsops.c217 bzero(pc, MNAMELEN); in smbfs_mount()
/trueos/sys/fs/unionfs/
HDunion_vfsops.c305 len = MNAMELEN - 1; in unionfs_domount()
/trueos/sbin/fsck_ffs/
HDmain.c631 char device[sizeof(_PATH_DEV) - 1 + MNAMELEN]; in getmntpt()
/trueos/lib/libprocstat/
HDlibprocstat.c1647 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()

12