Home
last modified time | relevance | path

Searched refs:base_ni (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/fs/ntfs/
Dmft.c235 MFT_RECORD *map_extent_mft_record(ntfs_inode *base_ni, MFT_REF mref, in map_extent_mft_record() argument
247 mft_no, base_ni->mft_no); in map_extent_mft_record()
249 atomic_inc(&base_ni->count); in map_extent_mft_record()
255 mutex_lock(&base_ni->extent_lock); in map_extent_mft_record()
256 if (base_ni->nr_extents > 0) { in map_extent_mft_record()
257 extent_nis = base_ni->ext.extent_ntfs_inos; in map_extent_mft_record()
258 for (i = 0; i < base_ni->nr_extents; i++) { in map_extent_mft_record()
268 mutex_unlock(&base_ni->extent_lock); in map_extent_mft_record()
269 atomic_dec(&base_ni->count); in map_extent_mft_record()
282 ntfs_error(base_ni->vol->sb, "Found stale extent mft " in map_extent_mft_record()
[all …]
Dindex.c49 if (ictx->base_ni) in ntfs_index_ctx_put()
50 unmap_mft_record(ictx->base_ni); in ntfs_index_ctx_put()
112 ntfs_inode *base_ni = idx_ni->ext.base_ntfs_ino; in ntfs_index_lookup() local
127 BUG_ON(!base_ni); in ntfs_index_lookup()
138 m = map_mft_record(base_ni); in ntfs_index_lookup()
144 actx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_index_lookup()
198 ictx->base_ni = base_ni; in ntfs_index_lookup()
255 unmap_mft_record(base_ni); in ntfs_index_lookup()
367 ictx->base_ni = NULL; in ntfs_index_lookup()
435 unmap_mft_record(base_ni); in ntfs_index_lookup()
Dattrib.c74 ntfs_inode *base_ni; in ntfs_map_runlist_nolock() local
86 base_ni = ni; in ntfs_map_runlist_nolock()
88 base_ni = ni->ext.base_ntfs_ino; in ntfs_map_runlist_nolock()
91 m = map_mft_record(base_ni); in ntfs_map_runlist_nolock()
94 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_map_runlist_nolock()
182 unmap_mft_record(base_ni); in ntfs_map_runlist_nolock()
191 if (NInoAttrList(base_ni)) { in ntfs_map_runlist_nolock()
848 ntfs_inode *base_ni, *ni; in ntfs_external_attr_find() local
859 base_ni = ctx->base_ntfs_ino; in ntfs_external_attr_find()
861 if (!base_ni) { in ntfs_external_attr_find()
[all …]
Dfile.c102 ntfs_inode *base_ni; in ntfs_attr_extend_initialized() local
124 base_ni = ni; in ntfs_attr_extend_initialized()
126 base_ni = ni->ext.base_ntfs_ino; in ntfs_attr_extend_initialized()
131 m = map_mft_record(base_ni); in ntfs_attr_extend_initialized()
137 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_attr_extend_initialized()
175 m = map_mft_record(base_ni); in ntfs_attr_extend_initialized()
181 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_attr_extend_initialized()
205 unmap_mft_record(base_ni); in ntfs_attr_extend_initialized()
272 m = map_mft_record(base_ni); in ntfs_attr_extend_initialized()
278 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_attr_extend_initialized()
[all …]
Dinode.c1197 ntfs_inode *ni, *base_ni; in ntfs_read_locked_attr_inode() local
1208 base_ni = NTFS_I(base_vi); in ntfs_read_locked_attr_inode()
1217 vi->i_generation = ni->seq_no = base_ni->seq_no; in ntfs_read_locked_attr_inode()
1222 m = map_mft_record(base_ni); in ntfs_read_locked_attr_inode()
1227 ctx = ntfs_attr_get_search_ctx(base_ni, m); in ntfs_read_locked_attr_inode()
1399 ni->ext.base_ntfs_ino = base_ni; in ntfs_read_locked_attr_inode()
1403 unmap_mft_record(base_ni); in ntfs_read_locked_attr_inode()
1413 unmap_mft_record(base_ni); in ntfs_read_locked_attr_inode()
1463 ntfs_inode *ni, *base_ni, *bni; in ntfs_read_locked_index_inode() local
1475 base_ni = NTFS_I(base_vi); in ntfs_read_locked_index_inode()
[all …]
Daops.c382 ntfs_inode *ni, *base_ni; in ntfs_readpage() local
450 base_ni = ni; in ntfs_readpage()
452 base_ni = ni->ext.base_ntfs_ino; in ntfs_readpage()
454 mrec = map_mft_record(base_ni); in ntfs_readpage()
464 unmap_mft_record(base_ni); in ntfs_readpage()
467 ctx = ntfs_attr_get_search_ctx(base_ni, mrec); in ntfs_readpage()
498 unmap_mft_record(base_ni); in ntfs_readpage()
1340 ntfs_inode *base_ni = NULL, *ni = NTFS_I(vi); in ntfs_writepage() local
1431 base_ni = ni; in ntfs_writepage()
1433 base_ni = ni->ext.base_ntfs_ino; in ntfs_writepage()
[all …]
Dmft.h21 extern MFT_RECORD *map_extent_mft_record(ntfs_inode *base_ni, MFT_REF mref,
105 ntfs_inode *base_ni, MFT_RECORD **mrec);
Dindex.h69 ntfs_inode *base_ni; member