| /linux/drivers/md/dm-vdo/ |
| H A D | recovery-journal.h | 99 block_count_t locks; 195 block_count_t block_map_head_block_number; 199 block_count_t slab_journal_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; 211 block_count_t slab_journal_commit_threshold; 258 block_count_t journal_size, 266 block_count_t logical_blocks_used, [all …]
|
| H 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 …]
|
| H 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()
|
| H 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);
|
| H A D | recovery-journal.c | 68 block_count_t lock_number, in get_zone_count_ptr() 86 block_count_t lock_number, enum vdo_zone_type zone_type, in get_counter() 90 block_count_t zone_counter = (counter->locks * zone_id) + lock_number; in get_counter() 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() 446 block_count_t current_length = journal->tail - journal->slab_journal_head; in check_slab_journal_commit_threshold() 464 block_count_t blocks_reaped; in finish_reaping() 542 block_count_t vdo_get_recovery_journal_length(block_count_t journal_size) in vdo_get_recovery_journal_length() 544 block_count_t reserved_blocks = journal_size / 4; in vdo_get_recovery_journal_length() [all …]
|
| H A D | logical-zone.h | 38 block_count_t ios_in_flush_generation; 50 block_count_t allocation_count;
|
| H A D | packer.h | 78 block_count_t size; 101 int __must_check vdo_make_packer(struct vdo *vdo, block_count_t bin_count,
|
| H A D | dm-vdo-target.c | 1012 static block_count_t __must_check get_underlying_device_block_count(const struct vdo *vdo) in get_underlying_device_block_count() 1320 block_count_t maximum_age, journal_length; in decode_vdo() 1455 block_count_t logical_blocks = logical_size / block_size; in vdo_initialize() 1655 static block_count_t get_partition_size(struct layout *layout, enum partition_id id) in get_partition_size() 1668 static int grow_layout(struct vdo *vdo, block_count_t old_size, block_count_t new_size) in grow_layout() 1671 block_count_t min_new_size; in grow_layout() 1724 static int prepare_to_grow_physical(struct vdo *vdo, block_count_t new_physical_blocks) in prepare_to_grow_physical() 1727 block_count_t current_physical_blocks = vdo->states.vdo.config.physical_blocks; in prepare_to_grow_physical() 1827 block_count_t logical_blocks = vdo->states.vdo.config.logical_blocks; in prepare_to_modify() 2506 static int perform_grow_logical(struct vdo *vdo, block_count_t new_logical_blocks) in perform_grow_logical() [all …]
|
| H A D | statistics.h | 208 block_count_t physical_blocks; 210 block_count_t logical_blocks;
|
| H A D | slab-depot.c | 216 block_count_t free_blocks) in compute_fullness_hint() 218 block_count_t hint; in compute_fullness_hint() 364 block_count_t free_blocks) in update_slab_summary_entry() 625 block_count_t free_block_count; in update_tail_block_location() 638 free_block_count = ((block_count_t) hint) << slab->allocator->depot->hint_shift; in update_tail_block_location() 940 static inline block_count_t journal_length(const struct slab_journal *journal) in journal_length() 1222 block_count_t length = journal_length(journal); in reclaim_journal_space() 1224 block_count_t write_count = vdo_waitq_num_waiters(&slab->dirty_blocks); in reclaim_journal_space() 1225 block_count_t written; in reclaim_journal_space() 1235 write_count = max_t(block_count_t, write_count, 1); in reclaim_journal_space() [all …]
|
| H 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()
|
| H 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()
|
| H A D | block-map.c | 1986 block_count_t i = dirty_lists->offset++; in expire_oldest_list() 2355 static int make_segment(struct forest *old_forest, block_count_t new_pages, in make_segment() 2464 static int make_forest(struct block_map *map, block_count_t entries) in make_forest() 2468 block_count_t new_pages; in make_forest() 2748 block_count_t maximum_age) in initialize_block_map_zone() 2751 block_count_t i; in initialize_block_map_zone() 2887 int vdo_decode_block_map(struct block_map_state_2_0 state, block_count_t logical_blocks, in vdo_decode_block_map() 2889 nonce_t nonce, page_count_t cache_size, block_count_t maximum_age, in vdo_decode_block_map() 3052 block_count_t new_logical_blocks) in vdo_prepare_to_grow_block_map()
|
| H A D | vio.c | 50 static int create_multi_block_bio(block_count_t size, struct bio **bio_ptr) in create_multi_block_bio()
|
| H 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()
|
| H A D | vdo.c | 1460 static block_count_t __must_check vdo_get_physical_blocks_allocated(const struct vdo *vdo) in vdo_get_physical_blocks_allocated() 1472 static block_count_t __must_check vdo_get_physical_blocks_overhead(const struct vdo *vdo) in vdo_get_physical_blocks_overhead()
|