Searched refs:v_rdcnt (Results 1 – 5 of 5) sorted by relevance
65 atomic_add_32(&((*vpp)->v_rdcnt), 1); in fop_open()94 ASSERT(vp->v_rdcnt > 0); in fop_close()95 atomic_add_32(&(vp->v_rdcnt), -1); in fop_close()1286 if ((vp->v_rdcnt > 1) || (vp->v_wrcnt > 1)) in vn_has_other_opens()1290 if ((vp->v_rdcnt > 1) && (vp->v_wrcnt > 1)) in vn_has_other_opens()1294 if (vp->v_rdcnt > 1) in vn_has_other_opens()1322 if (vp->v_rdcnt && vp->v_wrcnt) in vn_is_opened()1326 if (vp->v_rdcnt || vp->v_wrcnt) in vn_is_opened()1330 if (vp->v_rdcnt) in vn_is_opened()
89 vp->v_rdcnt = 0; in vn_recycle()
1247 atomic_inc_32(&vp->v_rdcnt); in vn_open_upgrade()1261 ASSERT(vp->v_rdcnt > 0); in vn_open_downgrade()1262 atomic_dec_32(&vp->v_rdcnt); in vn_open_downgrade()2339 vp->v_rdcnt = 0; in vn_recycle()2704 if ((vp->v_rdcnt > 1) || (vp->v_wrcnt > 1)) in vn_has_other_opens()2708 if ((vp->v_rdcnt > 1) && (vp->v_wrcnt > 1)) in vn_has_other_opens()2712 if (vp->v_rdcnt > 1) in vn_has_other_opens()2740 if (vp->v_rdcnt && vp->v_wrcnt) in vn_is_opened()2744 if (vp->v_rdcnt || vp->v_wrcnt) in vn_is_opened()2748 if (vp->v_rdcnt) in vn_is_opened()[all …]
243 uint_t v_rdcnt; /* open for read count (VREG only) */ member
250 uint_t v_rdcnt; /* open for read count (VREG only) */ member