Lines Matching refs:vpp
924 struct vnode **vpp, in vn_open() argument
928 return (vn_openat(pnamep, seg, filemode, createmode, vpp, crwhy, in vn_open()
945 struct vnode **vpp, in vn_openat() argument
1250 *vpp = vp; in vn_openat()
1304 struct vnode **vpp, in vn_create() argument
1309 return (vn_createat(pnamep, seg, vap, excl, mode, vpp, why, flag, in vn_create()
1323 struct vnode **vpp, in vn_createat() argument
1364 *vpp = NULL; in vn_createat()
1372 (excl == EXCL) ? NULLVPP : vpp, startvp); in vn_createat()
1408 if (*vpp != NULL) in vn_createat()
1409 VN_RELE(*vpp); in vn_createat()
1445 if ((*vpp != NULL && (mode & VWRITE) && ISROFILE(*vpp)) || in vn_createat()
1446 (*vpp == NULL && dvp->v_vfsp->vfs_flag & VFS_RDONLY)) { in vn_createat()
1447 if (*vpp) in vn_createat()
1448 VN_RELE(*vpp); in vn_createat()
1450 } else if (excl == NONEXCL && *vpp != NULL) { in vn_createat()
1457 vp = *vpp; in vn_createat()
1509 error = VOP_CREATE(vp, "", vap, excl, mode, vpp, in vn_createat()
1558 error = VOP_MKDIR(dvp, pn.pn_path, vap, vpp, CRED(), in vn_createat()
1562 excl, mode, vpp, CRED(), flag, NULL, NULL); in vn_createat()
1570 audit_vncreate_finish(*vpp, error); in vn_createat()
3152 vnode_t **vpp, in fop_open() argument
3158 vnode_t *vp = *vpp; in fop_open()
3173 if ((*vpp)->v_type == VREG) { in fop_open()
3175 atomic_inc_32(&(*vpp)->v_rdcnt); in fop_open()
3177 atomic_inc_32(&(*vpp)->v_wrcnt); in fop_open()
3182 ret = (*(*(vpp))->v_op->vop_open)(vpp, mode, cr, ct); in fop_open()
3203 VOPSTATS_UPDATE(*vpp, open); in fop_open()
3204 if (*vpp != vp && *vpp != NULL) { in fop_open()
3205 vn_copypath(vp, *vpp); in fop_open()
3206 if (((*vpp)->v_type == VREG) && (mode & FREAD)) in fop_open()
3207 atomic_inc_32(&(*vpp)->v_rdcnt); in fop_open()
3210 if (((*vpp)->v_type == VREG) && (mode & FWRITE)) in fop_open()
3211 atomic_inc_32(&(*vpp)->v_wrcnt); in fop_open()
3418 vnode_t **vpp, in fop_lookup() argument
3443 ret = xattr_dir_lookup(dvp, vpp, flags, cr); in fop_lookup()
3446 (dvp, nm, vpp, pnp, flags, rdir, cr, ct, deflags, ppnp); in fop_lookup()
3448 if (ret == 0 && *vpp) { in fop_lookup()
3449 VOPSTATS_UPDATE(*vpp, lookup); in fop_lookup()
3450 if ((*vpp)->v_path == NULL) { in fop_lookup()
3451 vn_setpath(rootdir, dvp, *vpp, nm, strlen(nm)); in fop_lookup()
3465 vnode_t **vpp, in fop_create() argument
3489 (dvp, name, vap, excl, mode, vpp, cr, flags, ct, vsecp); in fop_create()
3490 if (ret == 0 && *vpp) { in fop_create()
3491 VOPSTATS_UPDATE(*vpp, create); in fop_create()
3492 if ((*vpp)->v_path == NULL) { in fop_create()
3493 vn_setpath(rootdir, dvp, *vpp, name, strlen(name)); in fop_create()
3587 vnode_t **vpp, in fop_mkdir() argument
3611 (dvp, dirname, vap, vpp, cr, ct, flags, vsecp); in fop_mkdir()
3612 if (ret == 0 && *vpp) { in fop_mkdir()
3613 VOPSTATS_UPDATE(*vpp, mkdir); in fop_mkdir()
3614 if ((*vpp)->v_path == NULL) { in fop_mkdir()
3615 vn_setpath(rootdir, dvp, *vpp, dirname, in fop_mkdir()
3868 vnode_t **vpp, in fop_realvp() argument
3873 err = (*(vp)->v_op->vop_realvp)(vp, vpp, ct); in fop_realvp()