Home
last modified time | relevance | path

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

/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()
440 ie_disk.blocknr = cpu_to_le64(dm_block_location(nb)); in sm_ll_mutate()
583 ll->bitmap_root = dm_block_location(b); in metadata_ll_init_index()
621 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()
211 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()
226 dm_tm_dec(info->tm, dm_block_location(r->block)); in __rebalance2()
293 dm_tm_dec(info->tm, dm_block_location(c->block)); in delete_center_node()
427 dm_tm_dec(info->tm, dm_block_location(child)); in rebalance_children()
487 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_raw()
580 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in remove_nearest()
Ddm-btree.c150 *root = dm_block_location(b); in dm_btree_empty()
258 dm_tm_dec(s->tm, dm_block_location(f->b)); in pop_frame()
576 location = cpu_to_le64(dm_block_location(left)); in btree_split_sibling()
581 location = cpu_to_le64(dm_block_location(right)); in btree_split_sibling()
680 val = cpu_to_le64(dm_block_location(left)); in btree_split_beneath()
685 val = cpu_to_le64(dm_block_location(right)); in btree_split_beneath()
715 __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.h21 dm_block_t dm_block_location(struct dm_block *b);
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()
/drivers/md/
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()
1065 md->metadata_snap = dm_block_location(clone); in metadata_take_snap()
1112 location = dm_block_location(clone); in metadata_drop_snap()
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-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()
1316 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()