Lines Matching refs:runs_tree
114 #define RUN_DEALLOCATE ((struct runs_tree *)(size_t)1)
117 struct runs_tree { struct
147 struct runs_tree run;
190 struct runs_tree bitmap_run;
191 struct runs_tree alloc_run;
384 struct runs_tree run;
392 struct runs_tree run;
423 int attr_allocate_clusters(struct ntfs_sb_info *sbi, struct runs_tree *run,
429 u64 new_size, struct runs_tree *run,
432 const __le16 *name, u8 name_len, struct runs_tree *run,
440 const __le16 *name, u8 name_len, struct runs_tree *run,
443 const __le16 *name, u8 name_len, struct runs_tree *run,
446 struct runs_tree *run, u64 frame, u64 frames,
544 const struct runs_tree *run, CLST svcn, CLST len,
624 int ntfs_sb_write_run(struct ntfs_sb_info *sbi, const struct runs_tree *run,
627 const struct runs_tree *run, u64 vbo);
628 int ntfs_read_run_nb(struct ntfs_sb_info *sbi, const struct runs_tree *run,
630 int ntfs_read_bh(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo,
633 int ntfs_get_bh(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo,
637 int ntfs_bio_pages(struct ntfs_sb_info *sbi, const struct runs_tree *run,
640 int ntfs_bio_fill_1(struct ntfs_sb_info *sbi, const struct runs_tree *run);
641 int ntfs_vbo_to_lbo(struct ntfs_sb_info *sbi, const struct runs_tree *run,
662 int run_deallocate(struct ntfs_sb_info *sbi, const struct runs_tree *run,
769 struct runs_tree *run, CLST len);
797 bool run_lookup_entry(const struct runs_tree *run, CLST vcn, CLST *lcn,
799 void run_truncate(struct runs_tree *run, CLST vcn);
800 void run_truncate_head(struct runs_tree *run, CLST vcn);
801 void run_truncate_around(struct runs_tree *run, CLST vcn);
802 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST len,
804 bool run_collapse_range(struct runs_tree *run, CLST vcn, CLST len);
805 bool run_insert_range(struct runs_tree *run, CLST vcn, CLST len);
806 bool run_get_entry(const struct runs_tree *run, size_t index, CLST *vcn,
808 bool run_is_mapped_full(const struct runs_tree *run, CLST svcn, CLST evcn);
810 int run_pack(const struct runs_tree *run, CLST svcn, CLST len, u8 *run_buf,
812 int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
817 int run_unpack_ex(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino,
824 int run_clone(const struct runs_tree *run, struct runs_tree *new_run);
925 static inline void run_init(struct runs_tree *run) in run_init()
932 static inline struct runs_tree *run_alloc(void) in run_alloc()
934 return kzalloc(sizeof(struct runs_tree), GFP_NOFS); in run_alloc()
937 static inline void run_close(struct runs_tree *run) in run_close()
943 static inline void run_free(struct runs_tree *run) in run_free()
951 static inline bool run_is_empty(struct runs_tree *run) in run_is_empty()
1134 struct runs_tree *run, CLST vcn) in attr_load_runs_attr()