Lines Matching defs:vrootp

810 dirfindvp(vnode_t *vrootp, vnode_t *dvp, vnode_t *tvp, cred_t *cr, char *dbuf,
868 vrootp, cr, NULL, NULL, NULL);
899 error = VOP_LOOKUP(dvp, ".zfs", &cmpvp, &pnp, 0, vrootp, cr,
925 localpath(char *path, struct vnode *vrootp, cred_t *cr)
937 if (vn_compare(vrootp, rootdir))
967 if (vn_compare(vp, vrootp)) {
985 dirtopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, int flags,
1028 if (VN_CMP(vrootp, vp)) {
1060 VN_HOLD(vrootp);
1061 if (vrootp != rootdir)
1062 VN_HOLD(vrootp);
1064 &cmpvp, vrootp, vrootp, cr) == 0) {
1101 VN_HOLD(vrootp);
1102 if (vrootp != rootdir)
1103 VN_HOLD(vrootp);
1105 &cmpvp, vrootp, vrootp, cr) == 0) {
1136 if ((err = VOP_LOOKUP(vp, "..", &pvp, &emptypn, 0, vrootp, cr,
1204 if ((err = dirfindvp(vrootp, pvp, vp, cr, dbuf, dlen, &dp))
1244 (VN_CMP(vp, vrootp) || (vp->v_flag & VROOT) || vp == startvp))
1268 vnodetopath_common(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen,
1279 * If vrootp is NULL, get the root for curproc. Callers with any other
1280 * requirements should pass in a different vrootp.
1282 if (vrootp == NULL) {
1284 if ((vrootp = PTOU(p)->u_rdir) == NULL)
1285 vrootp = rootdir;
1286 VN_HOLD(vrootp);
1289 VN_HOLD(vrootp);
1343 if (vrootp != rootdir) {
1348 local = localpath(rpn.pn_path, vrootp,
1368 VN_HOLD(vrootp);
1369 if (vrootp != rootdir)
1370 VN_HOLD(vrootp);
1372 &compvp, vrootp, vrootp, cr);
1395 VN_RELE(vrootp);
1427 ret = dirtopath(vrootp, pvp, buf, buflen,
1446 ret = dirtopath(vrootp, vp, buf, buflen, flags, cr);
1448 VN_RELE(vrootp);
1458 vnodetopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr)
1460 return (vnodetopath_common(vrootp, vp, buf, buflen, cr, 0));