Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Drrwlock.h76 boolean_t rrw_held(rrwlock_t *rrl, krw_t rw);
79 #define RRW_READ_HELD(x) rrw_held(x, RW_READER)
80 #define RRW_WRITE_HELD(x) rrw_held(x, RW_WRITER)
82 (rrw_held(x, RW_WRITER) || rrw_held(x, RW_READER))
/titanic_50/usr/src/uts/common/fs/zfs/
H A Drrwlock.c283 rrw_held(rrwlock_t *rrl, krw_t rw) in rrw_held() function
391 return (rrw_held(&rrl->locks[0], rw)); in rrm_held()
393 return (rrw_held(&rrl->locks[RRM_TD_LOCK()], rw)); in rrm_held()
H A Ddsl_pool.c827 ASSERT(rrw_held(&dp->dp_config_rwlock, RW_WRITER)); in dsl_pool_create_origin()
1045 ASSERT(!rrw_held(&dp->dp_config_rwlock, RW_READER)); in dsl_pool_config_enter()
1052 ASSERT(!rrw_held(&dp->dp_config_rwlock, RW_READER)); in dsl_pool_config_enter_prio()