Searched refs:rll_writer (Results 1 – 1 of 1) sorted by relevance
242 void *rll_writer; member1081 rll->rll_writer = NULL; in ztest_rll_init()1090 ASSERT(rll->rll_writer == NULL); in ztest_rll_destroy()1102 while (rll->rll_writer != NULL) in ztest_rll_lock()1106 while (rll->rll_writer != NULL || rll->rll_readers) in ztest_rll_lock()1108 rll->rll_writer = curthread; in ztest_rll_lock()1119 if (rll->rll_writer) { in ztest_rll_unlock()1121 rll->rll_writer = NULL; in ztest_rll_unlock()1124 ASSERT(rll->rll_writer == NULL); in ztest_rll_unlock()1128 if (rll->rll_writer == NULL && rll->rll_readers == 0) in ztest_rll_unlock()