Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
xfs_extent_busy.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_alloc.h"
#include "xfs_inode.h"
#include "xfs_extent_busy.h"
#include "xfs_trace.h"

Go to the source code of this file.

Functions

void xfs_extent_busy_insert (struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, unsigned int flags)
 
int xfs_extent_busy_search (struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len)
 
STATIC bool xfs_extent_busy_update_extent (struct xfs_mount *mp, struct xfs_perag *pag, struct xfs_extent_busy *busyp, xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata)
 
void xfs_extent_busy_reuse (struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata)
 
void xfs_extent_busy_trim (struct xfs_alloc_arg *args, xfs_agblock_t bno, xfs_extlen_t len, xfs_agblock_t *rbno, xfs_extlen_t *rlen)
 
STATIC void xfs_extent_busy_clear_one (struct xfs_mount *mp, struct xfs_perag *pag, struct xfs_extent_busy *busyp)
 
void xfs_extent_busy_clear (struct xfs_mount *mp, struct list_head *list, bool do_discard)
 
int xfs_extent_busy_ag_cmp (void *priv, struct list_head *a, struct list_head *b)
 

Function Documentation

int xfs_extent_busy_ag_cmp ( void priv,
struct list_head a,
struct list_head b 
)

Definition at line 596 of file xfs_extent_busy.c.

void xfs_extent_busy_clear ( struct xfs_mount *  mp,
struct list_head list,
bool  do_discard 
)

Definition at line 559 of file xfs_extent_busy.c.

STATIC void xfs_extent_busy_clear_one ( struct xfs_mount *  mp,
struct xfs_perag pag,
struct xfs_extent_busy busyp 
)

Definition at line 538 of file xfs_extent_busy.c.

void xfs_extent_busy_insert ( struct xfs_trans *  tp,
xfs_agnumber_t  agno,
xfs_agblock_t  bno,
xfs_extlen_t  len,
unsigned int  flags 
)

Definition at line 35 of file xfs_extent_busy.c.

void xfs_extent_busy_reuse ( struct xfs_mount *  mp,
xfs_agnumber_t  agno,
xfs_agblock_t  fbno,
xfs_extlen_t  flen,
bool  userdata 
)

Definition at line 304 of file xfs_extent_busy.c.

int xfs_extent_busy_search ( struct xfs_mount *  mp,
xfs_agnumber_t  agno,
xfs_agblock_t  bno,
xfs_extlen_t  len 
)

Definition at line 105 of file xfs_extent_busy.c.

void xfs_extent_busy_trim ( struct xfs_alloc_arg args,
xfs_agblock_t  bno,
xfs_extlen_t  len,
xfs_agblock_t rbno,
xfs_extlen_t rlen 
)

Definition at line 349 of file xfs_extent_busy.c.

STATIC bool xfs_extent_busy_update_extent ( struct xfs_mount *  mp,
struct xfs_perag pag,
struct xfs_extent_busy busyp,
xfs_agblock_t  fbno,
xfs_extlen_t  flen,
bool  userdata 
)

Definition at line 157 of file xfs_extent_busy.c.