vdo_waitq_has_waiters
reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting));
} else if ((zone->flusher == NULL) && vdo_waitq_has_waiters(&zone->flush_waiters) &&
result = VDO_ASSERT(!vdo_waitq_has_waiters(&info->waiting),
!vdo_waitq_has_waiters(&zone->flush_waiters) &&
if (!vdo_waitq_has_waiters(&cache->free_waiters)) {
if (vdo_waitq_has_waiters(&next_lock_holder->logical.waiters))
if (vdo_waitq_has_waiters(&lock->waiters))
while (vdo_waitq_has_waiters(&lock->waiters))
if (vdo_waitq_has_waiters(&lock->waiters)) {
if (vdo_waitq_has_waiters(&lock->waiters))
VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&lock->waiters),
if (vdo_waitq_has_waiters(&lock->waiters)) {
if (vdo_waitq_has_waiters(&lock->waiters)) {
VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&lock->waiters),
if (vdo_waitq_has_waiters(&flusher->notifiers))
may_notify = !vdo_waitq_has_waiters(&flusher->notifiers);
vdo_waitq_has_waiters(&flusher->pending_flushes))
while (vdo_waitq_has_waiters(&flusher->pending_flushes)) {
(vdo_waitq_has_waiters(&flusher->notifiers) ? "not empty" : "empty"),
(vdo_waitq_has_waiters(&flusher->pending_flushes) ? "not empty" : "empty"));
if (!vdo_waitq_has_waiters(&block->entry_waiters))
while (vdo_waitq_has_waiters(&journal->entry_waiters) &&
while (vdo_waitq_has_waiters(&block->entry_waiters)) {
if (block->committing || !vdo_waitq_has_waiters(&block->entry_waiters) ||
(vdo_waitq_has_waiters(&block->entry_waiters) ||
vdo_waitq_has_waiters(&block->commit_waiters)));
vdo_waitq_has_waiters(&journal->entry_waiters) ||
if ((slab->active_count > 0) || vdo_waitq_has_waiters(&slab->dirty_blocks)) {
while (vdo_waitq_has_waiters(&journal->entry_waiters)) {
!vdo_waitq_has_waiters(&journal->entry_waiters))
vdo_waitq_has_waiters(&slab->dirty_blocks) &&
if (vdo_waitq_has_waiters(&block->next_update_waiters))
bool notify = vdo_waitq_has_waiters(&scrubber->waiters);
vdo_waitq_has_waiters(&journal->entry_waiters));
VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&pool->waiting),
if (vdo_waitq_has_waiters(&pool->waiting)) {
while (vdo_waitq_has_waiters(&iteration_waitq)) {
if (!vdo_waitq_has_waiters(from_waitq))
if (vdo_waitq_has_waiters(to_waitq)) {
while (vdo_waitq_has_waiters(&waiters))