Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ntfs3/
Dntfs_fs.h223 CLST zone_max; // Maximum MFT zone length in clusters
224 CLST bad_clusters; // The count of marked bad clusters.
230 CLST objid_no;
231 CLST quota_no;
232 CLST reparse_no;
233 CLST usn_jrnl_no;
262 CLST next_free_lcn;
321 CLST rno;
413 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc,
414 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr,
[all …]
Drun.c21 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 …]
Dattrib.c88 struct runs_tree *run, const CLST *vcn) in attr_load_runs()
91 CLST svcn = le64_to_cpu(attr->nres.svcn); in attr_load_runs()
92 CLST evcn = le64_to_cpu(attr->nres.evcn); in attr_load_runs()
117 CLST vcn, CLST len, CLST *done, bool trim) in run_deallocate_ex()
120 CLST vcn_next, vcn0 = vcn, lcn, clen, dn = 0; in run_deallocate_ex()
173 CLST vcn, CLST lcn, CLST len, CLST *pre_alloc, in attr_allocate_clusters()
174 enum ALLOCATE_OPT opt, CLST *alen, const size_t fr, in attr_allocate_clusters()
175 CLST *new_lcn) in attr_allocate_clusters()
178 CLST flen, vcn0 = vcn, pre = pre_alloc ? *pre_alloc : 0; in attr_allocate_clusters()
243 CLST len, alen; in attr_make_nonresident()
[all …]
Dfsntfs.c356 int ntfs_look_for_free_space(struct ntfs_sb_info *sbi, CLST lcn, CLST len, in ntfs_look_for_free_space()
357 CLST *new_lcn, CLST *new_len, in ntfs_look_for_free_space()
361 CLST alen; in ntfs_look_for_free_space()
385 alen = min_t(CLST, len, zlen); in ntfs_look_for_free_space()
478 new_mft_total = (wnd->nbits + MFT_INCREASE_CHUNK + 127) & (CLST)~127; in ntfs_extend_mft()
527 int ntfs_look_free_mft(struct ntfs_sb_info *sbi, CLST *rno, bool mft, in ntfs_look_free_mft()
708 void ntfs_mark_rec_free(struct ntfs_sb_info *sbi, CLST rno, bool is_mft) in ntfs_mark_rec_free()
786 CLST lcn, vcn, len; in ntfs_refresh_zone()
1085 CLST lcn, clen, vcn = vbo >> cluster_bits, vcn_next; in ntfs_sb_write_run()
1132 CLST lcn; in ntfs_bread_run()
[all …]
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()
139 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex()
166 CLST rno; in ni_load_mi()
188 const __le16 *name, u8 name_len, const CLST *vcn, in ni_find_attr()
282 const __le16 *name, u8 name_len, CLST vcn, in ni_load_attr()
347 CLST rno = ino_get(&le->ref); in ni_load_all_mi()
363 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_add_subrecord()
458 CLST svcn, struct ATTR_LIST_ENTRY **ins_le) in ni_ins_new_attr()
525 CLST alloc = 0; in ni_repack()
[all …]
Dattrlist.c156 CLST svcn = attr_svcn(attr); in al_find_le()
172 u8 name_len, const CLST *vcn) in al_find_ex()
229 u8 name_len, CLST vcn) in al_find_le_to_insert()
271 u8 name_len, CLST svcn, __le16 id, const struct MFT_REF *ref, in al_add_le()
372 bool al_delete_le(struct ntfs_inode *ni, enum ATTR_TYPE type, CLST vcn, in al_delete_le()
Dfile.c119 CLST vcn, lcn, clen; in ntfs_extend_initialized_size()
277 void ntfs_sparse_cluster(struct inode *inode, struct page *page0, CLST vcn, in ntfs_sparse_cluster()
278 CLST len) in ntfs_sparse_cluster()
381 CLST lcn, len; in ntfs_file_mmap()
382 CLST vcn = from >> sbi->cluster_bits; in ntfs_file_mmap()
383 CLST end = bytes_to_cluster(sbi, to); in ntfs_file_mmap()
696 CLST vcn_v = ni->i_valid >> sbi->cluster_bits; in ntfs_fallocate()
697 CLST vcn = vbo >> sbi->cluster_bits; in ntfs_fallocate()
698 CLST cend = bytes_to_cluster(sbi, end); in ntfs_fallocate()
699 CLST lcn, clen; in ntfs_fallocate()
[all …]
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()
343 int mi_format_new(struct mft_inode *mi, struct ntfs_sb_info *sbi, CLST rno, in mi_format_new()
541 struct runs_tree *run, CLST len) in mi_pack_runs()
546 CLST plen; in mi_pack_runs()
548 CLST svcn = le64_to_cpu(attr->nres.svcn); in mi_pack_runs()
Dntfs.h74 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)
189 static inline CLST ino_get(const struct MFT_REF *ref) in ino_get()
645 static inline void de_set_vbn(struct NTFS_DE *e, CLST vcn) in de_set_vbn()
657 static inline CLST de_get_vbn(const struct NTFS_DE *e) in de_get_vbn()
Dindex.c210 CLST vcn = off >> sbi->cluster_bits; in bmp_buf_get()
379 CLST lcn, clen, vcn, vcn_next; in scan_nres_bitmap()
861 struct ntfs_inode *ni, CLST vbn, in indx_new()
956 int indx_read(struct ntfs_index *indx, struct ntfs_inode *ni, CLST vbn, in indx_read()
1218 CLST next_used_vbn; in indx_find_raw()
1219 CLST next_vbn; in indx_find_raw()
1329 CLST *vbn) in indx_create_allocate()
1337 CLST len = alloc_size >> sbi->cluster_bits; in indx_create_allocate()
1339 CLST alen; in indx_create_allocate()
1386 CLST *vbn) in indx_add_allocate()
[all …]
Dbitmap.c510 CLST lcn, clen; in wnd_rescan()
683 CLST lcn, clen; in wnd_map()
1409 CLST len = 0, lcn = 0, done = 0; in ntfs_trim_fs()
1410 CLST minlen = bytes_to_cluster(sbi, range->minlen); in ntfs_trim_fs()
1411 CLST lcn_from = bytes_to_cluster(sbi, range->start); in ntfs_trim_fs()
1415 CLST lcn_to; in ntfs_trim_fs()
1428 CLST lcn_wnd = iw * wbits; in ntfs_trim_fs()
Dsuper.c879 sbi->zone_max = min_t(CLST, 0x20000000 >> sbi->cluster_bits, clusters >> 3); in ntfs_init_from_boot()
900 CLST vcn, lcn, len; in ntfs_fill_super()
1290 void ntfs_unmap_meta(struct super_block *sb, CLST lcn, CLST len) in ntfs_unmap_meta()
1319 int ntfs_discard(struct ntfs_sb_info *sbi, CLST lcn, CLST len) in ntfs_discard()
Dinode.c531 CLST vcn, lcn, len; in ntfs_get_block_vbo()
1175 CLST ino = 0; in ntfs_create_inode()
1186 CLST vcn; in ntfs_create_inode()
1489 CLST alen; in ntfs_create_inode()
1490 CLST clst = bytes_to_cluster(sbi, nsize); in ntfs_create_inode()
Dfslog.c2967 const struct ATTRIB *attr, CLST rno) in find_loaded_attr()
3041 CLST rno = 0, rno_base = 0; in do_action()
3754 CLST rno, lcn, lcn0, len0, clen; in log_replay()
4772 CLST svcn = le64_to_cpu(attr->nres.svcn); in log_replay()