Lines Matching refs:ntfs_inode
36 static inline MFT_RECORD *map_mft_record_page(ntfs_inode *ni)
144 MFT_RECORD *map_mft_record(ntfs_inode *ni)
180 static inline void unmap_mft_record_page(ntfs_inode *ni)
202 void unmap_mft_record(ntfs_inode *ni)
214 * If pure ntfs_inode, i.e. no vfs inode attached, we leave it to
226 * @ntfs_ino: on successful return, pointer to the ntfs_inode structure
232 * On successful return, @ntfs_ino contains a pointer to the ntfs_inode
235 MFT_RECORD *map_extent_mft_record(ntfs_inode *base_ni, MFT_REF mref,
236 ntfs_inode **ntfs_ino)
239 ntfs_inode *ni = NULL;
240 ntfs_inode **extent_nis = NULL;
321 ntfs_inode **tmp;
322 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *);
335 4 * sizeof(ntfs_inode *));
384 void __mark_mft_record_dirty(ntfs_inode *ni)
386 ntfs_inode *base_ni;
660 int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync)
682 * If the ntfs_inode is clean no need to do anything. If it is dirty,
921 const MFT_RECORD *m, ntfs_inode **locked_ni)
926 ntfs_inode *ni, *eni, **extent_nis;
1127 ntfs_inode *base_ni)
1279 ntfs_inode *mft_ni, *mftbmp_ni;
1459 * Reflect this in the ntfs_inode structure and the attribute record.
1577 ntfs_inode *mft_ni, *mftbmp_ni;
1715 ntfs_inode *mft_ni;
1896 * Reflect this in the ntfs_inode structure and the attribute record.
2203 * accordingly, open an ntfs_inode for it and return it to the caller, unless
2219 * - opened an ntfs_inode for the allocated mft record, and we will have
2220 * - returned the ntfs_inode as well as the allocated mapped, pinned, and
2240 ntfs_inode *ntfs_mft_record_alloc(ntfs_volume *vol, const int mode,
2241 ntfs_inode *base_ni, MFT_RECORD **mrec)
2247 ntfs_inode *mft_ni, *mftbmp_ni, *ni;
2427 * Note: We only modify the ntfs_inode structure as that is all that is
2774 int ntfs_extent_mft_record_free(ntfs_inode *ni, MFT_RECORD *m)
2778 ntfs_inode *base_ni;
2779 ntfs_inode **extent_nis;
2815 sizeof(ntfs_inode*));
2882 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode*);
2895 new_size - 4 * sizeof(ntfs_inode*));