/linux/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); 544 const struct runs_tree *run, CLST svcn, CLST len, 604 CLST *new_lcn, CLST *new_len, 802 bool run_add_entry(struct runs_tree *run, CLST vcn, CLST lcn, CLST len, 807 CLST *lcn, CLST *len); 813 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() 885 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, in attr_data_get_block() 1310 CLST svcn, evcn; in attr_load_runs_vcn() 1353 CLST vcn; in attr_load_runs_range() 1355 CLST lcn, clen; in attr_load_runs_range() 1527 CLST frame, CLST *clst_data) 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() 1180 CLST lcn; in ntfs_bread_run() 1201 CLST lcn, clen; in ntfs_read_run_nb() 1330 CLST lcn, clen; in ntfs_get_bh() 1603 CLST lcn, clen; in ntfs_bio_fill_1() 1670 CLST lcn, len; in ntfs_vbo_to_lbo() 2472 CLST len) in ntfs_unmap_and_discard() [all …]
|
H A 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() 429 CLST lcn, clen; in ntfs_extend() 726 CLST vcn = vbo >> cluster_bits; in ntfs_fallocate() 729 CLST lcn, clen; in ntfs_fallocate() 986 CLST frame; in ntfs_compress_write() [all …]
|
H A D | frecord.c | 168 CLST rno; in ni_load_mi() 531 CLST alloc = 0; in ni_repack() 809 CLST rno = 0; in ni_create_attr_list() 949 CLST rno; in ni_ins_attr_ext() 1443 const struct runs_tree *run, CLST svcn, CLST len, in ni_insert_nonresident() 1448 CLST plen; in ni_insert_nonresident() 1577 CLST svcn, evcn; in ni_delete_all() 1960 CLST lcn, clen; in ni_fiemap() 2068 CLST clst_data; in ni_fiemap() 2165 CLST frame; in ni_readpage_cmpr() [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 | 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()
|
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() 1321 CLST next_used_vbn; in indx_find_raw() 1322 CLST next_vbn; in indx_find_raw() 1432 CLST *vbn) in indx_create_allocate() 1442 CLST alen; in indx_create_allocate() 1489 CLST *vbn) in indx_add_allocate() 1586 CLST new_vbn; in indx_insert_into_root() 1800 CLST new_vbn; in indx_insert_into_buffer() 2118 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() 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()
|
H A 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()
|
H A 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()
|
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()
|