Searched refs:prl_rwlock (Results 1 – 2 of 2) sorted by relevance
148 struct rwlock prl_rwlock; member
2246 _rw_init_flags(&lock->prl_rwlock, pp->pr_wchan, 0, type); in pool_lock_rw_init()2252 rw_enter_write(&lock->prl_rwlock); in pool_lock_rw_enter()2258 return (rw_enter(&lock->prl_rwlock, RW_WRITE | RW_NOSLEEP) == 0); in pool_lock_rw_enter_try()2264 rw_exit_write(&lock->prl_rwlock); in pool_lock_rw_leave()2270 rw_assert_wrlock(&lock->prl_rwlock); in pool_lock_rw_assert_locked()2276 KASSERT(rw_status(&lock->prl_rwlock) != RW_WRITE); in pool_lock_rw_assert_unlocked()2283 return rwsleep_nsec(ident, &lock->prl_rwlock, priority, wmesg, INFSLP); in pool_lock_rw_sleep()