Lines Matching defs:lvp
832 struct vnode *lvp, *uvp;
837 lvp = un->un_lowervp;
845 if (vnode_getattr(lvp, &vattr, context) == 0 )
872 error = VNOP_OPEN(lvp, FREAD, context);
874 error = union_copyfile(lvp, uvp, context);
875 (void) VNOP_CLOSE(lvp, FREAD, context);
899 (void) VNOP_CLOSE(lvp, FREAD, context);
913 union_faultin_copyup(struct vnode **vpp, vnode_t udvp, vnode_t lvp, struct componentname * cnp, vfs_context_t context)
928 if (vnode_getattr(lvp, vap, context) == 0 )
1026 error = VNOP_OPEN(lvp, FREAD, context);
1028 error = union_copyfile(lvp, uvp, context);
1029 (void) VNOP_CLOSE(lvp, FREAD, context);
1441 struct vnode *nvp, *lvp;
1485 lvp = *vpp;
1487 if (lvp == NULLVP) {
1491 vnode_get(lvp);
1494 error = union_allocvp(&nvp, vp->v_mount, NULLVP, NULLVP, 0, lvp, NULLVP, 0);
1497 vnode_put(lvp);
1547 struct vnode *lvp;
1549 lvp = union_dircache(vp, ctx);
1550 if (lvp != NULLVP) {
1560 vnode_put(lvp);
1561 lvp = NULL;
1565 if (lvp != NULLVP) {
1567 error = mac_vnode_check_open(ctx, lvp, FREAD);
1569 vnode_put(lvp);
1573 error = VNOP_OPEN(lvp, FREAD, ctx);
1575 vnode_put(lvp);
1578 vnode_ref(lvp);
1579 fp->f_fglob->fg_data = (caddr_t) lvp;
1588 *vpp = lvp;