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

📄 udf_fs_i.h

📁 这是Linux系统下的对UDF文件系统新增的功能
💻 H
字号:
/* * udf_fs_i.h * * This file is intended for the Linux kernel/module.  * * CONTACTS *	E-mail regarding any portion of the Linux UDF file system should be *	directed to the development team mailing list (run by majordomo): *		linux_udf@hpesjro.fc.hp.com * * COPYRIGHT *	This file is distributed under the terms of the GNU General Public *	License (GPL). Copies of the GPL can be obtained from: *		ftp://prep.ai.mit.edu/pub/gnu/GPL *	Each contributing author retains all rights to their own work. */#ifndef _UDF_FS_I_H#define _UDF_FS_I_H 1#ifdef __KERNEL__#ifndef _ECMA_167_Htypedef struct{	__u32			logicalBlockNum;	__u16			partitionReferenceNum;} __attribute__ ((packed)) lb_addr;typedef struct{	__u32			extLength;	__u32			extPosition;} __attribute__ ((packed)) short_ad;typedef struct{	__u32			extLength;	lb_addr			extLocation;	__u8			impUse[6];} __attribute__ ((packed)) long_ad;#endifstruct udf_inode_info{#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)	struct timespec		i_crtime;#else	long			i_umtime;	long			i_uctime;	long			i_crtime;	long			i_ucrtime;#endif	/* Physical address of inode */	lb_addr			i_location;	__u64			i_unique;	__u32			i_lenEAttr;	__u32			i_lenAlloc;	__u64			i_lenExtents;	__u32			i_next_alloc_block;	__u32			i_next_alloc_goal;	unsigned		i_alloc_type : 3;	unsigned		i_efe : 1;	unsigned		i_use : 1;	unsigned		i_strat4096 : 1;	unsigned		reserved : 26;	union	{		short_ad	*i_sad;		long_ad		*i_lad;		__u8		*i_data;	} i_ext;#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)	struct inode vfs_inode;#endif};#endif/* exported IOCTLs, we have 'l', 0x40-0x7f */#define UDF_GETEASIZE   _IOR('l', 0x40, int)#define UDF_GETEABLOCK  _IOR('l', 0x41, void *)#define UDF_GETVOLIDENT _IOR('l', 0x42, void *)#define UDF_RELOCATE_BLOCKS _IOWR('l', 0x43, long)#endif /* _UDF_FS_I_H */

⌨️ 快捷键说明

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