Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/persistent-data/
Ddm-space-map-common.c28 mi_le->blocknr = cpu_to_le64(dm_block_location(b)); in index_prepare_for_write()
41 if (dm_block_location(b) != le64_to_cpu(mi_le->blocknr)) { in index_check()
43 le64_to_cpu(mi_le->blocknr), dm_block_location(b)); in index_check()
78 disk_header->blocknr = cpu_to_le64(dm_block_location(b)); in dm_bitmap_prepare_for_write()
91 if (dm_block_location(b) != le64_to_cpu(disk_header->blocknr)) { in dm_bitmap_check()
93 le64_to_cpu(disk_header->blocknr), dm_block_location(b)); in dm_bitmap_check()
262 idx.blocknr = cpu_to_le64(dm_block_location(b)); in sm_ll_extend()
406 ie_disk.blocknr = cpu_to_le64(dm_block_location(nb)); in sm_ll_mutate()
549 ll->bitmap_root = dm_block_location(b); in metadata_ll_init_index()
587 ll->bitmap_root = dm_block_location(b); in metadata_ll_commit()
Ddm-btree-spine.c29 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write()
47 if (dm_block_location(b) != le64_to_cpu(h->blocknr)) { in node_check()
49 le64_to_cpu(h->blocknr), dm_block_location(b)); in node_check()
213 s->root = dm_block_location(s->nodes[0]); in shadow_step()
Ddm-btree-remove.c163 cpu_to_le64(dm_block_location(result->block)); in init_child()
220 dm_tm_dec(info->tm, dm_block_location(r->block)); in __rebalance2()
287 dm_tm_dec(info->tm, dm_block_location(c->block)); in delete_center_node()
422 dm_tm_dec(info->tm, dm_block_location(child)); in rebalance_children()
481 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_raw()
573 __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()
573 location = cpu_to_le64(dm_block_location(left)); in btree_split_sibling()
578 location = cpu_to_le64(dm_block_location(right)); in btree_split_sibling()
677 val = cpu_to_le64(dm_block_location(left)); in btree_split_beneath()
682 val = cpu_to_le64(dm_block_location(right)); in btree_split_beneath()
712 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in btree_insert_raw()
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()
274 __le64 block_le = cpu_to_le64(dm_block_location(block)); in insert_ablock()
308 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-v5.4/drivers/md/
Ddm-clone-metadata.c158 sb->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
173 if (dm_block_location(b) != le64_to_cpu(sb->blocknr)) { in sb_check()
176 (unsigned long long)dm_block_location(b)); in sb_check()
Ddm-era-target.c197 disk->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
222 if (dm_block_location(b) != le64_to_cpu(disk->blocknr)) { in sb_check()
225 (unsigned long long)dm_block_location(b)); in sb_check()
1050 md->metadata_snap = dm_block_location(clone); in metadata_take_snap()
1097 location = dm_block_location(clone); in metadata_drop_snap()
Ddm-thin-metadata.c245 disk_super->blocknr = cpu_to_le64(dm_block_location(b)); in sb_prepare_for_write()
258 if (dm_block_location(b) != le64_to_cpu(disk_super->blocknr)) { in sb_check()
261 (unsigned long long)dm_block_location(b)); in sb_check()
1282 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()