Home
last modified time | relevance | path

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

/netbsd-src/sys/nfs/
H A Dnfs_serv.c438 ind.ni_pathbuf = ipb; in nfsrv_lookup()
466 if (nd.ni_pathbuf != NULL) { in nfsrv_lookup()
467 pathbuf_destroy(nd.ni_pathbuf); in nfsrv_lookup()
486 pathbuf_destroy(nd.ni_pathbuf); in nfsrv_lookup()
1458 if (nd.ni_pathbuf != NULL) { in nfsrv_create()
1459 pathbuf_destroy(nd.ni_pathbuf); in nfsrv_create()
1460 nd.ni_pathbuf = NULL; in nfsrv_create()
1544 if (nd.ni_pathbuf != NULL) { in nfsrv_create()
1545 pathbuf_destroy(nd.ni_pathbuf); in nfsrv_create()
1546 nd.ni_pathbuf = NULL; in nfsrv_create()
[all …]
H A Dnfs_srvsubs.c130 ndp->ni_pathbuf = NULL; in nfs_namei()
250 ndp->ni_pathbuf = pathbuf_assimilate(path); in nfs_namei()
251 if (ndp->ni_pathbuf == NULL) { in nfs_namei()
278 if (ndp->ni_pathbuf != NULL) { in nfs_namei()
279 pathbuf_destroy(ndp->ni_pathbuf); in nfs_namei()
280 ndp->ni_pathbuf = NULL; in nfs_namei()
/netbsd-src/sys/sys/
H A Dnamei.h115 struct pathbuf *ni_pathbuf; /* pathname container */ member
188 (ndp)->ni_pathbuf = pathbuf; \
H A Dnamei.src107 struct pathbuf *ni_pathbuf; /* pathname container */
180 (ndp)->ni_pathbuf = pathbuf; \
/netbsd-src/sys/kern/
H A Dvfs_lookup.c499 state->ndp->ni_pnbuf = state->ndp->ni_pathbuf->pb_path; in namei_cleanup()
1913 savepath = pathbuf_stringcopy_get(ndp->ni_pathbuf); in namei_tryemulroot()
1932 strcpy(ndp->ni_pathbuf->pb_path, savepath);
1933 pathbuf_stringcopy_put(ndp->ni_pathbuf, savepath);
1940 pathbuf_stringcopy_put(ndp->ni_pathbuf, savepath); in namei()
2118 if (strlen(ndp->ni_pathbuf->pb_path) > KERNEL_NAME_MAX) { in lookup_for_nfsd_index()
2121 if (strchr(ndp->ni_pathbuf->pb_path, '/')) { in lookup_for_nfsd_index()
2125 ndp->ni_pathlen = strlen(ndp->ni_pathbuf->pb_path) + 1;
H A Dvfs_vnops.c212 pathstring = pathbuf_stringcopy_get(nd.ni_pathbuf); in vn_open()
345 pathbuf_stringcopy_put(nd.ni_pathbuf, pathstring); in vn_open()
H A Dvfs_syscalls.c242 const char *path = pathbuf_stringcopy_get(ndp->ni_pathbuf); in fd_nameiat()
256 pathbuf_stringcopy_put(ndp->ni_pathbuf, path); in fd_nameiat_simple_user()