Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c343 void *rll_writer; member
1679 rll->rll_writer = NULL; in ztest_rll_init()
1688 ASSERT3P(rll->rll_writer, ==, NULL); in ztest_rll_destroy()
1700 while (rll->rll_writer != NULL) in ztest_rll_lock()
1704 while (rll->rll_writer != NULL || rll->rll_readers) in ztest_rll_lock()
1706 rll->rll_writer = curthread; in ztest_rll_lock()
1717 if (rll->rll_writer) { in ztest_rll_unlock()
1719 rll->rll_writer = NULL; in ztest_rll_unlock()
1722 ASSERT3P(rll->rll_writer, ==, NULL); in ztest_rll_unlock()
1726 if (rll->rll_writer == NULL && rll->rll_readers == 0) in ztest_rll_unlock()