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);
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()
232 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()
299 static int sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, in sm_ll_lookup_big_ref_count()
314 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup()
327 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block()
387 static int sm_ll_mutate(struct ll_disk *ll, dm_block_t b, in sm_ll_mutate()
484 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, in sm_ll_insert()
496 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) in sm_ll_inc()
512 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) in sm_ll_dec()
[all …]
Ddm-space-map-disk.c27 struct ll_disk ll;
28 struct ll_disk old_ll;
Ddm-space-map-metadata.c160 struct ll_disk ll;
161 struct ll_disk old_ll;