Lines Matching refs:dm_transaction_manager
88 struct dm_transaction_manager { struct
90 struct dm_transaction_manager *real; argument
103 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) in is_shadow() argument
124 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) in insert_shadow()
139 static void wipe_shadow_table(struct dm_transaction_manager *tm) in wipe_shadow_table()
160 static struct dm_transaction_manager *dm_tm_create(struct dm_block_manager *bm, in dm_tm_create()
164 struct dm_transaction_manager *tm; in dm_tm_create()
184 struct dm_transaction_manager *dm_tm_create_non_blocking_clone(struct dm_transaction_manager *real) in dm_tm_create_non_blocking_clone()
186 struct dm_transaction_manager *tm; in dm_tm_create_non_blocking_clone()
198 void dm_tm_destroy(struct dm_transaction_manager *tm) in dm_tm_destroy()
207 int dm_tm_pre_commit(struct dm_transaction_manager *tm) in dm_tm_pre_commit()
222 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *root) in dm_tm_commit()
234 int dm_tm_new_block(struct dm_transaction_manager *tm, in dm_tm_new_block()
263 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in __shadow_block()
303 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in dm_tm_shadow_block()
328 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_read_lock()
345 void dm_tm_unlock(struct dm_transaction_manager *tm, struct dm_block *b) in dm_tm_unlock()
351 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_inc()
362 void dm_tm_inc_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e) in dm_tm_inc_range()
373 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_dec()
384 void dm_tm_dec_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e) in dm_tm_dec_range()
395 void dm_tm_with_runs(struct dm_transaction_manager *tm, in dm_tm_with_runs()
425 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_ref()
434 int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_block_is_shared()
443 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm) in dm_tm_get_bm()
448 void dm_tm_issue_prefetches(struct dm_transaction_manager *tm) in dm_tm_issue_prefetches()
458 struct dm_transaction_manager **tm, in dm_tm_create_internal()
500 struct dm_transaction_manager **tm, in dm_tm_create_with_sm()
509 struct dm_transaction_manager **tm, in dm_tm_open_with_sm()