Lines Matching refs:rw
231 rrw_enter(rrwlock_t *rrl, krw_t rw, void *tag)
233 if (rw == RW_READER)
283 rrw_held(rrwlock_t *rrl, krw_t rw)
288 if (rw == RW_WRITER) {
341 rrm_enter(rrmlock_t *rrl, krw_t rw, void *tag)
343 if (rw == RW_READER)
388 rrm_held(rrmlock_t *rrl, krw_t rw)
390 if (rw == RW_WRITER) {
391 return (rrw_held(&rrl->locks[0], rw));
393 return (rrw_held(&rrl->locks[RRM_TD_LOCK()], rw));