patch-2.3.17 linux/include/linux/udf_fs_i.h
Next file: linux/include/linux/udf_fs_sb.h
Previous file: linux/include/linux/udf_fs.h
Back to the patch index
Back to the overall index
- Lines: 61
- Date:
Sat Sep 4 12:42:30 1999
- Orig file:
v2.3.16/linux/include/linux/udf_fs_i.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.16/linux/include/linux/udf_fs_i.h linux/include/linux/udf_fs_i.h
@@ -0,0 +1,60 @@
+/*
+ * 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@hootie.lvld.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.
+ */
+
+#if !defined(_LINUX_UDF_FS_I_H)
+#define _LINUX_UDF_FS_I_H
+
+#ifdef __KERNEL__
+
+#ifndef _LINUX_UDF_167_H
+typedef struct
+{
+ __u32 logicalBlockNum;
+ __u16 partitionReferenceNum;
+} lb_addr;
+#endif
+
+struct udf_inode_info
+{
+ long i_uatime;
+ long i_umtime;
+ long i_uctime;
+ /* Physical address of inode */
+ lb_addr i_ext0Location; /* partition relative */
+ lb_addr i_location;
+ __u32 i_ext0Length; /* in blocks */
+ __u32 i_ext0Offset; /* for short directories */
+ __u64 i_unique;
+ __u32 i_lenEAttr;
+ __u32 i_lenAlloc;
+ __u32 i_next_alloc_block;
+ __u32 i_next_alloc_goal;
+ unsigned i_alloc_type : 3;
+ unsigned i_extended_fe : 1;
+ unsigned i_strat_4096 : 1;
+ unsigned reserved : 27;
+};
+
+#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 *)
+
+#endif /* !defined(_LINUX_UDF_FS_I_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)