Lines Matching refs:dm_block_t
30 dm_block_t root;
54 unsigned nr_bits, dm_block_t *root) in setup_on_disk_bitset()
73 static int writeset_alloc(struct writeset *ws, dm_block_t nr_blocks) in writeset_alloc()
88 dm_block_t nr_blocks) in writeset_init()
104 static bool writeset_marked(struct writeset *ws, dm_block_t block) in writeset_marked()
110 struct writeset_metadata *m, dm_block_t block, in writeset_marked_on_disk()
113 dm_block_t old = m->root; in writeset_marked_on_disk()
267 dm_block_t block_size;
280 dm_block_t writeset_tree_root;
281 dm_block_t era_array_root;
287 dm_block_t metadata_snap;
370 dm_block_t b; in ws_inc()
384 dm_block_t b; in ws_dec()
825 static bool valid_nr_blocks(dm_block_t n) in valid_nr_blocks()
837 dm_block_t *new_size = arg; in metadata_resize()
955 static bool metadata_current_marked(struct era_metadata *md, dm_block_t block) in metadata_current_marked()
1079 dm_block_t location; in metadata_drop_snap()
1123 dm_block_t used;
1124 dm_block_t total;
1125 dm_block_t snap;
1133 dm_block_t nr_free, nr_total; in metadata_get_stats()
1163 dm_block_t nr_blocks;
1200 static dm_block_t get_block(struct era *era, struct bio *bio) in get_block()
1426 static dm_block_t calc_nr_blocks(struct era *era) in calc_nr_blocks()
1431 static bool valid_block_size(dm_block_t block_size) in valid_block_size()
1539 dm_block_t block = get_block(era, bio); in era_map()
1585 dm_block_t new_size = calc_nr_blocks(era); in era_preresume()