D | dm-space-map.h | 18 struct dm_space_map { struct 19 void (*destroy)(struct dm_space_map *sm); argument 24 int (*extend)(struct dm_space_map *sm, dm_block_t extra_blocks); argument 30 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count); argument 40 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count); argument 42 int (*get_count)(struct dm_space_map *sm, dm_block_t b, uint32_t *result); argument 43 int (*count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b, argument 45 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count); argument 47 int (*commit)(struct dm_space_map *sm); argument 49 int (*inc_block)(struct dm_space_map *sm, dm_block_t b); argument [all …]
|