Lines Matching refs:CLST

21 	CLST vcn; /* Virtual cluster number. */
22 CLST len; /* Length in clusters. */
23 CLST lcn; /* Logical cluster number. */
34 static bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *index) in run_lookup()
104 CLST end = r->vcn + r->len; in run_consolidate()
105 CLST dl; in run_consolidate()
167 bool run_is_mapped_full(const struct runs_tree *run, CLST svcn, CLST evcn) in run_is_mapped_full()
171 CLST next_vcn; in run_is_mapped_full()
192 bool run_lookup_entry(const struct runs_tree *run, CLST vcn, CLST *lcn, in run_lookup_entry()
193 CLST *len, size_t *index) in run_lookup_entry()
196 CLST gap; in run_lookup_entry()
228 void run_truncate_head(struct runs_tree *run, CLST vcn) in run_truncate_head()
237 CLST dlen = vcn - r->vcn; in run_truncate_head()
263 void run_truncate(struct runs_tree *run, CLST vcn) in run_truncate()
300 void run_truncate_around(struct runs_tree *run, CLST vcn) in run_truncate_around()
316 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST len, in run_add_entry()
322 CLST tail_vcn = 0, tail_len = 0, tail_lcn = 0; in run_add_entry()
430 CLST to_eat = vcn - r->vcn; in run_add_entry()
431 CLST Tovcn = to_eat + len; in run_add_entry()
489 bool run_collapse_range(struct runs_tree *run, CLST vcn, CLST len) in run_collapse_range()
493 CLST end; in run_collapse_range()
523 CLST d; in run_collapse_range()
555 bool run_insert_range(struct runs_tree *run, CLST vcn, CLST len) in run_insert_range()
576 CLST len1 = vcn - r->vcn; in run_insert_range()
577 CLST len2 = r->len - len1; in run_insert_range()
578 CLST lcn2 = r->lcn == SPARSE_LCN ? SPARSE_LCN : (r->lcn + len1); in run_insert_range()
595 bool run_get_entry(const struct runs_tree *run, size_t index, CLST *vcn, in run_get_entry()
596 CLST *lcn, CLST *len) in run_get_entry()
817 int run_pack(const struct runs_tree *run, CLST svcn, CLST len, u8 *run_buf, in run_pack()
818 u32 run_buf_size, CLST *packed_vcns) in run_pack()
820 CLST next_vcn, vcn, lcn; in run_pack()
821 CLST prev_lcn = 0; in run_pack()
822 CLST evcn1 = svcn + len; in run_pack()
920 int run_unpack(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino, in run_unpack()
921 CLST svcn, CLST evcn, CLST vcn, const u8 *run_buf, in run_unpack()
1052 int run_unpack_ex(struct runs_tree *run, struct ntfs_sb_info *sbi, CLST ino, in run_unpack_ex()
1053 CLST svcn, CLST evcn, CLST vcn, const u8 *run_buf, in run_unpack_ex()
1057 CLST next_vcn, lcn, len; in run_unpack_ex()
1119 int run_get_highest_vcn(CLST vcn, const u8 *run_buf, u64 *highest_vcn) in run_get_highest_vcn()