Lines Matching refs:vrootp
811 dirfindvp(vnode_t *vrootp, vnode_t *dvp, vnode_t *tvp, cred_t *cr, char *dbuf, in dirfindvp() argument
869 vrootp, cr, NULL, NULL, NULL); in dirfindvp()
900 error = VOP_LOOKUP(dvp, ".zfs", &cmpvp, &pnp, 0, vrootp, cr, in dirfindvp()
926 localpath(char *path, struct vnode *vrootp, cred_t *cr) in localpath() argument
938 if (vn_compare(vrootp, rootdir)) in localpath()
968 if (vn_compare(vp, vrootp)) { in localpath()
986 dirtopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, int flags, in dirtopath() argument
1029 if (VN_CMP(vrootp, vp)) { in dirtopath()
1061 VN_HOLD(vrootp); in dirtopath()
1062 if (vrootp != rootdir) in dirtopath()
1063 VN_HOLD(vrootp); in dirtopath()
1065 &cmpvp, vrootp, vrootp, cr) == 0) { in dirtopath()
1102 VN_HOLD(vrootp); in dirtopath()
1103 if (vrootp != rootdir) in dirtopath()
1104 VN_HOLD(vrootp); in dirtopath()
1106 &cmpvp, vrootp, vrootp, cr) == 0) { in dirtopath()
1137 if ((err = VOP_LOOKUP(vp, "..", &pvp, &emptypn, 0, vrootp, cr, in dirtopath()
1173 if ((err = dirfindvp(vrootp, pvp, vp, cr, dbuf, dlen, &dp)) in dirtopath()
1213 (VN_CMP(vp, vrootp) || (vp->v_flag & VROOT) || vp == startvp)) in dirtopath()
1237 vnodetopath_common(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, in vnodetopath_common() argument
1250 if (vrootp == NULL) { in vnodetopath_common()
1252 if ((vrootp = PTOU(p)->u_rdir) == NULL) in vnodetopath_common()
1253 vrootp = rootdir; in vnodetopath_common()
1254 VN_HOLD(vrootp); in vnodetopath_common()
1257 VN_HOLD(vrootp); in vnodetopath_common()
1311 if (vrootp != rootdir) { in vnodetopath_common()
1316 local = localpath(rpn.pn_path, vrootp, in vnodetopath_common()
1336 VN_HOLD(vrootp); in vnodetopath_common()
1337 if (vrootp != rootdir) in vnodetopath_common()
1338 VN_HOLD(vrootp); in vnodetopath_common()
1340 &compvp, vrootp, vrootp, cr); in vnodetopath_common()
1363 VN_RELE(vrootp); in vnodetopath_common()
1382 ret = dirtopath(vrootp, vp, buf, buflen, flags, cr); in vnodetopath_common()
1385 VN_RELE(vrootp); in vnodetopath_common()
1395 vnodetopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr) in vnodetopath() argument
1397 return (vnodetopath_common(vrootp, vp, buf, buflen, cr, 0)); in vnodetopath()