D | dm-space-map.h | 19 struct dm_space_map { struct 20 void (*destroy)(struct dm_space_map *sm); argument 25 int (*extend)(struct dm_space_map *sm, dm_block_t extra_blocks); argument 31 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count); argument 41 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count); argument 43 int (*get_count)(struct dm_space_map *sm, dm_block_t b, uint32_t *result); argument 44 int (*count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b, argument 46 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count); argument 48 int (*commit)(struct dm_space_map *sm); argument 50 int (*inc_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e); argument [all …]
|