Lines Matching defs:sm
25 struct dm_space_map sm; member
34 static void sm_disk_destroy(struct dm_space_map *sm) in sm_disk_destroy()
41 static int sm_disk_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_disk_extend()
48 static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_blocks()
56 static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_free()
64 static int sm_disk_get_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_get_count()
71 static int sm_disk_count_is_more_than_one(struct dm_space_map *sm, dm_block_t b, in sm_disk_count_is_more_than_one()
86 static int sm_disk_set_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_set_count()
101 static int sm_disk_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_disk_inc_blocks()
114 static int sm_disk_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_disk_dec_blocks()
127 static int sm_disk_new_block(struct dm_space_map *sm, dm_block_t *b) in sm_disk_new_block()
157 static int sm_disk_commit(struct dm_space_map *sm) in sm_disk_commit()
172 static int sm_disk_root_size(struct dm_space_map *sm, size_t *result) in sm_disk_root_size()
179 static int sm_disk_copy_root(struct dm_space_map *sm, void *where_le, size_t max) in sm_disk_copy_root()