/linux-6.1.9/fs/ntfs/ |
D | mft.h | 18 extern MFT_RECORD *map_mft_record(ntfs_inode *ni); 19 extern void unmap_mft_record(ntfs_inode *ni); 21 extern MFT_RECORD *map_extent_mft_record(ntfs_inode *base_ni, MFT_REF mref, 22 ntfs_inode **ntfs_ino); 24 static inline void unmap_extent_mft_record(ntfs_inode *ni) in unmap_extent_mft_record() 41 static inline void flush_dcache_mft_record_page(ntfs_inode *ni) in flush_dcache_mft_record_page() 46 extern void __mark_mft_record_dirty(ntfs_inode *ni); 59 static inline void mark_mft_record_dirty(ntfs_inode *ni) in mark_mft_record_dirty() 68 extern int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync); 88 static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync) in write_mft_record() [all …]
|
D | inode.h | 27 typedef struct _ntfs_inode ntfs_inode; typedef 113 ntfs_inode **extent_ntfs_inos; /* For nr_extents > 0, array of 118 ntfs_inode *base_ntfs_ino; /* For nr_extents == -1, the 169 static inline int NIno##flag(ntfs_inode *ni) \ 173 static inline void NInoSet##flag(ntfs_inode *ni) \ 177 static inline void NInoClear##flag(ntfs_inode *ni) \ 186 static inline int NInoTestSet##flag(ntfs_inode *ni) \ 190 static inline int NInoTestClear##flag(ntfs_inode *ni) \ 216 ntfs_inode ntfs_inode; member 226 static inline ntfs_inode *NTFS_I(struct inode *inode) in NTFS_I() [all …]
|
D | attrib.h | 42 ntfs_inode *ntfs_ino; 44 ntfs_inode *base_ntfs_ino; 49 extern int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, 51 extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn); 53 extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, 56 extern runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, 75 extern ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, 92 extern int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size); 94 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size, 97 extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt,
|
D | index.h | 62 ntfs_inode *idx_ni; 69 ntfs_inode *base_ni; 74 extern ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *idx_ni);
|
D | lcnalloc.h | 34 extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, 93 static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, in ntfs_cluster_free()
|
D | mft.c | 36 static inline MFT_RECORD *map_mft_record_page(ntfs_inode *ni) in map_mft_record_page() 144 MFT_RECORD *map_mft_record(ntfs_inode *ni) in map_mft_record() 180 static inline void unmap_mft_record_page(ntfs_inode *ni) in unmap_mft_record_page() 202 void unmap_mft_record(ntfs_inode *ni) in unmap_mft_record() 235 MFT_RECORD *map_extent_mft_record(ntfs_inode *base_ni, MFT_REF mref, in map_extent_mft_record() 236 ntfs_inode **ntfs_ino) in map_extent_mft_record() 239 ntfs_inode *ni = NULL; in map_extent_mft_record() 240 ntfs_inode **extent_nis = NULL; in map_extent_mft_record() 321 ntfs_inode **tmp; in map_extent_mft_record() 322 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in map_extent_mft_record() [all …]
|
D | inode.c | 49 ntfs_inode *ni; in ntfs_test_inode() 94 ntfs_inode *ni = NTFS_I(vi); in ntfs_init_locked_inode() 310 ntfs_inode *ni; in ntfs_alloc_big_inode() 327 static inline ntfs_inode *ntfs_alloc_extent_inode(void) in ntfs_alloc_extent_inode() 329 ntfs_inode *ni; in ntfs_alloc_extent_inode() 341 static void ntfs_destroy_extent_inode(ntfs_inode *ni) in ntfs_destroy_extent_inode() 368 void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni) in __ntfs_init_inode() 402 inline ntfs_inode *ntfs_new_extent_inode(struct super_block *sb, in ntfs_new_extent_inode() 405 ntfs_inode *ni = ntfs_alloc_extent_inode(); in ntfs_new_extent_inode() 527 ntfs_inode *ni; in ntfs_read_locked_inode() [all …]
|
D | aops.c | 51 ntfs_inode *ni; in ntfs_end_buffer_async_read() 171 ntfs_inode *ni; in ntfs_read_block() 383 ntfs_inode *ni, *base_ni; in ntfs_read_folio() 539 ntfs_inode *ni; in ntfs_write_block() 906 ntfs_inode *ni = NTFS_I(vi); in ntfs_write_mst_block() 910 ntfs_inode *locked_nis[PAGE_SIZE / NTFS_BLOCK_SIZE]; in ntfs_write_mst_block() 1117 ntfs_inode *tni; in ntfs_write_mst_block() 1261 ntfs_inode *tni, *base_tni; in ntfs_write_mst_block() 1342 ntfs_inode *base_ni = NULL, *ni = NTFS_I(vi); in ntfs_writepage() 1555 ntfs_inode *ni = NTFS_I(mapping->host); in ntfs_bmap() [all …]
|
D | dir.h | 31 extern MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni,
|
D | attrib.c | 70 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock() 74 ntfs_inode *base_ni; in ntfs_map_runlist_nolock() 284 int ntfs_map_runlist(ntfs_inode *ni, VCN vcn) in ntfs_map_runlist() 327 LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn, in ntfs_attr_vcn_to_lcn_nolock() 450 runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, const VCN vcn, in ntfs_attr_find_vcn_nolock() 872 ntfs_inode *base_ni, *ni; in ntfs_external_attr_find() 1202 ntfs_inode *base_ni; in ntfs_attr_lookup() 1228 ntfs_inode *ni, MFT_RECORD *mrec) in ntfs_attr_init_search_ctx() 1279 ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec) in ntfs_attr_get_search_ctx() 1545 int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size) in ntfs_attr_make_non_resident() [all …]
|
D | index.c | 25 ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *idx_ni) in ntfs_index_ctx_get() 109 ntfs_inode *idx_ni = ictx->idx_ni; in ntfs_index_lookup() 112 ntfs_inode *base_ni = idx_ni->ext.base_ntfs_ino; in ntfs_index_lookup()
|
D | namei.c | 166 ntfs_inode *ni = NTFS_I(dent_inode); in ntfs_lookup() 289 ntfs_inode *ni = NTFS_I(vi); in ntfs_get_parent()
|
/linux-6.1.9/fs/ntfs3/ |
D | ntfs_fs.h | 245 struct ntfs_inode *ni; 269 struct ntfs_inode *ni; 280 struct ntfs_inode *ni; 289 struct ntfs_inode *ni; 295 struct ntfs_inode *ni; 340 struct ntfs_inode { struct 416 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr, 420 int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type, 424 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn, 426 int attr_data_read_resident(struct ntfs_inode *ni, struct page *page); [all …]
|
D | attrlist.c | 19 static inline bool al_is_valid_le(const struct ntfs_inode *ni, in al_is_valid_le() 29 void al_destroy(struct ntfs_inode *ni) in al_destroy() 44 int ntfs_load_attr_list(struct ntfs_inode *ni, struct ATTRIB *attr) in ntfs_load_attr_list() 114 struct ATTR_LIST_ENTRY *al_enumerate(struct ntfs_inode *ni, in al_enumerate() 157 struct ATTR_LIST_ENTRY *al_find_le(struct ntfs_inode *ni, in al_find_le() 174 struct ATTR_LIST_ENTRY *al_find_ex(struct ntfs_inode *ni, in al_find_ex() 231 static struct ATTR_LIST_ENTRY *al_find_le_to_insert(struct ntfs_inode *ni, in al_find_le_to_insert() 275 int al_add_le(struct ntfs_inode *ni, enum ATTR_TYPE type, const __le16 *name, in al_add_le() 353 bool al_remove_le(struct ntfs_inode *ni, struct ATTR_LIST_ENTRY *le) in al_remove_le() 377 bool al_delete_le(struct ntfs_inode *ni, enum ATTR_TYPE type, CLST vcn, in al_delete_le() [all …]
|
D | namei.c | 68 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_lookup() 129 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_link() 169 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_unlink() 215 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_rmdir() 237 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_rename() 238 struct ntfs_inode *new_dir_ni = ntfs_i(new_dir); in ntfs_rename() 240 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_rename() 339 struct ntfs_inode *ni = ntfs_i(inode); in ntfs3_get_parent()
|
D | frecord.c | 20 static struct mft_inode *ni_ins_mi(struct ntfs_inode *ni, struct rb_root *tree, in ni_ins_mi() 50 static struct mft_inode *ni_find_mi(struct ntfs_inode *ni, CLST rno) in ni_find_mi() 58 static void ni_add_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_add_mi() 66 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_remove_mi() 74 struct ATTR_STD_INFO *ni_std(struct ntfs_inode *ni) in ni_std() 88 struct ATTR_STD_INFO5 *ni_std5(struct ntfs_inode *ni) in ni_std5() 101 void ni_clear(struct ntfs_inode *ni) in ni_clear() 139 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi) in ni_load_mi_ex() 163 int ni_load_mi(struct ntfs_inode *ni, const struct ATTR_LIST_ENTRY *le, in ni_load_mi() 186 struct ATTRIB *ni_find_attr(struct ntfs_inode *ni, struct ATTRIB *attr, in ni_find_attr() [all …]
|
D | file.c | 77 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getattr() 97 struct ntfs_inode *ni, in ntfs_extend_initialized_size() 354 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_file_mmap() 419 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_extend() 470 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_truncate() 536 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_fallocate() 764 struct ntfs_inode *ni = ntfs_i(inode); in ntfs3_setattr() 827 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_file_read_iter() 905 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_compress_write() 1126 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_file_write_iter() [all …]
|
D | index.c | 204 static int bmp_buf_get(struct ntfs_index *indx, struct ntfs_inode *ni, in bmp_buf_get() 316 static int indx_mark_used(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_used() 336 static int indx_mark_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_free() 360 static int scan_nres_bitmap(struct ntfs_inode *ni, struct ATTRIB *bitmap, in scan_nres_bitmap() 473 static int indx_find_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_find_free() 521 int indx_used_bit(struct ntfs_index *indx, struct ntfs_inode *ni, size_t *bit) in indx_used_bit() 861 struct ntfs_inode *ni, CLST vbn, in indx_new() 923 struct INDEX_ROOT *indx_get_root(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_get_root() 941 static int indx_write(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_write() 956 int indx_read(struct ntfs_index *indx, struct ntfs_inode *ni, CLST vbn, in indx_read() [all …]
|
D | xattr.c | 74 static int ntfs_read_ea(struct ntfs_inode *ni, struct EA_FULL **ea, in ntfs_read_ea() 158 static ssize_t ntfs_list_ea(struct ntfs_inode *ni, char *buffer, in ntfs_list_ea() 202 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_ea() 264 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_set_ea() 489 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_acl_ex() 700 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_listxattr() 722 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getxattr() 811 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_setxattr() 925 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_save_wsl_perm()
|
D | dir.c | 239 struct ntfs_inode *ni = ntfs_i(dir); in dir_search_u() 275 static inline int ntfs_filldir(struct ntfs_sb_info *sbi, struct ntfs_inode *ni, in ntfs_filldir() 320 static int ntfs_read_hdr(struct ntfs_sb_info *sbi, struct ntfs_inode *ni, in ntfs_read_hdr() 373 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_readdir() 488 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_dir_count()
|
D | inode.c | 28 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_read_mft() 533 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_block_vbo() 692 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_read_folio() 719 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_readahead() 764 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_direct_IO() 809 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_set_size() 842 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_writepage() 879 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_write_begin() 921 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_write_end() 1185 struct ntfs_inode *dir_ni = ntfs_i(dir); in ntfs_create_inode() [all …]
|
D | fsntfs.c | 251 int ntfs_loadlog_and_replay(struct ntfs_inode *ni, struct ntfs_sb_info *sbi) in ntfs_loadlog_and_replay() 472 struct ntfs_inode *ni = sbi->mft.ni; in ntfs_extend_mft() 528 struct ntfs_inode *ni, struct mft_inode **mi) in ntfs_look_free_mft() 584 struct ntfs_inode *ni; in ntfs_look_free_mft() 747 struct ntfs_inode *ni; in ntfs_clear_mft_tail() 789 struct ntfs_inode *ni = sbi->mft.ni; in ntfs_refresh_zone() 901 struct ntfs_inode *ni; in ntfs_set_state() 1635 struct ntfs_inode *ntfs_new_inode(struct ntfs_sb_info *sbi, CLST rno, bool dir) in ntfs_new_inode() 1640 struct ntfs_inode *ni; in ntfs_new_inode() 1815 struct ntfs_inode *ni; in ntfs_security_init() [all …]
|
D | attrib.c | 87 static int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni, in attr_load_runs() 237 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_make_nonresident() 362 static int attr_set_size_res(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_set_size_res() 410 int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type, 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() 1142 int attr_data_read_resident(struct ntfs_inode *ni, struct page *page) in attr_data_read_resident() 1178 int attr_data_write_resident(struct ntfs_inode *ni, struct page *page) in attr_data_write_resident() 1215 int attr_load_runs_vcn(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_load_runs_vcn() 1258 int attr_load_runs_range(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_load_runs_range() 1288 int attr_wof_frame_info(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_wof_frame_info() [all …]
|
D | super.c | 403 struct ntfs_inode *ni = alloc_inode_sb(sb, ntfs_inode_cachep, GFP_NOFS); in ntfs_alloc_inode() 408 memset(ni, 0, offsetof(struct ntfs_inode, vfs_inode)); in ntfs_alloc_inode() 418 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_i_callback() 432 struct ntfs_inode *ni = foo; in init_once() 558 struct ntfs_inode *ni; in ntfs_sync_fs() 898 struct ntfs_inode *ni; in ntfs_fill_super() 1470 "ntfs_inode_cache", sizeof(struct ntfs_inode), 0, in init_ntfs_fs()
|
D | record.c | 122 struct ntfs_inode *mft_ni = sbi->mft.ni; in mi_read() 390 struct ntfs_inode *ni = sbi->mft.ni; in mi_format_new() 476 bool mi_remove_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_remove_attr()
|