Home
last modified time | relevance | path

Searched refs:rrw_held (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Drrwlock.h80 boolean_t rrw_held(rrwlock_t *rrl, krw_t rw);
83 #define RRW_READ_HELD(x) rrw_held(x, RW_READER)
84 #define RRW_WRITE_HELD(x) rrw_held(x, RW_WRITER)
86 (rrw_held(x, RW_WRITER) || rrw_held(x, RW_READER))
/freebsd/sys/contrib/openzfs/module/zfs/
H A Drrwlock.c284 rrw_held(rrwlock_t *rrl, krw_t rw) in rrw_held() function
392 return (rrw_held(&rrl->locks[0], rw)); in rrm_held()
394 return (rrw_held(&rrl->locks[RRM_TD_LOCK()], rw)); in rrm_held()
H A Ddsl_pool.c1176 ASSERT(rrw_held(&dp->dp_config_rwlock, RW_WRITER)); in dsl_pool_create_origin()
1429 ASSERT(!rrw_held(&dp->dp_config_rwlock, RW_READER)); in dsl_pool_config_enter()
1436 ASSERT(!rrw_held(&dp->dp_config_rwlock, RW_READER)); in dsl_pool_config_enter_prio()