Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drrwlock.c145 rrl->rr_writer = NULL; in rrw_init()
157 ASSERT(rrl->rr_writer == NULL); in rrw_destroy()
167 if (rrl->rr_writer == NULL && !rrl->rr_writer_wanted && in rrw_enter_read_impl()
175 ASSERT(rrl->rr_writer != curthread); in rrw_enter_read_impl()
178 while (rrl->rr_writer != NULL || (rrl->rr_writer_wanted && in rrw_enter_read_impl()
190 ASSERT(rrl->rr_writer == NULL); in rrw_enter_read_impl()
217 ASSERT(rrl->rr_writer != curthread); in rrw_enter_write()
221 rrl->rr_writer != NULL) { in rrw_enter_write()
226 rrl->rr_writer = curthread; in rrw_enter_write()
244 if (!rrl->rr_writer && rrl->rr_linked_rcount.rc_count == 0) { in rrw_exit()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drrwlock.h57 kthread_t *rr_writer; member
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c4027 uintptr_t rr_writer; member
4048 if (rrw.rr_writer != 0) { in rrwlock()
4049 mdb_printf("write lock held by thread %lx\n", rrw.rr_writer); in rrwlock()