Lines Matching refs:dm_block_t

25 #define PREFETCH_SENTINEL ((dm_block_t) -1ULL)
29 dm_block_t blocks[PREFETCH_SIZE];
32 static unsigned int prefetch_hash(dm_block_t b) in prefetch_hash()
51 static void prefetch_add(struct prefetch_set *p, dm_block_t b) in prefetch_add()
81 dm_block_t where;
105 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) in is_shadow()
126 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) in insert_shadow()
244 dm_block_t new_block; in dm_tm_new_block()
268 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in __shadow_block()
273 dm_block_t new; in __shadow_block()
308 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in dm_tm_shadow_block()
333 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_read_lock()
356 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_inc()
367 void dm_tm_inc_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e) in dm_tm_inc_range()
378 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_dec()
389 void dm_tm_dec_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e) in dm_tm_dec_range()
430 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_ref()
439 int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_block_is_shared()
462 dm_block_t sb_location, in dm_tm_create_internal()
504 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
512 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_open_with_sm()