/linux-6.12.1/fs/ntfs3/ |
D | ntfs_fs.h | 233 CLST zone_max; // Maximum MFT zone length in clusters 234 CLST bad_clusters; // The count of marked bad clusters. 240 CLST objid_no; 241 CLST quota_no; 242 CLST reparse_no; 243 CLST usn_jrnl_no; 272 CLST next_free_lcn; 331 CLST rno; 424 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, 425 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr, [all …]
|
D | run.c | 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() [all …]
|
D | attrib.c | 61 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() 97 CLST vcn_next, vcn0 = vcn, lcn, clen, dn = 0; in run_deallocate_ex() 150 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, in attr_allocate_clusters() 151 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr, in attr_allocate_clusters() 152 CLST *new_lcn, CLST *new_len) in attr_allocate_clusters() 155 CLST flen, vcn0 = vcn, pre = pre_alloc ? *pre_alloc : 0; in attr_allocate_clusters() 236 CLST len, alen; in attr_make_nonresident() [all …]
|
D | fsntfs.c | 352 int ntfs_look_for_free_space(struct ntfs_sb_info *sbi, CLST lcn, CLST len, in ntfs_look_for_free_space() 353 CLST *new_lcn, CLST *new_len, in ntfs_look_for_free_space() 357 CLST alen; in ntfs_look_for_free_space() 381 alen = min_t(CLST, len, zlen); in ntfs_look_for_free_space() 452 bool ntfs_check_for_free_space(struct ntfs_sb_info *sbi, CLST clen, CLST mlen) in ntfs_check_for_free_space() 556 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft, in ntfs_look_free_mft() 737 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft) in ntfs_mark_rec_free() 815 CLST lcn, vcn, len; in ntfs_refresh_zone() 1133 CLST lcn, clen, vcn = vbo >> cluster_bits, vcn_next; in ntfs_sb_write_run() 1180 CLST lcn; in ntfs_bread_run() [all …]
|
D | file.c | 197 CLST vcn, lcn, clen; in ntfs_extend_initialized_size() 363 CLST lcn, len; in ntfs_file_mmap() 364 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap() 365 CLST end = bytes_to_cluster(sbi, to); in ntfs_file_mmap() 426 CLST vcn = pos >> sbi->cluster_bits; in ntfs_extend() 427 CLST cend = bytes_to_cluster(sbi, end); in ntfs_extend() 428 CLST cend_v = bytes_to_cluster(sbi, ni->i_valid); in ntfs_extend() 429 CLST lcn, clen; in ntfs_extend() 726 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate() 727 CLST cend = bytes_to_cluster(sbi, end); in ntfs_fallocate() [all …]
|
D | frecord.c | 21 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() 141 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex() 168 CLST rno; in ni_load_mi() 190 const __le16 *name, u8 name_len, const CLST *vcn, in ni_find_attr() 285 const __le16 *name, u8 name_len, CLST vcn, in ni_load_attr() 350 CLST rno = ino_get(&le->ref); in ni_load_all_mi() 366 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_add_subrecord() 461 CLST svcn, struct ATTR_LIST_ENTRY **ins_le) in ni_ins_new_attr() 531 CLST alloc = 0; in ni_repack() [all …]
|
D | ntfs.h | 74 typedef u64 CLST; typedef 77 typedef u32 CLST; typedef 81 #define SPARSE_LCN ((CLST)-1) 82 #define RESIDENT_LCN ((CLST)-2) 83 #define COMPRESSED_LCN ((CLST)-3) 183 static inline CLST ino_get(const struct MFT_REF *ref) in ino_get() 643 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn() 655 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
|
D | record.c | 71 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() 399 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new() 609 struct runs_tree *run, CLST len) in mi_pack_runs() 614 CLST plen; in mi_pack_runs() 616 CLST svcn = le64_to_cpu(attr->nres.svcn); in mi_pack_runs()
|
D | attrlist.c | 172 CLST svcn = attr_svcn(attr); in al_find_le() 188 u8 name_len, const CLST *vcn) in al_find_ex() 245 u8 name_len, CLST vcn) in al_find_le_to_insert() 287 u8 name_len, CLST svcn, __le16 id, const struct MFT_REF *ref, in al_add_le()
|
D | index.c | 210 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get() 379 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap() 635 const CLST *vbn) in index_buf_check() 932 struct ntfs_inode *ni, CLST vbn, in indx_new() 1037 int indx_read(struct ntfs_index *indx, struct ntfs_inode *ni, CLST vbn, in indx_read() 1321 CLST next_used_vbn; in indx_find_raw() 1322 CLST next_vbn; in indx_find_raw() 1432 CLST *vbn) in indx_create_allocate() 1440 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate() 1442 CLST alen; in indx_create_allocate() [all …]
|
D | bitmap.c | 510 CLST lcn, clen; in wnd_rescan() 683 CLST lcn, clen; in wnd_map() 1436 CLST len = 0, lcn = 0, done = 0; in ntfs_trim_fs() 1437 CLST minlen = bytes_to_cluster(sbi, range->minlen); in ntfs_trim_fs() 1438 CLST lcn_from = bytes_to_cluster(sbi, range->start); in ntfs_trim_fs() 1441 CLST lcn_to; in ntfs_trim_fs() 1454 CLST lcn_wnd = iw * wbits; in ntfs_trim_fs()
|
D | super.c | 1116 sbi->zone_max = min_t(CLST, 0x20000000 >> cluster_bits, clusters >> 3); in ntfs_init_from_boot() 1164 CLST vcn, lcn, len; in ntfs_fill_super() 1621 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_unmap_meta() 1650 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard()
|
D | inode.c | 574 CLST vcn, lcn, len; in ntfs_get_block_vbo() 1196 CLST ino = 0; in ntfs_create_inode() 1207 CLST vcn; in ntfs_create_inode() 1527 CLST alen; in ntfs_create_inode() 1528 CLST clst = bytes_to_cluster(sbi, nsize); in ntfs_create_inode()
|
D | fslog.c | 2969 const struct ATTRIB *attr, CLST rno) in find_loaded_attr() 3043 CLST rno = 0, rno_base = 0; in do_action() 3755 CLST rno, lcn, lcn0, len0, clen; in log_replay() 4785 CLST svcn = le64_to_cpu(attr->nres.svcn); in log_replay()
|