Home
last modified time | relevance | path

Searched refs:dm_block_location (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/md/persistent-data/
Ddm-btree-spine.c25 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write()
41 if (dm_block_location(b) != le64_to_cpu(h->blocknr)) { in node_check()
43 le64_to_cpu(h->blocknr), dm_block_location(b)); in node_check()
205 s->root = dm_block_location(s->nodes[0]); in shadow_step()
Ddm-space-map-common.c30 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write()
43 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
45 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
80 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write()
93 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()
95 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()
264 idx.blocknr = cpu_to_le64(dm_block_location(b)); in sm_ll_extend()
443 ie_disk.blocknr = cpu_to_le64(dm_block_location(nb)); in sm_ll_insert()
617 ic->ie_disk.blocknr = cpu_to_le64(dm_block_location(ic->bitmap_block)); in shadow_bitmap()
980 ll->bitmap_root = dm_block_location(b); in metadata_ll_init_index()
[all …]
Ddm-btree-remove.c179 cpu_to_le64(dm_block_location(result->block)); in init_child()
261 dm_tm_dec(info->tm, dm_block_location(r->block)); in __rebalance2()
340 dm_tm_dec(info->tm, dm_block_location(c->block)); in delete_center_node()
498 dm_tm_dec(info->tm, dm_block_location(child)); in rebalance_children()
558 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_raw()
651 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_nearest()
Ddm-block-manager.h21 dm_block_t dm_block_location(struct dm_block *b);
Ddm-btree.c148 *root = dm_block_location(b); in dm_btree_empty()
256 dm_tm_dec(s->tm, dm_block_location(f->b)); in pop_frame()
672 location = cpu_to_le64(dm_block_location(right)); in split_one_into_two()
719 cpu_to_le64(dm_block_location(*result)); in shadow_child()
771 location = cpu_to_le64(dm_block_location(middle)); in split_two_into_three()
886 val = cpu_to_le64(dm_block_location(left)); in btree_split_beneath()
891 val = cpu_to_le64(dm_block_location(right)); in btree_split_beneath()
1101 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in btree_insert_raw()
1165 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in __btree_get_overwrite_leaf()
Ddm-array.c46 bh_le->blocknr = cpu_to_le64(dm_block_location(b)); in array_block_prepare_for_write()
59 if (dm_block_location(b) != le64_to_cpu(bh_le->blocknr)) { in array_block_check()
62 (unsigned long long) dm_block_location(b)); in array_block_check()
270 __le64 block_le = cpu_to_le64(dm_block_location(block)); in insert_ablock()
304 if (dm_block_location(block) != b) { in __reinsert_ablock()
Ddm-block-manager.c333 dm_block_t dm_block_location(struct dm_block *b) in dm_block_location() function
337 EXPORT_SYMBOL_GPL(dm_block_location);
Ddm-transaction-manager.c322 insert_shadow(tm, dm_block_location(*result)); in dm_tm_shadow_block()
/linux-6.1.9/drivers/md/
Ddm-clone-metadata.c173 sb->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
188 if (dm_block_location(b) != le64_to_cpu(sb->blocknr)) { in sb_check()
191 (unsigned long long)dm_block_location(b)); in sb_check()
Ddm-era-target.c198 disk->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
223 if (dm_block_location(b) != le64_to_cpu(disk->blocknr)) { in sb_check()
226 (unsigned long long)dm_block_location(b)); in sb_check()
1069 md->metadata_snap = dm_block_location(clone); in metadata_take_snap()
1116 location = dm_block_location(clone); in metadata_drop_snap()
Ddm-thin-metadata.c254 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
267 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
270 (unsigned long long)dm_block_location(b)); in sb_check()
1339 held_root = dm_block_location(copy); in __reserve_metadata_snap()
Ddm-cache-metadata.c177 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
203 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
206 (unsigned long long)dm_block_location(b)); in sb_check()