Searched refs:mo_refcnt (Results 1 – 1 of 1) sorted by relevance
45 u_int mo_refcnt; member65 mo->mo_refcnt = 1; in mutex_obj_alloc()86 mo->mo_refcnt = 1; in mutex_obj_tryalloc()106 KASSERTMSG(mo->mo_refcnt > 0, in mutex_obj_hold()108 __func__, mo, mo->mo_refcnt); in mutex_obj_hold()110 atomic_inc_uint(&mo->mo_refcnt); in mutex_obj_hold()127 KASSERTMSG(mo->mo_refcnt > 0, in mutex_obj_free()129 __func__, mo, mo->mo_refcnt); in mutex_obj_free()132 if (atomic_dec_uint_nv(&mo->mo_refcnt) > 0) { in mutex_obj_free()151 return mo->mo_refcnt; in mutex_obj_refcnt()