Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/persistent-data/
Ddm-btree-spine.c26 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write()
42 if (dm_block_location(b) != le64_to_cpu(h->blocknr)) { in node_check()
44 le64_to_cpu(h->blocknr), dm_block_location(b)); in node_check()
204 s->root = dm_block_location(s->nodes[0]); in shadow_step()
Ddm-space-map-common.c31 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write()
44 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
46 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
81 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write()
94 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()
96 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()
265 idx.blocknr = cpu_to_le64(dm_block_location(b)); in sm_ll_extend()
444 ie_disk.blocknr = cpu_to_le64(dm_block_location(nb)); in sm_ll_insert()
619 ic->ie_disk.blocknr = cpu_to_le64(dm_block_location(ic->bitmap_block)); in shadow_bitmap()
983 ll->bitmap_root = dm_block_location(b); in metadata_ll_init_index()
[all …]
Ddm-btree-remove.c182 cpu_to_le64(dm_block_location(result->block)); in init_child()
264 dm_tm_dec(info->tm, dm_block_location(r->block)); in __rebalance2()
344 dm_tm_dec(info->tm, dm_block_location(c->block)); in delete_center_node()
502 dm_tm_dec(info->tm, dm_block_location(child)); in rebalance_children()
562 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_raw()
656 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_nearest()
Ddm-block-manager.h22 dm_block_t dm_block_location(struct dm_block *b);
Ddm-btree.c151 *root = dm_block_location(b); in dm_btree_empty()
259 dm_tm_dec(s->tm, dm_block_location(f->b)); in pop_frame()
681 location = cpu_to_le64(dm_block_location(right)); in split_one_into_two()
728 cpu_to_le64(dm_block_location(*result)); in shadow_child()
780 location = cpu_to_le64(dm_block_location(middle)); in split_two_into_three()
895 val = cpu_to_le64(dm_block_location(left)); in btree_split_beneath()
900 val = cpu_to_le64(dm_block_location(right)); in btree_split_beneath()
1112 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in btree_insert_raw()
1176 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in __btree_get_overwrite_leaf()
Ddm-array.c47 bh_le->blocknr = cpu_to_le64(dm_block_location(b)); in array_block_prepare_for_write()
60 if (dm_block_location(b) != le64_to_cpu(bh_le->blocknr)) { in array_block_check()
63 (unsigned long long) dm_block_location(b)); in array_block_check()
272 __le64 block_le = cpu_to_le64(dm_block_location(block)); in insert_ablock()
306 if (dm_block_location(block) != b) { in __reinsert_ablock()
Ddm-block-manager.c335 dm_block_t dm_block_location(struct dm_block *b) in dm_block_location() function
339 EXPORT_SYMBOL_GPL(dm_block_location);
Ddm-transaction-manager.c327 insert_shadow(tm, dm_block_location(*result)); in dm_tm_shadow_block()
/Linux-v6.6/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.c205 disk->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
231 if (dm_block_location(b) != le64_to_cpu(disk->blocknr)) { in sb_check()
234 (unsigned long long)dm_block_location(b)); in sb_check()
1084 md->metadata_snap = dm_block_location(clone); in metadata_take_snap()
1131 location = dm_block_location(clone); in metadata_drop_snap()
Ddm-thin-metadata.c258 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
271 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
274 (unsigned long long)dm_block_location(b)); in sb_check()
1361 held_root = dm_block_location(copy); in __reserve_metadata_snap()
Ddm-cache-metadata.c179 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
205 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
208 (unsigned long long)dm_block_location(b)); in sb_check()