Lines Matching refs:pnp
73 static int stlookuppn(struct st_pathname *pnp, struct nfs_file *cfile,
83 struct st_pathname pnp; in lookup() local
88 pnp.pn_buf = &lkup_path[0]; in lookup()
89 bzero(pnp.pn_buf, NFS_MAXPATHLEN); in lookup()
90 error = stpn_get(pathname, &pnp); in lookup()
93 error = stlookuppn(&pnp, cur_file, needroothandle); in lookup()
98 stlookuppn(struct st_pathname *pnp, struct nfs_file *cfile, in stlookuppn() argument
118 if (stpn_peekchar(pnp) == '/') { in stlookuppn()
122 stpn_skipslash(pnp); in stlookuppn()
136 error = stpn_stripcomponent(pnp, component); in stlookuppn()
171 dprintf("lookup: component %s pathleft %s\n", component, pnp->pn_path); in stlookuppn()
294 error = stpn_combine(pnp, &linkpath); /* linkpath before pn */ in stlookuppn()
312 if (stpn_pathleft(pnp) == 0) { in stlookuppn()
313 (void) stpn_set(pnp, component); in stlookuppn()
319 stpn_skipslash(pnp); in stlookuppn()