Lines Matching refs:ll_disk
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);
109 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result);
110 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin,
112 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll,
114 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, enum allocation_event *ev);
115 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev);
116 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev);
117 int sm_ll_commit(struct ll_disk *ll);
119 int sm_ll_new_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm);
120 int sm_ll_open_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm,
123 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm);
124 int sm_ll_open_disk(struct ll_disk *ll, struct dm_transaction_manager *tm,