Lines Matching refs:active
55 "rwlock %p thread %lu %s(%s): %s, %u active, "
68 rwl->active, rwl->granted, rwl->readers_waiting,
103 rwl->active = 0;
161 REQUIRE(rwl->active == 0 &&
253 /* there is a waiting or active writer */
331 /* Another active reader or writer is working. */
447 /* Become an active reader. */
556 ((rwl->active == 0 ||
562 rwl->active++;
579 if (!skip && rwl->active == 0) {
581 rwl->active = 1;
623 REQUIRE(rwl->active != 0);
626 if (rwl->active == 1) {
643 REQUIRE(rwl->active == 1);
674 INSIST(rwl->active > 0);
675 rwl->active--;
676 if (rwl->active == 0) {
734 rwl->active = 0;
745 if (rwl->type != isc_rwlocktype_read && rwl->active != 0)
748 rwl->active++;
750 if (rwl->active != 0)
753 rwl->active = 1;
769 REQUIRE(rwl->active != 0);
772 if (rwl->active == 1)
784 REQUIRE(rwl->active == 1);
796 INSIST(rwl->active > 0);
797 rwl->active--;
805 REQUIRE(rwl->active == 0);