patch-2.3.17 linux/fs/udf/udf_i.h

Next file: linux/fs/udf/udf_sb.h
Previous file: linux/fs/udf/truncate.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.16/linux/fs/udf/udf_i.h linux/fs/udf/udf_i.h
@@ -0,0 +1,24 @@
+#ifndef __LINUX_UDF_I_H
+#define __LINUX_UDF_I_H
+
+#define UDF_I(X)	(&((X)->u.udf_i))
+
+#define UDF_I_EXT0LOC(X)	( UDF_I(X)->i_ext0Location )
+#define UDF_I_EXT0LEN(X)	( UDF_I(X)->i_ext0Length )
+#define UDF_I_EXT0OFFS(X)	( UDF_I(X)->i_ext0Offset )
+#define UDF_I_LOCATION(X)	( UDF_I(X)->i_location )
+#define UDF_I_LENEATTR(X)	( UDF_I(X)->i_lenEAttr )
+#define UDF_I_LENALLOC(X)	( UDF_I(X)->i_lenAlloc )
+#define UDF_I_UNIQUE(X)		( UDF_I(X)->i_unique )
+#define UDF_I_ALLOCTYPE(X)	( UDF_I(X)->i_alloc_type )
+#define UDF_I_EXTENDED_FE(X)( UDF_I(X)->i_extended_fe )
+#define UDF_I_STRAT4096(X)	( UDF_I(X)->i_strat_4096 )
+#define UDF_I_PREALLOC_COUNT(X)	( UDF_I(X)->i_prealloc_count )
+#define UDF_I_PREALLOC_BLOCK(X)	( UDF_I(X)->i_prealloc_block )
+#define UDF_I_NEXT_ALLOC_BLOCK(X)	( UDF_I(X)->i_next_alloc_block )
+#define UDF_I_NEXT_ALLOC_GOAL(X)	( UDF_I(X)->i_next_alloc_goal )
+#define UDF_I_UATIME(X)		( UDF_I(X)->i_uatime )
+#define UDF_I_UMTIME(X)		( UDF_I(X)->i_umtime )
+#define UDF_I_UCTIME(X)		( UDF_I(X)->i_uctime )
+
+#endif /* !defined(_LINUX_UDF_I_H) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)