Lines Matching refs:fsb
1166 struct statfs fsb; in mntsrv() local
1227 statfs(dirpath, &fsb) < 0) { in mntsrv()
1252 ep = ex_search(&fsb.f_fsid, exphead); in mntsrv()
1588 struct statfs fsb; in get_exportlist_one() local
1600 fsb.f_mntonname[0] = '\0'; in get_exportlist_one()
1682 check_statfs(unvis_dir, &fsb, &err_msg)) { in get_exportlist_one()
1683 if ((fsb.f_flags & MNT_AUTOMOUNTED) != 0) in get_exportlist_one()
1713 if (fsidcmp(&ep->ex_fs, &fsb.f_fsid) in get_exportlist_one()
1724 ep = ex_search(&fsb.f_fsid, exphead); in get_exportlist_one()
1727 ep->ex_fs = fsb.f_fsid; in get_exportlist_one()
1728 ep->ex_fsdir = strdup(fsb.f_mntonname); in get_exportlist_one()
1734 fsb.f_fsid.val[0], in get_exportlist_one()
1735 fsb.f_fsid.val[1]); in get_exportlist_one()
1738 fsb.f_fsid.val[0], in get_exportlist_one()
1739 fsb.f_fsid.val[1]); in get_exportlist_one()
1742 if (strcmp(unvis_dir, fsb.f_mntonname) != in get_exportlist_one()
1816 fsb.f_mntonname[0] != '\0') { in get_exportlist_one()
1819 "system", unvis_dir, fsb.f_mntonname); in get_exportlist_one()
1822 fsb.f_mntonname); in get_exportlist_one()
1875 dirp, dirplen, &fsb, ep->ex_numsecflavors, in get_exportlist_one()
3219 struct expcred *anoncrp, char *dirp, int dirplen, struct statfs *fsb, in do_mount() argument
3337 iov[1].iov_base = fsb->f_fstypename; /* "fstype" */ in do_mount()
3338 iov[1].iov_len = strlen(fsb->f_fstypename) + 1; in do_mount()
3339 iov[3].iov_base = fsb->f_mntonname; /* "fspath" */ in do_mount()
3340 iov[3].iov_len = strlen(fsb->f_mntonname) + 1; in do_mount()
3341 iov[5].iov_base = fsb->f_mntfromname; /* "from" */ in do_mount()
3342 iov[5].iov_len = strlen(fsb->f_mntfromname) + 1; in do_mount()
3345 while (nmount(iov, iovlen, fsb->f_flags) < 0) { in do_mount()
3397 fsidcmp(&fsb1.f_fsid, &fsb->f_fsid) != 0) { in do_mount()
3964 check_statfs(const char *dirp, struct statfs *fsb, char **err) in check_statfs() argument
3966 if (statfs(dirp, fsb)) { in check_statfs()