Home
last modified time | relevance | path

Searched refs:physical_block_number_t (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/drivers/md/dm-vdo/
Dslab-depot.h220 physical_block_number_t start;
222 physical_block_number_t end;
224 physical_block_number_t journal_origin;
226 physical_block_number_t ref_counts_origin;
457 physical_block_number_t first_block;
458 physical_block_number_t last_block;
459 physical_block_number_t origin;
487 physical_block_number_t old_last_block;
489 physical_block_number_t new_last_block;
494 physical_block_number_t summary_origin;
[all …]
Dencodings.h89 physical_block_number_t start_block;
185 physical_block_number_t flat_page_origin;
187 physical_block_number_t root_origin;
434 physical_block_number_t first_block;
435 physical_block_number_t last_block;
572 physical_block_number_t start;
574 physical_block_number_t first_free;
575 physical_block_number_t last_free;
582 physical_block_number_t offset; /* The offset into the layout of this partition */
588 physical_block_number_t first_free;
[all …]
Dblock-map.h139 physical_block_number_t pbn;
173 physical_block_number_t pbn;
258 physical_block_number_t root_origin;
290 typedef int (*vdo_entry_callback_fn)(physical_block_number_t pbn,
302 struct block_map_zone *zone, physical_block_number_t pbn,
320 physical_block_number_t pbn,
325 physical_block_number_t vdo_find_block_map_page_pbn(struct block_map *map,
364 physical_block_number_t pbn,
Dphysical-zone.h100 physical_block_number_t pbn);
103 physical_block_number_t pbn,
110 physical_block_number_t locked_pbn,
Dio-submitter.h27 void __submit_metadata_vio(struct vio *vio, physical_block_number_t physical,
31 static inline void vdo_submit_metadata_vio(struct vio *vio, physical_block_number_t physical, in vdo_submit_metadata_vio()
Dtypes.h46 typedef u64 physical_block_number_t; typedef
141 physical_block_number_t pbn;
166 physical_block_number_t pbn;
Drecovery-journal.h130 physical_block_number_t block_number;
165 physical_block_number_t origin;
228 static inline physical_block_number_t __must_check
Dvio.h59 physical_block_number_t __must_check pbn_from_vio_bio(struct bio *bio);
122 blk_opf_t bi_opf, physical_block_number_t pbn);
125 blk_opf_t bi_opf, physical_block_number_t pbn);
Dvio.c41 physical_block_number_t pbn_from_vio_bio(struct bio *bio) in pbn_from_vio_bio()
45 physical_block_number_t pbn = bio->bi_iter.bi_sector / VDO_SECTORS_PER_BLOCK; in pbn_from_vio_bio()
174 blk_opf_t bi_opf, physical_block_number_t pbn) in vdo_set_bio_properties()
195 blk_opf_t bi_opf, physical_block_number_t pbn) in vio_reset_bio()
280 physical_block_number_t pbn = pbn_from_vio_bio(vio->bio); in vio_record_metadata_io_error()
Dencodings.c272 physical_block_number_t start_block; in decode_volume_geometry()
336 physical_block_number_t pbn, in vdo_format_block_map_page()
351 physical_block_number_t pbn) in vdo_validate_block_map_page()
371 physical_block_number_t flat_page_origin, root_origin; in decode_block_map_state_2_0()
584 physical_block_number_t first_block, last_block; in decode_slab_depot_state_2_0()
653 physical_block_number_t last_block; in vdo_configure_slab_depot()
795 physical_block_number_t offset, block_count_t size) in allocate_partition()
828 physical_block_number_t offset; in make_partition()
869 int vdo_initialize_layout(block_count_t size, physical_block_number_t offset, in vdo_initialize_layout()
1008 static int decode_layout(u8 *buffer, size_t *offset, physical_block_number_t start, in decode_layout()
[all …]
Dphysical-zone.c156 physical_block_number_t locked_pbn, in release_pbn_lock_provisional_reference()
416 physical_block_number_t pbn) in vdo_get_physical_zone_pbn_lock()
437 physical_block_number_t pbn, in vdo_attempt_physical_zone_pbn_lock()
612 physical_block_number_t locked_pbn, in vdo_release_physical_zone_pbn_lock()
Drepair.c107 physical_block_number_t pbn;
516 static physical_block_number_t get_pbn_to_fetch(struct repair_completion *repair, in get_pbn_to_fetch()
519 physical_block_number_t pbn = VDO_ZERO_BLOCK; in get_pbn_to_fetch()
546 physical_block_number_t pbn = get_pbn_to_fetch(repair, block_map); in fetch_page()
613 static int process_entry(physical_block_number_t pbn, struct vdo_completion *completion) in process_entry()
809 physical_block_number_t pbn; in add_slab_journal_entries()
1028 physical_block_number_t pbn; in fetch_block_map_page()
1164 physical_block_number_t pbn = in get_recovery_journal_block_header()
1226 physical_block_number_t i; in find_recovery_journal_head_and_tail()
1284 physical_block_number_t low32, high4; in unpack_entry()
[all …]
Dblock-map.c106 static const physical_block_number_t NO_PAGE = 0xFFFFFFFFFFFFFFFF;
109 static const physical_block_number_t VDO_INVALID_PBN = 0xFFFFFFFFFFFFFFFF;
376 static int __must_check set_info_pbn(struct page_info *info, physical_block_number_t pbn) in set_info_pbn()
443 physical_block_number_t pbn) in find_page()
706 physical_block_number_t pbn = vdo_get_block_map_page_pbn(page); in page_is_loaded()
767 physical_block_number_t pbn) in launch_page_load()
877 physical_block_number_t *pbn = context; in completion_needs_page()
890 physical_block_number_t pbn; in allocate_free_page()
1211 struct block_map_zone *zone, physical_block_number_t pbn, in vdo_get_page()
1387 physical_block_number_t pbn, in vdo_copy_valid_page()
[all …]
Dslab-depot.c318 physical_block_number_t pbn; in launch_write()
750 physical_block_number_t block_number; in write_slab_journal_block()
903 static void add_entry(struct slab_journal *journal, physical_block_number_t pbn, in add_entry()
957 bool vdo_attempt_replay_into_slab(struct vdo_slab *slab, physical_block_number_t pbn, in vdo_attempt_replay_into_slab()
1188 physical_block_number_t pbn; in write_reference_block()
1296 physical_block_number_t pbn, in slab_block_number_from_pbn()
1319 physical_block_number_t pbn, in get_reference_counter()
1942 physical_block_number_t pbn, in vdo_adjust_reference_count_for_rebuild()
3106 int vdo_acquire_provisional_reference(struct vdo_slab *slab, physical_block_number_t pbn, in vdo_acquire_provisional_reference()
3135 physical_block_number_t *block_number_ptr) in allocate_slab_block()
[all …]
Ddata-vio.h85 physical_block_number_t pbn;
149 physical_block_number_t pbn;
Dvdo.h357 int __must_check vdo_get_physical_zone(const struct vdo *vdo, physical_block_number_t pbn,
Dio-submitter.c339 void __submit_metadata_vio(struct vio *vio, physical_block_number_t physical, in __submit_metadata_vio()
Dvdo.c1704 int vdo_get_physical_zone(const struct vdo *vdo, physical_block_number_t pbn, in vdo_get_physical_zone()
Ddata-vio.c1428 physical_block_number_t locked_pbn = allocation->pbn; in release_data_vio_allocation_lock()
Ddm-vdo-target.c2544 physical_block_number_t pbn = partition->offset - vdo->geometry.bio_offset; in partition_to_region()