Home
last modified time | relevance | path

Searched refs:nxfs_path (Results 1 – 3 of 3) sorted by relevance

/xnu-8796.141.3/bsd/nfs/
H A Dnfs_syscalls.c228 if (!strncmp(nxfs->nxfs_path, ptr, MAXPATHLEN)) { in nfsrv_find_exportfs()
232 if (nxfs && strncmp(nxfs->nxfs_path, ptr, strlen(nxfs->nxfs_path))) { in nfsrv_find_exportfs()
240 nfsrv_export_remainder(char *path, char *nxfs_path) in nfsrv_export_remainder() argument
248 if (!strncmp(path, nxfs_path, strlen(nxfs_path))) { in nfsrv_export_remainder()
249 return path + strlen(nxfs_path); in nfsrv_export_remainder()
253 UIO_SYSSPACE, CAST_USER_ADDR_T(nxfs_path), vfs_context_current()); in nfsrv_export_remainder()
359 if ((ptr = nfsrv_export_remainder(path, nxfs->nxfs_path)) == NULL) { in getfh()
1444 nxfs->nxfs_path, ((nxfs->nxfs_path[1] && nx->nx_path[0]) ? "/" : ""), in nfssvc_exportstats()
1530 nxfs->nxfs_path, ((nxfs->nxfs_path[1] && nx->nx_path[0]) ? "/" : ""), in nfssvc_userstats()
H A Dnfs_subs.c1703 char path[MAXPATHLEN], *nxfs_path; in nfsrv_export() local
1749 mp = vfs_getvfs_by_mntonname(nxfs->nxfs_path); in nfsrv_export()
1771 kfree_data_addr(nxfs->nxfs_path); in nfsrv_export()
1807 if (nfsrv_export_compare(path, nxfs->nxfs_path)) { in nfsrv_export()
1814 UIO_SYSSPACE, CAST_USER_ADDR_T(nxfs->nxfs_path), ctx); in nfsrv_export()
1826 mp = nfsrv_getvfs_by_mntonname(nxfs->nxfs_path); in nfsrv_export()
1887 nxfs_path = mp->mnt_vfsstat.f_mntonname; in nfsrv_export()
1890 nxfs_path = path; in nfsrv_export()
1893 nxfs->nxfs_path = kalloc_data(nxfs_pathlen, Z_WAITOK); in nfsrv_export()
1894 if (!nxfs->nxfs_path) { in nfsrv_export()
[all …]
H A Dnfs.h712 char *nxfs_path; /* exported file system path */ member