- Stephen Rothwell: APM updates
[davej-history.git] / include / linux / udf_fs_i.h
blobcd816d56b13085c1f4131df39d6709ad74b15af4
1 /*
2 * udf_fs_i.h
4 * This file is intended for the Linux kernel/module.
6 * CONTACTS
7 * E-mail regarding any portion of the Linux UDF file system should be
8 * directed to the development team mailing list (run by majordomo):
9 * linux_udf@hootie.lvld.hp.com
11 * COPYRIGHT
12 * This file is distributed under the terms of the GNU General Public
13 * License (GPL). Copies of the GPL can be obtained from:
14 * ftp://prep.ai.mit.edu/pub/gnu/GPL
15 * Each contributing author retains all rights to their own work.
18 #if !defined(_LINUX_UDF_FS_I_H)
19 #define _LINUX_UDF_FS_I_H
21 #ifdef __KERNEL__
23 #ifndef _LINUX_UDF_167_H
24 typedef struct
26 __u32 logicalBlockNum;
27 __u16 partitionReferenceNum;
28 } lb_addr;
29 #endif
31 struct udf_inode_info
33 long i_uatime;
34 long i_umtime;
35 long i_uctime;
36 /* Physical address of inode */
37 lb_addr i_location;
38 __u64 i_unique;
39 __u32 i_lenEAttr;
40 __u32 i_lenAlloc;
41 __u32 i_next_alloc_block;
42 __u32 i_next_alloc_goal;
43 unsigned i_alloc_type : 3;
44 unsigned i_extended_fe : 1;
45 unsigned i_strat_4096 : 1;
46 unsigned i_new_inode : 1;
47 unsigned reserved : 26;
50 #endif
52 /* exported IOCTLs, we have 'l', 0x40-0x7f */
54 #define UDF_GETEASIZE _IOR('l', 0x40, int)
55 #define UDF_GETEABLOCK _IOR('l', 0x41, void *)
56 #define UDF_GETVOLIDENT _IOR('l', 0x42, void *)
58 #endif /* !defined(_LINUX_UDF_FS_I_H) */