Lines Matching refs:dm_block_t
25 int (*extend)(struct dm_space_map *sm, dm_block_t extra_blocks);
31 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
41 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
43 int (*get_count)(struct dm_space_map *sm, dm_block_t b, uint32_t *result);
44 int (*count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b,
46 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
50 int (*inc_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e);
51 int (*dec_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e);
56 int (*new_block)(struct dm_space_map *sm, dm_block_t *b);
71 dm_block_t threshold,
84 static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in dm_sm_extend()
89 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_blocks()
94 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_free()
99 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count()
106 dm_block_t b, int *result) in dm_sm_count_is_more_than_one()
111 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count()
122 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()
127 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block()
132 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()
137 static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_dec_block()
142 static inline int dm_sm_new_block(struct dm_space_map *sm, dm_block_t *b) in dm_sm_new_block()
158 dm_block_t threshold, in dm_sm_register_threshold_callback()