Lines Matching refs:dm_block_t
29 dm_block_t root;
52 unsigned nr_bits, dm_block_t *root) in setup_on_disk_bitset()
71 static int writeset_alloc(struct writeset *ws, dm_block_t nr_blocks) in writeset_alloc()
102 static bool writeset_marked(struct writeset *ws, dm_block_t block) in writeset_marked()
108 struct writeset_metadata *m, dm_block_t block, in writeset_marked_on_disk()
111 dm_block_t old = m->root; in writeset_marked_on_disk()
266 dm_block_t block_size;
279 dm_block_t writeset_tree_root;
280 dm_block_t era_array_root;
286 dm_block_t metadata_snap;
369 dm_block_t b; in ws_inc()
381 dm_block_t b; in ws_dec()
810 static bool valid_nr_blocks(dm_block_t n) in valid_nr_blocks()
822 dm_block_t *new_size = arg; in metadata_resize()
937 static bool metadata_current_marked(struct era_metadata *md, dm_block_t block) in metadata_current_marked()
1061 dm_block_t location; in metadata_drop_snap()
1105 dm_block_t used;
1106 dm_block_t total;
1107 dm_block_t snap;
1115 dm_block_t nr_free, nr_total; in metadata_get_stats()
1146 dm_block_t nr_blocks;
1183 static dm_block_t get_block(struct era *era, struct bio *bio) in get_block()
1408 static dm_block_t calc_nr_blocks(struct era *era) in calc_nr_blocks()
1413 static bool valid_block_size(dm_block_t block_size) in valid_block_size()
1533 dm_block_t block = get_block(era, bio); in era_map()
1573 dm_block_t new_size = calc_nr_blocks(era); in era_preresume()