Lines Matching refs:lck_rw_t
107 void lck_rw_ilk_lock(lck_rw_t * lck)
112 void lck_rw_ilk_unlock(lck_rw_t * lck)
200 lck_rw_t *lck_rw_alloc_init(lck_grp_t * grp, lck_attr_t * attr)
202 lck_rw_t *lck;
204 if ((lck = (lck_rw_t *) kalloc(sizeof(lck_rw_t))) != 0) {
205 bzero(lck, sizeof(lck_rw_t));
212 void lck_rw_destroy(lck_rw_t * lck, lck_grp_t * grp)
222 void lck_rw_free(lck_rw_t * lck, lck_grp_t * grp)
225 kfree(lck, sizeof(lck_rw_t));
228 void lck_rw_init(lck_rw_t * lck, lck_grp_t * grp, lck_attr_t * attr)
274 void lck_rw_assert(lck_rw_t * lck, unsigned int type)
302 void lck_rw_lock(lck_rw_t * lck, lck_rw_type_t lck_rw_type)
319 boolean_t lck_rw_try_lock(lck_rw_t * lck, lck_rw_type_t lck_rw_type)
362 void lck_rw_unlock_shared(lck_rw_t * lck)
372 void lck_rw_unlock_exclusive(lck_rw_t * lck)
382 void lck_rw_lock_shared_gen(lck_rw_t * lck)
413 ((sizeof(lck_rw_t) - 1) / sizeof(unsigned int))),
431 void lck_rw_lock_exclusive_gen(lck_rw_t * lck)
458 ((sizeof(lck_rw_t) - 1) / sizeof(unsigned int))),
497 ((sizeof(lck_rw_t) - 1) / sizeof(unsigned int))),
519 boolean_t lck_rw_lock_shared_to_exclusive_gen(lck_rw_t * lck)
549 ((sizeof(lck_rw_t) - 1) / sizeof(unsigned int))));
578 ((sizeof(lck_rw_t) - 1) / sizeof(unsigned int))),