Searched refs:v_wrcnt (Results 1 – 5 of 5) sorted by relevance
67 atomic_add_32(&((*vpp)->v_wrcnt), 1); in fop_open()98 ASSERT(vp->v_wrcnt > 0); in fop_close()99 atomic_add_32(&(vp->v_wrcnt), -1); in fop_close()1282 if (vp->v_wrcnt > 1) in vn_has_other_opens()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()1318 if (vp->v_wrcnt) in vn_is_opened()1322 if (vp->v_rdcnt && vp->v_wrcnt) in vn_is_opened()1326 if (vp->v_rdcnt || vp->v_wrcnt) in vn_is_opened()
90 vp->v_wrcnt = 0; in vn_recycle()
1249 atomic_inc_32(&vp->v_wrcnt); in vn_open_upgrade()1265 ASSERT(vp->v_wrcnt > 0); in vn_open_downgrade()1266 atomic_dec_32(&vp->v_wrcnt); in vn_open_downgrade()2340 vp->v_wrcnt = 0; in vn_recycle()2700 if (vp->v_wrcnt > 1) in vn_has_other_opens()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()2736 if (vp->v_wrcnt) in vn_is_opened()2740 if (vp->v_rdcnt && vp->v_wrcnt) in vn_is_opened()2744 if (vp->v_rdcnt || vp->v_wrcnt) in vn_is_opened()[all …]
244 uint_t v_wrcnt; /* open for write count (VREG only) */ member
251 uint_t v_wrcnt; /* open for write count (VREG only) */ member