Home
last modified time | relevance | path

Searched refs:ll_disk (Results 1 – 4 of 4) sorted by relevance

/drivers/md/persistent-data/
Ddm-space-map-common.h48 struct ll_disk;
50 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result);
51 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie);
52 typedef int (*init_index_fn)(struct ll_disk *ll);
53 typedef int (*open_index_fn)(struct ll_disk *ll);
54 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
55 typedef int (*commit_fn)(struct ll_disk *ll);
71 struct ll_disk { struct
117 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks); argument
118 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
[all …]
Ddm-space-map-common.c193 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init()
195 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
236 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks) in sm_ll_extend()
279 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap()
308 static int sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, in sm_ll_lookup_big_ref_count()
323 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup()
336 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block()
392 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll, in sm_ll_find_common_free_block()
421 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, in sm_ll_insert()
526 static inline void exit_inc_context(struct ll_disk *ll, struct inc_context *ic) in exit_inc_context()
[all …]
Ddm-space-map-disk.c27 struct ll_disk ll;
28 struct ll_disk old_ll;
Ddm-space-map-metadata.c169 struct ll_disk ll;
170 struct ll_disk old_ll;