Lines Matching refs:dm_block_t
24 #define PREFETCH_SENTINEL ((dm_block_t) -1ULL)
28 dm_block_t blocks[PREFETCH_SIZE];
31 static unsigned prefetch_hash(dm_block_t b) in prefetch_hash()
49 static void prefetch_add(struct prefetch_set *p, dm_block_t b) in prefetch_add()
79 dm_block_t where;
103 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) in is_shadow()
124 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) in insert_shadow()
239 dm_block_t new_block; in dm_tm_new_block()
263 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in __shadow_block()
268 dm_block_t new; 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()
351 void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_inc()
362 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b) in dm_tm_dec()
373 int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, in dm_tm_ref()
396 dm_block_t sb_location, in dm_tm_create_internal()
438 int dm_tm_create_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_create_with_sm()
446 int dm_tm_open_with_sm(struct dm_block_manager *bm, dm_block_t sb_location, in dm_tm_open_with_sm()