Lines Matching refs:vrootp
821 dirfindvp(vnode_t *vrootp, vnode_t *dvp, vnode_t *tvp, cred_t *cr, char *dbuf, in dirfindvp() argument
879 vrootp, cr, NULL, NULL, NULL); in dirfindvp()
910 error = VOP_LOOKUP(dvp, ".zfs", &cmpvp, &pnp, 0, vrootp, cr, in dirfindvp()
936 localpath(char *path, struct vnode *vrootp, cred_t *cr) in localpath() argument
948 if (vn_compare(vrootp, rootdir)) in localpath()
978 if (vn_compare(vp, vrootp)) { in localpath()
996 dirtopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, int flags, in dirtopath() argument
1039 if (VN_CMP(vrootp, vp)) { in dirtopath()
1071 VN_HOLD(vrootp); in dirtopath()
1072 if (vrootp != rootdir) in dirtopath()
1073 VN_HOLD(vrootp); in dirtopath()
1075 &cmpvp, vrootp, vrootp, cr) == 0) { in dirtopath()
1112 VN_HOLD(vrootp); in dirtopath()
1113 if (vrootp != rootdir) in dirtopath()
1114 VN_HOLD(vrootp); in dirtopath()
1116 &cmpvp, vrootp, vrootp, cr) == 0) { in dirtopath()
1147 if ((err = VOP_LOOKUP(vp, "..", &pvp, &emptypn, 0, vrootp, cr, in dirtopath()
1183 if ((err = dirfindvp(vrootp, pvp, vp, cr, dbuf, dlen, &dp)) in dirtopath()
1223 (VN_CMP(vp, vrootp) || (vp->v_flag & VROOT) || vp == startvp)) in dirtopath()
1247 vnodetopath_common(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, in vnodetopath_common() argument
1260 if (vrootp == NULL) { in vnodetopath_common()
1262 if ((vrootp = PTOU(p)->u_rdir) == NULL) in vnodetopath_common()
1263 vrootp = rootdir; in vnodetopath_common()
1264 VN_HOLD(vrootp); in vnodetopath_common()
1267 VN_HOLD(vrootp); in vnodetopath_common()
1321 if (vrootp != rootdir) { in vnodetopath_common()
1326 local = localpath(rpn.pn_path, vrootp, in vnodetopath_common()
1346 VN_HOLD(vrootp); in vnodetopath_common()
1347 if (vrootp != rootdir) in vnodetopath_common()
1348 VN_HOLD(vrootp); in vnodetopath_common()
1350 &compvp, vrootp, vrootp, cr); in vnodetopath_common()
1373 VN_RELE(vrootp); in vnodetopath_common()
1392 ret = dirtopath(vrootp, vp, buf, buflen, flags, cr); in vnodetopath_common()
1395 VN_RELE(vrootp); in vnodetopath_common()
1405 vnodetopath(vnode_t *vrootp, vnode_t *vp, char *buf, size_t buflen, cred_t *cr) in vnodetopath() argument
1407 return (vnodetopath_common(vrootp, vp, buf, buflen, cr, 0)); in vnodetopath()