Home
last modified time | relevance | path

Searched refs:CLST (Results 1 – 14 of 14) sorted by relevance

/linux/fs/ntfs3/
H A Dntfs_fs.h236 CLST zone_max; // Maximum MFT zone length in clusters
237 CLST bad_clusters; // The count of marked bad clusters.
243 CLST objid_no;
244 CLST quota_no;
245 CLST reparse_no;
246 CLST usn_jrnl_no;
275 CLST next_free_lcn;
340 CLST rno;
461 struct runs_tree *run_da, CLST vcn, CLST lcn,
462 CLST len, CLST *pre_alloc, enum ALLOCATE_OPT opt,
[all …]
H A Drun.c22 CLST vcn; /* Virtual cluster number. */
23 CLST len; /* Length in clusters. */
24 CLST lcn; /* Logical cluster number. */
35 static bool run_lookup(const struct runs_tree *run, CLST vcn, size_t *index) in run_lookup()
105 CLST end = r->vcn + r->len; in run_consolidate()
106 CLST dl; in run_consolidate()
168 bool run_is_mapped_full(const struct runs_tree *run, CLST svcn, CLST evcn) in run_is_mapped_full()
172 CLST next_vcn; in run_is_mapped_full()
193 bool run_lookup_entry(const struct runs_tree *run, CLST vcn, CLST *lcn, in run_lookup_entry()
194 CLST *len, size_t *index) in run_lookup_entry()
[all …]
H A Dattrib.c61 struct runs_tree *run, const CLST *vcn) in attr_load_runs()
64 CLST svcn = le64_to_cpu(attr->nres.svcn); in attr_load_runs()
65 CLST evcn = le64_to_cpu(attr->nres.evcn); in attr_load_runs()
94 CLST vcn, CLST len, CLST *done, bool trim, in run_deallocate_ex()
98 CLST vcn_next, vcn0 = vcn, lcn, clen, dn = 0; in run_deallocate_ex()
126 CLST da_len; in run_deallocate_ex()
161 struct runs_tree *run_da, CLST vcn, CLST lcn, in attr_allocate_clusters()
162 CLST len, CLST *pre_alloc, enum ALLOCATE_OPT opt, in attr_allocate_clusters()
163 CLST *alen, const size_t fr, CLST *new_lcn, in attr_allocate_clusters()
164 CLST *new_len) in attr_allocate_clusters()
[all …]
H A Dfsntfs.c358 int ntfs_look_for_free_space(struct ntfs_sb_info *sbi, CLST lcn, CLST len, in ntfs_look_for_free_space()
359 CLST *new_lcn, CLST *new_len, in ntfs_look_for_free_space()
363 CLST alen; in ntfs_look_for_free_space()
387 alen = min_t(CLST, len, zlen); in ntfs_look_for_free_space()
458 bool ntfs_check_free_space(struct ntfs_sb_info *sbi, CLST clen, CLST mlen, in ntfs_check_free_space()
463 CLST da_clusters = ntfs_get_da(sbi); in ntfs_check_free_space()
585 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft, in ntfs_look_free_mft()
766 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft) in ntfs_mark_rec_free()
844 CLST lcn, vcn, len; in ntfs_refresh_zone()
1132 CLST lcn, clen, vcn = vbo >> cluster_bits, vcn_next; in ntfs_sb_write_run()
[all …]
H A Dntfs.h74 typedef u64 CLST; typedef
77 typedef u32 CLST; typedef
82 #define SPARSE_LCN ((CLST)-1)
84 #define RESIDENT_LCN ((CLST)-2)
85 #define COMPRESSED_LCN ((CLST)-3)
86 #define EOF_LCN ((CLST)-4)
87 #define DELALLOC_LCN ((CLST)-5)
188 static inline CLST ino_get(const struct MFT_REF *ref) in ino_get()
647 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn()
659 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
H A Drecord.c71 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi) in mi_get()
101 int mi_init(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno) in mi_init()
442 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new()
652 const struct runs_tree *run, CLST len) in mi_pack_runs()
657 CLST plen; in mi_pack_runs()
659 CLST svcn = le64_to_cpu(attr->nres.svcn); in mi_pack_runs()
H A Dattrlist.c184 CLST svcn = attr_svcn(attr); in al_find_le()
200 u8 name_len, const CLST *vcn) in al_find_ex()
258 u8 name_len, CLST vcn) in al_find_le_to_insert()
301 u8 name_len, CLST svcn, __le16 id, const struct MFT_REF *ref, in al_add_le()
H A Dfrecord.c21 CLST ino, struct rb_node *ins) in ni_ins_mi()
50 static struct mft_inode *ni_find_mi(struct ntfs_inode *ni, CLST rno) in ni_find_mi()
150 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex()
203 const __le16 *name, u8 name_len, const CLST *vcn, in ni_find_attr()
311 CLST rno = ino_get(&le->ref); in ni_load_all_mi()
327 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_add_subrecord()
427 CLST svcn, struct ATTR_LIST_ENTRY **ins_le) in ni_ins_new_attr()
498 CLST alloc = 0; in ni_repack()
500 CLST svcn, evcn = 0, svcn_p, evcn_p, next_svcn; in ni_repack()
777 CLST rno = 0; in ni_create_attr_list()
[all …]
H A Dindex.c210 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get()
377 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap()
668 const CLST *vbn) in index_buf_check()
963 struct ntfs_inode *ni, CLST vbn, in indx_new()
1068 int indx_read_ra(struct ntfs_index *indx, struct ntfs_inode *ni, CLST vbn, in indx_read_ra()
1364 CLST next_used_vbn; in indx_find_raw()
1365 CLST next_vbn; in indx_find_raw()
1475 CLST *vbn) in indx_create_allocate()
1483 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate()
1485 CLST alen; in indx_create_allocate()
[all …]
H A Dfile.c424 CLST lcn, len; in ntfs_file_mmap_prepare()
425 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap_prepare()
426 CLST end = bytes_to_cluster(sbi, to); in ntfs_file_mmap_prepare()
661 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate()
662 CLST cend = bytes_to_cluster(sbi, end); in ntfs_fallocate()
663 CLST lcn, clen; in ntfs_fallocate()
1003 CLST frame; in ntfs_compress_write()
1031 CLST lcn, clen; in ntfs_compress_write()
H A Dbitmap.c510 CLST lcn, clen; in wnd_rescan()
700 CLST lcn, clen; in wnd_map()
1426 CLST len = 0, lcn = 0, done = 0; in ntfs_trim_fs()
1427 CLST minlen = bytes_to_cluster(sbi, range->minlen); in ntfs_trim_fs()
1428 CLST lcn_from = bytes_to_cluster(sbi, range->start); in ntfs_trim_fs()
1431 CLST lcn_to; in ntfs_trim_fs()
1444 CLST lcn_wnd = iw * wbits; in ntfs_trim_fs()
H A Dsuper.c744 CLST da_clusters = ntfs_get_da(sbi); in ntfs_statfs()
1227 sbi->zone_max = min_t(CLST, 0x20000000 >> cluster_bits, clusters >> 3); in ntfs_init_from_boot()
1277 CLST vcn, lcn, len; in ntfs_fill_super()
1465 CLST svcn, evcn; in ntfs_fill_super()
1776 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_unmap_meta()
1805 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard()
H A Dinode.c940 CLST vcn = offset >> cluster_bits; in ntfs_iomap_begin()
946 CLST lcn, clen, clen_max = 1; in ntfs_iomap_begin()
1393 CLST ino = 0; in ntfs_create_inode()
1404 CLST vcn; in ntfs_create_inode()
1738 CLST alen; in ntfs_create_inode()
1739 CLST clst = bytes_to_cluster(sbi, nsize); in ntfs_create_inode()
H A Dfslog.c3036 const struct ATTRIB *attr, CLST rno) in find_loaded_attr()
3130 CLST rno = 0, rno_base = 0; in do_action()
3866 CLST rno, lcn, lcn0, len0, clen; in log_replay()
4951 CLST svcn = le64_to_cpu(attr->nres.svcn); in log_replay()