/linux-4.1.27/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.h | 13 struct dm_transaction_manager; 19 struct dm_space_map *dm_sm_disk_create(struct dm_transaction_manager *tm, 22 struct dm_space_map *dm_sm_disk_open(struct dm_transaction_manager *tm,
|
H A D | dm-transaction-manager.h | 12 struct dm_transaction_manager; 24 void dm_tm_destroy(struct dm_transaction_manager *tm); 36 struct dm_transaction_manager *dm_tm_create_non_blocking_clone(struct dm_transaction_manager *real); 50 int dm_tm_pre_commit(struct dm_transaction_manager *tm); 51 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *superblock); 65 int dm_tm_new_block(struct dm_transaction_manager *tm, 85 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, 93 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b, 97 int dm_tm_unlock(struct dm_transaction_manager *tm, struct dm_block *b); 102 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b); 104 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b); 106 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, 109 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm); 116 void dm_tm_issue_prefetches(struct dm_transaction_manager *tm); 129 struct dm_transaction_manager **tm, 134 struct dm_transaction_manager **tm,
|
H A D | dm-transaction-manager.c | 88 struct dm_transaction_manager { struct 90 struct dm_transaction_manager *real; 103 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) is_shadow() 124 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) insert_shadow() 139 static void wipe_shadow_table(struct dm_transaction_manager *tm) wipe_shadow_table() 160 static struct dm_transaction_manager *dm_tm_create(struct dm_block_manager *bm, dm_tm_create() 164 struct dm_transaction_manager *tm; dm_tm_create() 184 struct dm_transaction_manager *dm_tm_create_non_blocking_clone(struct dm_transaction_manager *real) dm_tm_create_non_blocking_clone() 186 struct dm_transaction_manager *tm; dm_tm_create_non_blocking_clone() 198 void dm_tm_destroy(struct dm_transaction_manager *tm) dm_tm_destroy() 207 int dm_tm_pre_commit(struct dm_transaction_manager *tm) dm_tm_pre_commit() 222 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *root) dm_tm_commit() 234 int dm_tm_new_block(struct dm_transaction_manager *tm, dm_tm_new_block() 263 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, __shadow_block() 303 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, dm_tm_shadow_block() 328 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b, dm_tm_read_lock() 345 int dm_tm_unlock(struct dm_transaction_manager *tm, struct dm_block *b) dm_tm_unlock() 351 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b) dm_tm_inc() 362 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b) dm_tm_dec() 373 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, dm_tm_ref() 382 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm) dm_tm_get_bm() 387 void dm_tm_issue_prefetches(struct dm_transaction_manager *tm) dm_tm_issue_prefetches() 397 struct dm_transaction_manager **tm, dm_tm_create_internal() 439 struct dm_transaction_manager **tm, dm_tm_create_with_sm() 448 struct dm_transaction_manager **tm, dm_tm_open_with_sm()
|
H A D | dm-space-map-metadata.h | 33 struct dm_transaction_manager *tm, 41 struct dm_transaction_manager *tm,
|
H A D | dm-space-map-common.h | 58 struct dm_transaction_manager *tm; 117 int sm_ll_new_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm); 118 int sm_ll_open_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm, 121 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm); 122 int sm_ll_open_disk(struct ll_disk *ll, struct dm_transaction_manager *tm,
|
H A D | dm-btree-spine.c | 255 struct dm_transaction_manager *tm = context; le64_inc() 264 struct dm_transaction_manager *tm = context; le64_dec() 280 void init_le64_type(struct dm_transaction_manager *tm, init_le64_type()
|
H A D | dm-btree-internal.h | 51 void inc_children(struct dm_transaction_manager *tm, struct btree_node *n, 144 extern void init_le64_type(struct dm_transaction_manager *tm,
|
H A D | dm-btree.h | 11 struct dm_transaction_manager; 82 struct dm_transaction_manager *tm;
|
H A D | dm-space-map-disk.c | 241 struct dm_space_map *dm_sm_disk_create(struct dm_transaction_manager *tm, dm_sm_disk_create() 275 struct dm_space_map *dm_sm_disk_open(struct dm_transaction_manager *tm, dm_sm_disk_open()
|
H A D | dm-space-map-common.c | 191 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) sm_ll_init() 596 int sm_ll_new_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm) sm_ll_new_metadata() 625 int sm_ll_open_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm, sm_ll_open_metadata() 692 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm) sm_ll_new_disk() 721 int sm_ll_open_disk(struct ll_disk *ll, struct dm_transaction_manager *tm, sm_ll_open_disk()
|
H A D | dm-bitset.c | 28 void dm_disk_bitset_init(struct dm_transaction_manager *tm, dm_disk_bitset_init()
|
H A D | dm-array.h | 69 struct dm_transaction_manager *tm; 83 struct dm_transaction_manager *tm,
|
H A D | dm-space-map-metadata.c | 751 struct dm_transaction_manager *tm, dm_sm_metadata_create() 800 struct dm_transaction_manager *tm, dm_sm_metadata_open()
|
H A D | dm-bitset.h | 84 void dm_disk_bitset_init(struct dm_transaction_manager *tm,
|
H A D | dm-btree.c | 66 void inc_children(struct dm_transaction_manager *tm, struct btree_node *n, inc_children() 165 struct dm_transaction_manager *tm;
|
H A D | dm-btree-remove.c | 417 static int get_nr_entries(struct dm_transaction_manager *tm, get_nr_entries()
|
H A D | dm-array.c | 618 struct dm_transaction_manager *tm, dm_array_info_init()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-thin-metadata.c | 149 struct dm_transaction_manager *tm; 150 struct dm_transaction_manager *nb_tm;
|
H A D | dm-cache-metadata.c | 103 struct dm_transaction_manager *tm;
|
H A D | dm-era-target.c | 264 struct dm_transaction_manager *tm;
|