Lines Matching refs:dm_block_t
26 dm_block_t threshold;
27 dm_block_t current_value;
38 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold()
47 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold()
57 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold()
92 dm_block_t b;
93 dm_block_t e;
120 enum block_op_type type, dm_block_t b, dm_block_t e) in brb_push()
172 dm_block_t begin;
181 static int add_bop(struct sm_metadata *smm, enum block_op_type type, dm_block_t b, dm_block_t e) in add_bop()
280 static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_blocks()
289 static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_free()
299 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count()
340 dm_block_t b, int *result) in sm_metadata_count_is_more_than_one()
391 static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_set_count()
410 static int sm_metadata_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_metadata_inc_blocks()
429 static int sm_metadata_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_metadata_dec_blocks()
446 static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block_()
483 static int sm_metadata_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block()
485 dm_block_t count; in sm_metadata_new_block()
521 dm_block_t threshold, in sm_metadata_register_threshold_callback()
557 static int sm_metadata_extend(struct dm_space_map *sm, dm_block_t extra_blocks);
586 static int sm_bootstrap_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_bootstrap_extend()
593 static int sm_bootstrap_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_bootstrap_get_nr_blocks()
602 static int sm_bootstrap_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_bootstrap_get_nr_free()
611 static int sm_bootstrap_get_count(struct dm_space_map *sm, dm_block_t b, in sm_bootstrap_get_count()
622 dm_block_t b, int *result) in sm_bootstrap_count_is_more_than_one()
629 static int sm_bootstrap_set_count(struct dm_space_map *sm, dm_block_t b, in sm_bootstrap_set_count()
637 static int sm_bootstrap_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_bootstrap_new_block()
652 static int sm_bootstrap_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_bootstrap_inc_blocks()
664 static int sm_bootstrap_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_bootstrap_dec_blocks()
715 static int sm_metadata_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_metadata_extend()
719 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend()
782 dm_block_t nr_blocks, in dm_sm_metadata_create()
783 dm_block_t superblock) in dm_sm_metadata_create()