Lines Matching refs:fsb
1165 struct statfs fsb; in mntsrv() local
1226 statfs(dirpath, &fsb) < 0) { in mntsrv()
1251 ep = ex_search(&fsb.f_fsid, exphead); in mntsrv()
1587 struct statfs fsb; in get_exportlist_one() local
1599 fsb.f_mntonname[0] = '\0'; in get_exportlist_one()
1681 check_statfs(unvis_dir, &fsb, &err_msg)) { in get_exportlist_one()
1682 if ((fsb.f_flags & MNT_AUTOMOUNTED) != 0) in get_exportlist_one()
1712 if (fsidcmp(&ep->ex_fs, &fsb.f_fsid) in get_exportlist_one()
1723 ep = ex_search(&fsb.f_fsid, exphead); in get_exportlist_one()
1726 ep->ex_fs = fsb.f_fsid; in get_exportlist_one()
1727 ep->ex_fsdir = strdup(fsb.f_mntonname); in get_exportlist_one()
1733 fsb.f_fsid.val[0], in get_exportlist_one()
1734 fsb.f_fsid.val[1]); in get_exportlist_one()
1737 fsb.f_fsid.val[0], in get_exportlist_one()
1738 fsb.f_fsid.val[1]); in get_exportlist_one()
1741 if (strcmp(unvis_dir, fsb.f_mntonname) != in get_exportlist_one()
1815 fsb.f_mntonname[0] != '\0') { in get_exportlist_one()
1818 "system", unvis_dir, fsb.f_mntonname); in get_exportlist_one()
1821 fsb.f_mntonname); in get_exportlist_one()
1874 dirp, dirplen, &fsb, ep->ex_numsecflavors, in get_exportlist_one()
3189 struct expcred *anoncrp, char *dirp, int dirplen, struct statfs *fsb, in do_mount() argument
3307 iov[1].iov_base = fsb->f_fstypename; /* "fstype" */ in do_mount()
3308 iov[1].iov_len = strlen(fsb->f_fstypename) + 1; in do_mount()
3309 iov[3].iov_base = fsb->f_mntonname; /* "fspath" */ in do_mount()
3310 iov[3].iov_len = strlen(fsb->f_mntonname) + 1; in do_mount()
3311 iov[5].iov_base = fsb->f_mntfromname; /* "from" */ in do_mount()
3312 iov[5].iov_len = strlen(fsb->f_mntfromname) + 1; in do_mount()
3315 while (nmount(iov, iovlen, fsb->f_flags) < 0) { in do_mount()
3367 fsidcmp(&fsb1.f_fsid, &fsb->f_fsid) != 0) { in do_mount()
3945 check_statfs(const char *dirp, struct statfs *fsb, char **err) in check_statfs() argument
3947 if (statfs(dirp, fsb)) { in check_statfs()