1 #ifndef _LINUX_NTFS_FS_I_H
2 #define _LINUX_NTFS_FS_I_H
4 /* Forward declarations, to keep number of mutual includes low */
8 /* Duplicate definitions from ntfs/ntfstypes.h */
9 #ifndef NTFS_INTEGRAL_TYPES
10 #define NTFS_INTEGRAL_TYPES
23 typedef __kernel_mode_t ntmode_t
;
27 typedef __kernel_uid_t ntfs_uid_t
;
31 typedef __kernel_gid_t ntfs_gid_t
;
35 typedef __kernel_size_t ntfs_size_t
;
39 typedef __kernel_time_t ntfs_time_t
;
42 /* unicode character type */
45 typedef unsigned short ntfs_wchar_t
;
50 typedef unsigned long long ntfs_offset_t
;
55 typedef unsigned long long ntfs_time64_t
;
57 /* This is really unsigned long long. So we support only volumes up to 2 TB */
58 #ifndef NTFS_CLUSTER_T
59 #define NTFS_CLUSTER_T
60 typedef unsigned int ntfs_cluster_t
;
63 /* Definition of NTFS in-memory inode structure */
64 struct ntfs_inode_info
{
65 struct ntfs_sb_info
*vol
;
66 int i_number
; /* should be really 48 bits */
67 unsigned sequence_number
;
68 unsigned char* attr
; /* array of the attributes */
69 int attr_count
; /* size of attrs[] */
70 struct ntfs_attribute
*attrs
;
71 int record_count
; /* size of records[] */
72 /* array of the record numbers of the MFT
73 whose attributes have been inserted in the inode */
78 int clusters_per_record
;