Searched refs:ll_disk (Results 1 – 4 of 4) sorted by relevance
/drivers/md/persistent-data/ |
D | dm-space-map-common.h | 48 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 …]
|
D | dm-space-map-common.c | 191 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() 273 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap() 295 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup() 315 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block() 375 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, in sm_ll_insert() 451 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) in sm_ll_inc() 463 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) in sm_ll_dec() 478 int sm_ll_commit(struct ll_disk *ll) in sm_ll_commit() 493 static int metadata_ll_load_ie(struct ll_disk *ll, dm_block_t index, in metadata_ll_load_ie() [all …]
|
D | dm-space-map-disk.c | 27 struct ll_disk ll; 28 struct ll_disk old_ll;
|
D | dm-space-map-metadata.c | 97 struct ll_disk ll; 98 struct ll_disk old_ll;
|