Lines Matching defs:stfsbuf
77 struct statfs stfsbuf;
82 if (statfs(path, &stfsbuf) < 0)
84 if (fsidcmp(&stfsbuf.f_fsid, &stfsp->f_fsid) != 0)
94 struct statfs stfsbuf;
125 if (statfs(path, &stfsbuf) < 0)
145 for (cp = stfsbuf.f_mntonname; issamefs(cp, &stfsbuf) != 1;
148 errx(1, "%s: Not a mount point", stfsbuf.f_mntonname);
150 if (cp != stfsbuf.f_mntonname)
151 strlcpy(stfsbuf.f_mntonname, cp, sizeof(stfsbuf.f_mntonname));
164 build_iovec(&iov, &iovlen, "fspath", stfsbuf.f_mntonname, (size_t)-1);
170 if (nmount(iov, iovlen, stfsbuf.f_flags) < 0) {