Lines Matching refs:dm_block_t
20 dm_block_t nr;
21 dm_block_t nr_free;
26 static int ca_get_count(struct count_array *ca, dm_block_t b, uint32_t *count)
35 static int ca_count_more_than_one(struct count_array *ca, dm_block_t b, int *r)
44 static int ca_set_count(struct count_array *ca, dm_block_t b, uint32_t count)
63 static int ca_inc_block(struct count_array *ca, dm_block_t b)
72 static int ca_dec_block(struct count_array *ca, dm_block_t b)
85 dm_block_t nr_blocks;
114 dm_block_t nr_blocks, i;
137 static int ca_extend(struct count_array *ca, dm_block_t extra_blocks)
139 dm_block_t nr_blocks = ca->nr + extra_blocks;
188 static int sm_checker_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count)
197 static int sm_checker_get_nr_free(struct dm_space_map *sm, dm_block_t *count)
205 dm_block_t b, n = 0;
218 static int sm_checker_new_block(struct dm_space_map *sm, dm_block_t *b)
234 static int sm_checker_inc_block(struct dm_space_map *sm, dm_block_t b)
243 static int sm_checker_dec_block(struct dm_space_map *sm, dm_block_t b)
252 static int sm_checker_get_count(struct dm_space_map *sm, dm_block_t b, uint32_t *result)
265 static int sm_checker_count_more_than_one(struct dm_space_map *sm, dm_block_t b, int *result)
278 static int sm_checker_set_count(struct dm_space_map *sm, dm_block_t b, uint32_t count)
309 static int sm_checker_extend(struct dm_space_map *sm, dm_block_t extra_blocks)