| /linux-6.15/drivers/md/dm-vdo/ |
| H A D | physical-zone.c | 83 VDO_ASSERT_LOG_ONLY(!vdo_is_pbn_read_lock(lock), in vdo_downgrade_pbn_write_lock() 85 VDO_ASSERT_LOG_ONLY(!has_lock_type(lock, VIO_BLOCK_MAP_WRITE_LOCK), in vdo_downgrade_pbn_write_lock() 87 VDO_ASSERT_LOG_ONLY(lock->holder_count == 1, in vdo_downgrade_pbn_write_lock() 131 VDO_ASSERT_LOG_ONLY(!lock->has_provisional_reference, in vdo_assign_pbn_lock_provisional_reference() 224 VDO_ASSERT_LOG_ONLY(pool->borrowed > 0, "shouldn't return more than borrowed"); in return_pbn_lock_to_pool() 270 VDO_ASSERT_LOG_ONLY(pool->borrowed == 0, in free_pbn_lock_pool() 450 VDO_ASSERT_LOG_ONLY(false, "must always be able to borrow a PBN lock"); in vdo_attempt_physical_zone_pbn_lock() 488 VDO_ASSERT_LOG_ONLY(allocation->lock == NULL, in allocate_and_lock_block() 620 VDO_ASSERT_LOG_ONLY(lock->holder_count > 0, in vdo_release_physical_zone_pbn_lock() 630 VDO_ASSERT_LOG_ONLY((lock == holder), "physical block lock mismatch for block %llu", in vdo_release_physical_zone_pbn_lock()
|
| H A D | dedupe.c | 441 VDO_ASSERT_LOG_ONLY(data_vio->hash_zone != NULL, in set_hash_lock() 636 VDO_ASSERT_LOG_ONLY(lock->duplicate_lock == NULL, in finish_unlocking() 691 VDO_ASSERT_LOG_ONLY(lock->duplicate_lock != NULL, in unlock_duplicate_pbn() 898 VDO_ASSERT_LOG_ONLY(lock == replace_lock, in acquire_lock() 901 VDO_ASSERT_LOG_ONLY(replace_lock->registered, in acquire_lock() 1016 VDO_ASSERT_LOG_ONLY(agent_is_done, in start_deduping() 1243 VDO_ASSERT_LOG_ONLY(lock->duplicate_lock != NULL, in finish_locking() 1414 VDO_ASSERT_LOG_ONLY(lock->duplicate_lock == NULL, in start_locking() 1745 VDO_ASSERT_LOG_ONLY(data_vio == lock->agent, in vdo_continue_hash_lock() 1930 VDO_ASSERT_LOG_ONLY(lock == removed, in vdo_release_hash_lock() [all …]
|
| H A D | data-vio.h | 283 VDO_ASSERT_LOG_ONLY((vio->type == VIO_TYPE_DATA), "vio is a data_vio"); in vio_as_data_vio() 372 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_hash_zone() 400 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_logical_zone() 428 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_allocated_zone() 458 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_duplicate_zone() 488 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_mapped_zone() 505 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_data_vio_in_new_mapped_zone() 523 VDO_ASSERT_LOG_ONLY((journal_thread == thread_id), in assert_data_vio_in_journal_zone() 553 VDO_ASSERT_LOG_ONLY((packer_thread == thread_id), in assert_data_vio_in_packer_zone() 583 VDO_ASSERT_LOG_ONLY((cpu_thread == thread_id), in assert_data_vio_on_cpu_thread()
|
| H A D | data-vio.c | 235 VDO_ASSERT_LOG_ONLY((pool->discard_limiter.busy == 0), in check_for_drain_complete_locked() 280 VDO_ASSERT_LOG_ONLY((data_vio->remaining_discard <= in acknowledge_data_vio() 854 VDO_ASSERT_LOG_ONLY((discard_limit <= pool_size), in make_data_vio_pool() 912 VDO_ASSERT_LOG_ONLY((pool->limiter.busy == 0), in free_data_vio_pool() 1148 VDO_ASSERT_LOG_ONLY((data_vio != lock_holder), in release_lock() 1156 VDO_ASSERT_LOG_ONLY((data_vio == lock_holder), in release_lock() 1185 VDO_ASSERT_LOG_ONLY((lock_holder == data_vio), in transfer_lock() 1252 VDO_ASSERT_LOG_ONLY(data_vio->allocation.lock == NULL, in finish_cleanup() 1254 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock == NULL, in finish_cleanup() 1774 VDO_ASSERT_LOG_ONLY(data_vio->hash_lock != NULL, in launch_compress_data_vio() [all …]
|
| H A D | vio.c | 378 VDO_ASSERT_LOG_ONLY(!vdo_waitq_has_waiters(&pool->waiting), in free_vio_pool() 380 VDO_ASSERT_LOG_ONLY((pool->busy_count == 0), in free_vio_pool() 383 VDO_ASSERT_LOG_ONLY(list_empty(&pool->busy), in free_vio_pool() 392 VDO_ASSERT_LOG_ONLY(pool->size == 0, in free_vio_pool() 418 VDO_ASSERT_LOG_ONLY((pool->thread_id == vdo_get_callback_thread_id()), in acquire_vio_from_pool() 440 VDO_ASSERT_LOG_ONLY((pool->thread_id == vdo_get_callback_thread_id()), in return_vio_to_pool() 481 VDO_ASSERT_LOG_ONLY(0, "Bio operation %d not a write, read, discard, or empty flush", in vdo_count_bios()
|
| H A D | thread-registry.c | 47 VDO_ASSERT_LOG_ONLY(!found_it, "new thread not already in registry"); in vdo_register_thread() 70 VDO_ASSERT_LOG_ONLY(found_it, "thread found in registry"); in vdo_unregister_thread()
|
| H A D | logical-zone.c | 145 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == zone->thread_id), in assert_on_zone_thread() 250 VDO_ASSERT_LOG_ONLY((zone->flush_generation == expected_generation), in vdo_increment_logical_zone_flush_generation() 270 VDO_ASSERT_LOG_ONLY(vdo_is_state_normal(&zone->state), "vdo state is normal"); in vdo_acquire_flush_generation_lock() 335 VDO_ASSERT_LOG_ONLY((zone->oldest_active_generation <= data_vio->flush_generation), in vdo_release_flush_generation_lock()
|
| H A D | recovery-journal.c | 122 VDO_ASSERT_LOG_ONLY((decrements <= journal_value), in is_journal_zone_locked() 153 VDO_ASSERT_LOG_ONLY((*current_value >= 1), in vdo_release_recovery_journal_block_reference() 257 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == journal->thread_id), in assert_on_journal_thread() 356 VDO_ASSERT_LOG_ONLY(((result == VDO_READ_ONLY) || in check_for_drain_complete() 362 VDO_ASSERT_LOG_ONLY(list_empty(&journal->active_tail_blocks), in check_for_drain_complete() 803 VDO_ASSERT_LOG_ONLY(list_empty(&journal->active_tail_blocks), in vdo_free_recovery_journal() 992 VDO_ASSERT_LOG_ONLY((*journal_value == atomic_read(decrement_counter)), in initialize_lock_count() 1178 VDO_ASSERT_LOG_ONLY(vdo_before_journal_point(&journal->commit_point, in continue_committed_waiter() 1459 VDO_ASSERT_LOG_ONLY(data_vio->recovery_sequence_number == 0, in vdo_add_recovery_journal_entry() 1567 VDO_ASSERT_LOG_ONLY((zone_type != VDO_ZONE_TYPE_JOURNAL), in vdo_acquire_recovery_journal_block_reference() [all …]
|
| H A D | encodings.c | 428 VDO_ASSERT_LOG_ONLY(VDO_BLOCK_MAP_HEADER_2_0.size == *offset - initial_offset, in encode_block_map_state_2_0() 480 VDO_ASSERT_LOG_ONLY(VDO_RECOVERY_JOURNAL_HEADER_7_0.size == *offset - initial_offset, in encode_recovery_journal_state_7_0() 567 VDO_ASSERT_LOG_ONLY(VDO_SLAB_DEPOT_HEADER_2_0.size == *offset - initial_offset, in encode_slab_depot_state_2_0() 958 VDO_ASSERT_LOG_ONLY(result == VDO_SUCCESS, "layout has expected partition: %u", id); in vdo_get_known_partition() 970 VDO_ASSERT_LOG_ONLY(layout->num_partitions <= U8_MAX, in encode_layout() 980 VDO_ASSERT_LOG_ONLY(sizeof(struct layout_3_0) == *offset - initial_offset, in encode_layout() 991 VDO_ASSERT_LOG_ONLY(header.size == *offset - initial_offset, in encode_layout() 1324 VDO_ASSERT_LOG_ONLY(*offset == VDO_COMPONENT_DATA_OFFSET + VDO_COMPONENT_DATA_SIZE, in decode_components() 1399 VDO_ASSERT_LOG_ONLY(*offset == VDO_COMPONENT_DATA_OFFSET + VDO_COMPONENT_DATA_SIZE, in vdo_encode_component_states() 1423 VDO_ASSERT_LOG_ONLY(offset <= VDO_SECTOR_SIZE, in vdo_encode_super_block()
|
| H A D | permassert.h | 34 #define VDO_ASSERT_LOG_ONLY(expr, ...) __VDO_ASSERT(expr, __VA_ARGS__) macro
|
| H A D | io-submitter.c | 97 VDO_ASSERT_LOG_ONLY(!in_interrupt(), "not in interrupt context"); in assert_in_bio_zone() 303 VDO_ASSERT_LOG_ONLY(result == VDO_SUCCESS, "bio map insertion succeeds"); in try_bio_map_merge() 349 VDO_ASSERT_LOG_ONLY(!code->quiescent, "I/O not allowed in state %s", code->name); in __submit_metadata_vio()
|
| H A D | flush.c | 62 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == flusher->thread_id), in assert_on_flusher_thread() 333 VDO_ASSERT_LOG_ONLY((flush->flush_generation == in vdo_complete_flushes() 402 VDO_ASSERT_LOG_ONLY(!code->quiescent, "Flushing not allowed in state %s", in vdo_launch_flush()
|
| H A D | action-manager.c | 180 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == get_acting_zone_thread_id(manager)), in apply_to_zone() 360 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == manager->initiator_thread_id), in vdo_schedule_operation_with_context()
|
| H A D | memory-alloc.c | 388 VDO_ASSERT_LOG_ONLY(memory_stats.kmalloc_bytes == 0, in vdo_memory_exit() 391 VDO_ASSERT_LOG_ONLY(memory_stats.vmalloc_bytes == 0, in vdo_memory_exit()
|
| H A D | completion.c | 63 VDO_ASSERT_LOG_ONLY(!completion->complete, "completion is not complete"); in assert_incomplete()
|
| H A D | slab-depot.c | 537 VDO_ASSERT_LOG_ONLY((-adjustment <= lock->count), in adjust_slab_journal_block_reference() 663 VDO_ASSERT_LOG_ONLY(journal->tail_header.entry_count == 0, in reopen_slab_journal() 670 VDO_ASSERT_LOG_ONLY((get_lock(journal, block)->count == 0), in reopen_slab_journal() 1373 VDO_ASSERT_LOG_ONLY(list_empty(&slab->allocq_entry), in prioritize_slab() 2581 VDO_ASSERT_LOG_ONLY(((journal->size < 16) || in load_slab_journal() 2597 VDO_ASSERT_LOG_ONLY((slab->status != VDO_SLAB_REBUILT), in register_slab_for_scrubbing() 2625 VDO_ASSERT_LOG_ONLY(list_empty(&slab->allocq_entry), in queue_slab() 3072 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == thread_id), in assert_on_allocator_thread() 3920 VDO_ASSERT_LOG_ONLY((recovery_lock < journal->recovery_lock), in release_recovery_journal_lock() 4749 VDO_ASSERT_LOG_ONLY(depot->first_block == partition->offset, in vdo_prepare_to_grow_slab_depot() [all …]
|
| H A D | priority-table.c | 130 VDO_ASSERT_LOG_ONLY((priority <= table->max_priority), in vdo_priority_table_enqueue()
|
| H A D | funnel-workqueue.c | 113 VDO_ASSERT_LOG_ONLY(completion->my_queue == NULL, in enqueue_work_queue_completion() 322 VDO_ASSERT_LOG_ONLY((type->max_priority <= VDO_WORK_Q_MAX_PRIORITY), in make_simple_work_queue()
|
| H A D | vio.h | 72 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_vio_in_bio_zone()
|
| H A D | dm-vdo-target.c | 902 VDO_ASSERT_LOG_ONLY(code->normal, "vdo should not receive bios while in state %s", in vdo_map_bio() 1245 VDO_ASSERT_LOG_ONLY(vdo_get_callback_thread_id() == get_thread_id_for_phase(vdo), in assert_admin_phase_thread() 1425 VDO_ASSERT_LOG_ONLY(false, in release_instance() 1429 VDO_ASSERT_LOG_ONLY(false, "instance number %u must be allocated", instance); in release_instance() 1730 VDO_ASSERT_LOG_ONLY((new_physical_blocks > current_physical_blocks), in prepare_to_grow_physical() 1830 VDO_ASSERT_LOG_ONLY((config->logical_blocks > logical_blocks), in prepare_to_modify() 2884 VDO_ASSERT_LOG_ONLY(instances.count == 0, in vdo_module_destroy()
|
| H A D | block-map.c | 247 VDO_ASSERT_LOG_ONLY((thread_id == cache->zone->thread_id), in assert_on_cache_thread() 255 VDO_ASSERT_LOG_ONLY(!vdo_is_state_quiescent(&cache->zone->state), in assert_io_allowed() 950 VDO_ASSERT_LOG_ONLY(!is_in_flight(info), in discard_a_page() 1154 VDO_ASSERT_LOG_ONLY((page_completion->waiter.next_waiter == NULL), in vdo_release_page_completion() 1218 VDO_ASSERT_LOG_ONLY((page_completion->waiter.next_waiter == NULL), in vdo_get_page() 1266 VDO_ASSERT_LOG_ONLY(false, "Info found in a usable state."); in vdo_get_page() 1699 VDO_ASSERT_LOG_ONLY(lock->locked, in release_page_lock() 1705 VDO_ASSERT_LOG_ONLY((lock_holder == lock), in release_page_lock() 2937 VDO_ASSERT_LOG_ONLY(dirty_lists->next_period == 0, "current period not set"); in vdo_initialize_block_map_from_journal() 2971 VDO_ASSERT_LOG_ONLY((zone->active_lookups == 0), in initiate_drain()
|
| H A D | packer.c | 89 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == packer->thread_id), in assert_on_packer_thread() 673 VDO_ASSERT_LOG_ONLY((bin != NULL), "data_vio in packer has a bin"); in vdo_remove_lock_holder_from_packer()
|
| H A D | vdo.c | 1646 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.admin_thread), in vdo_assert_on_admin_thread() 1660 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == in vdo_assert_on_logical_zone_thread() 1675 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == in vdo_assert_on_physical_zone_thread()
|
| /linux-6.15/drivers/md/dm-vdo/indexer/ |
| H A D | index-session.c | 401 VDO_ASSERT_LOG_ONLY(false, "Bad load context state %u", in suspend_rebuild() 530 VDO_ASSERT_LOG_ONLY(false, "Bad load context state %u", in uds_resume_index_session()
|
| H A D | index.c | 115 VDO_ASSERT_LOG_ONLY((result == UDS_SUCCESS), "barrier message allocation"); in enqueue_barrier_messages() 1380 VDO_ASSERT_LOG_ONLY(false, "invalid index stage: %d", stage); in uds_enqueue_request()
|