Lines Matching refs:ll
97 struct ll_disk ll; member
133 r = sm_ll_inc(&smm->ll, op->block, &ev); in commit_bop()
137 r = sm_ll_dec(&smm->ll, op->block, &ev); in commit_bop()
202 *count = smm->ll.nr_blocks; in sm_metadata_get_nr_blocks()
245 r = sm_ll_lookup(&smm->ll, b, result); in sm_metadata_get_count()
287 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc); in sm_metadata_count_is_more_than_one()
315 r = sm_ll_insert(&smm->ll, b, count, &ev); in sm_metadata_set_count()
331 r = sm_ll_inc(&smm->ll, b, &ev); in sm_metadata_inc_block()
348 r = sm_ll_dec(&smm->ll, b, &ev); in sm_metadata_dec_block()
371 r = sm_ll_inc(&smm->ll, *b, &ev); in sm_metadata_new_block_()
404 r = sm_ll_commit(&smm->ll); in sm_metadata_commit()
408 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in sm_metadata_commit()
439 root_le.nr_blocks = cpu_to_le64(smm->ll.nr_blocks); in sm_metadata_copy_root()
440 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated); in sm_metadata_copy_root()
441 root_le.bitmap_root = cpu_to_le64(smm->ll.bitmap_root); in sm_metadata_copy_root()
442 root_le.ref_count_root = cpu_to_le64(smm->ll.ref_count_root); in sm_metadata_copy_root()
492 return smm->ll.nr_blocks; in sm_bootstrap_get_nr_blocks()
499 *count = smm->ll.nr_blocks - smm->begin; in sm_bootstrap_get_nr_free()
535 if (smm->begin == smm->ll.nr_blocks) in sm_bootstrap_new_block()
601 dm_block_t old_len = smm->ll.nr_blocks; in sm_metadata_extend()
612 r = sm_ll_extend(&smm->ll, extra_blocks); in sm_metadata_extend()
619 r = sm_ll_inc(&smm->ll, i, &ev); in sm_metadata_extend()
657 r = sm_ll_new_metadata(&smm->ll, tm); in dm_sm_metadata_create()
661 r = sm_ll_extend(&smm->ll, nr_blocks); in dm_sm_metadata_create()
672 r = sm_ll_inc(&smm->ll, i, &ev); in dm_sm_metadata_create()
687 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len); in dm_sm_metadata_open()
697 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll)); in dm_sm_metadata_open()