Lines Matching refs:pn
1306 struct pathname pn;
1334 if (error = pn_get(pnamep, seg, &pn))
1342 * When it is done the pn holds the name of the entry
1346 error = lookuppnat(&pn, NULL, follow, &dvp,
1349 pn_free(&pn);
1520 int must_be_dir = pn_fixslash(&pn); /* trailing '/'? */
1529 error = VOP_MKDIR(dvp, pn.pn_path, vap, vpp, CRED(),
1532 error = VOP_CREATE(dvp, pn.pn_path, vap,
1550 pn_free(&pn);
1581 struct pathname pn;
1590 if (error = pn_get(to, seg, &pn))
1598 if (error = lookuppnat(&pn, NULL, NO_FOLLOW, &tdvp, NULLVPP, tstartvp))
1622 (void) pn_fixslash(&pn);
1623 error = VOP_LINK(tdvp, fvp, pn.pn_path, CRED(), NULL, 0);
1625 pn_free(&pn);
1796 struct pathname pn; /* name of entry */
1805 if (error = pn_get(fnamep, seg, &pn))
1808 if (error = lookuppnat(&pn, NULL, NO_FOLLOW, &dvp, &vp, startvp)) {
1809 pn_free(&pn);
1952 error = VOP_RMDIR(dvp, pn.pn_path, cwd, CRED(),
1960 error = VOP_REMOVE(dvp, pn.pn_path, CRED(), NULL, 0);
1964 pn_free(&pn);