Lines Matching refs:ll
171 struct ll_disk ll;
202 r = sm_ll_inc(&smm->ll, op->b, op->e, &nr_allocations);
206 r = sm_ll_dec(&smm->ll, op->b, op->e, &nr_allocations);
287 *count = smm->ll.nr_blocks;
333 r = sm_ll_lookup(&smm->ll, b, result);
379 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc);
407 r = sm_ll_insert(&smm->ll, b, count, &nr_allocations);
425 r = sm_ll_inc(&smm->ll, b, e, &nr_allocations);
442 r = sm_ll_dec(&smm->ll, b, e, &nr_allocations);
456 * Any block we allocate has to be free in both the old and current ll.
458 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b);
464 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b);
476 r = sm_ll_inc(&smm->ll, *b, *b + 1, &nr_allocations);
514 r = sm_ll_commit(&smm->ll);
518 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll));
548 root_le.nr_blocks = cpu_to_le64(smm->ll.nr_blocks);
549 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated);
550 root_le.bitmap_root = cpu_to_le64(smm->ll.bitmap_root);
551 root_le.ref_count_root = cpu_to_le64(smm->ll.ref_count_root);
601 *count = smm->ll.nr_blocks;
610 *count = smm->ll.nr_blocks - smm->begin;
648 if (smm->begin == smm->ll.nr_blocks)
723 dm_block_t old_len = smm->ll.nr_blocks;
734 r = sm_ll_extend(&smm->ll, extra_blocks);
755 r = sm_ll_commit(&smm->ll);
800 r = sm_ll_new_metadata(&smm->ll, tm);
804 r = sm_ll_extend(&smm->ll, nr_blocks);
834 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len);
844 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll));