Home
last modified time | relevance | path

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

/linux/fs/ntfs3/
H A Dntfs_fs.h241 CLST zone_max; // Maximum MFT zone length in clusters
242 CLST bad_clusters; // The count of marked bad clusters.
248 CLST objid_no;
249 CLST quota_no;
250 CLST reparse_no;
251 CLST usn_jrnl_no;
280 CLST next_free_lcn;
345 CLST rno;
413 * TODO: use 2 CLST per pair instead of 3.
466 struct runs_tree *run_da, CLST vc
[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.c62 struct runs_tree *run, const CLST *vcn) in attr_load_runs()
65 CLST svcn, evcn; in attr_load_runs()
100 CLST vcn, CLST len, CLST *done, bool trim, in run_deallocate_ex()
104 CLST vcn_next, vcn0 = vcn, lcn, clen, dn = 0; in run_deallocate_ex()
132 CLST da_len; in run_deallocate_ex()
167 struct runs_tree *run_da, CLST vcn, CLST lcn, in attr_allocate_clusters()
168 CLST le 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 *rn
[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 rn in ni_create_attr_list()
[all...]
H A Dindex.c211 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get()
378 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap()
671 const CLST *vbn) in index_buf_check()
966 struct ntfs_inode *ni, CLST vbn, in indx_new()
1071 int indx_read_ra(struct ntfs_index *indx, struct ntfs_inode *ni, CLST vbn, in indx_read_ra()
1369 CLST next_used_vbn; in indx_find_raw()
1370 CLST next_vbn; in indx_find_raw()
1480 CLST *vbn) in indx_create_allocate()
1488 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate()
1490 CLST ale in indx_create_allocate()
[all...]
H A Dfile.c428 CLST lcn, len; in ntfs_file_mmap_prepare()
429 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap_prepare()
430 CLST end = bytes_to_cluster(sbi, to); in ntfs_file_mmap_prepare()
665 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate()
666 CLST cend = bytes_to_cluster(sbi, end); in ntfs_fallocate()
667 CLST lcn, clen; in ntfs_fallocate()
1009 CLST frame; in ntfs_compress_write()
1037 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.c789 CLST da_clusters = ntfs_get_da(sbi); in ntfs_show_options()
1277 sbi->zone_max = min_t(CLST, 0x20000000 >> cluster_bits, clusters >> 3); in ntfs_init_from_boot()
1329 CLST vcn, lcn, len; in ntfs_fill_super()
1517 CLST svcn, evcn; in ntfs_fill_super()
1832 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_discard()
1861 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard()
H A Dinode.c947 CLST vcn = offset >> cluster_bits; in ntfs_iomap_begin()
953 CLST lcn, clen, clen_max = 1; in ntfs_iomap_begin()
1411 CLST ino = 0; in ntfs_create_inode()
1422 CLST vcn; in ntfs_create_inode()
1758 CLST alen; in ntfs_create_inode()
1759 CLST clst = bytes_to_cluster(sbi, nsize); in ntfs_create_inode()
H A Dfslog.c3019 // CLST rno;
3036 const struct ATTRIB *attr, CLST rno) in find_loaded_attr()
3130 CLST rno = 0, rno_base = 0; in do_action()
3883 CLST rno, lcn, lcn0, len0, clen; in log_replay()
4968 CLST svcn = le64_to_cpu(attr->nres.svcn); in log_replay()