Lines Matching refs:dm_transaction_manager
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 void 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);
103 void dm_tm_inc_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e);
104 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b);
105 void dm_tm_dec_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e);
112 typedef void (*dm_tm_run_fn)(struct dm_transaction_manager *, dm_block_t, dm_block_t);
113 void dm_tm_with_runs(struct dm_transaction_manager *tm,
116 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, uint32_t *result);
122 int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b,
125 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm);
132 void dm_tm_issue_prefetches(struct dm_transaction_manager *tm);
145 struct dm_transaction_manager **tm,
150 struct dm_transaction_manager **tm,