Lines Matching refs:named
497 struct nameidata named;
519 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, LOOKUP,
521 nfsvno_setpathbuf(&named, &bufp, &hashp);
522 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
525 nfsvno_relpathbuf(&named);
529 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, exp, p, &dirp);
532 nfsvno_relpathbuf(&named);
545 if (named.ni_startdir)
546 vrele(named.ni_startdir);
547 nfsvno_relpathbuf(&named);
548 vp = named.ni_vp;
981 struct nameidata named;
997 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE,
999 nfsvno_setpathbuf(&named, &bufp, &hashp);
1000 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
1049 nfsvno_relpathbuf(&named);
1060 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 1, exp, p, &dirp);
1082 if (named.ni_vp)
1088 if (named.ni_vp == NULL)
1099 nd->nd_repstat = nfsvno_createsub(nd, &named, &vp, &nva,
1136 nfsvno_relpathbuf(&named);
1151 struct nameidata named;
1209 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE, cnflags | NOCACHE);
1210 nfsvno_setpathbuf(&named, &bufp, &hashp);
1211 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
1244 nfsvno_relpathbuf(&named);
1265 named.ni_cnd.cn_flags |= WILLBEDIR;
1266 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, exp, p, &dirp);
1287 nfsrvd_mkdirsub(nd, &named, &nva, fhp, vpp, dirp,
1295 nfsrvd_symlinksub(nd, &named, &nva, fhp, vpp, dirp,
1306 nd->nd_repstat = nfsvno_mknod(&named, &nva, nd->nd_cred, p);
1308 vp = named.ni_vp;
1351 nfsvno_relpathbuf(&named);
1366 struct nameidata named;
1378 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, DELETE,
1380 nfsvno_setpathbuf(&named, &bufp, &hashp);
1381 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
1384 nfsvno_relpathbuf(&named);
1388 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 1, exp, p, &dirp);
1391 nfsvno_relpathbuf(&named);
1404 if (vnode_vtype(named.ni_vp) == VDIR)
1405 nd->nd_repstat = nfsvno_rmdirsub(&named, 1,
1408 nd->nd_repstat = nfsvno_removesub(&named, 1,
1411 nd->nd_repstat = nfsvno_rmdirsub(&named, 0,
1414 nd->nd_repstat = nfsvno_removesub(&named, 0,
1620 struct nameidata named;
1661 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE,
1664 nfsvno_setpathbuf(&named, &bufp, &hashp);
1665 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
1670 nfsvno_relpathbuf(&named);
1674 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, &tnes,
1679 nfsvno_relpathbuf(&named);
1692 nd->nd_repstat = nfsvno_link(&named, vp, nd->nd_cred, p, exp);
1725 struct nameidata named;
1738 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE,
1740 nfsvno_setpathbuf(&named, &bufp, &hashp);
1741 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
1746 nfsvno_relpathbuf(&named);
1750 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, exp, p, &dirp);
1753 nfsvno_relpathbuf(&named);
1768 nfsrvd_symlinksub(nd, &named, &nva, fhp, vpp, dirp,
1845 struct nameidata named;
1856 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE,
1858 nfsvno_setpathbuf(&named, &bufp, &hashp);
1859 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
1874 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, exp, p, &dirp);
1877 nfsvno_relpathbuf(&named);
1900 nfsrvd_mkdirsub(nd, &named, &nva, fhp, vpp, dirp, &dirfor, &diraft,
1919 nfsvno_relpathbuf(&named);
2588 struct nameidata named;
2601 named.ni_startdir = NULL;
2602 named.ni_cnd.cn_nameiop = 0;
2785 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, CREATE,
2788 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, LOOKUP,
2790 nfsvno_setpathbuf(&named, &bufp, &hashp);
2791 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
2798 nfsvno_relpathbuf(&named);
2803 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, exp,
2807 nfsvno_relpathbuf(&named);
2812 if (named.ni_vp) {
2824 if (named.ni_vp && !nd->nd_repstat)
2829 if (!named.ni_vp)
2837 nfsvno_open(nd, &named, clientid, &stateid, stp,
3344 struct nameidata named;
3356 NFSNAMEICNDSET(&named.ni_cnd, nd->nd_cred, LOOKUP,
3358 nfsvno_setpathbuf(&named, &bufp, &hashp);
3359 error = nfsrv_parsename(nd, bufp, hashp, &named.ni_pathlen);
3362 nfsvno_relpathbuf(&named);
3366 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 1, exp, p, &dirp);
3369 nfsvno_relpathbuf(&named);
3375 vrele(named.ni_startdir);
3376 nfsvno_relpathbuf(&named);
3378 vp = named.ni_vp;