Home
last modified time | relevance | path

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

/drivers/md/persistent-data/
Ddm-btree.c141 n = dm_block_data(b); in dm_btree_empty()
239 f->n = dm_block_data(f->b); in push_frame()
428 n = dm_block_data(node); in dm_btree_lookup_next_single()
659 ln = dm_block_data(left); in split_one_into_two()
660 rn = dm_block_data(right); in split_one_into_two()
670 pn = dm_block_data(parent); in split_one_into_two()
713 node = dm_block_data(*result); in shadow_child()
738 pn = dm_block_data(parent); in split_two_into_three()
758 ln = dm_block_data(left); in split_two_into_three()
759 mn = dm_block_data(middle); in split_two_into_three()
[all …]
Ddm-btree-remove.c173 result->n = dm_block_data(result->block); in init_child()
282 parent = dm_block_data(shadow_current(s)); in rebalance2()
446 struct btree_node *parent = dm_block_data(shadow_current(s)); in rebalance3()
485 n = dm_block_data(shadow_current(s)); in rebalance_children()
495 memcpy(n, dm_block_data(child), in rebalance_children()
559 memcpy(value_ptr(dm_block_data(shadow_parent(s)), i), in remove_raw()
563 n = dm_block_data(shadow_current(s)); in remove_raw()
572 n = dm_block_data(shadow_current(s)); in remove_raw()
608 n = dm_block_data(shadow_current(&spine)); in dm_btree_remove()
652 memcpy(value_ptr(dm_block_data(shadow_parent(s)), i), in remove_nearest()
[all …]
Ddm-btree-spine.c22 struct btree_node *n = dm_block_data(b); in node_prepare_for_write()
35 struct btree_node *n = dm_block_data(b); in node_check()
106 inc_children(info->tm, dm_block_data(*result), vt); in bn_shadow()
171 return dm_block_data(block); in ro_node()
Ddm-space-map-common.c28 struct disk_metadata_index *mi_le = dm_block_data(b); in index_prepare_for_write()
40 struct disk_metadata_index *mi_le = dm_block_data(b); in index_check()
78 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_prepare_for_write()
90 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_check()
124 return dm_block_data(b) + sizeof(struct disk_bitmap_header); in dm_bitmap_data()
569 n = dm_block_data(ic->overflow_leaf); in __sm_ll_inc_overflow()
594 n = dm_block_data(ic->overflow_leaf); in sm_ll_inc_overflow()
782 n = dm_block_data(ic->overflow_leaf); in __sm_ll_dec_overflow()
814 n = dm_block_data(ic->overflow_leaf); in sm_ll_dec_overflow()
997 memcpy(&ll->mi_le, dm_block_data(block), sizeof(ll->mi_le)); in metadata_ll_open()
[all …]
Ddm-array.c44 struct array_block *bh_le = dm_block_data(b); in array_block_prepare_for_write()
56 struct array_block *bh_le = dm_block_data(b); in array_block_check()
160 (*ab) = dm_block_data(*block); in alloc_ablock()
225 *ab = dm_block_data(*block); in get_ablock()
287 *ab = dm_block_data(*block); in __shadow_ablock()
Ddm-block-manager.h22 void *dm_block_data(struct dm_block *b);
Ddm-transaction-manager.c299 memcpy(dm_block_data(*result), dm_block_data(orig_block), in __shadow_block()
Ddm-block-manager.c339 void *dm_block_data(struct dm_block *b) in dm_block_data() function
343 EXPORT_SYMBOL_GPL(dm_block_data);
/drivers/md/
Ddm-thin-metadata.c252 struct thin_disk_superblock *disk_super = dm_block_data(b); in sb_prepare_for_write()
264 struct thin_disk_superblock *disk_super = dm_block_data(b); in sb_check()
463 data_le = dm_block_data(b); in __superblock_all_zeroes()
573 disk_super = dm_block_data(sblock); in __write_initial_superblock()
695 disk_super = dm_block_data(sblock); in __open_metadata()
831 disk_super = dm_block_data(sblock); in __begin_transaction()
921 disk_super = dm_block_data(sblock); in __commit_transaction()
1356 disk_super = dm_block_data(copy); in __reserve_metadata_snap()
1390 disk_super = dm_block_data(sblock); in __reserve_metadata_snap()
1419 disk_super = dm_block_data(sblock); in __release_metadata_snap()
[all …]
Ddm-clone-metadata.c172 sb = dm_block_data(b); in sb_prepare_for_write()
186 sb = dm_block_data(b); in sb_check()
250 data_le = dm_block_data(sblock); in __superblock_all_zeroes()
331 sb = dm_block_data(sblock); in __open_metadata()
406 sb = dm_block_data(sblock); in __format_metadata()
723 sb = dm_block_data(sblock); in __metadata_commit()
Ddm-cache-metadata.c175 struct cache_disk_superblock *disk_super = dm_block_data(b); in sb_prepare_for_write()
200 struct cache_disk_superblock *disk_super = dm_block_data(b); in sb_check()
275 data_le = dm_block_data(b); in __superblock_all_zeroes()
359 disk_super = dm_block_data(sblock); in __write_initial_superblock()
478 disk_super = dm_block_data(sblock); in __open_metadata()
627 disk_super = dm_block_data(sblock); in __begin_transaction_flags()
649 disk_super = dm_block_data(sblock); in __begin_transaction()
692 disk_super = dm_block_data(sblock); in __commit_transaction()
1791 disk_super = dm_block_data(sblock); in dm_cache_metadata_set_needs_check()
Ddm-era-target.c196 struct superblock_disk *disk = dm_block_data(b); in sb_prepare_for_write()
220 struct superblock_disk *disk = dm_block_data(b); in sb_check()
338 data_le = dm_block_data(b); in superblock_all_zeroes()
532 disk = dm_block_data(sblock); in write_superblock()
571 disk = dm_block_data(sblock); in open_metadata()
1000 prepare_superblock(md, dm_block_data(sblock)); in metadata_commit()
1100 disk = dm_block_data(clone); in metadata_drop_snap()