| /linux/drivers/md/dm-vdo/ |
| H A D | physical-zone.c | 84 VDO_ASSERT_LOG_ONLY(!vdo_is_pbn_read_lock(lock), in vdo_downgrade_pbn_write_lock() 86 VDO_ASSERT_LOG_ONLY(!has_lock_type(lock, VIO_BLOCK_MAP_WRITE_LOCK), in vdo_downgrade_pbn_write_lock() 88 VDO_ASSERT_LOG_ONLY(lock->holder_count == 1, in vdo_downgrade_pbn_write_lock() 132 VDO_ASSERT_LOG_ONLY(!lock->has_provisional_reference, in vdo_assign_pbn_lock_provisional_reference() 225 VDO_ASSERT_LOG_ONLY(pool->borrowed > 0, "shouldn't return more than borrowed"); in return_pbn_lock_to_pool() 271 VDO_ASSERT_LOG_ONLY(pool->borrowed == 0, in free_pbn_lock_pool() 451 VDO_ASSERT_LOG_ONLY(false, "must always be able to borrow a PBN lock"); in vdo_attempt_physical_zone_pbn_lock() 489 VDO_ASSERT_LOG_ONLY(allocation->lock == NULL, in allocate_and_lock_block() 621 VDO_ASSERT_LOG_ONLY(lock->holder_count > 0, in vdo_release_physical_zone_pbn_lock() 631 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 | 323 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == zone->thread_id), in assert_in_hash_zone() 400 VDO_ASSERT_LOG_ONLY(data_vio == data_vio->hash_lock->agent, in assert_hash_lock_agent() 412 VDO_ASSERT_LOG_ONLY((hash_lock->duplicate_lock == NULL), in set_duplicate_lock() 441 VDO_ASSERT_LOG_ONLY(data_vio->hash_zone != NULL, in set_hash_lock() 443 VDO_ASSERT_LOG_ONLY(!list_empty(&data_vio->hash_lock_entry), in set_hash_lock() 445 VDO_ASSERT_LOG_ONLY(old_lock->reference_count > 0, in set_hash_lock() 454 VDO_ASSERT_LOG_ONLY(old_lock->reference_count > 1, 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() 795 VDO_ASSERT_LOG_ONLY(lock->verified, "new advice should have been verified"); in start_updating() [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 | 237 VDO_ASSERT_LOG_ONLY((pool->discard_limiter.busy == 0), in check_for_drain_complete_locked() 282 VDO_ASSERT_LOG_ONLY((data_vio->remaining_discard <= in acknowledge_data_vio() 624 VDO_ASSERT_LOG_ONLY((limiter->release_count <= limiter->busy), in update_limiter() 850 VDO_ASSERT_LOG_ONLY((discard_limit <= pool_size), in make_data_vio_pool() 909 VDO_ASSERT_LOG_ONLY((pool->limiter.busy == 0), in free_data_vio_pool() 912 VDO_ASSERT_LOG_ONLY((bio_list_empty(&pool->limiter.waiters) && in free_data_vio_pool() 915 VDO_ASSERT_LOG_ONLY((bio_list_empty(&pool->discard_limiter.waiters) && in free_data_vio_pool() 964 VDO_ASSERT_LOG_ONLY(!vdo_is_state_quiescent(&pool->state), in vdo_launch_bio() 1001 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.cpu_thread), in assert_on_vdo_cpu_thread() 1151 VDO_ASSERT_LOG_ONLY((data_vio != lock_holder), in release_lock() [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() 419 VDO_ASSERT_LOG_ONLY((pool->thread_id == vdo_get_callback_thread_id()), in acquire_vio_from_pool() 441 VDO_ASSERT_LOG_ONLY((pool->thread_id == vdo_get_callback_thread_id()), in return_vio_to_pool() 482 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() 238 VDO_ASSERT_LOG_ONLY((zone->flush_generation == expected_generation), in vdo_increment_logical_zone_flush_generation() 258 VDO_ASSERT_LOG_ONLY(vdo_is_state_normal(&zone->state), "vdo state is normal"); in vdo_acquire_flush_generation_lock() 323 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() 358 VDO_ASSERT_LOG_ONLY(((result == VDO_READ_ONLY) || in check_for_drain_complete() 364 VDO_ASSERT_LOG_ONLY(list_empty(&journal->active_tail_blocks), in check_for_drain_complete() 805 VDO_ASSERT_LOG_ONLY(list_empty(&journal->active_tail_blocks), in vdo_free_recovery_journal() 994 VDO_ASSERT_LOG_ONLY((*journal_value == atomic_read(decrement_counter)), in initialize_lock_count() 1184 VDO_ASSERT_LOG_ONLY(vdo_before_journal_point(&journal->commit_point, in continue_committed_waiter() 1290 VDO_ASSERT_LOG_ONLY((block->sequence_number >= last_active_block->sequence_number), in complete_write() 1467 VDO_ASSERT_LOG_ONLY(data_vio->recovery_sequence_number == 0, in vdo_add_recovery_journal_entry() [all …]
|
| H A D | encodings.c | 429 VDO_ASSERT_LOG_ONLY(VDO_BLOCK_MAP_HEADER_2_0.size == *offset - initial_offset, in encode_block_map_state_2_0() 487 VDO_ASSERT_LOG_ONLY(VDO_RECOVERY_JOURNAL_HEADER_7_0.size == *offset - initial_offset, in encode_recovery_journal_state_7_0() 578 VDO_ASSERT_LOG_ONLY(VDO_SLAB_DEPOT_HEADER_2_0.size == *offset - initial_offset, in encode_slab_depot_state_2_0() 972 VDO_ASSERT_LOG_ONLY(result == VDO_SUCCESS, "layout has expected partition: %u", id); in vdo_get_known_partition() 984 VDO_ASSERT_LOG_ONLY(layout->num_partitions <= U8_MAX, in encode_layout() 994 VDO_ASSERT_LOG_ONLY(sizeof(struct layout_3_0) == *offset - initial_offset, in encode_layout() 1005 VDO_ASSERT_LOG_ONLY(header.size == *offset - initial_offset, in encode_layout() 1341 VDO_ASSERT_LOG_ONLY(*offset == VDO_COMPONENT_DATA_OFFSET + VDO_COMPONENT_DATA_SIZE, in decode_components() 1419 VDO_ASSERT_LOG_ONLY(*offset == VDO_COMPONENT_DATA_OFFSET + VDO_COMPONENT_DATA_SIZE, in vdo_encode_component_states() 1445 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() 305 VDO_ASSERT_LOG_ONLY(result == VDO_SUCCESS, "bio map insertion succeeds"); in try_bio_map_merge() 351 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 | 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 | 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 | completion.c | 63 VDO_ASSERT_LOG_ONLY(!completion->complete, "completion is not complete"); in assert_incomplete()
|
| H A D | slab-depot.c | 153 VDO_ASSERT_LOG_ONLY(journal->recovery_lock == 0, "slab journal was clean"); in mark_slab_journal_dirty() 220 VDO_ASSERT_LOG_ONLY((free_blocks < (1 << 23)), "free blocks must be less than 2^23"); in compute_fullness_hint() 536 VDO_ASSERT_LOG_ONLY((adjustment != 0), "adjustment must be non-zero"); in adjust_slab_journal_block_reference() 539 VDO_ASSERT_LOG_ONLY((-adjustment <= lock->count), in adjust_slab_journal_block_reference() 666 VDO_ASSERT_LOG_ONLY(journal->tail_header.entry_count == 0, in reopen_slab_journal() 673 VDO_ASSERT_LOG_ONLY((get_lock(journal, block)->count == 0), in reopen_slab_journal() 762 VDO_ASSERT_LOG_ONLY(unused_entries >= 0, "vdo_slab journal block is not overfull"); in write_slab_journal_block() 1376 VDO_ASSERT_LOG_ONLY(list_empty(&slab->allocq_entry), in prioritize_slab() 1830 VDO_ASSERT_LOG_ONLY((journal->head + journal->size) == journal->tail, in add_entries() 1838 VDO_ASSERT_LOG_ONLY((journal->blocking_threshold >= journal->size), in add_entries() [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() 321 VDO_ASSERT_LOG_ONLY((type->max_priority <= VDO_WORK_Q_MAX_PRIORITY), in make_simple_work_queue()
|
| 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() 1246 VDO_ASSERT_LOG_ONLY(vdo_get_callback_thread_id() == get_thread_id_for_phase(vdo), in assert_admin_phase_thread() 1426 VDO_ASSERT_LOG_ONLY(false, in release_instance() 1430 VDO_ASSERT_LOG_ONLY(false, "instance number %u must be allocated", instance); in release_instance() 1731 VDO_ASSERT_LOG_ONLY((new_physical_blocks > current_physical_blocks), in prepare_to_grow_physical() 1831 VDO_ASSERT_LOG_ONLY((config->logical_blocks > logical_blocks), in prepare_to_modify() 2885 VDO_ASSERT_LOG_ONLY(instances.count == 0, in vdo_module_destroy()
|
| H A D | vio.h | 72 VDO_ASSERT_LOG_ONLY((expected == thread_id), in assert_vio_in_bio_zone()
|
| H A D | block-map.c | 251 VDO_ASSERT_LOG_ONLY((thread_id == cache->zone->thread_id), in assert_on_cache_thread() 259 VDO_ASSERT_LOG_ONLY(!vdo_is_state_quiescent(&cache->zone->state), in assert_io_allowed() 972 VDO_ASSERT_LOG_ONLY(!is_in_flight(info), in discard_a_page() 1173 VDO_ASSERT_LOG_ONLY((page_completion->waiter.next_waiter == NULL), in vdo_release_page_completion() 1233 VDO_ASSERT_LOG_ONLY((page_completion->waiter.next_waiter == NULL), in vdo_get_page() 1281 VDO_ASSERT_LOG_ONLY(false, "Info found in a usable state."); in vdo_get_page() 1719 VDO_ASSERT_LOG_ONLY(lock->locked, in release_page_lock() 1725 VDO_ASSERT_LOG_ONLY((lock_holder == lock), in release_page_lock() 2969 VDO_ASSERT_LOG_ONLY(dirty_lists->next_period == 0, "current period not set"); in vdo_initialize_block_map_from_journal() 3003 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() 674 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 | 1649 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == vdo->thread_config.admin_thread), in vdo_assert_on_admin_thread() 1663 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == in vdo_assert_on_logical_zone_thread() 1678 VDO_ASSERT_LOG_ONLY((vdo_get_callback_thread_id() == in vdo_assert_on_physical_zone_thread()
|
| /linux/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()
|