rw_lock_held
#define RW_LOCK_HELD(x) (rw_lock_held((x)))
extern int rw_lock_held(krwlock_t *);
ASSERT(rw_lock_held(iss->iss_lockp));
ASSERT(rw_lock_held(&statep->rds_sessionlock));
ASSERT(rw_lock_held(&hcap->hca_state_rwlock));
ASSERT(rw_lock_held(&pph_rwlock));
ASSERT(rw_lock_held(&pph_rwlock));
ASSERT(rw_lock_held(&tim_list_rwlock));
ASSERT(rw_lock_held(imp->ippm_lock));
rw_lock_held(&(macinfo)->gldm_lock.gldl_rw_lock)
#define RW_LOCK_HELD(x) (rw_lock_held((x)))
extern int rw_lock_held(krwlock_t *);