Home
last modified time | relevance | path

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

/f-stack/freebsd/kern/
H A Dvfs_mount.c524 strlcpy(mp->mnt_stat.f_mntonname, fspath, MNAMELEN); in vfs_mount_alloc()
782 if (fstypelen > MFSNAMELEN || fspathlen > MNAMELEN) { in vfs_donmount()
879 ma = mount_argsu(ma, "fspath", uap->path, MNAMELEN); in sys_mount()
1305 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in vfs_domount()
1362 pathbuf = malloc(MNAMELEN, M_TEMP, M_WAITOK); in vfs_domount()
1364 error = vn_path_to_global_path(td, vp, pathbuf, MNAMELEN); in vfs_domount()
1411 pathbuf = malloc(MNAMELEN, M_TEMP, M_WAITOK); in kern_unmount()
1412 error = copyinstr(path, pathbuf, MNAMELEN, NULL); in kern_unmount()
1443 MNAMELEN); in kern_unmount()
H A Dvfs_mountroot.c373 fspath, MNAMELEN); in vfs_mountroot_shuffle()
H A Dvfs_syscalls.c738 MIN(MNAMELEN, OMNAMELEN)); in freebsd4_cvtstatfs()
740 MIN(MNAMELEN, OMNAMELEN)); in freebsd4_cvtstatfs()
871 MIN(MNAMELEN, sizeof(osp->f_mntonname))); in freebsd11_cvtstatfs()
873 MIN(MNAMELEN, sizeof(osp->f_mntfromname))); in freebsd11_cvtstatfs()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c142 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot()
/f-stack/freebsd/sys/
H A Dmount.h76 #define MNAMELEN 1024 /* size of on/from name bufs */ macro
99 char f_mntfromname[MNAMELEN]; /* mounted filesystem */
100 char f_mntonname[MNAMELEN]; /* directory on which mounted */
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c957 if (strlen(osname) >= MNAMELEN) in zfsvfs_create()