Home
last modified time | relevance | path

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

/titanic_41/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 …]
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Drrwlock.h57 kthread_t *rr_writer; member
/titanic_41/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c3219 uintptr_t rr_writer; member
3240 if (rrw.rr_writer != 0) { in rrwlock()
3241 mdb_printf("write lock held by thread %lx\n", rrw.rr_writer); in rrwlock()