Home
last modified time | relevance | path

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

/linux/drivers/md/dm-vdo/
H A Drecovery-journal.h99 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_use
[all...]
H 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_block
[all...]
H 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;
313 block_count_t logical_blocks_used; /* Logical blocks in use */
314 block_count_t block_map_data_blocks; /* Allocated block map pages */
573 block_count_t size;
583 block_count_t count; /* The number of blocks in the partition */
597 block_count_t coun
[all...]
H 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 ag
[all...]
H A Dslab-depot.h139 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_chec
[all...]
H A Dencodings.c19 static const block_count_t MAXIMUM_VDO_LOGICAL_BLOCKS = 1024ULL * 1024 * 1024 * 1024;
22 static const block_count_t MAXIMUM_VDO_PHYSICAL_BLOCKS = 1024ULL * 1024 * 1024 * 64;
254 block_count_t bio_offset = 0; in decode_volume_geometry()
370 block_count_t flat_page_count, root_count; in decode_block_map_state_2_0()
439 block_count_t vdo_compute_new_forest_pages(root_count_t root_count, in vdo_compute_new_forest_pages()
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()
498 block_count_t logical_blocks_used, block_map_data_blocks; in decode_recovery_journal_state_7_0()
583 block_count_t coun in decode_slab_depot_state_2_0()
[all...]
H A Drecovery-journal.c68 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()
444 block_count_t current_length = journal->tail - journal->slab_journal_head; in check_slab_journal_commit_threshold()
462 block_count_t blocks_reaped; in finish_reaping()
540 block_count_t vdo_get_recovery_journal_length(block_count_t journal_siz
[all...]
H A Dlogical-zone.h38 block_count_t ios_in_flush_generation;
50 block_count_t allocation_count;
H A Dpacker.h78 block_count_t size;
101 int __must_check vdo_make_packer(struct vdo *vdo, block_count_t bin_count,
H A Dstatistics.h208 block_count_t physical_blocks;
210 block_count_t logical_blocks;
H A Ddm-vdo-target.c1012 static block_count_t __must_check get_underlying_device_block_count(const struct vdo *vdo) in get_underlying_device_block_count()
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()
1723 static int prepare_to_grow_physical(struct vdo *vdo, block_count_t new_physical_blocks) in prepare_to_grow_physical()
1726 block_count_t current_physical_blocks = vdo->states.vdo.config.physical_blocks; in prepare_to_grow_physical()
1826 block_count_t logical_block in prepare_to_modify()
[all...]
H A Dslab-depot.c215 block_count_t free_blocks) in compute_fullness_hint()
217 block_count_t hint; in compute_fullness_hint()
362 block_count_t free_blocks) in update_slab_summary_entry()
623 block_count_t free_block_count; in update_tail_block_location()
636 free_block_count = ((block_count_t) hint) << slab->allocator->depot->hint_shift; in update_tail_block_location()
939 static inline block_count_t journal_length(const struct slab_journal *journal) in journal_length()
1221 block_count_t length = journal_length(journal); in reclaim_journal_space()
1223 block_count_t write_count = vdo_waitq_num_waiters(&slab->dirty_blocks); in reclaim_journal_space()
1224 block_count_t written; in reclaim_journal_space()
1234 write_count = max_t(block_count_t, write_coun in reclaim_journal_space()
[all...]
H 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()
H 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()
H A Dblock-map.c1966 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()
H A Dvio.c50 static int create_multi_block_bio(block_count_t size, struct bio **bio_ptr) in create_multi_block_bio()
H A Dmessage-stats.c37 static void write_block_count_t(char *prefix, block_count_t value, char *suffix, in write_block_count_t()
H A Dvdo.c1457 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()