Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
H A 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()
H A 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()
H A 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()
H A 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()
H A Ddm-block-manager.h22 dm_block_t dm_block_location(struct dm_block *b);
H A 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);
H A Ddm-transaction-manager.c347 insert_shadow(tm, dm_block_location(*result)); in dm_tm_read_lock()
/linux/drivers/md/
H A 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()
H A 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()
H A 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()