Lines Matching refs:dm_block_t
32 dm_block_t root;
56 unsigned int nr_bits, dm_block_t *root) in setup_on_disk_bitset()
75 static int writeset_alloc(struct writeset *ws, dm_block_t nr_blocks) in writeset_alloc()
90 dm_block_t nr_blocks) in writeset_init()
106 static bool writeset_marked(struct writeset *ws, dm_block_t block) in writeset_marked()
112 struct writeset_metadata *m, dm_block_t block, in writeset_marked_on_disk()
116 dm_block_t old = m->root; in writeset_marked_on_disk()
277 dm_block_t block_size;
290 dm_block_t writeset_tree_root;
291 dm_block_t era_array_root;
297 dm_block_t metadata_snap;
380 dm_block_t b; in ws_inc()
394 dm_block_t b; in ws_dec()
840 static bool valid_nr_blocks(dm_block_t n) in valid_nr_blocks()
852 dm_block_t *new_size = arg; in metadata_resize()
970 static bool metadata_current_marked(struct era_metadata *md, dm_block_t block) in metadata_current_marked()
1094 dm_block_t location; in metadata_drop_snap()
1138 dm_block_t used;
1139 dm_block_t total;
1140 dm_block_t snap;
1148 dm_block_t nr_free, nr_total; in metadata_get_stats()
1178 dm_block_t nr_blocks;
1217 static dm_block_t get_block(struct era *era, struct bio *bio) in get_block()
1448 static dm_block_t calc_nr_blocks(struct era *era) in calc_nr_blocks()
1453 static bool valid_block_size(dm_block_t block_size) in valid_block_size()
1563 dm_block_t block = get_block(era, bio); in era_map()
1609 dm_block_t new_size = calc_nr_blocks(era); in era_preresume()