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

Go to the source code of this file.

Data Structures

struct  xfs_extent_busy
 

Macros

#define XFS_EXTENT_BUSY_DISCARDED   0x01 /* undergoing a discard op. */
 
#define XFS_EXTENT_BUSY_SKIP_DISCARD   0x02 /* do not discard */
 

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)
 
void xfs_extent_busy_clear (struct xfs_mount *mp, struct list_head *list, bool do_discard)
 
int xfs_extent_busy_search (struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len)
 
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)
 
int xfs_extent_busy_ag_cmp (void *priv, struct list_head *a, struct list_head *b)
 

Variables

struct xfs_extent_busy __attribute__
 

Macro Definition Documentation

#define XFS_EXTENT_BUSY_DISCARDED   0x01 /* undergoing a discard op. */

Definition at line 37 of file xfs_extent_busy.h.

#define XFS_EXTENT_BUSY_SKIP_DISCARD   0x02 /* do not discard */

Definition at line 38 of file xfs_extent_busy.h.

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.

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.

Variable Documentation