Home
last modified time | relevance | path

Searched refs:ntfs_inode (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/fs/ntfs/
Dmft.h18 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 …]
Dinode.h27 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 …]
Dattrib.h42 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,
Dindex.h62 ntfs_inode *idx_ni;
69 ntfs_inode *base_ni;
74 extern ntfs_index_context *ntfs_index_ctx_get(ntfs_inode *idx_ni);
Dlcnalloc.h34 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()
Dmft.c36 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 …]
Dinode.c49 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 …]
Daops.c51 ntfs_inode *ni; in ntfs_end_buffer_async_read()
171 ntfs_inode *ni; in ntfs_read_block()
382 ntfs_inode *ni, *base_ni; in ntfs_readpage()
538 ntfs_inode *ni; in ntfs_write_block()
904 ntfs_inode *ni = NTFS_I(vi); in ntfs_write_mst_block()
908 ntfs_inode *locked_nis[PAGE_SIZE / NTFS_BLOCK_SIZE]; in ntfs_write_mst_block()
1115 ntfs_inode *tni; in ntfs_write_mst_block()
1259 ntfs_inode *tni, *base_tni; in ntfs_write_mst_block()
1340 ntfs_inode *base_ni = NULL, *ni = NTFS_I(vi); in ntfs_writepage()
1552 ntfs_inode *ni = NTFS_I(mapping->host); in ntfs_bmap()
[all …]
Ddir.h31 extern MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni,
Dattrib.c70 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()
848 ntfs_inode *base_ni, *ni; in ntfs_external_attr_find()
1178 ntfs_inode *base_ni; in ntfs_attr_lookup()
1204 ntfs_inode *ni, MFT_RECORD *mrec) in ntfs_attr_init_search_ctx()
1255 ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec) in ntfs_attr_get_search_ctx()
1521 int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size) in ntfs_attr_make_non_resident()
[all …]
Dindex.c25 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()
Dnamei.c166 ntfs_inode *ni = NTFS_I(dent_inode); in ntfs_lookup()
289 ntfs_inode *ni = NTFS_I(vi); in ntfs_get_parent()
Dfile.c95 static int ntfs_attr_extend_initialized(ntfs_inode *ni, const s64 new_init_size) in ntfs_attr_extend_initialized()
102 ntfs_inode *base_ni; in ntfs_attr_extend_initialized()
326 ntfs_inode *base_ni, *ni = NTFS_I(vi); in ntfs_prepare_file_for_write()
579 ntfs_inode *ni, *base_ni = NULL; in ntfs_prepare_pages_for_non_resident_write()
1390 ntfs_inode *ni, *base_ni; in ntfs_commit_pages_after_non_resident_write()
1545 ntfs_inode *ni, *base_ni; in ntfs_commit_pages_after_write()
1735 ntfs_inode *ni = NTFS_I(vi); in ntfs_perform_write()
Dsuper.c363 ntfs_inode *ni = NTFS_I(vol->vol_ino); in ntfs_write_volume_flags()
1023 ntfs_inode *tmp_ni; in load_and_init_mft_mirror()
1076 ntfs_inode *mirr_ni; in check_mft_mirror()
1429 ntfs_inode *tmp_ni; in load_and_init_usnjrnl()
2596 ntfs_inode *mft_ni = NTFS_I(vol->mft_ino); in ntfs_statfs()
3032 ntfs_inode *ni = (ntfs_inode *)foo; in ntfs_big_inode_init_once()
3115 sizeof(ntfs_inode), 0, in init_ntfs_fs()
Ddir.c67 MFT_REF ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, const ntfschar *uname, in ntfs_lookup_inode_by_name()
620 u64 ntfs_lookup_inode_by_name(ntfs_inode *dir_ni, const ntfschar *uname,
1013 ntfs_inode *ndir, struct page *ia_page, INDEX_ENTRY *ie, in ntfs_filldir()
1092 ntfs_inode *ndir = NTFS_I(vdir); in ntfs_readdir()
Dlogfile.c716 ntfs_inode *log_ni = NTFS_I(log_vi); in ntfs_empty_logfile()
Dcompress.c467 ntfs_inode *ni = NTFS_I(mapping->host); in ntfs_read_compressed_block()
Dlcnalloc.c835 s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count, in __ntfs_cluster_free()