Lines Matching refs:ll
28 struct ll_disk ll;
46 return sm_ll_extend(&smd->ll, extra_blocks);
72 return sm_ll_lookup(&smd->ll, b, result);
97 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations);
110 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations);
123 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations);
137 * Any block we allocate has to be free in both the old and current ll.
139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b);
145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b);
151 r = sm_ll_inc(&smd->ll, *b, *b + 1, &nr_allocations);
163 r = sm_ll_commit(&smd->ll);
167 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll));
185 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks);
186 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated);
187 root_le.bitmap_root = cpu_to_le64(smd->ll.bitmap_root);
188 root_le.ref_count_root = cpu_to_le64(smd->ll.ref_count_root);
231 r = sm_ll_new_disk(&smd->ll, tm);
235 r = sm_ll_extend(&smd->ll, nr_blocks);
265 r = sm_ll_open_disk(&smd->ll, tm, root_le, len);