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

Go to the source code of this file.

Data Structures

struct  xlog_recover_item
 
struct  xlog_recover
 

Macros

#define XLOG_RHASH_BITS   4
 
#define XLOG_RHASH_SIZE   16
 
#define XLOG_RHASH_SHIFT   2
 
#define XLOG_RHASH(tid)   ((((__uint32_t)tid)>>XLOG_RHASH_SHIFT) & (XLOG_RHASH_SIZE-1))
 
#define XLOG_MAX_REGIONS_IN_ITEM   (XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK / 2 + 1)
 
#define ITEM_TYPE(i)   (*(ushort *)(i)->ri_buf[0].i_addr)
 
#define XLOG_BC_TABLE_SIZE   64
 
#define XLOG_RECOVER_PASS1   1
 
#define XLOG_RECOVER_PASS2   2
 

Typedefs

typedef struct xlog_recover_item xlog_recover_item_t
 
typedef struct xlog_recover xlog_recover_t
 

Macro Definition Documentation

#define ITEM_TYPE (   i)    (*(ushort *)(i)->ri_buf[0].i_addr)

Definition at line 55 of file xfs_log_recover.h.

#define XLOG_BC_TABLE_SIZE   64

Definition at line 61 of file xfs_log_recover.h.

#define XLOG_MAX_REGIONS_IN_ITEM   (XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK / 2 + 1)

Definition at line 31 of file xfs_log_recover.h.

#define XLOG_RECOVER_PASS1   1

Definition at line 63 of file xfs_log_recover.h.

#define XLOG_RECOVER_PASS2   2

Definition at line 64 of file xfs_log_recover.h.

#define XLOG_RHASH (   tid)    ((((__uint32_t)tid)>>XLOG_RHASH_SHIFT) & (XLOG_RHASH_SIZE-1))

Definition at line 28 of file xfs_log_recover.h.

#define XLOG_RHASH_BITS   4

Definition at line 25 of file xfs_log_recover.h.

#define XLOG_RHASH_SHIFT   2

Definition at line 27 of file xfs_log_recover.h.

#define XLOG_RHASH_SIZE   16

Definition at line 26 of file xfs_log_recover.h.

Typedef Documentation