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.c143 n = dm_block_data(b); in dm_btree_empty()
241 f->n = dm_block_data(f->b); in push_frame()
434 n = dm_block_data(node); in dm_btree_lookup_next_single()
551 ln = dm_block_data(left); in btree_split_sibling()
552 rn = dm_block_data(right); in btree_split_sibling()
575 pn = dm_block_data(parent); in btree_split_sibling()
634 pn = dm_block_data(new_parent); in btree_split_beneath()
643 ln = dm_block_data(left); in btree_split_beneath()
660 rn = dm_block_data(right); in btree_split_beneath()
707 node = dm_block_data(shadow_current(s)); in btree_insert_raw()
[all …]
Ddm-btree-remove.c157 result->n = dm_block_data(result->block); in init_child()
244 parent = dm_block_data(shadow_current(s)); in rebalance2()
375 struct btree_node *parent = dm_block_data(shadow_current(s)); in rebalance3()
414 n = dm_block_data(shadow_current(s)); in rebalance_children()
424 memcpy(n, dm_block_data(child), in rebalance_children()
488 memcpy(value_ptr(dm_block_data(shadow_parent(s)), i), in remove_raw()
492 n = dm_block_data(shadow_current(s)); in remove_raw()
501 n = dm_block_data(shadow_current(s)); in remove_raw()
537 n = dm_block_data(shadow_current(&spine)); in dm_btree_remove()
581 memcpy(value_ptr(dm_block_data(shadow_parent(s)), i), in remove_nearest()
[all …]
Ddm-btree-spine.c26 struct btree_node *n = dm_block_data(b); in node_prepare_for_write()
41 struct btree_node *n = dm_block_data(b); in node_check()
110 inc_children(info->tm, dm_block_data(*result), vt); in bn_shadow()
175 return dm_block_data(block); in ro_node()
Ddm-space-map-common.c26 struct disk_metadata_index *mi_le = dm_block_data(b); in index_prepare_for_write()
38 struct disk_metadata_index *mi_le = dm_block_data(b); in index_check()
76 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_prepare_for_write()
88 struct disk_bitmap_header *disk_header = dm_block_data(b); in dm_bitmap_check()
122 return dm_block_data(b) + sizeof(struct disk_bitmap_header); in dm_bitmap_data()
600 memcpy(&ll->mi_le, dm_block_data(block), sizeof(ll->mi_le)); in metadata_ll_open()
620 memcpy(dm_block_data(b), &ll->mi_le, sizeof(ll->mi_le)); in metadata_ll_commit()
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()
162 (*ab) = dm_block_data(*block); in alloc_ablock()
229 *ab = dm_block_data(*block); in get_ablock()
291 *ab = dm_block_data(*block); in __shadow_ablock()
Ddm-block-manager.h22 void *dm_block_data(struct dm_block *b);
Ddm-transaction-manager.c296 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()
440 data_le = dm_block_data(b); in __superblock_all_zeroes()
550 disk_super = dm_block_data(sblock); in __write_initial_superblock()
665 disk_super = dm_block_data(sblock); in __open_metadata()
791 disk_super = dm_block_data(sblock); in __begin_transaction()
881 disk_super = dm_block_data(sblock); in __commit_transaction()
1317 disk_super = dm_block_data(copy); in __reserve_metadata_snap()
1351 disk_super = dm_block_data(sblock); in __reserve_metadata_snap()
1380 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()
337 sb = dm_block_data(sblock); in __open_metadata()
412 sb = dm_block_data(sblock); in __format_metadata()
729 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()
1792 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()
528 disk = dm_block_data(sblock); in write_superblock()
567 disk = dm_block_data(sblock); in open_metadata()
996 prepare_superblock(md, dm_block_data(sblock)); in metadata_commit()
1096 disk = dm_block_data(clone); in metadata_drop_snap()