Lines Matching refs:dm_block_t
24 int (*extend)(struct dm_space_map *sm, dm_block_t extra_blocks);
30 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
40 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
42 int (*get_count)(struct dm_space_map *sm, dm_block_t b, uint32_t *result);
43 int (*count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b,
45 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
49 int (*inc_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e);
50 int (*dec_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e);
55 int (*new_block)(struct dm_space_map *sm, dm_block_t *b);
70 dm_block_t threshold,
82 static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in dm_sm_extend()
87 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_blocks()
92 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_free()
97 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count()
104 dm_block_t b, int *result) in dm_sm_count_is_more_than_one()
109 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count()
120 static inline int dm_sm_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in dm_sm_inc_blocks()
125 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block()
130 static inline int dm_sm_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in dm_sm_dec_blocks()
135 static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_dec_block()
140 static inline int dm_sm_new_block(struct dm_space_map *sm, dm_block_t *b) in dm_sm_new_block()
156 dm_block_t threshold, in dm_sm_register_threshold_callback()