Home
last modified time | relevance | path

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

/Linux-v5.10/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);
57 struct ll_disk { struct
107 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks);
108 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result);
[all …]
Ddm-space-map-common.c191 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init()
193 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
234 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks) in sm_ll_extend()
277 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap()
301 static int sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, in sm_ll_lookup_big_ref_count()
316 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup()
329 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block()
383 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll, in sm_ll_find_common_free_block()
410 static int sm_ll_mutate(struct ll_disk *ll, dm_block_t b, in sm_ll_mutate()
504 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, in sm_ll_insert()
[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;