| /linux-6.15/fs/ntfs3/ |
| H A D | ntfs_fs.h | 331 CLST rno; 424 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, 426 CLST *new_lcn, CLST *new_len); 435 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, 449 CLST frame, CLST *clst_data, 542 const struct runs_tree *run, CLST svcn, CLST len, 602 CLST *new_lcn, CLST *new_len, 798 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST len, 803 CLST *lcn, CLST *len); 809 CLST svcn, CLST evcn, CLST vcn, const u8 *run_buf, [all …]
|
| H A D | run.c | 105 CLST dl; in run_consolidate() 171 CLST next_vcn; in run_is_mapped_full() 196 CLST gap; in run_lookup_entry() 316 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST 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() 596 CLST *lcn, CLST *len) in run_get_entry() 921 CLST svcn, CLST evcn, CLST vcn, const u8 *run_buf, in run_unpack() [all …]
|
| H A D | attrib.c | 94 CLST vcn, CLST len, CLST *done, bool trim) in run_deallocate_ex() 150 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, in attr_allocate_clusters() 152 CLST *new_lcn, CLST *new_len) in attr_allocate_clusters() 236 CLST len, alen; in attr_make_nonresident() 702 CLST dlen = 0; in attr_set_size() 886 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, in attr_data_get_block() 1311 CLST svcn, evcn; in attr_load_runs_vcn() 1354 CLST vcn; in attr_load_runs_range() 1356 CLST lcn, clen; in attr_load_runs_range() 1529 CLST frame, CLST *clst_data, struct runs_tree *run) in attr_is_frame_compressed() [all …]
|
| H A 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() 815 CLST lcn, vcn, len; in ntfs_refresh_zone() 1156 CLST lcn; in ntfs_bread_run() 1177 CLST lcn, clen; in ntfs_read_run_nb() 1306 CLST lcn, clen; in ntfs_get_bh() 1579 CLST lcn, clen; in ntfs_bio_fill_1() 1646 CLST lcn, len; in ntfs_vbo_to_lbo() 2448 CLST len) in ntfs_unmap_and_discard() [all …]
|
| H A D | file.c | 217 CLST vcn, lcn, clen; in ntfs_extend_initialized_size() 383 CLST lcn, len; in ntfs_file_mmap() 384 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap() 385 CLST end = bytes_to_cluster(sbi, to); in ntfs_file_mmap() 447 CLST vcn = pos >> sbi->cluster_bits; in ntfs_extend() 448 CLST cend = bytes_to_cluster(sbi, end); in ntfs_extend() 450 CLST lcn, clen; in ntfs_extend() 747 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate() 750 CLST lcn, clen; in ntfs_fallocate() 1007 CLST frame; in ntfs_compress_write() [all …]
|
| H A 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()
|
| H A D | frecord.c | 170 CLST rno; in ni_load_mi() 479 CLST alloc = 0; in ni_repack() 757 CLST rno = 0; in ni_create_attr_list() 897 CLST rno; in ni_ins_attr_ext() 1391 const struct runs_tree *run, CLST svcn, CLST len, in ni_insert_nonresident() 1396 CLST plen; in ni_insert_nonresident() 1525 CLST svcn, evcn; in ni_delete_all() 1866 CLST lcn, clen; in ni_fiemap() 1952 CLST clst_data; in ni_fiemap() 2038 CLST frame; in ni_readpage_cmpr() [all …]
|
| H A 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() 414 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new() 624 struct runs_tree *run, CLST len) in mi_pack_runs() 629 CLST plen; in mi_pack_runs() 631 CLST svcn = le64_to_cpu(attr->nres.svcn); in mi_pack_runs()
|
| H A 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()
|
| H A D | index.c | 379 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap() 635 const CLST *vbn) in index_buf_check() 1319 CLST next_used_vbn; in indx_find_raw() 1320 CLST next_vbn; in indx_find_raw() 1430 CLST *vbn) in indx_create_allocate() 1440 CLST alen; in indx_create_allocate() 1487 CLST *vbn) in indx_add_allocate() 1584 CLST new_vbn; in indx_insert_into_root() 1798 CLST new_vbn; in indx_insert_into_buffer() 2116 CLST vbn = de_get_vbn(e); in indx_free_children() [all …]
|
| H A D | bitmap.c | 510 CLST lcn, clen; in wnd_rescan() 683 CLST lcn, clen; in wnd_map() 1408 CLST len = 0, lcn = 0, done = 0; in ntfs_trim_fs() 1409 CLST minlen = bytes_to_cluster(sbi, range->minlen); in ntfs_trim_fs() 1410 CLST lcn_from = bytes_to_cluster(sbi, range->start); in ntfs_trim_fs() 1413 CLST lcn_to; in ntfs_trim_fs() 1426 CLST lcn_wnd = iw * wbits; in ntfs_trim_fs()
|
| H A D | super.c | 1157 sbi->zone_max = min_t(CLST, 0x20000000 >> cluster_bits, clusters >> 3); in ntfs_init_from_boot() 1205 CLST vcn, lcn, len; in ntfs_fill_super() 1649 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_unmap_meta() 1678 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard()
|
| H A D | inode.c | 577 CLST vcn, lcn, len; in ntfs_get_block_vbo() 1159 CLST ino = 0; in ntfs_create_inode() 1170 CLST vcn; in ntfs_create_inode() 1490 CLST alen; in ntfs_create_inode() 1491 CLST clst = bytes_to_cluster(sbi, nsize); in ntfs_create_inode()
|
| H A 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()
|