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