Lines Matching defs:sm

81 static int ca_create(struct count_array *ca, struct dm_space_map *sm)  in ca_create()
99 static int ca_load(struct count_array *ca, struct dm_space_map *sm) in ca_load()
162 struct dm_space_map sm; member
170 static void sm_checker_destroy(struct dm_space_map *sm) in sm_checker_destroy()
180 static int sm_checker_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_checker_get_nr_blocks()
189 static int sm_checker_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_checker_get_nr_free()
210 static int sm_checker_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_checker_new_block()
226 static int sm_checker_inc_block(struct dm_space_map *sm, dm_block_t b) in sm_checker_inc_block()
235 static int sm_checker_dec_block(struct dm_space_map *sm, dm_block_t b) in sm_checker_dec_block()
244 static int sm_checker_get_count(struct dm_space_map *sm, dm_block_t b, uint32_t *result) in sm_checker_get_count()
257 static int sm_checker_count_more_than_one(struct dm_space_map *sm, dm_block_t b, int *result) in sm_checker_count_more_than_one()
270 static int sm_checker_set_count(struct dm_space_map *sm, dm_block_t b, uint32_t count) in sm_checker_set_count()
285 static int sm_checker_commit(struct dm_space_map *sm) in sm_checker_commit()
301 static int sm_checker_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_checker_extend()
311 static int sm_checker_root_size(struct dm_space_map *sm, size_t *result) in sm_checker_root_size()
317 static int sm_checker_copy_root(struct dm_space_map *sm, void *copy_to_here_le, size_t len) in sm_checker_copy_root()
341 struct dm_space_map *dm_sm_checker_create(struct dm_space_map *sm) in dm_sm_checker_create()
389 struct dm_space_map *dm_sm_checker_create_fresh(struct dm_space_map *sm) in dm_sm_checker_create_fresh()
424 struct dm_space_map *dm_sm_checker_create(struct dm_space_map *sm) in dm_sm_checker_create()
430 struct dm_space_map *dm_sm_checker_create_fresh(struct dm_space_map *sm) in dm_sm_checker_create_fresh()