⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ntfs_fs_i.h

📁 linux得一些常用命令,以及linux环境下的c编程
💻 H
字号:
#ifndef _LINUX_NTFS_FS_I_H#define _LINUX_NTFS_FS_I_H#include <linux/types.h>/* Forward declarations, to keep number of mutual includes low */struct ntfs_attribute;struct ntfs_sb_info;/* Duplicate definitions from ntfs/ntfstypes.h */#ifndef NTFS_INTEGRAL_TYPES#define NTFS_INTEGRAL_TYPEStypedef u8  ntfs_u8;typedef u16 ntfs_u16;typedef u32 ntfs_u32;typedef u64 ntfs_u64;typedef s8  ntfs_s8;typedef s16 ntfs_s16;typedef s32 ntfs_s32;typedef s64 ntfs_s64;#endif#ifndef NTMODE_T#define NTMODE_Ttypedef __kernel_mode_t ntmode_t;#endif#ifndef NTFS_UID_T#define NTFS_UID_Ttypedef uid_t ntfs_uid_t;#endif#ifndef NTFS_GID_T#define NTFS_GID_Ttypedef gid_t ntfs_gid_t;#endif#ifndef NTFS_SIZE_T#define NTFS_SIZE_Ttypedef __kernel_size_t ntfs_size_t;#endif#ifndef NTFS_TIME_T#define NTFS_TIME_Ttypedef __kernel_time_t ntfs_time_t;#endif/* unicode character type */#ifndef NTFS_WCHAR_T#define NTFS_WCHAR_Ttypedef u16 ntfs_wchar_t;#endif/* file offset */#ifndef NTFS_OFFSET_T#define NTFS_OFFSET_Ttypedef s64 ntfs_offset_t;#endif/* UTC */#ifndef NTFS_TIME64_T#define NTFS_TIME64_Ttypedef u64 ntfs_time64_t;#endif/* * This is really signed long long. So we support only volumes up to 2Tb. This * is ok as Win2k also only uses 32-bits to store clusters. * Whatever you do keep this a SIGNED value or a lot of NTFS users with * corrupted filesystems will lynch you! It causes massive fs corruption when * unsigned due to the nature of many checks relying on being performed on * signed quantities. (AIA) */#ifndef NTFS_CLUSTER_T#define NTFS_CLUSTER_Ttypedef s32 ntfs_cluster_t;#endif/* Definition of the NTFS in-memory inode structure. */struct ntfs_inode_info {	struct ntfs_sb_info *vol;	unsigned long i_number;		/* Should be really 48 bits. */	__u16 sequence_number;		/* The current sequence number. */	unsigned char *attr;		/* Array of the attributes. */	int attr_count;			/* Size of attrs[]. */	struct ntfs_attribute *attrs;	int record_count;		/* Size of records[]. */	int *records; /* Array of the record numbers of the $Mft whose 		       * attributes have been inserted in the inode. */	union {		struct {			int recordsize;			int clusters_per_record;		} index;	} u;	};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -