Lines Matching refs:dm_block_t

27 	dm_block_t threshold;
28 dm_block_t current_value;
39 static void set_threshold(struct threshold *t, dm_block_t value, in set_threshold()
48 static bool below_threshold(struct threshold *t, dm_block_t value) in below_threshold()
58 static void check_threshold(struct threshold *t, dm_block_t value) in check_threshold()
93 dm_block_t b;
94 dm_block_t e;
122 enum block_op_type type, dm_block_t b, dm_block_t e) in brb_push()
174 dm_block_t begin;
183 static int add_bop(struct sm_metadata *smm, enum block_op_type type, dm_block_t b, dm_block_t e) in add_bop()
283 static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_blocks()
292 static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_free()
302 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count()
343 dm_block_t b, int *result) in sm_metadata_count_is_more_than_one()
394 static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_set_count()
413 static int sm_metadata_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_metadata_inc_blocks()
432 static int sm_metadata_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_metadata_dec_blocks()
449 static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block_()
486 static int sm_metadata_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block()
488 dm_block_t count; in sm_metadata_new_block()
525 dm_block_t threshold, in sm_metadata_register_threshold_callback()
561 static int sm_metadata_extend(struct dm_space_map *sm, dm_block_t extra_blocks);
590 static int sm_bootstrap_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_bootstrap_extend()
597 static int sm_bootstrap_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_bootstrap_get_nr_blocks()
606 static int sm_bootstrap_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_bootstrap_get_nr_free()
615 static int sm_bootstrap_get_count(struct dm_space_map *sm, dm_block_t b, in sm_bootstrap_get_count()
626 dm_block_t b, int *result) in sm_bootstrap_count_is_more_than_one()
633 static int sm_bootstrap_set_count(struct dm_space_map *sm, dm_block_t b, in sm_bootstrap_set_count()
641 static int sm_bootstrap_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_bootstrap_new_block()
656 static int sm_bootstrap_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_bootstrap_inc_blocks()
668 static int sm_bootstrap_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_bootstrap_dec_blocks()
719 static int sm_metadata_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_metadata_extend()
723 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend()
786 dm_block_t nr_blocks, in dm_sm_metadata_create()
787 dm_block_t superblock) in dm_sm_metadata_create()