Lines Matching refs:dm_array_info
96 static void *element_at(struct dm_array_info *info, struct array_block *ab, in element_at()
110 static void on_entries(struct dm_array_info *info, struct array_block *ab, in on_entries()
120 static void inc_ablock_entries(struct dm_array_info *info, struct array_block *ab) in inc_ablock_entries()
131 static void dec_ablock_entries(struct dm_array_info *info, struct array_block *ab) in dec_ablock_entries()
150 static int alloc_ablock(struct dm_array_info *info, size_t size_of_block, in alloc_ablock()
173 static void fill_ablock(struct dm_array_info *info, struct array_block *ab, in fill_ablock()
196 static void trim_ablock(struct dm_array_info *info, struct array_block *ab, in trim_ablock()
216 static int get_ablock(struct dm_array_info *info, dm_block_t b, in get_ablock()
232 static void unlock_ablock(struct dm_array_info *info, struct dm_block *block) in unlock_ablock()
249 static int lookup_ablock(struct dm_array_info *info, dm_block_t root, in lookup_ablock()
267 static int insert_ablock(struct dm_array_info *info, uint64_t index, in insert_ablock()
278 static int __shadow_ablock(struct dm_array_info *info, dm_block_t b, in __shadow_ablock()
298 static int __reinsert_ablock(struct dm_array_info *info, unsigned index, in __reinsert_ablock()
323 static int shadow_ablock(struct dm_array_info *info, dm_block_t *root, in shadow_ablock()
347 static int insert_new_ablock(struct dm_array_info *info, size_t size_of_block, in insert_new_ablock()
367 static int insert_full_ablocks(struct dm_array_info *info, size_t size_of_block, in insert_full_ablocks()
389 struct dm_array_info *info;
575 struct dm_array_info *info = context; in block_inc()
590 struct dm_array_info *info = context; in __block_dec()
635 void dm_array_info_init(struct dm_array_info *info, in dm_array_info_init()
653 int dm_array_empty(struct dm_array_info *info, dm_block_t *root) in dm_array_empty()
659 static int array_resize(struct dm_array_info *info, dm_block_t root, in array_resize()
691 int dm_array_resize(struct dm_array_info *info, dm_block_t root, in dm_array_resize()
702 static int populate_ablock_with_values(struct dm_array_info *info, struct array_block *ab, in populate_ablock_with_values()
725 int dm_array_new(struct dm_array_info *info, dm_block_t *root, in dm_array_new()
766 int dm_array_del(struct dm_array_info *info, dm_block_t root) in dm_array_del()
772 int dm_array_get_value(struct dm_array_info *info, dm_block_t root, in dm_array_get_value()
800 static int array_set_value(struct dm_array_info *info, dm_block_t root, in array_set_value()
841 int dm_array_set_value(struct dm_array_info *info, dm_block_t root, in dm_array_set_value()
854 struct dm_array_info *info;
889 int dm_array_walk(struct dm_array_info *info, dm_block_t root, in dm_array_walk()
934 int dm_array_cursor_begin(struct dm_array_info *info, dm_block_t root, in dm_array_cursor_begin()