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

Go to the source code of this file.

Macros

#define XFS_IALLOC_INODES(mp)   (mp)->m_ialloc_inos
 
#define XFS_IALLOC_BLOCKS(mp)   (mp)->m_ialloc_blks
 
#define XFS_INODE_BIG_CLUSTER_SIZE   8192
 
#define XFS_INODE_CLUSTER_SIZE(mp)   (mp)->m_inode_cluster_size
 

Functions

int xfs_dialloc (struct xfs_trans *tp, xfs_ino_t parent, umode_t mode, int okalloc, struct xfs_buf **agbp, xfs_ino_t *inop)
 
int xfs_difree (struct xfs_trans *tp, xfs_ino_t inode, struct xfs_bmap_free *flist, int *delete, xfs_ino_t *first_ino)
 
int xfs_imap (struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino, struct xfs_imap *imap, uint flags)
 
void xfs_ialloc_compute_maxlevels (struct xfs_mount *mp)
 
void xfs_ialloc_log_agi (struct xfs_trans *tp, struct xfs_buf *bp, int fields)
 
int xfs_ialloc_read_agi (struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno, struct xfs_buf **bpp)
 
int xfs_ialloc_pagi_init (struct xfs_mount *mp, struct xfs_trans *tp, xfs_agnumber_t agno)
 
int xfs_inobt_lookup (struct xfs_btree_cur *cur, xfs_agino_t ino, xfs_lookup_t dir, int *stat)
 
int xfs_inobt_get_rec (struct xfs_btree_cur *cur, xfs_inobt_rec_incore_t *rec, int *stat)
 

Macro Definition Documentation

#define XFS_IALLOC_BLOCKS (   mp)    (mp)->m_ialloc_blks

Definition at line 31 of file xfs_ialloc.h.

#define XFS_IALLOC_INODES (   mp)    (mp)->m_ialloc_inos

Definition at line 30 of file xfs_ialloc.h.

#define XFS_INODE_BIG_CLUSTER_SIZE   8192

Definition at line 36 of file xfs_ialloc.h.

#define XFS_INODE_CLUSTER_SIZE (   mp)    (mp)->m_inode_cluster_size

Definition at line 37 of file xfs_ialloc.h.

Function Documentation

int xfs_dialloc ( struct xfs_trans *  tp,
xfs_ino_t  parent,
umode_t  mode,
int  okalloc,
struct xfs_buf **  agbp,
xfs_ino_t *  inop 
)

Definition at line 893 of file xfs_ialloc.c.

int xfs_difree ( struct xfs_trans *  tp,
xfs_ino_t  inode,
struct xfs_bmap_free flist,
int delete,
xfs_ino_t *  first_ino 
)
void xfs_ialloc_compute_maxlevels ( struct xfs_mount *  mp)
void xfs_ialloc_log_agi ( struct xfs_trans *  tp,
struct xfs_buf bp,
int  fields 
)
int xfs_ialloc_pagi_init ( struct xfs_mount *  mp,
struct xfs_trans *  tp,
xfs_agnumber_t  agno 
)
int xfs_ialloc_read_agi ( struct xfs_mount *  mp,
struct xfs_trans *  tp,
xfs_agnumber_t  agno,
struct xfs_buf **  bpp 
)

Definition at line 1521 of file xfs_ialloc.c.

int xfs_imap ( struct xfs_mount *  mp,
struct xfs_trans *  tp,
xfs_ino_t  ino,
struct xfs_imap imap,
uint  flags 
)
int xfs_inobt_get_rec ( struct xfs_btree_cur cur,
xfs_inobt_rec_incore_t rec,
int stat 
)

Definition at line 92 of file xfs_ialloc.c.

int xfs_inobt_lookup ( struct xfs_btree_cur cur,
xfs_agino_t  ino,
xfs_lookup_t  dir,
int stat 
)

Definition at line 59 of file xfs_ialloc.c.