Searched refs:MNAMELEN (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-11-stable/lib/libnandfs/
H A Dlibnandfs.h35 char n_ioc[MNAMELEN];
36 char n_dev[MNAMELEN];
/freebsd-11-stable/sys/nfs/
H A Dnfs_mountcommon.h49 char nmcom_hostname[MNAMELEN]; /* server's name */
H A Dnfsdiskless.h66 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
100 char root_hostnam[MNAMELEN]; /* Host name for mount pt */
H A Dnfs_diskless.c281 strncpy(nd3->root_hostnam, cp, MNAMELEN - 1);
315 strncpy(nd->root_hostnam, cp, MNAMELEN - 1);
/freebsd-11-stable/contrib/sendmail/mailstats/
H A Dmailstats.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] */
/freebsd-11-stable/sys/nfsclient/
H A Dnfsmount.h84 char nm_principal[MNAMELEN]; /* GSS-API principal of server */
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-statvfs.c41 to->f_namemax = MNAMELEN;
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_fs.h539 #ifndef MNAMELEN
540 #define MNAMELEN 88 macro
547 char fs_dev[MNAMELEN];
/freebsd-11-stable/usr.sbin/rpc.umntall/
H A Drpc.umntall.c231 char name[MNAMELEN + 1];
235 if (strlen(hostname) + strlen(dirp) >= MNAMELEN)
/freebsd-11-stable/sbin/fsck/
H A Dfsutil.c159 char device[sizeof(_PATH_DEV) - 1 + MNAMELEN];
/freebsd-11-stable/sys/kern/
H A Dvfs_mount.c481 strlcpy(mp->mnt_stat.f_mntonname, fspath, MNAMELEN);
709 if (fstypelen > MFSNAMELEN || fspathlen > MNAMELEN) {
803 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN);
1112 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN)
1166 pathbuf = malloc(MNAMELEN, M_TEMP, M_WAITOK);
1168 error = vn_path_to_global_path(td, vp, pathbuf, MNAMELEN);
1209 pathbuf = malloc(MNAMELEN, M_TEMP, M_WAITOK);
1210 error = copyinstr(uap->path, pathbuf, MNAMELEN, NULL);
1241 MNAMELEN);
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clvfsops.c267 bcopy(nfs_diskless.root_hostnam, nfsv3_diskless.root_hostnam, MNAMELEN);
342 bcopy(mp->mnt_stat.f_mntonname, sbp->f_mntonname, MNAMELEN);
343 bcopy(mp->mnt_stat.f_mntfromname, sbp->f_mntfromname, MNAMELEN);
757 nam = malloc(MNAMELEN + 1, M_TEMP, M_WAITOK);
790 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) {
890 hst = malloc(MNAMELEN, M_TEMP, M_WAITOK);
1232 error = copyinstr(args.hostname, hst, MNAMELEN - 1, &hstlen);
1235 bzero(&hst[hstlen], MNAMELEN - hstlen);
1246 bcopy(args.hostname, hst, MNAMELEN);
1247 hst[MNAMELEN
[all...]
H A Dnfs_clport.c1376 buf = malloc(MNAMELEN + 1, M_TEMP, M_WAITOK);
1377 error = copyinstr(uap->argp, buf, MNAMELEN + 1, NULL);
/freebsd-11-stable/sys/fs/fuse/
H A Dfuse_vfsops.c348 copystr(fspec, mp->mnt_stat.f_mntfromname, MNAMELEN - 1, &len);
349 bzero(mp->mnt_stat.f_mntfromname + len, MNAMELEN - len);
/freebsd-11-stable/lib/libc/gen/
H A Dfstab.c91 static char buf[sizeof(_PATH_DEV) + MNAMELEN];
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_vfs.c135 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN)
/freebsd-11-stable/usr.sbin/autofs/
H A Dautounmountd.c59 char af_mountpoint[MNAMELEN];
/freebsd-11-stable/bin/df/
H A Ddf.c145 strlcpy(totalbuf.f_mntfromname, "total", MNAMELEN);
571 if (strncmp(sfsp->f_mntfromname, "total", MNAMELEN) != 0)
/freebsd-11-stable/sys/sys/
H A Dmount.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 */
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_vfsops.c217 bzero(pc, MNAMELEN);
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion_vfsops.c304 len = MNAMELEN - 1;
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_file.c1113 char mntonname[MNAMELEN], mntfromname[MNAMELEN];
1121 error = copyinstr(args->specialfile, mntfromname, MNAMELEN - 1, NULL);
1124 error = copyinstr(args->dir, mntonname, MNAMELEN - 1, NULL);
/freebsd-11-stable/sbin/fsck_ffs/
H A Dmain.c643 char device[sizeof(_PATH_DEV) - 1 + MNAMELEN];
/freebsd-11-stable/sbin/mount_nfs/
H A Dmount_nfs.c523 static char nam[MNAMELEN + 1], pname[MAXHOSTNAMELEN + 5];
551 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) {
/freebsd-11-stable/lib/libprocstat/
H A Dlibprocstat.c1661 char mntonname[MNAMELEN + 1];
1675 bcopy(&mnt.mnt_stat.f_mntonname[0], &mt->mntonname[0], MNAMELEN);
1676 mt->mntonname[MNAMELEN] = '\0';

Completed in 521 milliseconds

12