43#define XFS_SB_MAGIC 0x58465342
44#define XFS_SB_VERSION_1 1
45#define XFS_SB_VERSION_2 2
46#define XFS_SB_VERSION_3 3
47#define XFS_SB_VERSION_4 4
48#define XFS_SB_VERSION_NUMBITS 0x000f
49#define XFS_SB_VERSION_ALLFBITS 0xfff0
50#define XFS_SB_VERSION_SASHFBITS 0xf000
51#define XFS_SB_VERSION_REALFBITS 0x0ff0
52#define XFS_SB_VERSION_ATTRBIT 0x0010
53#define XFS_SB_VERSION_NLINKBIT 0x0020
54#define XFS_SB_VERSION_QUOTABIT 0x0040
55#define XFS_SB_VERSION_ALIGNBIT 0x0080
56#define XFS_SB_VERSION_DALIGNBIT 0x0100
57#define XFS_SB_VERSION_SHAREDBIT 0x0200
58#define XFS_SB_VERSION_EXTFLGBIT 0x1000
59#define XFS_SB_VERSION_DIRV2BIT 0x2000
60#define XFS_SB_VERSION_OKSASHFBITS \
61 (XFS_SB_VERSION_EXTFLGBIT | \
62 XFS_SB_VERSION_DIRV2BIT)
63#define XFS_SB_VERSION_OKREALFBITS \
64 (XFS_SB_VERSION_ATTRBIT | \
65 XFS_SB_VERSION_NLINKBIT | \
66 XFS_SB_VERSION_QUOTABIT | \
67 XFS_SB_VERSION_ALIGNBIT | \
68 XFS_SB_VERSION_DALIGNBIT | \
69 XFS_SB_VERSION_SHAREDBIT)
70#define XFS_SB_VERSION_OKSASHBITS \
71 (XFS_SB_VERSION_NUMBITS | \
72 XFS_SB_VERSION_REALFBITS | \
73 XFS_SB_VERSION_OKSASHFBITS)
74#define XFS_SB_VERSION_OKREALBITS \
75 (XFS_SB_VERSION_NUMBITS | \
76 XFS_SB_VERSION_OKREALFBITS | \
77 XFS_SB_VERSION_OKSASHFBITS)
78#define XFS_SB_VERSION_MKFS(ia,dia,extflag,dirv2) \
79 (((ia) || (dia) || (extflag) || (dirv2)) ? \
81 ((ia) ? XFS_SB_VERSION_ALIGNBIT : 0) | \
82 ((dia) ? XFS_SB_VERSION_DALIGNBIT : 0) | \
83 ((extflag) ? XFS_SB_VERSION_EXTFLGBIT : 0) | \
84 ((dirv2) ? XFS_SB_VERSION_DIRV2BIT : 0)) : \
165#define XFS_SB_MVAL(x) (1LL << XFS_SBS_ ## x)
166#define XFS_SB_UUID XFS_SB_MVAL(UUID)
167#define XFS_SB_FNAME XFS_SB_MVAL(FNAME)
168#define XFS_SB_ROOTINO XFS_SB_MVAL(ROOTINO)
169#define XFS_SB_RBMINO XFS_SB_MVAL(RBMINO)
170#define XFS_SB_RSUMINO XFS_SB_MVAL(RSUMINO)
171#define XFS_SB_VERSIONNUM XFS_SB_MVAL(VERSIONNUM)
172#define XFS_SB_UQUOTINO XFS_SB_MVAL(UQUOTINO)
173#define XFS_SB_GQUOTINO XFS_SB_MVAL(GQUOTINO)
174#define XFS_SB_QFLAGS XFS_SB_MVAL(QFLAGS)
175#define XFS_SB_SHARED_VN XFS_SB_MVAL(SHARED_VN)
176#define XFS_SB_UNIT XFS_SB_MVAL(UNIT)
177#define XFS_SB_WIDTH XFS_SB_MVAL(WIDTH)
178#define XFS_SB_NUM_BITS ((int)XFS_SBS_FIELDCOUNT)
179#define XFS_SB_ALL_BITS ((1LL << XFS_SB_NUM_BITS) - 1)
180#define XFS_SB_MOD_BITS \
181 (XFS_SB_UUID | XFS_SB_ROOTINO | XFS_SB_RBMINO | XFS_SB_RSUMINO | \
182 XFS_SB_VERSIONNUM | XFS_SB_UQUOTINO | XFS_SB_GQUOTINO | \
183 XFS_SB_QFLAGS | XFS_SB_SHARED_VN | XFS_SB_UNIT | XFS_SB_WIDTH)
189#define XFS_SBF_NOFLAGS 0x00
190#define XFS_SBF_READONLY 0x01
195#define XFS_SB_MAX_SHARED_VN 0
197#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_NUM)
198int xfs_sb_version_num(
xfs_sb_t *sbp);
199#define XFS_SB_VERSION_NUM(sbp) xfs_sb_version_num(sbp)
201#define XFS_SB_VERSION_NUM(sbp) ((sbp)->sb_versionnum & XFS_SB_VERSION_NUMBITS)
204#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_GOOD_VERSION)
205int xfs_sb_good_version(
xfs_sb_t *sbp);
206#define XFS_SB_GOOD_VERSION(sbp) xfs_sb_good_version(sbp)
208#define XFS_SB_GOOD_VERSION_INT(sbp) \
209 ((((sbp)->sb_versionnum >= XFS_SB_VERSION_1) && \
210 ((sbp)->sb_versionnum <= XFS_SB_VERSION_3)) || \
211 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
212 !((sbp)->sb_versionnum & ~XFS_SB_VERSION_OKREALBITS)
214#define XFS_SB_GOOD_VERSION(sbp) \
215 (XFS_SB_GOOD_VERSION_INT(sbp) && \
216 (sbp)->sb_shared_vn <= XFS_SB_MAX_SHARED_VN) ))
224#define XFS_SB_GOOD_VERSION(sbp) \
225 (XFS_SB_GOOD_VERSION_INT(sbp) && \
226 (!((sbp)->sb_versionnum & XFS_SB_VERSION_SHAREDBIT) || \
227 (sbp)->sb_shared_vn <= XFS_SB_MAX_SHARED_VN)) ))
231#define XFS_SB_GOOD_SASH_VERSION(sbp) \
232 ((((sbp)->sb_versionnum >= XFS_SB_VERSION_1) && \
233 ((sbp)->sb_versionnum <= XFS_SB_VERSION_3)) || \
234 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
235 !((sbp)->sb_versionnum & ~XFS_SB_VERSION_OKSASHBITS)))
237#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_TONEW)
238unsigned xfs_sb_version_tonew(
unsigned v);
239#define XFS_SB_VERSION_TONEW(v) xfs_sb_version_tonew(v)
241#define XFS_SB_VERSION_TONEW(v) \
242 ((((v) == XFS_SB_VERSION_1) ? \
244 (((v) == XFS_SB_VERSION_2) ? \
245 XFS_SB_VERSION_ATTRBIT : \
246 (XFS_SB_VERSION_ATTRBIT | XFS_SB_VERSION_NLINKBIT))) | \
250#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_TOOLD)
251unsigned xfs_sb_version_toold(
unsigned v);
252#define XFS_SB_VERSION_TOOLD(v) xfs_sb_version_toold(v)
254#define XFS_SB_VERSION_TOOLD(v) \
255 (((v) & (XFS_SB_VERSION_QUOTABIT | XFS_SB_VERSION_ALIGNBIT)) ? \
257 (((v) & XFS_SB_VERSION_NLINKBIT) ? \
259 (((v) & XFS_SB_VERSION_ATTRBIT) ? \
264#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASATTR)
265int xfs_sb_version_hasattr(
xfs_sb_t *sbp);
266#define XFS_SB_VERSION_HASATTR(sbp) xfs_sb_version_hasattr(sbp)
268#define XFS_SB_VERSION_HASATTR(sbp) \
269 (((sbp)->sb_versionnum == XFS_SB_VERSION_2) || \
270 ((sbp)->sb_versionnum == XFS_SB_VERSION_3) || \
271 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
272 ((sbp)->sb_versionnum & XFS_SB_VERSION_ATTRBIT)))
275#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_ADDATTR)
276void xfs_sb_version_addattr(
xfs_sb_t *sbp);
277#define XFS_SB_VERSION_ADDATTR(sbp) xfs_sb_version_addattr(sbp)
279#define XFS_SB_VERSION_ADDATTR(sbp) \
280 ((sbp)->sb_versionnum = \
281 (((sbp)->sb_versionnum == XFS_SB_VERSION_1) ? \
283 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) ? \
284 ((sbp)->sb_versionnum | XFS_SB_VERSION_ATTRBIT) : \
285 (XFS_SB_VERSION_4 | XFS_SB_VERSION_ATTRBIT))))
288#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASNLINK)
289int xfs_sb_version_hasnlink(
xfs_sb_t *sbp);
290#define XFS_SB_VERSION_HASNLINK(sbp) xfs_sb_version_hasnlink(sbp)
292#define XFS_SB_VERSION_HASNLINK(sbp) \
293 (((sbp)->sb_versionnum == XFS_SB_VERSION_3) || \
294 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
295 ((sbp)->sb_versionnum & XFS_SB_VERSION_NLINKBIT)))
298#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_ADDNLINK)
299void xfs_sb_version_addnlink(
xfs_sb_t *sbp);
300#define XFS_SB_VERSION_ADDNLINK(sbp) xfs_sb_version_addnlink(sbp)
302#define XFS_SB_VERSION_ADDNLINK(sbp) \
303 ((sbp)->sb_versionnum = \
304 ((sbp)->sb_versionnum <= XFS_SB_VERSION_2 ? \
306 ((sbp)->sb_versionnum | XFS_SB_VERSION_NLINKBIT)))
309#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASQUOTA)
310int xfs_sb_version_hasquota(
xfs_sb_t *sbp);
311#define XFS_SB_VERSION_HASQUOTA(sbp) xfs_sb_version_hasquota(sbp)
313#define XFS_SB_VERSION_HASQUOTA(sbp) \
314 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
315 ((sbp)->sb_versionnum & XFS_SB_VERSION_QUOTABIT))
318#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_ADDQUOTA)
319void xfs_sb_version_addquota(
xfs_sb_t *sbp);
320#define XFS_SB_VERSION_ADDQUOTA(sbp) xfs_sb_version_addquota(sbp)
322#define XFS_SB_VERSION_ADDQUOTA(sbp) \
323 ((sbp)->sb_versionnum = \
324 (XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4 ? \
325 ((sbp)->sb_versionnum | XFS_SB_VERSION_QUOTABIT) : \
326 (XFS_SB_VERSION_TONEW((sbp)->sb_versionnum) | \
327 XFS_SB_VERSION_QUOTABIT)))
330#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASALIGN)
331int xfs_sb_version_hasalign(
xfs_sb_t *sbp);
332#define XFS_SB_VERSION_HASALIGN(sbp) xfs_sb_version_hasalign(sbp)
334#define XFS_SB_VERSION_HASALIGN(sbp) \
335 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
336 ((sbp)->sb_versionnum & XFS_SB_VERSION_ALIGNBIT))
339#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_SUBALIGN)
340void xfs_sb_version_subalign(
xfs_sb_t *sbp);
341#define XFS_SB_VERSION_SUBALIGN(sbp) xfs_sb_version_subalign(sbp)
343#define XFS_SB_VERSION_SUBALIGN(sbp) \
344 ((sbp)->sb_versionnum = \
345 XFS_SB_VERSION_TOOLD((sbp)->sb_versionnum & ~XFS_SB_VERSION_ALIGNBIT))
348#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASDALIGN)
349int xfs_sb_version_hasdalign(
xfs_sb_t *sbp);
350#define XFS_SB_VERSION_HASDALIGN(sbp) xfs_sb_version_hasdalign(sbp)
352#define XFS_SB_VERSION_HASDALIGN(sbp) \
353 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
354 ((sbp)->sb_versionnum & XFS_SB_VERSION_DALIGNBIT))
357#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_ADDDALIGN)
358int xfs_sb_version_adddalign(
xfs_sb_t *sbp);
359#define XFS_SB_VERSION_ADDDALIGN(sbp) xfs_sb_version_adddalign(sbp)
361#define XFS_SB_VERSION_ADDDALIGN(sbp) \
362 ((sbp)->sb_versionnum = \
363 ((sbp)->sb_versionnum | XFS_SB_VERSION_DALIGNBIT))
366#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASSHARED)
367int xfs_sb_version_hasshared(
xfs_sb_t *sbp);
368#define XFS_SB_VERSION_HASSHARED(sbp) xfs_sb_version_hasshared(sbp)
370#define XFS_SB_VERSION_HASSHARED(sbp) \
371 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
372 ((sbp)->sb_versionnum & XFS_SB_VERSION_SHAREDBIT))
375#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_ADDSHARED)
376int xfs_sb_version_addshared(
xfs_sb_t *sbp);
377#define XFS_SB_VERSION_ADDSHARED(sbp) xfs_sb_version_addshared(sbp)
379#define XFS_SB_VERSION_ADDSHARED(sbp) \
380 ((sbp)->sb_versionnum = \
381 ((sbp)->sb_versionnum | XFS_SB_VERSION_SHAREDBIT))
384#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_SUBSHARED)
385int xfs_sb_version_subshared(
xfs_sb_t *sbp);
386#define XFS_SB_VERSION_SUBSHARED(sbp) xfs_sb_version_subshared(sbp)
388#define XFS_SB_VERSION_SUBSHARED(sbp) \
389 ((sbp)->sb_versionnum = \
390 ((sbp)->sb_versionnum & ~XFS_SB_VERSION_SHAREDBIT))
393#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASDIRV2)
394int xfs_sb_version_hasdirv2(
xfs_sb_t *sbp);
395#define XFS_SB_VERSION_HASDIRV2(sbp) xfs_sb_version_hasdirv2(sbp)
397#define XFS_SB_VERSION_HASDIRV2(sbp) \
398 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
399 ((sbp)->sb_versionnum & XFS_SB_VERSION_DIRV2BIT))
402#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_HASEXTFLGBIT)
403int xfs_sb_version_hasextflgbit(
xfs_sb_t *sbp);
404#define XFS_SB_VERSION_HASEXTFLGBIT(sbp) xfs_sb_version_hasextflgbit(sbp)
406#define XFS_SB_VERSION_HASEXTFLGBIT(sbp) \
407 ((XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_4) && \
408 ((sbp)->sb_versionnum & XFS_SB_VERSION_EXTFLGBIT))
411#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_ADDEXTFLGBIT)
412int xfs_sb_version_addextflgbit(
xfs_sb_t *sbp);
413#define XFS_SB_VERSION_ADDEXTFLGBIT(sbp) xfs_sb_version_addextflgbit(sbp)
415#define XFS_SB_VERSION_ADDEXTFLGBIT(sbp) \
416 ((sbp)->sb_versionnum = \
417 ((sbp)->sb_versionnum | XFS_SB_VERSION_EXTFLGBIT))
420#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_VERSION_SUBEXTFLGBIT)
421int xfs_sb_version_subextflgbit(
xfs_sb_t *sbp);
422#define XFS_SB_VERSION_SUBEXTFLGBIT(sbp) xfs_sb_version_subextflgbit(sbp)
424#define XFS_SB_VERSION_SUBEXTFLGBIT(sbp) \
425 ((sbp)->sb_versionnum = \
426 ((sbp)->sb_versionnum & ~XFS_SB_VERSION_EXTFLGBIT))
433#define XFS_SB_DADDR ((xfs_daddr_t)0)
434#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_SB_BLOCK)
436#define XFS_SB_BLOCK(mp) xfs_sb_block(mp)
438#define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR)
441#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_HDR_BLOCK)
443#define XFS_HDR_BLOCK(mp,d) xfs_hdr_block(mp,d)
445#define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)(XFS_BB_TO_FSBT(mp,d)))
447#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_DADDR_TO_FSB)
449#define XFS_DADDR_TO_FSB(mp,d) xfs_daddr_to_fsb(mp,d)
451#define XFS_DADDR_TO_FSB(mp,d) \
452 XFS_AGB_TO_FSB(mp, XFS_DADDR_TO_AGNO(mp,d), XFS_DADDR_TO_AGBNO(mp,d))
454#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_FSB_TO_DADDR)
456#define XFS_FSB_TO_DADDR(mp,fsbno) xfs_fsb_to_daddr(mp,fsbno)
458#define XFS_FSB_TO_DADDR(mp,fsbno) \
459 XFS_AGB_TO_DADDR(mp, XFS_FSB_TO_AGNO(mp,fsbno), \
460 XFS_FSB_TO_AGBNO(mp,fsbno))
466#define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log)
467#define XFS_BB_TO_FSB(mp,bb) \
468 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log)
469#define XFS_BB_TO_FSBT(mp,bb) ((bb) >> (mp)->m_blkbb_log)
470#define XFS_BB_FSB_OFFSET(mp,bb) ((bb) & ((mp)->m_bsize - 1))
475#define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << \
476 (mp)->m_sb.sb_blocklog)
477#define XFS_B_TO_FSB(mp,b) \
478 ((((uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)
479#define XFS_B_TO_FSBT(mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog)
480#define XFS_B_FSB_OFFSET(mp,b) ((b) & (mp)->m_blockmask)
482#if XFS_WANT_FUNCS || (XFS_WANT_SPACE && XFSSO_XFS_BUF_TO_SBP)
483xfs_sb_t *xfs_buf_to_sbp(
struct xfs_buf *bp);
484#define XFS_BUF_TO_SBP(bp) xfs_buf_to_sbp(bp)
486#define XFS_BUF_TO_SBP(bp) ((xfs_sb_t *)XFS_BUF_PTR(bp))
uuid_t sb_uuid
Definition: xfs_sb.h:94
uint16_t sb_inodesize
Definition: xfs_sb.h:106
uint8_t sb_imax_pct
Definition: xfs_sb.h:116
xfs_agblock_t sb_rextsize
Definition: xfs_sb.h:99
uint8_t sb_shared_vn
Definition: xfs_sb.h:134
uint32_t sb_width
Definition: xfs_sb.h:137
uint8_t sb_dummy[7]
Definition: xfs_sb.h:139
xfs_extlen_t sb_rbmblocks
Definition: xfs_sb.h:102
uint8_t sb_inodelog
Definition: xfs_sb.h:111
uint16_t sb_inopblock
Definition: xfs_sb.h:107
uint32_t sb_magicnum
Definition: xfs_sb.h:89
xfs_extlen_t sb_logblocks
Definition: xfs_sb.h:103
uint32_t sb_unit
Definition: xfs_sb.h:136
xfs_extlen_t sb_inoalignmt
Definition: xfs_sb.h:135
uint8_t sb_dirblklog
Definition: xfs_sb.h:138
uint64_t sb_fdblocks
Definition: xfs_sb.h:125
uint8_t sb_blocklog
Definition: xfs_sb.h:109
xfs_agnumber_t sb_agcount
Definition: xfs_sb.h:101
uint16_t sb_sectsize
Definition: xfs_sb.h:105
uint16_t sb_qflags
Definition: xfs_sb.h:132
uint8_t sb_inprogress
Definition: xfs_sb.h:115
uint8_t sb_flags
Definition: xfs_sb.h:133
xfs_dfsbno_t sb_logstart
Definition: xfs_sb.h:95
uint8_t sb_inopblog
Definition: xfs_sb.h:112
uint64_t sb_frextents
Definition: xfs_sb.h:126
uint32_t sb_blocksize
Definition: xfs_sb.h:90
xfs_agblock_t sb_agblocks
Definition: xfs_sb.h:100
xfs_ino_t sb_uquotino
Definition: xfs_sb.h:130
xfs_ino_t sb_rsumino
Definition: xfs_sb.h:98
uint16_t sb_versionnum
Definition: xfs_sb.h:104
xfs_drtbno_t sb_rextents
Definition: xfs_sb.h:93
uint8_t sb_sectlog
Definition: xfs_sb.h:110
uint8_t sb_agblklog
Definition: xfs_sb.h:113
xfs_ino_t sb_rbmino
Definition: xfs_sb.h:97
xfs_drfsbno_t sb_dblocks
Definition: xfs_sb.h:91
xfs_drfsbno_t sb_rblocks
Definition: xfs_sb.h:92
uint8_t sb_rextslog
Definition: xfs_sb.h:114
char sb_fname[12]
Definition: xfs_sb.h:108
xfs_ino_t sb_gquotino
Definition: xfs_sb.h:131
xfs_ino_t sb_rootino
Definition: xfs_sb.h:96
uint64_t sb_icount
Definition: xfs_sb.h:123
uint64_t sb_ifree
Definition: xfs_sb.h:124
xfs_sb_field_t
Definition: xfs_sb.h:145
@ XFS_SBS_FREXTENTS
Definition: xfs_sb.h:154
@ XFS_SBS_SECTLOG
Definition: xfs_sb.h:152
@ XFS_SBS_UUID
Definition: xfs_sb.h:147
@ XFS_SBS_UNIT
Definition: xfs_sb.h:156
@ XFS_SBS_FIELDCOUNT
Definition: xfs_sb.h:158
@ XFS_SBS_REXTSIZE
Definition: xfs_sb.h:148
@ XFS_SBS_AGBLKLOG
Definition: xfs_sb.h:152
@ XFS_SBS_UQUOTINO
Definition: xfs_sb.h:154
@ XFS_SBS_AGBLOCKS
Definition: xfs_sb.h:148
@ XFS_SBS_REXTSLOG
Definition: xfs_sb.h:153
@ XFS_SBS_LOGBLOCKS
Definition: xfs_sb.h:149
@ XFS_SBS_RBMBLOCKS
Definition: xfs_sb.h:149
@ XFS_SBS_INODESIZE
Definition: xfs_sb.h:150
@ XFS_SBS_AGCOUNT
Definition: xfs_sb.h:149
@ XFS_SBS_BLOCKSIZE
Definition: xfs_sb.h:146
@ XFS_SBS_QFLAGS
Definition: xfs_sb.h:155
@ XFS_SBS_MAGICNUM
Definition: xfs_sb.h:146
@ XFS_SBS_RSUMINO
Definition: xfs_sb.h:148
@ XFS_SBS_SECTSIZE
Definition: xfs_sb.h:150
@ XFS_SBS_FDBLOCKS
Definition: xfs_sb.h:154
@ XFS_SBS_INOALIGNMT
Definition: xfs_sb.h:156
@ XFS_SBS_INPROGRESS
Definition: xfs_sb.h:153
@ XFS_SBS_LOGSTART
Definition: xfs_sb.h:147
@ XFS_SBS_RBLOCKS
Definition: xfs_sb.h:146
@ XFS_SBS_WIDTH
Definition: xfs_sb.h:156
@ XFS_SBS_REXTENTS
Definition: xfs_sb.h:147
@ XFS_SBS_RBMINO
Definition: xfs_sb.h:148
@ XFS_SBS_IMAX_PCT
Definition: xfs_sb.h:153
@ XFS_SBS_SHARED_VN
Definition: xfs_sb.h:155
@ XFS_SBS_IFREE
Definition: xfs_sb.h:154
@ XFS_SBS_DUMMY
Definition: xfs_sb.h:157
@ XFS_SBS_DIRBLKLOG
Definition: xfs_sb.h:156
@ XFS_SBS_ICOUNT
Definition: xfs_sb.h:153
@ XFS_SBS_INODELOG
Definition: xfs_sb.h:152
@ XFS_SBS_FNAME
Definition: xfs_sb.h:151
@ XFS_SBS_BLOCKLOG
Definition: xfs_sb.h:151
@ XFS_SBS_VERSIONNUM
Definition: xfs_sb.h:150
@ XFS_SBS_ROOTINO
Definition: xfs_sb.h:147
@ XFS_SBS_GQUOTINO
Definition: xfs_sb.h:155
@ XFS_SBS_INOPBLOCK
Definition: xfs_sb.h:151
@ XFS_SBS_FLAGS
Definition: xfs_sb.h:155
@ XFS_SBS_INOPBLOG
Definition: xfs_sb.h:152
@ XFS_SBS_DBLOCKS
Definition: xfs_sb.h:146
uint64_t xfs_drtbno_t
Definition: xfs_types.h:73
uint32_t xfs_agnumber_t
Definition: xfs_types.h:50
uint64_t xfs_dfsbno_t
Definition: xfs_types.h:71
uint64_t xfs_drfsbno_t
Definition: xfs_types.h:72
uint64_t xfs_fsblock_t
Definition: xfs_types.h:81
uint32_t xfs_agblock_t
Definition: xfs_types.h:48
uint32_t xfs_extlen_t
Definition: xfs_types.h:49