Lines Matching refs:ll
169 struct ll_disk ll;
200 r = sm_ll_inc(&smm->ll, op->block, &ev);
204 r = sm_ll_dec(&smm->ll, op->block, &ev);
285 *count = smm->ll.nr_blocks;
331 r = sm_ll_lookup(&smm->ll, b, result);
377 r = sm_ll_lookup_bitmap(&smm->ll, b, &rc);
405 r = sm_ll_insert(&smm->ll, b, count, &ev);
421 r = sm_ll_inc(&smm->ll, b, &ev);
438 r = sm_ll_dec(&smm->ll, b, &ev);
452 * Any block we allocate has to be free in both the old and current ll.
454 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, smm->begin, smm->ll.nr_blocks, b);
460 r = sm_ll_find_common_free_block(&smm->old_ll, &smm->ll, 0, smm->begin, b);
472 r = sm_ll_inc(&smm->ll, *b, &ev);
509 r = sm_ll_commit(&smm->ll);
513 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll));
543 root_le.nr_blocks = cpu_to_le64(smm->ll.nr_blocks);
544 root_le.nr_allocated = cpu_to_le64(smm->ll.nr_allocated);
545 root_le.bitmap_root = cpu_to_le64(smm->ll.bitmap_root);
546 root_le.ref_count_root = cpu_to_le64(smm->ll.ref_count_root);
596 *count = smm->ll.nr_blocks;
605 *count = smm->ll.nr_blocks - smm->begin;
643 if (smm->begin == smm->ll.nr_blocks)
708 dm_block_t old_len = smm->ll.nr_blocks;
719 r = sm_ll_extend(&smm->ll, extra_blocks);
742 r = sm_ll_commit(&smm->ll);
788 r = sm_ll_new_metadata(&smm->ll, tm);
792 r = sm_ll_extend(&smm->ll, nr_blocks);
824 r = sm_ll_open_metadata(&smm->ll, tm, root_le, len);
834 memcpy(&smm->old_ll, &smm->ll, sizeof(smm->old_ll));