Lines Matching refs:ll
27 struct ll_disk ll;
45 return sm_ll_extend(&smd->ll, extra_blocks);
68 return sm_ll_lookup(&smd->ll, b, result);
94 r = sm_ll_insert(&smd->ll, b, count, &ev);
132 r = sm_ll_inc(&smd->ll, b, &ev);
150 r = sm_ll_dec(&smd->ll, b, &ev);
171 * Any block we allocate has to be free in both the old and current ll.
173 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b);
179 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b);
186 r = sm_ll_inc(&smd->ll, *b, &ev);
205 r = sm_ll_commit(&smd->ll);
209 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll));
231 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks);
232 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated);
233 root_le.bitmap_root = cpu_to_le64(smd->ll.bitmap_root);
234 root_le.ref_count_root = cpu_to_le64(smd->ll.ref_count_root);
277 r = sm_ll_new_disk(&smd->ll, tm);
281 r = sm_ll_extend(&smd->ll, nr_blocks);
311 r = sm_ll_open_disk(&smd->ll, tm, root_le, len);