Lines Matching refs:ll
28 struct ll_disk ll; member
46 return sm_ll_extend(&smd->ll, extra_blocks); in sm_disk_extend()
72 return sm_ll_lookup(&smd->ll, b, result); in sm_disk_get_count()
97 r = sm_ll_insert(&smd->ll, b, count, &nr_allocations); in sm_disk_set_count()
110 r = sm_ll_inc(&smd->ll, b, e, &nr_allocations); in sm_disk_inc_blocks()
123 r = sm_ll_dec(&smd->ll, b, e, &nr_allocations); in sm_disk_dec_blocks()
139 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, smd->begin, smd->ll.nr_blocks, b); in sm_disk_new_block()
145 r = sm_ll_find_common_free_block(&smd->old_ll, &smd->ll, 0, smd->begin, b); in sm_disk_new_block()
151 r = sm_ll_inc(&smd->ll, *b, *b + 1, &nr_allocations); in sm_disk_new_block()
163 r = sm_ll_commit(&smd->ll); in sm_disk_commit()
167 memcpy(&smd->old_ll, &smd->ll, sizeof(smd->old_ll)); in sm_disk_commit()
185 root_le.nr_blocks = cpu_to_le64(smd->ll.nr_blocks); in sm_disk_copy_root()
186 root_le.nr_allocated = cpu_to_le64(smd->ll.nr_allocated); in sm_disk_copy_root()
187 root_le.bitmap_root = cpu_to_le64(smd->ll.bitmap_root); in sm_disk_copy_root()
188 root_le.ref_count_root = cpu_to_le64(smd->ll.ref_count_root); in sm_disk_copy_root()
231 r = sm_ll_new_disk(&smd->ll, tm); in dm_sm_disk_create()
235 r = sm_ll_extend(&smd->ll, nr_blocks); in dm_sm_disk_create()
265 r = sm_ll_open_disk(&smd->ll, tm, root_le, len); in dm_sm_disk_open()