Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
H A Ddm-space-map-common.h49 struct ll_disk;
51 typedef int (*load_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *result);
52 typedef int (*save_ie_fn)(struct ll_disk *ll, dm_block_t index, struct disk_index_entry *ie);
53 typedef int (*init_index_fn)(struct ll_disk *ll);
54 typedef int (*open_index_fn)(struct ll_disk *ll);
55 typedef dm_block_t (*max_index_entries_fn)(struct ll_disk *ll);
56 typedef int (*commit_fn)(struct ll_disk *ll);
72 struct ll_disk { struct
118 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks); argument
119 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
[all …]
H A Ddm-space-map-common.c194 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init()
196 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
237 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks) in sm_ll_extend()
280 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap()
309 static int sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, in sm_ll_lookup_big_ref_count()
324 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup()
337 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block()
393 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll, in sm_ll_find_common_free_block()
422 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, in sm_ll_insert()
527 static inline void exit_inc_context(struct ll_disk *ll, struct inc_context *ic) in exit_inc_context()
[all …]
H A Ddm-space-map-disk.c28 struct ll_disk ll;
29 struct ll_disk old_ll;
H A Ddm-space-map-metadata.c171 struct ll_disk ll;
172 struct ll_disk old_ll;