QDNix
Quick’n’dirty *NIX
xfs.h File Reference
#include <stdint.h>
Include dependency graph for xfs.h:

Go to the source code of this file.

Data Structures

struct  xfs_btree_sblock
 
struct  xfs_btree_lblock
 
struct  xfs_da_blkinfo_t
 
struct  xfs_da3_blkinfo
 
struct  xfs_da_intnode_t
 
struct  xfs_da_intnode_t::xfs_da_node_hdr
 
struct  xfs_da_intnode_t::xfs_da_node_entry
 
struct  xfs_da3_intnode
 
struct  xfs_da3_intnode::xfs_da3_node_hdr
 
struct  xfs_legacy_timestamp
 
struct  xfs_sb
 

Macros

#define XFS_SB_MAGIC   0x58465342
 
#define XFS_AGF_MAGIC   0x58414743
 
#define XFS_AGI_MAGIC   0x58414749
 

Typedefs

typedef uint64_t xfs_ino_t
 
typedef int64_t xfs_off_t
 
typedef int64_t xfs_daddr_t
 
typedef uint32_t xfs_agnumber_t
 
typedef uint32_t xfs_agblock_t
 
typedef uint32_t xfs_extlen_t
 
typedef int32_t xfs_extnum_t
 
typedef int16_t xfs_aextnum_t
 
typedef uint32_t xfs_dablk_t
 
typedef uint32_t xfs_dahash_t
 
typedef uint64_t xfs_fsblock_t
 
typedef uint64_t xfs_rfsblock_t
 
typedef uint64_t xfs_rtblock_t
 
typedef uint64_t xfs_fileoff_t
 
typedef uint64_t xfs_fillblks_t
 
typedef uint8_t uuid_t[16]
 
typedef int64_t xfs_fsize_t
 

Functions

xfs_dahash_t xfs_da_hashname (const uint8_t *name, int namelen)
 

Detailed Description

XFS file system [4]

Definition in file xfs.h.

Macro Definition Documentation

◆ XFS_AGF_MAGIC

#define XFS_AGF_MAGIC   0x58414743

ascii: XAGF

Definition at line 13 of file xfs.h.

◆ XFS_AGI_MAGIC

#define XFS_AGI_MAGIC   0x58414749

ascii: XAGI

Definition at line 15 of file xfs.h.

◆ XFS_SB_MAGIC

#define XFS_SB_MAGIC   0x58465342

ascii: XFSB

Definition at line 11 of file xfs.h.

Typedef Documentation

◆ xfs_daddr_t

typedef int64_t xfs_daddr_t

disk address (sectors)

Definition at line 22 of file xfs.h.

◆ xfs_ino_t

typedef uint64_t xfs_ino_t

inode number

Definition at line 18 of file xfs.h.

◆ xfs_off_t

typedef int64_t xfs_off_t

file offset

Definition at line 20 of file xfs.h.