1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
#ifndef _LINUX_NTFS_FS_SB_H
#define _LINUX_NTFS_FS_SB_H
struct ntfs_sb_info{
/* Configuration provided by user at mount time */
ntfs_uid_t uid;
ntfs_gid_t gid;
ntmode_t umask;
unsigned int nct;
void *nls_map;
unsigned int ngt;
/* Configuration provided by user with ntfstools */
ntfs_size_t partition_bias; /* for access to underlying device */
/* Attribute definitions */
ntfs_u32 at_standard_information;
ntfs_u32 at_attribute_list;
ntfs_u32 at_file_name;
ntfs_u32 at_security_descriptor;
ntfs_u32 at_data;
ntfs_u32 at_index_root;
ntfs_u32 at_index_allocation;
ntfs_u32 at_bitmap;
ntfs_u32 at_symlink; /* aka SYMBOLIC_LINK or REPARSE_POINT */
/* Data read from the boot file */
int blocksize;
int clusterfactor;
int clustersize;
int mft_recordsize;
int mft_clusters_per_record;
int index_recordsize;
int index_clusters_per_record;
int mft_cluster;
/* data read from special files */
unsigned char *mft;
unsigned short *upcase;
unsigned int upcase_length;
/* inodes we always hold onto */
struct ntfs_inode_info *mft_ino;
struct ntfs_inode_info *mftmirr;
struct ntfs_inode_info *bitmap;
struct super_block *sb;
};
#endif
|