Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
xfs_buf_item.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_mount.h"
#include "xfs_buf_item.h"
#include "xfs_trans_priv.h"
#include "xfs_error.h"
#include "xfs_trace.h"

Go to the source code of this file.

Macros

#define xfs_buf_item_log_debug(x, y, z)
 
#define xfs_buf_item_log_check(x)
 

Functions

STATIC void xfs_buf_do_callbacks (struct xfs_buf *bp)
 
STATIC uint xfs_buf_item_size_segment (struct xfs_buf_log_item *bip, struct xfs_buf_log_format *blfp)
 
STATIC uint xfs_buf_item_size (struct xfs_log_item *lip)
 
STATIC void xfs_buf_item_format (struct xfs_log_item *lip, struct xfs_log_iovec *vecp)
 
STATIC void xfs_buf_item_pin (struct xfs_log_item *lip)
 
STATIC void xfs_buf_item_unpin (struct xfs_log_item *lip, int remove)
 
STATIC uint xfs_buf_item_push (struct xfs_log_item *lip, struct list_head *buffer_list)
 
STATIC void xfs_buf_item_unlock (struct xfs_log_item *lip)
 
STATIC xfs_lsn_t xfs_buf_item_committed (struct xfs_log_item *lip, xfs_lsn_t lsn)
 
STATIC void xfs_buf_item_committing (struct xfs_log_item *lip, xfs_lsn_t commit_lsn)
 
STATIC int xfs_buf_item_get_format (struct xfs_buf_log_item *bip, int count)
 
STATIC void xfs_buf_item_free_format (struct xfs_buf_log_item *bip)
 
void xfs_buf_item_init (xfs_buf_t *bp, xfs_mount_t *mp)
 
void xfs_buf_item_log_segment (struct xfs_buf_log_item *bip, uint first, uint last, uint *map)
 
void xfs_buf_item_log (xfs_buf_log_item_t *bip, uint first, uint last)
 
uint xfs_buf_item_dirty (xfs_buf_log_item_t *bip)
 
STATIC void xfs_buf_item_free (xfs_buf_log_item_t *bip)
 
void xfs_buf_item_relse (xfs_buf_t *bp)
 
void xfs_buf_attach_iodone (xfs_buf_t *bp, void(*cb)(xfs_buf_t *, xfs_log_item_t *), xfs_log_item_t *lip)
 
void xfs_buf_iodone_callbacks (struct xfs_buf *bp)
 
void xfs_buf_iodone (struct xfs_buf *bp, struct xfs_log_item *lip)
 

Variables

kmem_zone_txfs_buf_item_zone
 

Macro Definition Documentation

#define xfs_buf_item_log_check (   x)

Definition at line 140 of file xfs_buf_item.c.

#define xfs_buf_item_log_debug (   x,
  y,
 
)

Definition at line 139 of file xfs_buf_item.c.

Function Documentation

void xfs_buf_attach_iodone ( xfs_buf_t bp,
void(*)(xfs_buf_t *, xfs_log_item_t *)  cb,
xfs_log_item_t *  lip 
)

Definition at line 1010 of file xfs_buf_item.c.

STATIC void xfs_buf_do_callbacks ( struct xfs_buf bp)

Definition at line 1046 of file xfs_buf_item.c.

void xfs_buf_iodone ( struct xfs_buf bp,
struct xfs_log_item *  lip 
)

Definition at line 1154 of file xfs_buf_item.c.

void xfs_buf_iodone_callbacks ( struct xfs_buf bp)

Definition at line 1073 of file xfs_buf_item.c.

STATIC xfs_lsn_t xfs_buf_item_committed ( struct xfs_log_item *  lip,
xfs_lsn_t  lsn 
)

Definition at line 676 of file xfs_buf_item.c.

STATIC void xfs_buf_item_committing ( struct xfs_log_item *  lip,
xfs_lsn_t  commit_lsn 
)

Definition at line 690 of file xfs_buf_item.c.

uint xfs_buf_item_dirty ( xfs_buf_log_item_t *  bip)

Definition at line 956 of file xfs_buf_item.c.

STATIC void xfs_buf_item_format ( struct xfs_log_item *  lip,
struct xfs_log_iovec vecp 
)

Definition at line 385 of file xfs_buf_item.c.

STATIC void xfs_buf_item_free ( xfs_buf_log_item_t *  bip)

Definition at line 963 of file xfs_buf_item.c.

STATIC void xfs_buf_item_free_format ( struct xfs_buf_log_item *  bip)

Definition at line 731 of file xfs_buf_item.c.

STATIC int xfs_buf_item_get_format ( struct xfs_buf_log_item *  bip,
int  count 
)

Definition at line 711 of file xfs_buf_item.c.

void xfs_buf_item_init ( xfs_buf_t bp,
xfs_mount_t *  mp 
)

Definition at line 748 of file xfs_buf_item.c.

void xfs_buf_item_log ( xfs_buf_log_item_t *  bip,
uint  first,
uint  last 
)

Definition at line 910 of file xfs_buf_item.c.

void xfs_buf_item_log_segment ( struct xfs_buf_log_item *  bip,
uint  first,
uint  last,
uint map 
)

Definition at line 826 of file xfs_buf_item.c.

STATIC void xfs_buf_item_pin ( struct xfs_log_item *  lip)

Definition at line 435 of file xfs_buf_item.c.

STATIC uint xfs_buf_item_push ( struct xfs_log_item *  lip,
struct list_head buffer_list 
)

Definition at line 556 of file xfs_buf_item.c.

void xfs_buf_item_relse ( xfs_buf_t bp)

Definition at line 983 of file xfs_buf_item.c.

STATIC uint xfs_buf_item_size ( struct xfs_log_item *  lip)

Definition at line 225 of file xfs_buf_item.c.

STATIC uint xfs_buf_item_size_segment ( struct xfs_buf_log_item *  bip,
struct xfs_buf_log_format blfp 
)

Definition at line 156 of file xfs_buf_item.c.

STATIC void xfs_buf_item_unlock ( struct xfs_log_item *  lip)

Definition at line 599 of file xfs_buf_item.c.

STATIC void xfs_buf_item_unpin ( struct xfs_log_item *  lip,
int  remove 
)

Definition at line 464 of file xfs_buf_item.c.

Variable Documentation

kmem_zone_t* xfs_buf_item_zone

Definition at line 33 of file xfs_buf_item.c.