Lines Matching refs:dm_block_t

26 #define PREFETCH_SENTINEL ((dm_block_t) -1ULL)
30 dm_block_t blocks[PREFETCH_SIZE];
33 static unsigned int prefetch_hash(dm_block_t b) in prefetch_hash()
52 static void prefetch_add(struct prefetch_set *p, dm_block_t b) in prefetch_add()
82 dm_block_t where;
106 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) in is_shadow()
135 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) in insert_shadow()
264 dm_block_t new_block; in dm_tm_new_block()
288 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in __shadow_block()
293 dm_block_t new; in __shadow_block()
328 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in dm_tm_shadow_block()
353 int dm_tm_read_lock(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_read_lock()
376 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_inc()
387 void dm_tm_inc_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e) in dm_tm_inc_range()
398 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_dec()
409 void dm_tm_dec_range(struct dm_transaction_manager *tm, dm_block_t b, dm_block_t e) in dm_tm_dec_range()
450 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_ref()
459 int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_block_is_shared()
482 dm_block_t sb_location, in dm_tm_create_internal()
524 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
532 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_open_with_sm()