Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
xfs_mount.h File Reference

Go to the source code of this file.

Data Structures

struct  xfs_trans_reservations
 

Macros

#define xfs_daddr_to_agno(mp, d)   ((xfs_agnumber_t)(XFS_BB_TO_FSBT(mp, d) / (mp)->m_sb.sb_agblocks))
 
#define xfs_daddr_to_agbno(mp, d)   ((xfs_agblock_t)(XFS_BB_TO_FSBT(mp, d) % (mp)->m_sb.sb_agblocks))
 

Typedefs

typedef struct
xfs_trans_reservations 
xfs_trans_reservations_t
 

Functions

void xfs_mod_sb (struct xfs_trans *, __int64_t)
 
int xfs_initialize_perag (struct xfs_mount *, xfs_agnumber_t, xfs_agnumber_t *)
 
void xfs_sb_from_disk (struct xfs_mount *, struct xfs_dsb *)
 
void xfs_sb_to_disk (struct xfs_dsb *, struct xfs_sb *, __int64_t)
 

Macro Definition Documentation

#define xfs_daddr_to_agbno (   mp,
  d 
)    ((xfs_agblock_t)(XFS_BB_TO_FSBT(mp, d) % (mp)->m_sb.sb_agblocks))

Definition at line 49 of file xfs_mount.h.

#define xfs_daddr_to_agno (   mp,
  d 
)    ((xfs_agnumber_t)(XFS_BB_TO_FSBT(mp, d) / (mp)->m_sb.sb_agblocks))

Definition at line 47 of file xfs_mount.h.

Typedef Documentation

Function Documentation

int xfs_initialize_perag ( struct xfs_mount *  ,
xfs_agnumber_t  ,
xfs_agnumber_t  
)
void xfs_mod_sb ( struct xfs_trans *  ,
__int64_t   
)
void xfs_sb_from_disk ( struct xfs_mount *  ,
struct xfs_dsb  
)

Definition at line 522 of file xfs_mount.c.

void xfs_sb_to_disk ( struct xfs_dsb ,
struct xfs_sb ,
__int64_t   
)

Definition at line 582 of file xfs_mount.c.