Lines Matching refs:curdspath
87 pnfsdarg.dspath = pnfsdarg.curdspath = NULL;
95 pnfsdarg.curdspath = optarg;
124 if (pnfsdarg.dspath != NULL && pnfsdarg.curdspath != NULL &&
125 strcmp(pnfsdarg.dspath, pnfsdarg.curdspath) == 0)
220 /* For "-m", the pnfsdarg.curdspath must be in the list. */
221 if (pnfsdarg.curdspath != NULL) {
222 /* Check pnfsdarg.curdspath to see that it's an NFS mount. */
223 if (stat(pnfsdarg.curdspath, &sb) < 0)
224 errx(1, "Can't stat %s", pnfsdarg.curdspath);
226 errx(1, "%s is not a directory", pnfsdarg.curdspath);
227 if (statfs(pnfsdarg.curdspath, &sf) < 0)
228 errx(1, "Can't fsstat %s", pnfsdarg.curdspath);
230 errx(1, "%s is not an NFS mount", pnfsdarg.curdspath);
231 if (strcmp(sf.f_mntonname, pnfsdarg.curdspath) != 0)
233 pnfsdarg.curdspath);