Lines Matching refs:ntfs_run
20 struct ntfs_run { struct
37 struct ntfs_run *r; in run_lookup() argument
96 struct ntfs_run *r = run->runs + index; in run_consolidate()
103 struct ntfs_run *n = r + 1; in run_consolidate()
170 const struct ntfs_run *r, *end; in run_is_mapped_full()
197 struct ntfs_run *r; in run_lookup_entry()
231 struct ntfs_run *r; in run_truncate_head()
274 struct ntfs_run *r = run->runs + index; in run_truncate()
304 if (run->count >= NTFS3_RUN_MAX_BYTES / sizeof(struct ntfs_run) / 2) in run_truncate_around()
320 struct ntfs_run *r; in run_add_entry()
341 struct ntfs_run *t = run->runs + index - 1; in run_add_entry()
363 used = run->count * sizeof(struct ntfs_run); in run_add_entry()
370 if (run->allocated < used + sizeof(struct ntfs_run)) { in run_add_entry()
372 struct ntfs_run *new_ptr; in run_add_entry()
396 index * sizeof(struct ntfs_run)); in run_add_entry()
398 sizeof(struct ntfs_run) * (run->count - index)); in run_add_entry()
411 memmove(r + 1, r, sizeof(struct ntfs_run) * i); in run_add_entry()
492 struct ntfs_run *r, *e, *eat_start, *eat_end; in run_collapse_range()
558 struct ntfs_run *r, *e; in run_insert_range()
598 const struct ntfs_run *r; in run_get_entry()
823 const struct ntfs_run *r, *r_end; in run_pack()
1155 size_t bytes = run->count * sizeof(struct ntfs_run); in run_clone()
1158 struct ntfs_run *new_ptr = kvmalloc(bytes, GFP_KERNEL); in run_clone()