• Home
  • Raw
  • Download

Lines Matching refs:dm_space_map

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_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e); argument
50 int (*dec_blocks)(struct dm_space_map *sm, dm_block_t b, dm_block_t e); argument
55 int (*new_block)(struct dm_space_map *sm, dm_block_t *b); argument
62 int (*root_size)(struct dm_space_map *sm, size_t *result); argument
63 int (*copy_root)(struct dm_space_map *sm, void *copy_to_here_le, size_t len); argument
69 int (*register_threshold_callback)(struct dm_space_map *sm, argument
77 static inline void dm_sm_destroy(struct dm_space_map *sm) in dm_sm_destroy()
83 static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in dm_sm_extend()
88 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_blocks()
93 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_free()
98 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count()
104 static inline int dm_sm_count_is_more_than_one(struct dm_space_map *sm, in dm_sm_count_is_more_than_one()
110 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count()
116 static inline int dm_sm_commit(struct dm_space_map *sm) in dm_sm_commit()
121 static inline int dm_sm_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in dm_sm_inc_blocks()
126 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block()
131 static inline int dm_sm_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in dm_sm_dec_blocks()
136 static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_dec_block()
141 static inline int dm_sm_new_block(struct dm_space_map *sm, dm_block_t *b) in dm_sm_new_block()
146 static inline int dm_sm_root_size(struct dm_space_map *sm, size_t *result) in dm_sm_root_size()
151 static inline int dm_sm_copy_root(struct dm_space_map *sm, void *copy_to_here_le, size_t len) in dm_sm_copy_root()
156 static inline int dm_sm_register_threshold_callback(struct dm_space_map *sm, in dm_sm_register_threshold_callback()