File: ntfs_fs_sb.h

package info (click to toggle)
kernel-source-2.4.10 2.4.10-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 137,328 kB
  • ctags: 423,898
  • sloc: ansic: 2,403,930; asm: 140,471; makefile: 8,170; sh: 3,099; perl: 2,077; yacc: 1,177; cpp: 755; tcl: 577; lex: 343; awk: 251; lisp: 218; sed: 72
file content (61 lines) | stat: -rw-r--r-- 1,721 bytes parent folder | download | duplicates (9)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#ifndef _LINUX_NTFS_FS_SB_H
#define _LINUX_NTFS_FS_SB_H

#include <linux/ntfs_fs_i.h>

struct ntfs_sb_info{
	/* Configuration provided by user at mount time. */
	ntfs_uid_t uid;
	ntfs_gid_t gid;
	ntmode_t umask;
	void *nls_map;
	unsigned int ngt;
	char mft_zone_multiplier;
	unsigned long mft_data_pos;
	ntfs_cluster_t mft_zone_pos;
	ntfs_cluster_t mft_zone_start;
	ntfs_cluster_t mft_zone_end;
	ntfs_cluster_t data1_zone_pos;
	ntfs_cluster_t data2_zone_pos;
	/* Configuration provided by user with the ntfstools.
	 * FIXME: This is no longer possible. What is this good for? (AIA) */
	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_volume_version;
	ntfs_u32 at_security_descriptor;
	ntfs_u32 at_volume_name;
	ntfs_u32 at_volume_information;
	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 / calculated from the boot file. */
	int sector_size;
	int cluster_size;
	int cluster_size_bits;
	int mft_clusters_per_record;
	int mft_record_size;
	int mft_record_size_bits;
	int index_clusters_per_record;
	int index_record_size;
	int index_record_size_bits;
	ntfs_cluster_t nr_clusters;
	ntfs_cluster_t mft_lcn;
	ntfs_cluster_t mft_mirr_lcn;
	/* 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;
	unsigned char ino_flags;
};

#endif