Lines Matching refs:ll
171 struct ll_disk ll; member
202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations); in commit_bop()
287 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks()
333 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count()
379 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one()
407 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations); in sm_metadata_set_count()
425 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations); in sm_metadata_inc_blocks()
442 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations); in sm_metadata_dec_blocks()
458 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b); in sm_metadata_new_block_()
464 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b); in sm_metadata_new_block_()
476 r = sm_ll_inc(&smm->ll, *b, *b + 1, &nr_allocations); in sm_metadata_new_block_()
514 r = sm_ll_commit(&smm->ll); in sm_metadata_commit()
518 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in sm_metadata_commit()
548 root_le.nr_blocks = cpu_to_le64(smm->ll.nr_blocks); in sm_metadata_copy_root()
549 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
550 root_le.bitmap_root = cpu_to_le64(smm->ll.bitmap_root); in sm_metadata_copy_root()
551 root_le.ref_count_root = cpu_to_le64(smm->ll.ref_count_root); in sm_metadata_copy_root()
601 *count = smm->ll.nr_blocks; in sm_bootstrap_get_nr_blocks()
610 *count = smm->ll.nr_blocks - smm->begin; in sm_bootstrap_get_nr_free()
648 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
723 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend()
734 r = sm_ll_extend(&smm->ll, extra_blocks); in sm_metadata_extend()
755 r = sm_ll_commit(&smm->ll); in sm_metadata_extend()
800 r = sm_ll_new_metadata(&smm->ll, tm); in dm_sm_metadata_create()
804 r = sm_ll_extend(&smm->ll, nr_blocks); in dm_sm_metadata_create()
834 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len); in dm_sm_metadata_open()
844 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in dm_sm_metadata_open()