aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/swim_iop.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/swim_iop.h')
0 files changed, 0 insertions, 0 deletions
alds@ppc970.osdl.org> 2005-04-16 18:20:36 -0400 Linux-2.6.12-rc2' href='/cgit/cgit.cgi/litmus-rt-imx6.git/commit/fs/xfs/xfs_ag.h?id=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2'>1da177e4c3f4
92821e2ba4ae

1da177e4c3f4

0b1b213fcf3a













1da177e4c3f4

a844f4510dce
6292604447ad
a844f4510dce
fef1111ecdd2


1da177e4c3f4




16259e7d952e
1da177e4c3f4


16259e7d952e



1da177e4c3f4




16259e7d952e





1da177e4c3f4



16259e7d952e
1da177e4c3f4

















a844f4510dce
6292604447ad
1da177e4c3f4
5e1be0fb1a39


1da177e4c3f4




a844f4510dce
1da177e4c3f4
6292604447ad
1da177e4c3f4

e21010053a0f
1da177e4c3f4


1da177e4c3f4

1da177e4c3f4
1da177e4c3f4
1da177e4c3f4
aed3bb90abaf
0fa800fbd549

aed3bb90abaf
1da177e4c3f4

c41564b5af32
1da177e4c3f4





92821e2ba4ae
1da177e4c3f4
92821e2ba4ae
bd169565993b








1da177e4c3f4
ed3b4d6cdc81

847fff5ca881
2a82b8be8a8d
da353b0d64e0
1a427ab0c1b2
da353b0d64e0
9bf729c0af67
69b491c214d7

e176579e7011
74f75a0cb703



e176579e7011

847fff5ca881
e57336ff7fc7
1da177e4c3f4

396beb853116


75f3cb139313

396beb853116

a844f4510dce




16259e7d952e

1da177e4c3f4
a844f4510dce
a56877873903

1da177e4c3f4
a844f4510dce
1da177e4c3f4
a844f4510dce
1da177e4c3f4
a844f4510dce
fb82557f16f3
a844f4510dce



1da177e4c3f4




1da177e4c3f4


9d87c3192d96


1da177e4c3f4

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
  

                                                      
  

                                                                 

                                             



                                                                   
  


                                                                       

















                                                                       


                                                        












                                                                     
                        


                                                     



                                                                               


                                








                                                                          
                                                                            












                                          

                                          

                                                             













                                                 

                                                                        
                                                                    
                                                             
 


                                                                              




                                                    
                        


                                                     



                                                                               




                                                                    





                                                                        



                                                                
                                                               

















                                                                        
                                                                    
                                                             
 


                                                                           




                                                                        
                                                                     
                                                                                
                                                              

                         
                                                                        


             

                                                                 
   
                                   
 
                          

                                                                          
                                                                   

                                                                             
                                                                                 





                                                                            
                                                                            
                                                                   
                                                                        








                                                                   
                 

                                                                          
 
                                                                                
 
                                                                     
                                                                             
                                                                        

                                                                           
 



                                                                            

                                  
      
                                                               

              


                            

                                                                              

                                                                      




                                                                               

                                                                  
                                         
                                         

                                                                      
 
                                         
                                                                     
                                         
                                                             
                                         
                                                                         



                                                                             




                                                                      


                                           


                                                                 

                          
/*
 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
 * All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it would be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write the Free Software Foundation,
 * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
#ifndef __XFS_AG_H__
#define	__XFS_AG_H__

/*
 * Allocation group header
 * This is divided into three structures, placed in sequential 512-byte
 * buffers after a copy of the superblock (also in a 512-byte buffer).
 */

struct xfs_buf;
struct xfs_mount;
struct xfs_trans;

#define	XFS_AGF_MAGIC	0x58414746	/* 'XAGF' */
#define	XFS_AGI_MAGIC	0x58414749	/* 'XAGI' */
#define	XFS_AGF_VERSION	1
#define	XFS_AGI_VERSION	1

#define	XFS_AGF_GOOD_VERSION(v)	((v) == XFS_AGF_VERSION)
#define	XFS_AGI_GOOD_VERSION(v)	((v) == XFS_AGI_VERSION)

/*
 * Btree number 0 is bno, 1 is cnt.  This value gives the size of the
 * arrays below.
 */
#define	XFS_BTNUM_AGF	((int)XFS_BTNUM_CNTi + 1)

/*
 * The second word of agf_levels in the first a.g. overlaps the EFS
 * superblock's magic number.  Since the magic numbers valid for EFS
 * are > 64k, our value cannot be confused for an EFS superblock's.
 */

typedef struct xfs_agf {
	/*
	 * Common allocation group header information
	 */
	__be32		agf_magicnum;	/* magic number == XFS_AGF_MAGIC */
	__be32		agf_versionnum;	/* header version == XFS_AGF_VERSION */
	__be32		agf_seqno;	/* sequence # starting from 0 */
	__be32		agf_length;	/* size in blocks of a.g. */
	/*
	 * Freespace information
	 */
	__be32		agf_roots[XFS_BTNUM_AGF];	/* root blocks */
	__be32		agf_spare0;	/* spare field */
	__be32		agf_levels[XFS_BTNUM_AGF];	/* btree levels */
	__be32		agf_spare1;	/* spare field */
	__be32		agf_flfirst;	/* first freelist block's index */
	__be32		agf_fllast;	/* last freelist block's index */
	__be32		agf_flcount;	/* count of blocks in freelist */
	__be32		agf_freeblks;	/* total free blocks */
	__be32		agf_longest;	/* longest free space */
	__be32		agf_btreeblks;	/* # of blocks held in AGF btrees */
} xfs_agf_t;

#define	XFS_AGF_MAGICNUM	0x00000001
#define	XFS_AGF_VERSIONNUM	0x00000002
#define	XFS_AGF_SEQNO		0x00000004
#define	XFS_AGF_LENGTH		0x00000008
#define	XFS_AGF_ROOTS		0x00000010