4 * This include file is for the Linux kernel/module.
7 * This file is distributed under the terms of the GNU General Public
8 * License (GPL). Copies of the GPL can be obtained from:
9 * ftp://prep.ai.mit.edu/pub/gnu/GPL
10 * Each contributing author retains all rights to their own work.
14 #define _UDF_FS_SB_H 1
16 #include <linux/mutex.h>
20 #define UDF_MAX_BLOCK_LOADED 8
22 #define UDF_TYPE1_MAP15 0x1511U
23 #define UDF_VIRTUAL_MAP15 0x1512U
24 #define UDF_VIRTUAL_MAP20 0x2012U
25 #define UDF_SPARABLE_MAP15 0x1522U
27 struct udf_sparing_data
30 struct buffer_head
*s_spar_map
[4];
33 struct udf_virtual_data
44 struct buffer_head
**s_block_bitmap
;
51 struct udf_bitmap
*s_bitmap
;
52 struct inode
*s_table
;
56 struct udf_bitmap
*s_bitmap
;
57 struct inode
*s_table
;
59 __u32 s_partition_root
;
60 __u32 s_partition_len
;
61 __u16 s_partition_type
;
62 __u16 s_partition_num
;
65 struct udf_sparing_data s_sparing
;
66 struct udf_virtual_data s_virtual
;
68 __u32 (*s_partition_func
)(struct super_block
*, __u32
, __u16
, __u32
);
70 __u16 s_partition_flags
;
77 struct udf_part_map
*s_partmaps
;
89 struct buffer_head
*s_lvidbh
;
91 /* Default permissions */
97 struct timespec s_recordtime
;
102 /* highest UDF revision we have recorded to this media */
105 /* Miscellaneous flags */
109 struct nls_table
*s_nls_map
;
114 struct mutex s_alloc_mutex
;
117 #endif /* _UDF_FS_SB_H */