Lines Matching full:runs
48 r = run->runs; in run_lookup()
72 r = run->runs + mid_idx; in run_lookup()
91 * run_consolidate - Consolidate runs starting from a given one.
96 struct ntfs_run *r = run->runs + index; in run_consolidate()
107 /* Stop if runs are not aligned one to another. */ in run_consolidate()
131 * both current and next runs. in run_consolidate()
176 end = run->runs + run->count; in run_is_mapped_full()
177 r = run->runs + i; in run_is_mapped_full()
200 if (!run->runs) in run_lookup_entry()
206 r = run->runs + idx; in run_lookup_entry()
234 r = run->runs + index; in run_truncate_head()
248 r = run->runs; in run_truncate_head()
254 kvfree(run->runs); in run_truncate_head()
255 run->runs = NULL; in run_truncate_head()
274 struct ntfs_run *r = run->runs + index; in run_truncate()
289 /* Do not reallocate array 'runs'. Only free if possible. */ in run_truncate()
291 kvfree(run->runs); in run_truncate()
292 run->runs = NULL; in run_truncate()
305 run_truncate(run, (run->runs + (run->count >> 1))->vcn); in run_truncate_around()
341 struct ntfs_run *t = run->runs + index - 1; in run_add_entry()
395 memcpy(new_ptr, run->runs, in run_add_entry()
397 memcpy(r + 1, run->runs + index, in run_add_entry()
400 kvfree(run->runs); in run_add_entry()
401 run->runs = new_ptr; in run_add_entry()
407 r = run->runs + index; in run_add_entry()
419 r = run->runs + index; in run_add_entry()
498 e = run->runs + run->count; in run_collapse_range()
499 r = run->runs + index; in run_collapse_range()
563 e = run->runs + run->count; in run_insert_range()
564 r = run->runs + index; in run_insert_range()
572 r = run->runs + index; in run_insert_range()
603 r = run->runs + index; in run_get_entry()
812 * run_pack - Pack runs into buffer.
814 * packed_vcns - How much runs we have packed.
838 r_end = run->runs + run->count; in run_pack()
839 r = run->runs + i; in run_pack()
847 /* Repeat cycle above and pack runs. Assume no errors. */ in run_pack()
848 r = run->runs + i; in run_pack()
916 * run_unpack - Unpack packed runs from @run_buf.
940 /* Read all runs the chain. */ in run_unpack()
953 * Unpack runs. in run_unpack()
954 * NOTE: Runs are stored little endian order in run_unpack()
1032 /* Not expected length of unpacked runs. */ in run_unpack()
1041 * run_unpack_ex - Unpack packed runs from "run_buf".
1043 * Checks unpacked runs to be used in bitmap.
1175 kvfree(new_run->runs); in run_clone()
1176 new_run->runs = new_ptr; in run_clone()
1180 memcpy(new_run->runs, run->runs, bytes); in run_clone()