| /linux/drivers/md/dm-vdo/ |
| A D | encodings.c | 323 result = VDO_ASSERT(header.size == offset + sizeof(u32), in vdo_parse_geometry_block() 383 result = VDO_ASSERT(flat_page_origin == VDO_BLOCK_MAP_FLAT_PAGE_ORIGIN, in decode_block_map_state_2_0() 391 result = VDO_ASSERT(flat_page_count == 0, in decode_block_map_state_2_0() 1209 result = VDO_ASSERT(config->slab_size > 0, "slab size unspecified"); in vdo_validate_config() 1213 result = VDO_ASSERT(is_power_of_2(config->slab_size), in vdo_validate_config() 1218 result = VDO_ASSERT(config->slab_size <= (1 << MAX_VDO_SLAB_BITS), in vdo_validate_config() 1229 result = VDO_ASSERT(config->slab_journal_blocks <= config->slab_size, in vdo_validate_config() 1239 result = VDO_ASSERT((slab_config.data_blocks >= 1), in vdo_validate_config() 1263 result = VDO_ASSERT((config->logical_blocks > 0), in vdo_validate_config() 1281 result = VDO_ASSERT(config->recovery_journal_size > 0, in vdo_validate_config() [all …]
|
| A D | permassert.h | 31 #define VDO_ASSERT(expr, ...) vdo_must_use(__VDO_ASSERT(expr, __VA_ARGS__)) macro
|
| A D | block-map.c | 290 result = VDO_ASSERT(state < ARRAY_SIZE(state_names), in get_page_state_name() 381 int result = VDO_ASSERT((pbn == NO_PAGE) || (info->pbn == NO_PAGE), in set_info_pbn() 404 result = VDO_ASSERT(info->busy == 0, "VDO Page must not be busy"); in reset_page_info() 408 result = VDO_ASSERT(!vdo_waitq_has_waiters(&info->waiting), in reset_page_info() 595 result = VDO_ASSERT(completion->ready, "VDO Page completion not ready"); in validate_completed_page() 599 result = VDO_ASSERT(completion->info != NULL, in validate_completed_page() 604 result = VDO_ASSERT(completion->info->pbn == completion->pbn, in validate_completed_page() 609 result = VDO_ASSERT(is_valid(completion->info), in validate_completed_page() 615 result = VDO_ASSERT(completion->writable, in validate_completed_page() 1459 result = VDO_ASSERT((zone->dirty_page_counts[generation] > 0), in release_generation() [all …]
|
| A D | completion.c | 114 if (VDO_ASSERT(thread_id < vdo->thread_config.thread_count, in vdo_enqueue_completion()
|
| A D | completion.h | 88 return VDO_ASSERT(expected == completion->type, in vdo_assert_completion_type()
|
| A D | physical-zone.c | 301 result = VDO_ASSERT(!list_empty(&pool->idle_list), in borrow_pbn_lock_from_pool() 464 result = VDO_ASSERT(lock->holder_count > 0, "physical block %llu lock held", in vdo_attempt_physical_zone_pbn_lock()
|
| A D | funnel-workqueue.c | 119 if (VDO_ASSERT(completion->priority <= queue->common.type->max_priority, in enqueue_work_queue_completion() 225 if (VDO_ASSERT(completion->my_queue == &queue->common, in process_completion()
|
| A D | vio.c | 85 result = VDO_ASSERT(block_count <= MAX_BLOCKS_PER_VIO, in allocate_vio_components() 91 result = VDO_ASSERT(((vio_type != VIO_TYPE_UNINITIALIZED) && (vio_type != VIO_TYPE_DATA)), in allocate_vio_components()
|
| A D | errors.c | 284 result = VDO_ASSERT(first_error < next_free_error, in uds_register_error_block()
|
| A D | vdo.c | 427 return VDO_ASSERT(vdo_work_queue_type_is(thread->queue, type), in vdo_make_thread() 450 result = VDO_ASSERT(filter_vdos_locked(vdo_is_equal, vdo) == NULL, in register_vdo() 1001 result = VDO_ASSERT(thread_id != vdo->thread_config.dedupe_thread, in vdo_register_read_only_listener() 1724 result = VDO_ASSERT(slab != NULL, "vdo_get_slab must succeed on all valid PBNs"); in vdo_get_physical_zone()
|
| A D | flush.c | 275 result = VDO_ASSERT(vdo_is_state_normal(&flusher->state), in flush_vdo()
|
| A D | dedupe.c | 875 result = VDO_ASSERT(!list_empty(&zone->lock_pool), in acquire_lock() 1812 result = VDO_ASSERT(data_vio->hash_lock == NULL, in assert_hash_lock_preconditions() 1817 result = VDO_ASSERT(list_empty(&data_vio->hash_lock_entry), in assert_hash_lock_preconditions() 1822 return VDO_ASSERT(data_vio->recovery_sequence_number == 0, in assert_hash_lock_preconditions()
|
| A D | packer.c | 572 result = VDO_ASSERT((status.stage == DATA_VIO_COMPRESSING), in vdo_attempt_packing()
|
| A D | slab-depot.c | 910 result = VDO_ASSERT(vdo_before_journal_point(&journal->tail_header.recovery_point, in add_entry() 923 result = VDO_ASSERT((journal->tail_header.entry_count < in add_entry() 1658 result = VDO_ASSERT(is_valid_journal_point(slab_journal_point), in adjust_reference_count() 2364 result = VDO_ASSERT(slab->reference_blocks == NULL, in allocate_slab_counters() 2557 result = VDO_ASSERT((free_blocks <= allocator->depot->slab_config.data_blocks), in queue_slab() 2883 result = VDO_ASSERT(!vdo_before_journal_point(&last_entry_applied, in apply_journal_entries()
|
| A D | data-vio.c | 446 result = VDO_ASSERT(lock_holder->logical.locked, "logical block lock held"); in attempt_logical_block_lock() 2004 int result = VDO_ASSERT(data_vio->is_discard, in assert_is_discard()
|
| A D | repair.c | 1492 result = VDO_ASSERT((repair->block_map_entry_count <= repair->entry_count), in extract_new_mappings()
|
| A D | dm-vdo-target.c | 1578 result = VDO_ASSERT(instance < instances.bit_count, in allocate_instance()
|
| /linux/drivers/md/dm-vdo/indexer/ |
| A D | delta-index.c | 859 result = VDO_ASSERT(offset == sizeof(struct delta_index_header), in uds_start_restoring_delta_index() 1139 result = VDO_ASSERT(offset == sizeof(struct delta_index_header), in uds_start_saving_delta_index() 1215 int result = VDO_ASSERT(!delta_entry->at_end, in assert_not_at_end() 1239 result = VDO_ASSERT((list_number < delta_index->list_count), in uds_start_delta_index_search() 1248 result = VDO_ASSERT((list_number < delta_zone->list_count), in uds_start_delta_index_search() 1365 result = VDO_ASSERT((delta_entry->offset == size), in uds_next_delta_index_entry() 1492 result = VDO_ASSERT(delta_entry->is_collision, in uds_get_delta_entry_collision() 1530 result = VDO_ASSERT((value & value_mask) == value, in uds_set_delta_entry_value() 1733 result = VDO_ASSERT((key == delta_entry->key), in uds_put_delta_index_entry() 1763 result = VDO_ASSERT((key < delta_entry->key), in uds_put_delta_index_entry() [all …]
|
| A D | chapter-index.c | 86 result = VDO_ASSERT(page_number < record_pages, in uds_put_open_chapter_index_record() 100 result = VDO_ASSERT(!(found && entry.is_collision), in uds_put_open_chapter_index_record()
|
| A D | config.c | 137 result = VDO_ASSERT(offset == sizeof(struct uds_configuration_6_02), in uds_validate_config_contents() 213 result = VDO_ASSERT(offset == sizeof(struct uds_configuration_6_02), in uds_write_config_contents()
|
| A D | volume-index.c | 835 result = VDO_ASSERT(offset == sizeof(buffer), in start_restoring_volume_sub_index() 927 result = VDO_ASSERT(offset == sizeof(buffer), in start_restoring_volume_index() 1026 result = VDO_ASSERT(offset == sizeof(struct sub_index_data), in start_saving_volume_sub_index() 1069 result = VDO_ASSERT(offset == sizeof(struct volume_index_data), in start_saving_volume_index()
|
| A D | volume.c | 262 result = VDO_ASSERT((page->read_pending), "page to install has a pending read"); in put_page_in_cache() 288 result = VDO_ASSERT((page->read_pending), "page to install has a pending read"); in cancel_page_in_cache() 892 result = VDO_ASSERT(record_page_number < geometry->record_pages_per_chapter, in uds_search_cached_record_page() 1504 result = VDO_ASSERT((cache->cache_slots <= VOLUME_CACHE_MAX_ENTRIES), in initialize_page_cache()
|
| A D | index-session.c | 202 request->status = VDO_ASSERT(false, "unknown request type: %d", in update_session_stats()
|