Home
last modified time | relevance | path

Searched refs:block_count_t (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/md/dm-vdo/
A Drecovery-journal.h99 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 Dtypes.h19 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 Dencodings.h100 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 Dblock-map.h220 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 Dslab-depot.h132 block_count_t size;
134 block_count_t flushing_threshold;
136 block_count_t flushing_deadline;
138 block_count_t blocking_threshold;
140 block_count_t scrubbing_threshold;
346 block_count_t index;
437 block_count_t summary_write_count;
484 block_count_t new_size;
563 block_count_t __must_check vdo_get_slab_depot_allocated_blocks(const struct slab_depot *depot);
565 block_count_t __must_check vdo_get_slab_depot_data_blocks(const struct slab_depot *depot);
A Dencodings.c254 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()
870 block_count_t block_map_blocks, block_count_t journal_blocks, in vdo_initialize_layout()
874 block_count_t necessary_size = in vdo_initialize_layout()
1203 block_count_t physical_block_count, in vdo_validate_config()
1204 block_count_t logical_block_count) in vdo_validate_config()
[all …]
A Drecovery-journal.c68 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 Dlogical-zone.h38 block_count_t ios_in_flush_generation;
50 block_count_t allocation_count;
A Dpacker.h78 block_count_t size;
101 int __must_check vdo_make_packer(struct vdo *vdo, block_count_t bin_count,
A Dstatistics.h208 block_count_t physical_blocks;
210 block_count_t logical_blocks;
A Dslab-depot.c217 block_count_t hint; in compute_fullness_hint()
1225 block_count_t written; in reclaim_journal_space()
1854 block_count_t i; in add_entries()
2163 block_count_t i; in dirty_all_reference_blocks()
2176 block_count_t j; in clear_provisional_references()
2201 block_count_t index; in unpack_reference_block()
2289 block_count_t i; in load_reference_blocks()
3777 block_count_t slab_size; in allocate_slabs()
3991 block_count_t i; in initialize_block_allocator()
4201 block_count_t i; in uninitialize_allocator_summary()
[all …]
A Ddm-vdo-target.c1319 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 Drepair.c83 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 Dpacker.c143 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 Dblock-map.c1969 block_count_t i = dirty_lists->offset++; in expire_oldest_list()
2337 static int make_segment(struct forest *old_forest, block_count_t new_pages, in make_segment()
2445 static int make_forest(struct block_map *map, block_count_t entries) in make_forest()
2449 block_count_t new_pages; in make_forest()
2719 block_count_t maximum_age) in initialize_block_map_zone()
2722 block_count_t i; in initialize_block_map_zone()
2858 int vdo_decode_block_map(struct block_map_state_2_0 state, block_count_t logical_blocks, in vdo_decode_block_map()
2860 nonce_t nonce, page_count_t cache_size, block_count_t maximum_age, in vdo_decode_block_map()
3023 block_count_t new_logical_blocks) in vdo_prepare_to_grow_block_map()
A Dvio.c50 static int create_multi_block_bio(block_count_t size, struct bio **bio_ptr) in create_multi_block_bio()
A Dmessage-stats.c37 static void write_block_count_t(char *prefix, block_count_t value, char *suffix, in write_block_count_t()
A Dvdo.c1466 static block_count_t __must_check vdo_get_physical_blocks_allocated(const struct vdo *vdo) in vdo_get_physical_blocks_allocated()
1478 static block_count_t __must_check vdo_get_physical_blocks_overhead(const struct vdo *vdo) in vdo_get_physical_blocks_overhead()

Completed in 73 milliseconds