Searched refs:block_count_t (Results 1 – 18 of 18) sorted by relevance
| /drivers/md/dm-vdo/ |
| A D | recovery-journal.h | 99 block_count_t locks; 195 block_count_t block_map_head_block_number; 203 block_count_t size; 205 block_count_t logical_blocks_used; 207 block_count_t block_map_data_blocks; 209 block_count_t pending_write_count; 258 block_count_t journal_size, 266 block_count_t logical_blocks_used, 269 block_count_t __must_check 280 block_count_t __must_check vdo_get_recovery_journal_length(block_count_t journal_size); [all …]
|
| A D | types.h | 19 typedef u64 block_count_t; typedef 173 block_count_t slab_blocks; 175 block_count_t data_blocks; 177 block_count_t reference_count_blocks; 179 block_count_t slab_journal_blocks; 184 block_count_t slab_journal_flushing_threshold; 189 block_count_t slab_journal_blocking_threshold; 191 block_count_t slab_journal_scrubbing_threshold; 217 block_count_t physical_blocks; 222 block_count_t logical_blocks; [all …]
|
| A D | encodings.h | 100 block_count_t bio_offset; 186 block_count_t flat_page_count; 188 block_count_t root_count; 202 block_count_t logical_blocks_used; 204 block_count_t block_map_data_blocks; 573 block_count_t size; 597 block_count_t count; 894 block_count_t entries, 1089 static inline block_count_t vdo_get_saved_reference_count_size(block_count_t block_count) in vdo_get_saved_reference_count_size() 1275 block_count_t physical_block_count, [all …]
|
| A D | block-map.h | 220 block_count_t maximum_age; 226 block_count_t offset; 259 block_count_t root_count; 267 block_count_t entry_count; 276 block_count_t next_entry_count; 334 block_count_t logical_blocks, struct vdo *vdo, 336 page_count_t cache_size, block_count_t maximum_age, 345 block_count_t new_logical_blocks); 388 static inline block_count_t vdo_convert_maximum_age(block_count_t age) in vdo_convert_maximum_age()
|
| A D | slab-depot.h | 139 block_count_t size; 141 block_count_t flushing_threshold; 143 block_count_t flushing_deadline; 145 block_count_t blocking_threshold; 147 block_count_t scrubbing_threshold; 353 block_count_t index; 448 block_count_t summary_write_count; 495 block_count_t new_size; 574 block_count_t __must_check vdo_get_slab_depot_allocated_blocks(const struct slab_depot *depot); 576 block_count_t __must_check vdo_get_slab_depot_data_blocks(const struct slab_depot *depot);
|
| A D | encodings.c | 254 block_count_t bio_offset = 0; in decode_volume_geometry() 441 block_count_t entries, in vdo_compute_new_forest_pages() 446 block_count_t total_pages = 0; in vdo_compute_new_forest_pages() 450 block_count_t new_pages; in vdo_compute_new_forest_pages() 583 block_count_t count; in decode_slab_depot_state_2_0() 696 int vdo_configure_slab(block_count_t slab_size, block_count_t slab_journal_blocks, in vdo_configure_slab() 857 block_count_t block_map_blocks, block_count_t journal_blocks, in vdo_initialize_layout() 861 block_count_t necessary_size = in vdo_initialize_layout() 1190 block_count_t physical_block_count, in vdo_validate_config() 1191 block_count_t logical_block_count) in vdo_validate_config() [all …]
|
| A D | recovery-journal.c | 68 block_count_t lock_number, in get_zone_count_ptr() 102 block_count_t lock_number) in get_decrement_counter() 115 block_count_t lock_number) in is_journal_zone_locked() 144 block_count_t lock_number; in vdo_release_recovery_journal_block_reference() 462 block_count_t blocks_reaped; in finish_reaping() 540 block_count_t vdo_get_recovery_journal_length(block_count_t journal_size) in vdo_get_recovery_journal_length() 708 block_count_t i; in vdo_decode_recovery_journal() 785 block_count_t i; in vdo_free_recovery_journal() 1146 block_count_t i; in recycle_journal_block() 1561 block_count_t lock_number; in vdo_acquire_recovery_journal_block_reference() [all …]
|
| A D | logical-zone.h | 38 block_count_t ios_in_flush_generation; 50 block_count_t allocation_count;
|
| A D | packer.h | 78 block_count_t size; 101 int __must_check vdo_make_packer(struct vdo *vdo, block_count_t bin_count,
|
| A D | dm-vdo-target.c | 1319 block_count_t maximum_age, journal_length; in decode_vdo() 1454 block_count_t logical_blocks = logical_size / block_size; in vdo_initialize() 1654 static block_count_t get_partition_size(struct layout *layout, enum partition_id id) in get_partition_size() 1667 static int grow_layout(struct vdo *vdo, block_count_t old_size, block_count_t new_size) in grow_layout() 1670 block_count_t min_new_size; in grow_layout() 1726 block_count_t current_physical_blocks = vdo->states.vdo.config.physical_blocks; in prepare_to_grow_physical() 1826 block_count_t logical_blocks = vdo->states.vdo.config.logical_blocks; in prepare_to_modify() 2505 static int perform_grow_logical(struct vdo *vdo, block_count_t new_logical_blocks) in perform_grow_logical() 2667 block_count_t new_depot_size, prepared_depot_size; in perform_grow_physical() 2668 block_count_t old_physical_blocks = vdo->states.vdo.config.physical_blocks; in perform_grow_physical() [all …]
|
| A D | slab-depot.c | 217 block_count_t hint; in compute_fullness_hint() 623 block_count_t free_block_count; in update_tail_block_location() 1224 block_count_t written; in reclaim_journal_space() 1852 block_count_t i; in add_entries() 2161 block_count_t i; in dirty_all_reference_blocks() 2357 block_count_t i; in load_reference_blocks() 2622 block_count_t free_blocks; in queue_slab() 3844 block_count_t slab_size; in allocate_slabs() 4058 block_count_t i; in initialize_block_allocator() 4281 block_count_t i; in uninitialize_allocator_summary() [all …]
|
| A D | statistics.h | 208 block_count_t physical_blocks; 210 block_count_t logical_blocks;
|
| A D | repair.c | 83 block_count_t logical_blocks_used; 85 block_count_t block_map_data_blocks; 1404 block_count_t count; in parse_journal_for_rebuild() 1701 block_count_t remaining = journal->size; in vdo_repair() 1702 block_count_t vio_count = DIV_ROUND_UP(remaining, MAX_BLOCKS_PER_VIO); in vdo_repair() 1743 block_count_t blocks = min_t(block_count_t, remaining, in vdo_repair()
|
| A D | block-map.c | 1966 block_count_t i = dirty_lists->offset++; in expire_oldest_list() 2334 static int make_segment(struct forest *old_forest, block_count_t new_pages, in make_segment() 2442 static int make_forest(struct block_map *map, block_count_t entries) in make_forest() 2446 block_count_t new_pages; in make_forest() 2716 block_count_t maximum_age) in initialize_block_map_zone() 2719 block_count_t i; in initialize_block_map_zone() 2855 int vdo_decode_block_map(struct block_map_state_2_0 state, block_count_t logical_blocks, in vdo_decode_block_map() 2857 nonce_t nonce, page_count_t cache_size, block_count_t maximum_age, in vdo_decode_block_map() 3020 block_count_t new_logical_blocks) in vdo_prepare_to_grow_block_map()
|
| A D | packer.c | 143 int vdo_make_packer(struct vdo *vdo, block_count_t bin_count, struct packer **packer_ptr) in vdo_make_packer() 146 block_count_t i; in vdo_make_packer()
|
| A D | vio.c | 50 static int create_multi_block_bio(block_count_t size, struct bio **bio_ptr) in create_multi_block_bio()
|
| A D | message-stats.c | 37 static void write_block_count_t(char *prefix, block_count_t value, char *suffix, in write_block_count_t()
|
| A D | vdo.c | 1457 static block_count_t __must_check vdo_get_physical_blocks_allocated(const struct vdo *vdo) in vdo_get_physical_blocks_allocated() 1469 static block_count_t __must_check vdo_get_physical_blocks_overhead(const struct vdo *vdo) in vdo_get_physical_blocks_overhead()
|
Completed in 57 milliseconds