Lines Matching refs:ll_disk
193 static int sm_ll_init(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_init()
195 memset(ll, 0, sizeof(struct ll_disk)); in sm_ll_init()
236 int sm_ll_extend(struct ll_disk *ll, dm_block_t extra_blocks) in sm_ll_extend()
279 int sm_ll_lookup_bitmap(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup_bitmap()
308 static int sm_ll_lookup_big_ref_count(struct ll_disk *ll, dm_block_t b, in sm_ll_lookup_big_ref_count()
323 int sm_ll_lookup(struct ll_disk *ll, dm_block_t b, uint32_t *result) in sm_ll_lookup()
336 int sm_ll_find_free_block(struct ll_disk *ll, dm_block_t begin, in sm_ll_find_free_block()
392 int sm_ll_find_common_free_block(struct ll_disk *old_ll, struct ll_disk *new_ll, in sm_ll_find_common_free_block()
421 int sm_ll_insert(struct ll_disk *ll, dm_block_t b, in sm_ll_insert()
526 static inline void exit_inc_context(struct ll_disk *ll, struct inc_context *ic) in exit_inc_context()
534 static inline void reset_inc_context(struct ll_disk *ll, struct inc_context *ic) in reset_inc_context()
550 static int __sm_ll_inc_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic) in __sm_ll_inc_overflow()
583 static int sm_ll_inc_overflow(struct ll_disk *ll, dm_block_t b, struct inc_context *ic) in sm_ll_inc_overflow()
608 static inline int shadow_bitmap(struct ll_disk *ll, struct inc_context *ic) in shadow_bitmap()
627 static inline int ensure_bitmap(struct ll_disk *ll, struct inc_context *ic) in ensure_bitmap()
645 static inline int sm_ll_inc_bitmap(struct ll_disk *ll, dm_block_t b, in sm_ll_inc_bitmap()
714 static int __sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, in __sm_ll_inc()
744 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, dm_block_t e, in sm_ll_inc()
759 static int __sm_ll_del_overflow(struct ll_disk *ll, dm_block_t b, in __sm_ll_del_overflow()
767 static int __sm_ll_dec_overflow(struct ll_disk *ll, dm_block_t b, in __sm_ll_dec_overflow()
802 static int sm_ll_dec_overflow(struct ll_disk *ll, dm_block_t b, in sm_ll_dec_overflow()
838 static inline int sm_ll_dec_bitmap(struct ll_disk *ll, dm_block_t b, in sm_ll_dec_bitmap()
897 static int __sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, in __sm_ll_dec()
926 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, dm_block_t e, in sm_ll_dec()
941 int sm_ll_commit(struct ll_disk *ll) in sm_ll_commit()
956 static int metadata_ll_load_ie(struct ll_disk *ll, dm_block_t index, in metadata_ll_load_ie()
963 static int metadata_ll_save_ie(struct ll_disk *ll, dm_block_t index, in metadata_ll_save_ie()
971 static int metadata_ll_init_index(struct ll_disk *ll) in metadata_ll_init_index()
987 static int metadata_ll_open(struct ll_disk *ll) in metadata_ll_open()
1003 static dm_block_t metadata_ll_max_entries(struct ll_disk *ll) in metadata_ll_max_entries()
1008 static int metadata_ll_commit(struct ll_disk *ll) in metadata_ll_commit()
1025 int sm_ll_new_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_new_metadata()
1054 int sm_ll_open_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm, in sm_ll_open_metadata()
1092 static inline int ie_cache_writeback(struct ll_disk *ll, struct ie_cache *iec) in ie_cache_writeback()
1105 static int disk_ll_load_ie(struct ll_disk *ll, dm_block_t index, in disk_ll_load_ie()
1136 static int disk_ll_save_ie(struct ll_disk *ll, dm_block_t index, in disk_ll_save_ie()
1165 static int disk_ll_init_index(struct ll_disk *ll) in disk_ll_init_index()
1176 static int disk_ll_open(struct ll_disk *ll) in disk_ll_open()
1181 static dm_block_t disk_ll_max_entries(struct ll_disk *ll) in disk_ll_max_entries()
1186 static int disk_ll_commit(struct ll_disk *ll) in disk_ll_commit()
1200 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_new_disk()
1229 int sm_ll_open_disk(struct ll_disk *ll, struct dm_transaction_manager *tm, in sm_ll_open_disk()