Lines Matching refs:ap
221 null_bypass(struct vop_generic_args *ap) in null_bypass() argument
228 struct vnodeop_desc *descp = ap->a_desc; in null_bypass()
253 descp->vdesc_vp_offsets[i], ap); in null_bypass()
293 error = VCALL(ap); in null_bypass()
353 descp->vdesc_vpp_offset, ap); in null_bypass()
363 null_add_writecount(struct vop_add_writecount_args *ap) in null_add_writecount() argument
368 vp = ap->a_vp; in null_add_writecount()
373 VNASSERT(vp->v_writecount + ap->a_inc >= 0, vp, in null_add_writecount()
374 ("wrong writecount inc %d", ap->a_inc)); in null_add_writecount()
375 error = VOP_ADD_WRITECOUNT(lvp, ap->a_inc); in null_add_writecount()
377 vp->v_writecount += ap->a_inc; in null_add_writecount()
388 null_lookup(struct vop_lookup_args *ap) in null_lookup() argument
390 struct componentname *cnp = ap->a_cnp; in null_lookup()
391 struct vnode *dvp = ap->a_dvp; in null_lookup()
465 *ap->a_vpp = dvp; in null_lookup()
471 *ap->a_vpp = vp; in null_lookup()
478 null_open(struct vop_open_args *ap) in null_open() argument
483 vp = ap->a_vp; in null_open()
485 retval = null_bypass(&ap->a_gen); in null_open()
502 null_setattr(struct vop_setattr_args *ap) in null_setattr() argument
504 struct vnode *vp = ap->a_vp; in null_setattr()
505 struct vattr *vap = ap->a_vap; in null_setattr()
535 return (null_bypass((struct vop_generic_args *)ap)); in null_setattr()
542 null_stat(struct vop_stat_args *ap) in null_stat() argument
546 if ((error = null_bypass((struct vop_generic_args *)ap)) != 0) in null_stat()
549 ap->a_sb->st_dev = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; in null_stat()
554 null_getattr(struct vop_getattr_args *ap) in null_getattr() argument
558 if ((error = null_bypass((struct vop_generic_args *)ap)) != 0) in null_getattr()
561 ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0]; in null_getattr()
569 null_access(struct vop_access_args *ap) in null_access() argument
571 struct vnode *vp = ap->a_vp; in null_access()
572 accmode_t accmode = ap->a_accmode; in null_access()
591 return (null_bypass((struct vop_generic_args *)ap)); in null_access()
595 null_accessx(struct vop_accessx_args *ap) in null_accessx() argument
597 struct vnode *vp = ap->a_vp; in null_accessx()
598 accmode_t accmode = ap->a_accmode; in null_accessx()
617 return (null_bypass((struct vop_generic_args *)ap)); in null_accessx()
629 null_remove(struct vop_remove_args *ap) in null_remove() argument
634 vp = ap->a_vp; in null_remove()
642 retval = null_bypass(&ap->a_gen); in null_remove()
654 null_rename(struct vop_rename_args *ap) in null_rename() argument
661 tdvp = ap->a_tdvp; in null_rename()
662 fvp = ap->a_fvp; in null_rename()
663 fdvp = ap->a_fdvp; in null_rename()
664 tvp = ap->a_tvp; in null_rename()
709 error = VOP_RENAME(lfdvp, lfvp, ap->a_fcnp, ltdvp, ltvp, ap->a_tcnp); in null_rename()
732 null_rmdir(struct vop_rmdir_args *ap) in null_rmdir() argument
735 VTONULL(ap->a_vp)->null_flags |= NULLV_DROP; in null_rmdir()
736 return (null_bypass(&ap->a_gen)); in null_rmdir()
745 null_lock(struct vop_lock1_args *ap) in null_lock() argument
747 struct vnode *vp = ap->a_vp; in null_lock()
753 if ((ap->a_flags & LK_INTERLOCK) == 0) in null_lock()
756 ap->a_flags &= ~LK_INTERLOCK; in null_lock()
757 flags = ap->a_flags; in null_lock()
787 ap->a_flags &= ~LK_TYPE_MASK; in null_lock()
790 ap->a_flags |= LK_SHARED; in null_lock()
794 ap->a_flags |= LK_EXCLUSIVE; in null_lock()
798 ap->a_flags); in null_lock()
801 error = vop_stdlock(ap); in null_lock()
806 error = vop_stdlock(ap); in null_lock()
818 null_unlock(struct vop_unlock_args *ap) in null_unlock() argument
820 struct vnode *vp = ap->a_vp; in null_unlock()
831 error = vop_stdunlock(ap); in null_unlock()
869 null_inactive(struct vop_inactive_args *ap) in null_inactive() argument
873 vp = ap->a_vp; in null_inactive()
882 null_need_inactive(struct vop_need_inactive_args *ap) in null_need_inactive() argument
885 return (null_want_recycle(ap->a_vp) || vn_need_pageq_flush(ap->a_vp)); in null_need_inactive()
893 null_reclaim(struct vop_reclaim_args *ap) in null_reclaim() argument
899 vp = ap->a_vp; in null_reclaim()
939 null_print(struct vop_print_args *ap) in null_print() argument
941 struct vnode *vp = ap->a_vp; in null_print()
949 null_getwritemount(struct vop_getwritemount_args *ap) in null_getwritemount() argument
955 vp = ap->a_vp; in null_getwritemount()
961 VOP_GETWRITEMOUNT(lowervp, ap->a_mpp); in null_getwritemount()
965 *(ap->a_mpp) = NULL; in null_getwritemount()
971 null_vptofh(struct vop_vptofh_args *ap) in null_vptofh() argument
975 lvp = NULLVPTOLOWERVP(ap->a_vp); in null_vptofh()
976 return VOP_VPTOFH(lvp, ap->a_fhp); in null_vptofh()
980 null_vptocnp(struct vop_vptocnp_args *ap) in null_vptocnp() argument
982 struct vnode *vp = ap->a_vp; in null_vptocnp()
983 struct vnode **dvp = ap->a_vpp; in null_vptocnp()
998 error = vn_vptocnp(&ldvp, ap->a_buf, ap->a_buflen); in null_vptocnp()
1026 null_read_pgcache(struct vop_read_pgcache_args *ap) in null_read_pgcache() argument
1032 vp = ap->a_vp; in null_read_pgcache()
1042 error = VOP_READ_PGCACHE(lvp, ap->a_uio, ap->a_ioflag, ap->a_cred); in null_read_pgcache()
1048 null_advlock(struct vop_advlock_args *ap) in null_advlock() argument
1054 vp = ap->a_vp; in null_advlock()
1064 error = VOP_ADVLOCK(lvp, ap->a_id, ap->a_op, ap->a_fl, ap->a_flags); in null_advlock()
1074 null_vput_pair(struct vop_vput_pair_args *ap) in null_vput_pair() argument
1080 dvp = ap->a_dvp; in null_vput_pair()
1084 vpp = ap->a_vpp; in null_vput_pair()
1093 if (!ap->a_unlock_vp) { in null_vput_pair()
1102 if (vp != NULL && ap->a_unlock_vp) in null_vput_pair()
1106 if (vp == NULL || ap->a_unlock_vp) in null_vput_pair()
1135 null_getlowvnode(struct vop_getlowvnode_args *ap) in null_getlowvnode() argument
1139 vp = ap->a_vp; in null_getlowvnode()
1146 VOP_GETLOWVNODE(vpl, ap->a_vplp, ap->a_flags); in null_getlowvnode()