Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/dm-vdo/
Dwait-queue.c52 if (!vdo_waitq_has_waiters(from_waitq)) in vdo_waitq_transfer_all_waiters()
55 if (vdo_waitq_has_waiters(to_waitq)) { in vdo_waitq_transfer_all_waiters()
96 while (vdo_waitq_has_waiters(&waiters)) in vdo_waitq_notify_all_waiters()
137 while (vdo_waitq_has_waiters(&iteration_waitq)) { in vdo_waitq_dequeue_matching_waiters()
Dflush.c201 if (vdo_waitq_has_waiters(&flusher->notifiers)) in finish_notification()
284 may_notify = !vdo_waitq_has_waiters(&flusher->notifiers); in flush_vdo()
299 vdo_waitq_has_waiters(&flusher->pending_flushes)) in check_for_drain_complete()
326 while (vdo_waitq_has_waiters(&flusher->pending_flushes)) { in vdo_complete_flushes()
357 (vdo_waitq_has_waiters(&flusher->notifiers) ? "not empty" : "empty"), in vdo_dump_flusher()
358 (vdo_waitq_has_waiters(&flusher->pending_flushes) ? "not empty" : "empty")); in vdo_dump_flusher()
Dwait-queue.h101 static inline bool __must_check vdo_waitq_has_waiters(const struct vdo_wait_queue *waitq) in vdo_waitq_has_waiters() function
Drecovery-journal.c287 (vdo_waitq_has_waiters(&block->entry_waiters) || in has_block_waiters()
288 vdo_waitq_has_waiters(&block->commit_waiters))); in has_block_waiters()
350 vdo_waitq_has_waiters(&journal->entry_waiters) || in check_for_drain_complete()
1099 if (!vdo_waitq_has_waiters(&block->entry_waiters)) in assign_entry()
1127 while (vdo_waitq_has_waiters(&journal->entry_waiters) && in assign_entries()
1330 while (vdo_waitq_has_waiters(&block->entry_waiters)) { in add_queued_recovery_entries()
1375 if (block->committing || !vdo_waitq_has_waiters(&block->entry_waiters) || in write_block()
Dvio.c366 VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&pool->waiting), in free_vio_pool()
432 if (vdo_waitq_has_waiters(&pool->waiting)) { in return_vio_to_pool()
Ddedupe.c656 if (vdo_waitq_has_waiters(&lock->waiters)) { in finish_unlocking()
757 if (vdo_waitq_has_waiters(&lock->waiters)) { in finish_updating()
819 VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&lock->waiters), in finish_deduping()
1040 while (vdo_waitq_has_waiters(&lock->waiters)) in start_deduping()
1460 if (vdo_waitq_has_waiters(&lock->waiters)) { in finish_writing()
1583 if (vdo_waitq_has_waiters(&lock->waiters)) in start_writing()
1937 VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&lock->waiters), in vdo_release_hash_lock()
Dslab-depot.c69 vdo_waitq_has_waiters(&journal->entry_waiters)); in must_make_entries_to_flush()
188 vdo_waitq_has_waiters(&slab->dirty_blocks) && in check_if_slab_drained()
268 if (vdo_waitq_has_waiters(&block->next_update_waiters)) in finish_updating_slab_summary_block()
1107 if ((slab->active_count > 0) || vdo_waitq_has_waiters(&slab->dirty_blocks)) { in finish_reference_block_write()
1777 while (vdo_waitq_has_waiters(&journal->entry_waiters)) { in add_entries()
1883 !vdo_waitq_has_waiters(&journal->entry_waiters)) in add_entries()
2672 bool notify = vdo_waitq_has_waiters(&scrubber->waiters); in finish_scrubbing()
Dblock-map.c408 result = VDO_ASSERT(!vdo_waitq_has_waiters(&info->waiting), in reset_page_info()
628 !vdo_waitq_has_waiters(&zone->flush_waiters) && in check_for_drain_complete()
895 if (!vdo_waitq_has_waiters(&cache->free_waiters)) { in allocate_free_page()
1068 reclaimed = (!was_discard || (info->busy > 0) || vdo_waitq_has_waiters(&info->waiting)); in page_is_written_out()
1589 } else if ((zone->flusher == NULL) && vdo_waitq_has_waiters(&zone->flush_waiters) && in finish_page_write()
Ddata-vio.c1222 if (vdo_waitq_has_waiters(&next_lock_holder->logical.waiters)) in transfer_lock()
1244 if (vdo_waitq_has_waiters(&lock->waiters)) in release_logical_lock()