4 * This include file is for the Linux kernel/module.
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@hpesjro.fc.hp.com
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.
19 #define _UDF_FS_SB_H 1
21 #include <asm/semaphore.h>
25 #define UDF_MAX_BLOCK_LOADED 8
27 #define UDF_TYPE1_MAP15 0x1511U
28 #define UDF_VIRTUAL_MAP15 0x1512U
29 #define UDF_VIRTUAL_MAP20 0x2012U
30 #define UDF_SPARABLE_MAP15 0x1522U
32 struct udf_sparing_data
35 struct buffer_head *s_spar_map[4];
38 struct udf_virtual_data
49 struct buffer_head **s_block_bitmap;
56 struct udf_bitmap *s_bitmap;
57 struct inode *s_table;
61 struct udf_bitmap *s_bitmap;
62 struct inode *s_table;
64 __u32 s_partition_root;
65 __u32 s_partition_len;
66 __u16 s_partition_type;
67 __u16 s_partition_num;
70 struct udf_sparing_data s_sparing;
71 struct udf_virtual_data s_virtual;
73 __u32 (*s_partition_func)(struct super_block *, __u32, __u16, __u32);
75 __u16 s_partition_flags;
82 struct udf_part_map *s_partmaps;
94 struct buffer_head *s_lvidbh;
96 /* Default permissions */
102 struct timespec s_recordtime;
107 /* highest UDF revision we have recorded to this media */
110 /* Miscellaneous flags */
114 struct nls_table *s_nls_map;
119 struct semaphore s_alloc_sem;
122 #endif /* _UDF_FS_SB_H */