Lines Matching refs:tm

25 void dm_tm_destroy(struct dm_transaction_manager *tm);
30 * You create the non-blocking variant from a normal tm. The interface is
34 * tm when you've finished with it. You may not destroy the original prior
51 int dm_tm_pre_commit(struct dm_transaction_manager *tm);
52 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *superblock);
66 int dm_tm_new_block(struct dm_transaction_manager *tm,
75 * this operation. Because the tm knows the scope of the transaction it
86 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
94 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b,
98 void dm_tm_unlock(struct dm_transaction_manager *tm, struct dm_block *b);
103 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b);
104 void dm_tm_inc_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e);
105 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b);
106 void dm_tm_dec_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e);
111 * the same tm operation on all values in a btree leaf.
114 void dm_tm_with_runs(struct dm_transaction_manager *tm,
117 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, uint32_t *result);
123 int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b,
126 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm);
129 * If you're using a non-blocking clone the tm will build up a list of
133 void dm_tm_issue_prefetches(struct dm_transaction_manager *tm);
139 * Returns a tm that has an open transaction to write the new disk sm.
146 struct dm_transaction_manager **tm,
151 struct dm_transaction_manager **tm,