Lines Matching refs:ll_disk
191 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()
516 int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) in sm_ll_inc()
532 int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) in sm_ll_dec()
537 int sm_ll_commit(struct ll_disk *ll) in sm_ll_commit()
552 static int metadata_ll_load_ie(struct ll_disk *ll, dm_block_t index, in metadata_ll_load_ie()
559 static int metadata_ll_save_ie(struct ll_disk *ll, dm_block_t index, in metadata_ll_save_ie()
567 static int metadata_ll_init_index(struct ll_disk *ll) in metadata_ll_init_index()
583 static int metadata_ll_open(struct ll_disk *ll) in metadata_ll_open()
599 static dm_block_t metadata_ll_max_entries(struct ll_disk *ll) in metadata_ll_max_entries()
604 static int metadata_ll_commit(struct ll_disk *ll) in metadata_ll_commit()
621 int sm_ll_new_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_new_metadata()
650 int sm_ll_open_metadata(struct ll_disk *ll, struct dm_transaction_manager *tm, in sm_ll_open_metadata()
688 static int disk_ll_load_ie(struct ll_disk *ll, dm_block_t index, in disk_ll_load_ie()
694 static int disk_ll_save_ie(struct ll_disk *ll, dm_block_t index, in disk_ll_save_ie()
702 static int disk_ll_init_index(struct ll_disk *ll) in disk_ll_init_index()
707 static int disk_ll_open(struct ll_disk *ll) in disk_ll_open()
713 static dm_block_t disk_ll_max_entries(struct ll_disk *ll) in disk_ll_max_entries()
718 static int disk_ll_commit(struct ll_disk *ll) in disk_ll_commit()
723 int sm_ll_new_disk(struct ll_disk *ll, struct dm_transaction_manager *tm) in sm_ll_new_disk()
752 int sm_ll_open_disk(struct ll_disk *ll, struct dm_transaction_manager *tm, in sm_ll_open_disk()