1 /*
2 * udf_fs_i.h
3 *
4 * This file is intended for the Linux kernel/module.
5 *
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
10 *
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.
16 */
17
18 #if !defined(_LINUX_UDF_FS_I_H)
19 #define _LINUX_UDF_FS_I_H
20
21 #ifdef __KERNEL__
22
23 #ifndef _LINUX_UDF_167_H
24 typedef struct
25 {
26 __u32 logicalBlockNum;
27 __u16 partitionReferenceNum;
28 } lb_addr;
29 #endif
30
31 struct udf_inode_info
32 {
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;
48 };
49
50 #endif
51
52 /* exported IOCTLs, we have 'l', 0x40-0x7f */
53
54 #define UDF_GETEASIZE _IOR('l', 0x40, int)
55 #define UDF_GETEABLOCK _IOR('l', 0x41, void *)
56 #define UDF_GETVOLIDENT _IOR('l', 0x42, void *)
57
58 #endif /* !defined(_LINUX_UDF_FS_I_H) */
59
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.