Lines Matching defs:vp

219 #define	VN_KNLIST_EMPTY(vp) ((vp)->v_pollinfo == NULL ||	\  argument
222 #define VN_KNOTE(vp, b, a) \ argument
228 #define VN_KNOTE_LOCKED(vp, b) VN_KNOTE(vp, b, KNF_LISTLOCKED) argument
229 #define VN_KNOTE_UNLOCKED(vp, b) VN_KNOTE(vp, b, 0) argument
437 #define VREF(vp) vref(vp) argument
458 #define VI_LOCK(vp) mtx_lock(&(vp)->v_interlock) argument
459 #define VI_LOCK_FLAGS(vp, flags) mtx_lock_flags(&(vp)->v_interlock, (flags)) argument
460 #define VI_TRYLOCK(vp) mtx_trylock(&(vp)->v_interlock) argument
461 #define VI_UNLOCK(vp) mtx_unlock(&(vp)->v_interlock) argument
462 #define VI_MTX(vp) (&(vp)->v_interlock) argument
464 #define VN_LOCK_AREC(vp) lockallowrecurse((vp)->v_vnlock) argument
465 #define VN_LOCK_ASHARE(vp) lockallowshare((vp)->v_vnlock) argument
466 #define VN_LOCK_DSHARE(vp) lockdisableshare((vp)->v_vnlock) argument
549 #define ASSERT_VI_LOCKED(vp, str) assert_vi_locked((vp), (str)) argument
550 #define ASSERT_VI_UNLOCKED(vp, str) assert_vi_unlocked((vp), (str)) argument
551 #define ASSERT_VOP_ELOCKED(vp, str) assert_vop_elocked((vp), (str)) argument
552 #define ASSERT_VOP_LOCKED(vp, str) assert_vop_locked((vp), (str)) argument
553 #define ASSERT_VOP_UNLOCKED(vp, str) assert_vop_unlocked((vp), (str)) argument
555 #define ASSERT_VOP_IN_SEQC(vp) do { \ argument
561 #define ASSERT_VOP_NOT_IN_SEQC(vp) do { \ argument
569 #define ASSERT_VI_LOCKED(vp, str) ((void)0) argument
570 #define ASSERT_VI_UNLOCKED(vp, str) ((void)0) argument
571 #define ASSERT_VOP_ELOCKED(vp, str) ((void)0) argument
572 #define ASSERT_VOP_LOCKED(vp, str) ((void)0) argument
573 #define ASSERT_VOP_UNLOCKED(vp, str) ((void)0) argument
575 #define ASSERT_VOP_IN_SEQC(vp) ((void)0) argument
576 #define ASSERT_VOP_NOT_IN_SEQC(vp) ((void)0) argument
585 #define DOINGASYNC(vp) \ argument
596 vn_canvmio(struct vnode *vp) in vn_canvmio()
651 #define cache_enter(dvp, vp, cnp) \ argument
678 cache_validate(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in cache_validate()
688 cache_assert_no_entries(struct vnode *vp) in cache_assert_no_entries()
776 #define vn_lock(vp, flags) _vn_lock(vp, flags, __FILE__, __LINE__) argument
831 #define vn_seqc_read_any(vp) seqc_read_any(&(vp)->v_seqc) argument
832 #define vn_seqc_read_notmodify(vp) seqc_read_notmodify(&(vp)->v_seqc) argument
833 #define vn_seqc_consistent(vp, seq) seqc_consistent(&(vp)->v_seqc, seq) argument
835 #define vn_rangelock_unlock(vp, cookie) \ argument
837 #define vn_rangelock_unlock_range(vp, cookie, start, end) \ argument
840 #define vn_rangelock_rlock(vp, start, end) \ argument
842 #define vn_rangelock_tryrlock(vp, start, end) \ argument
844 #define vn_rangelock_wlock(vp, start, end) \ argument
846 #define vn_rangelock_trywlock(vp, start, end) \ argument
849 #define vn_irflag_read(vp) atomic_load_short(&(vp)->v_irflag) argument
1027 #define VOP_LOCK(vp, flags) VOP_LOCK1(vp, flags, __FILE__, __LINE__) argument
1030 #define VOP_ADD_WRITECOUNT_CHECKED(vp, cnt) \ argument
1038 #define VOP_SET_TEXT_CHECKED(vp) \ argument
1046 #define VOP_UNSET_TEXT_CHECKED(vp) \ argument
1055 #define VOP_ADD_WRITECOUNT_CHECKED(vp, cnt) VOP_ADD_WRITECOUNT((vp), (cnt)) argument
1056 #define VOP_SET_TEXT_CHECKED(vp) VOP_SET_TEXT((vp)) argument
1057 #define VOP_UNSET_TEXT_CHECKED(vp) VOP_UNSET_TEXT((vp)) argument
1060 #define VN_IS_DOOMED(vp) __predict_false((vn_irflag_read(vp) & VIRF_DOOMED) != 0) argument
1068 vrefcnt(struct vnode *vp) in vrefcnt()
1074 #define vholdl(vp) do { \ argument
1079 #define vrefl(vp) do { \ argument
1149 vn_set_state(struct vnode *vp, __enum_uint8(vstate) state) in vn_set_state()
1158 vn_get_state(struct vnode *vp) in vn_get_state()
1163 #define VOP_UNLOCK_FLAGS(vp, flags) ({ \ argument
1194 #define vn_load_v_data_smr(vp) ({ \ argument