Home
last modified time | relevance | path

Searched refs:dspath (Results 1 – 7 of 7) sorted by relevance

/freebsd/usr.sbin/pnfsdscopymr/
H A Dpnfsdscopymr.c87 pnfsdarg.dspath = pnfsdarg.curdspath = NULL; in main()
102 pnfsdarg.dspath = optarg; in main()
113 pnfsdarg.dspath = *argv++; in main()
124 if (pnfsdarg.dspath != NULL && pnfsdarg.curdspath != NULL && in main()
125 strcmp(pnfsdarg.dspath, pnfsdarg.curdspath) == 0) in main()
158 /* For pnfsdarg.dspath set, if it is already in list, just exit(0); */ in main()
159 if (pnfsdarg.dspath != NULL) { in main()
160 /* Check the dspath to see that it's an NFS mount. */ in main()
161 if (stat(pnfsdarg.dspath, &sb) < 0) in main()
162 errx(1, "Can't stat %s", pnfsdarg.dspath); in main()
[all...]
/freebsd/usr.sbin/nfsd/
H A Dnfsd.c1195 char *cp, *cp2, *dsaddr, *dshost, *dspath, *dsvol, nfsprt[9]; in parse_dsserver() local
1213 dspath = malloc(dspathsiz); in parse_dsserver()
1214 if (dspath == NULL) in parse_dsserver()
1264 dspath = realloc(dspath, dspathsiz); in parse_dsserver()
1265 if (dspath == NULL) in parse_dsserver()
1268 strcpy(&dspath[dspathcnt], dsvol); in parse_dsserver()
1371 nfsdargp->dspath = dspath; in parse_dsserver()
/freebsd/usr.sbin/pnfsdskill/
H A Dpnfsdskill.c84 pnfsdarg.dspath = *argv; in main()
/freebsd/lib/libbe/
H A Dbe.c723 be_get_path(struct libbe_deep_clone *ldc, const char *dspath, char *result, int result_size) in be_get_path() argument
729 pos = strstr(dspath, ldc->lbh->root); in be_get_path()
754 const char *dspath; in be_clone_cb() local
761 dspath = zfs_get_name(ds); in be_clone_cb()
763 snprintf(snap_path, sizeof(snap_path), "%s@%s", dspath, ldc->snapname); in be_clone_cb()
766 if (be_get_path(ldc, dspath, be_path, sizeof(be_path)) != BE_ERR_SUCCESS) in be_clone_cb()
/freebsd/sys/fs/nfs/
H A Dnfs.h191 char *dspath; /* DS Mount path on MDS */ member
209 char *dspath; /* Path of recovered DS mounted on dir. */ member
/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdport.c3838 nfsdarg.dspath = NULL; in nfssvc_nfsd()
3855 nfsdarg.dspath != NULL && nfsdarg.mdspath != NULL) { in nfssvc_nfsd()
3878 error = copyin(nfsdarg.dspath, cp, nfsdarg.dspathlen); in nfssvc_nfsd()
3886 nfsdarg.dspath = cp; in nfssvc_nfsd()
3892 free(nfsdarg.dspath, M_TEMP); in nfssvc_nfsd()
3903 nfsdarg.dspath = NULL; in nfssvc_nfsd()
3914 free(nfsdarg.dspath, M_TEMP); in nfssvc_nfsd()
3921 error = copyinstr(pnfsdarg.dspath, cp, PATH_MAX + 1, in nfssvc_nfsd()
3933 if (error == 0 && pnfsdarg.dspath != NULL) { in nfssvc_nfsd()
3935 error = copyinstr(pnfsdarg.dspath, cp2, in nfssvc_nfsd()
H A Dnfs_nfsdstate.c8086 dspathp = args->dspath; in nfsrv_createdevids()
8099 dspathp < (args->dspath + args->dspathlen) && in nfsrv_createdevids()