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

Go to the source code of this file.

Data Structures

struct  xfs_trans_header
 
struct  xfs_log_item_desc
 

Macros

#define XFS_TRANS_HEADER_MAGIC   0x5452414e /* TRAN */
 
#define XFS_LI_EFI   0x1236
 
#define XFS_LI_EFD   0x1237
 
#define XFS_LI_IUNLINK   0x1238
 
#define XFS_LI_INODE   0x123b /* aligned ino chunks, var-size ibufs */
 
#define XFS_LI_BUF   0x123c /* v2 bufs, variable sized inode bufs */
 
#define XFS_LI_DQUOT   0x123d
 
#define XFS_LI_QUOTAOFF   0x123e
 
#define XFS_LI_TYPE_DESC
 
#define XFS_TRANS_SETATTR_NOT_SIZE   1
 
#define XFS_TRANS_SETATTR_SIZE   2
 
#define XFS_TRANS_INACTIVE   3
 
#define XFS_TRANS_CREATE   4
 
#define XFS_TRANS_CREATE_TRUNC   5
 
#define XFS_TRANS_TRUNCATE_FILE   6
 
#define XFS_TRANS_REMOVE   7
 
#define XFS_TRANS_LINK   8
 
#define XFS_TRANS_RENAME   9
 
#define XFS_TRANS_MKDIR   10
 
#define XFS_TRANS_RMDIR   11
 
#define XFS_TRANS_SYMLINK   12
 
#define XFS_TRANS_SET_DMATTRS   13
 
#define XFS_TRANS_GROWFS   14
 
#define XFS_TRANS_STRAT_WRITE   15
 
#define XFS_TRANS_DIOSTRAT   16
 
#define XFS_TRANS_WRITEID   18
 
#define XFS_TRANS_ADDAFORK   19
 
#define XFS_TRANS_ATTRINVAL   20
 
#define XFS_TRANS_ATRUNCATE   21
 
#define XFS_TRANS_ATTR_SET   22
 
#define XFS_TRANS_ATTR_RM   23
 
#define XFS_TRANS_ATTR_FLAG   24
 
#define XFS_TRANS_CLEAR_AGI_BUCKET   25
 
#define XFS_TRANS_QM_SBCHANGE   26
 
#define XFS_TRANS_DUMMY1   27
 
#define XFS_TRANS_DUMMY2   28
 
#define XFS_TRANS_QM_QUOTAOFF   29
 
#define XFS_TRANS_QM_DQALLOC   30
 
#define XFS_TRANS_QM_SETQLIM   31
 
#define XFS_TRANS_QM_DQCLUSTER   32
 
#define XFS_TRANS_QM_QINOCREATE   33
 
#define XFS_TRANS_QM_QUOTAOFF_END   34
 
#define XFS_TRANS_SB_UNIT   35
 
#define XFS_TRANS_FSYNC_TS   36
 
#define XFS_TRANS_GROWFSRT_ALLOC   37
 
#define XFS_TRANS_GROWFSRT_ZERO   38
 
#define XFS_TRANS_GROWFSRT_FREE   39
 
#define XFS_TRANS_SWAPEXT   40
 
#define XFS_TRANS_SB_COUNT   41
 
#define XFS_TRANS_CHECKPOINT   42
 
#define XFS_TRANS_TYPE_MAX   42
 
#define XFS_TRANS_TYPES
 
#define XFS_LID_DIRTY   0x1
 
#define XFS_TRANS_MAGIC   0x5452414E /* 'TRAN' */
 
#define XFS_TRANS_DIRTY   0x01 /* something needs to be logged */
 
#define XFS_TRANS_SB_DIRTY   0x02 /* superblock is modified */
 
#define XFS_TRANS_PERM_LOG_RES   0x04 /* xact took a permanent log res */
 
#define XFS_TRANS_SYNC   0x08 /* make commit synchronous */
 
#define XFS_TRANS_DQ_DIRTY   0x10 /* at least one dquot in trx dirty */
 
#define XFS_TRANS_RESERVE   0x20 /* OK to use reserved data blocks */
 
#define XFS_TRANS_FREEZE_PROT
 
#define XFS_TRANS_RELEASE_LOG_RES   0x4
 
#define XFS_TRANS_ABORT   0x8
 
#define XFS_TRANS_SB_ICOUNT   0x00000001
 
#define XFS_TRANS_SB_IFREE   0x00000002
 
#define XFS_TRANS_SB_FDBLOCKS   0x00000004
 
#define XFS_TRANS_SB_RES_FDBLOCKS   0x00000008
 
#define XFS_TRANS_SB_FREXTENTS   0x00000010
 
#define XFS_TRANS_SB_RES_FREXTENTS   0x00000020
 
#define XFS_TRANS_SB_DBLOCKS   0x00000040
 
#define XFS_TRANS_SB_AGCOUNT   0x00000080
 
#define XFS_TRANS_SB_IMAXPCT   0x00000100
 
#define XFS_TRANS_SB_REXTSIZE   0x00000200
 
#define XFS_TRANS_SB_RBMBLOCKS   0x00000400
 
#define XFS_TRANS_SB_RBLOCKS   0x00000800
 
#define XFS_TRANS_SB_REXTENTS   0x00001000
 
#define XFS_TRANS_SB_REXTSLOG   0x00002000
 
#define XFS_ALLOCFREE_LOG_RES(mp, nx)   ((nx) * (2 * XFS_FSB_TO_B((mp), 2 * XFS_AG_MAXLEVELS(mp) - 1)))
 
#define XFS_ALLOCFREE_LOG_COUNT(mp, nx)   ((nx) * (2 * (2 * XFS_AG_MAXLEVELS(mp) - 1)))
 
#define XFS_DIROP_LOG_RES(mp)
 
#define XFS_DIROP_LOG_COUNT(mp)
 
#define XFS_WRITE_LOG_RES(mp)   ((mp)->m_reservations.tr_write)
 
#define XFS_ITRUNCATE_LOG_RES(mp)   ((mp)->m_reservations.tr_itruncate)
 
#define XFS_RENAME_LOG_RES(mp)   ((mp)->m_reservations.tr_rename)
 
#define XFS_LINK_LOG_RES(mp)   ((mp)->m_reservations.tr_link)
 
#define XFS_REMOVE_LOG_RES(mp)   ((mp)->m_reservations.tr_remove)
 
#define XFS_SYMLINK_LOG_RES(mp)   ((mp)->m_reservations.tr_symlink)
 
#define XFS_CREATE_LOG_RES(mp)   ((mp)->m_reservations.tr_create)
 
#define XFS_MKDIR_LOG_RES(mp)   ((mp)->m_reservations.tr_mkdir)
 
#define XFS_IFREE_LOG_RES(mp)   ((mp)->m_reservations.tr_ifree)
 
#define XFS_ICHANGE_LOG_RES(mp)   ((mp)->m_reservations.tr_ichange)
 
#define XFS_GROWDATA_LOG_RES(mp)   ((mp)->m_reservations.tr_growdata)
 
#define XFS_GROWRTALLOC_LOG_RES(mp)   ((mp)->m_reservations.tr_growrtalloc)
 
#define XFS_GROWRTZERO_LOG_RES(mp)   ((mp)->m_reservations.tr_growrtzero)
 
#define XFS_GROWRTFREE_LOG_RES(mp)   ((mp)->m_reservations.tr_growrtfree)
 
#define XFS_SWRITE_LOG_RES(mp)   ((mp)->m_reservations.tr_swrite)
 
#define XFS_FSYNC_TS_LOG_RES(mp)   ((mp)->m_reservations.tr_swrite)
 
#define XFS_WRITEID_LOG_RES(mp)   ((mp)->m_reservations.tr_swrite)
 
#define XFS_ADDAFORK_LOG_RES(mp)   ((mp)->m_reservations.tr_addafork)
 
#define XFS_ATTRINVAL_LOG_RES(mp)   ((mp)->m_reservations.tr_attrinval)
 
#define XFS_ATTRSET_LOG_RES(mp, ext)
 
#define XFS_ATTRRM_LOG_RES(mp)   ((mp)->m_reservations.tr_attrrm)
 
#define XFS_CLEAR_AGI_BUCKET_LOG_RES(mp)   ((mp)->m_reservations.tr_clearagi)
 
#define XFS_DEFAULT_LOG_COUNT   1
 
#define XFS_DEFAULT_PERM_LOG_COUNT   2
 
#define XFS_ITRUNCATE_LOG_COUNT   2
 
#define XFS_INACTIVE_LOG_COUNT   2
 
#define XFS_CREATE_LOG_COUNT   2
 
#define XFS_MKDIR_LOG_COUNT   3
 
#define XFS_SYMLINK_LOG_COUNT   3
 
#define XFS_REMOVE_LOG_COUNT   2
 
#define XFS_LINK_LOG_COUNT   2
 
#define XFS_RENAME_LOG_COUNT   2
 
#define XFS_WRITE_LOG_COUNT   2
 
#define XFS_ADDAFORK_LOG_COUNT   2
 
#define XFS_ATTRINVAL_LOG_COUNT   1
 
#define XFS_ATTRSET_LOG_COUNT   3
 
#define XFS_ATTRRM_LOG_COUNT   3
 
#define XFS_AGF_REF   4
 
#define XFS_AGI_REF   4
 
#define XFS_AGFL_REF   3
 
#define XFS_INO_BTREE_REF   3
 
#define XFS_ALLOC_BTREE_REF   2
 
#define XFS_BMAP_BTREE_REF   2
 
#define XFS_DIR_BTREE_REF   2
 
#define XFS_INO_REF   2
 
#define XFS_ATTR_BTREE_REF   1
 
#define XFS_DQUOT_REF   1
 

Typedefs

typedef struct xfs_trans_header xfs_trans_header_t
 

Functions

void xfs_trans_init (struct xfs_mount *)
 
int xfs_trans_roll (struct xfs_trans **, struct xfs_inode *)
 

Macro Definition Documentation

#define XFS_ADDAFORK_LOG_COUNT   2

Definition at line 280 of file xfs_trans.h.

#define XFS_ADDAFORK_LOG_RES (   mp)    ((mp)->m_reservations.tr_addafork)

Definition at line 255 of file xfs_trans.h.

#define XFS_AGF_REF   4

Definition at line 290 of file xfs_trans.h.

#define XFS_AGFL_REF   3

Definition at line 292 of file xfs_trans.h.

#define XFS_AGI_REF   4

Definition at line 291 of file xfs_trans.h.

#define XFS_ALLOC_BTREE_REF   2

Definition at line 294 of file xfs_trans.h.

#define XFS_ALLOCFREE_LOG_COUNT (   mp,
  nx 
)    ((nx) * (2 * (2 * XFS_AG_MAXLEVELS(mp) - 1)))

Definition at line 216 of file xfs_trans.h.

#define XFS_ALLOCFREE_LOG_RES (   mp,
  nx 
)    ((nx) * (2 * XFS_FSB_TO_B((mp), 2 * XFS_AG_MAXLEVELS(mp) - 1)))

Definition at line 214 of file xfs_trans.h.

#define XFS_ATTR_BTREE_REF   1

Definition at line 298 of file xfs_trans.h.

#define XFS_ATTRINVAL_LOG_COUNT   1

Definition at line 281 of file xfs_trans.h.

#define XFS_ATTRINVAL_LOG_RES (   mp)    ((mp)->m_reservations.tr_attrinval)

Definition at line 256 of file xfs_trans.h.

#define XFS_ATTRRM_LOG_COUNT   3

Definition at line 283 of file xfs_trans.h.

#define XFS_ATTRRM_LOG_RES (   mp)    ((mp)->m_reservations.tr_attrrm)

Definition at line 262 of file xfs_trans.h.

#define XFS_ATTRSET_LOG_COUNT   3

Definition at line 282 of file xfs_trans.h.

#define XFS_ATTRSET_LOG_RES (   mp,
  ext 
)
Value:
((mp)->m_reservations.tr_attrset + \
(ext * (mp)->m_sb.sb_sectsize) + \

Definition at line 257 of file xfs_trans.h.

#define XFS_BMAP_BTREE_REF   2

Definition at line 295 of file xfs_trans.h.

#define XFS_CLEAR_AGI_BUCKET_LOG_RES (   mp)    ((mp)->m_reservations.tr_clearagi)

Definition at line 263 of file xfs_trans.h.

#define XFS_CREATE_LOG_COUNT   2

Definition at line 273 of file xfs_trans.h.

#define XFS_CREATE_LOG_RES (   mp)    ((mp)->m_reservations.tr_create)

Definition at line 240 of file xfs_trans.h.

#define XFS_DEFAULT_LOG_COUNT   1

Definition at line 269 of file xfs_trans.h.

#define XFS_DEFAULT_PERM_LOG_COUNT   2

Definition at line 270 of file xfs_trans.h.

#define XFS_DIR_BTREE_REF   2

Definition at line 296 of file xfs_trans.h.

#define XFS_DIROP_LOG_COUNT (   mp)
Value:
XFS_DAENTER_BMAPS(mp, XFS_DATA_FORK) + 1)

Definition at line 229 of file xfs_trans.h.

#define XFS_DIROP_LOG_RES (   mp)
#define XFS_DQUOT_REF   1

Definition at line 299 of file xfs_trans.h.

#define XFS_FSYNC_TS_LOG_RES (   mp)    ((mp)->m_reservations.tr_swrite)

Definition at line 253 of file xfs_trans.h.

#define XFS_GROWDATA_LOG_RES (   mp)    ((mp)->m_reservations.tr_growdata)

Definition at line 244 of file xfs_trans.h.

#define XFS_GROWRTALLOC_LOG_RES (   mp)    ((mp)->m_reservations.tr_growrtalloc)

Definition at line 245 of file xfs_trans.h.

#define XFS_GROWRTFREE_LOG_RES (   mp)    ((mp)->m_reservations.tr_growrtfree)

Definition at line 247 of file xfs_trans.h.

#define XFS_GROWRTZERO_LOG_RES (   mp)    ((mp)->m_reservations.tr_growrtzero)

Definition at line 246 of file xfs_trans.h.

#define XFS_ICHANGE_LOG_RES (   mp)    ((mp)->m_reservations.tr_ichange)

Definition at line 243 of file xfs_trans.h.

#define XFS_IFREE_LOG_RES (   mp)    ((mp)->m_reservations.tr_ifree)

Definition at line 242 of file xfs_trans.h.

#define XFS_INACTIVE_LOG_COUNT   2

Definition at line 272 of file xfs_trans.h.

#define XFS_INO_BTREE_REF   3

Definition at line 293 of file xfs_trans.h.

#define XFS_INO_REF   2

Definition at line 297 of file xfs_trans.h.

#define XFS_ITRUNCATE_LOG_COUNT   2

Definition at line 271 of file xfs_trans.h.

#define XFS_ITRUNCATE_LOG_RES (   mp)    ((mp)->m_reservations.tr_itruncate)

Definition at line 235 of file xfs_trans.h.

#define XFS_LI_BUF   0x123c /* v2 bufs, variable sized inode bufs */

Definition at line 48 of file xfs_trans.h.

#define XFS_LI_DQUOT   0x123d

Definition at line 49 of file xfs_trans.h.

#define XFS_LI_EFD   0x1237

Definition at line 45 of file xfs_trans.h.

#define XFS_LI_EFI   0x1236

Definition at line 44 of file xfs_trans.h.

#define XFS_LI_INODE   0x123b /* aligned ino chunks, var-size ibufs */

Definition at line 47 of file xfs_trans.h.

#define XFS_LI_IUNLINK   0x1238

Definition at line 46 of file xfs_trans.h.

#define XFS_LI_QUOTAOFF   0x123e

Definition at line 50 of file xfs_trans.h.

#define XFS_LI_TYPE_DESC
Value:
{ XFS_LI_EFI, "XFS_LI_EFI" }, \
{ XFS_LI_EFD, "XFS_LI_EFD" }, \
{ XFS_LI_IUNLINK, "XFS_LI_IUNLINK" }, \
{ XFS_LI_INODE, "XFS_LI_INODE" }, \
{ XFS_LI_BUF, "XFS_LI_BUF" }, \
{ XFS_LI_DQUOT, "XFS_LI_DQUOT" }, \
{ XFS_LI_QUOTAOFF, "XFS_LI_QUOTAOFF" }

Definition at line 52 of file xfs_trans.h.

#define XFS_LID_DIRTY   0x1

Definition at line 170 of file xfs_trans.h.

#define XFS_LINK_LOG_COUNT   2

Definition at line 277 of file xfs_trans.h.

#define XFS_LINK_LOG_RES (   mp)    ((mp)->m_reservations.tr_link)

Definition at line 237 of file xfs_trans.h.

#define XFS_MKDIR_LOG_COUNT   3

Definition at line 274 of file xfs_trans.h.

#define XFS_MKDIR_LOG_RES (   mp)    ((mp)->m_reservations.tr_mkdir)

Definition at line 241 of file xfs_trans.h.

#define XFS_REMOVE_LOG_COUNT   2

Definition at line 276 of file xfs_trans.h.

#define XFS_REMOVE_LOG_RES (   mp)    ((mp)->m_reservations.tr_remove)

Definition at line 238 of file xfs_trans.h.

#define XFS_RENAME_LOG_COUNT   2

Definition at line 278 of file xfs_trans.h.

#define XFS_RENAME_LOG_RES (   mp)    ((mp)->m_reservations.tr_rename)

Definition at line 236 of file xfs_trans.h.

#define XFS_SWRITE_LOG_RES (   mp)    ((mp)->m_reservations.tr_swrite)

Definition at line 248 of file xfs_trans.h.

#define XFS_SYMLINK_LOG_COUNT   3

Definition at line 275 of file xfs_trans.h.

#define XFS_SYMLINK_LOG_RES (   mp)    ((mp)->m_reservations.tr_symlink)

Definition at line 239 of file xfs_trans.h.

#define XFS_TRANS_ABORT   0x8

Definition at line 188 of file xfs_trans.h.

#define XFS_TRANS_ADDAFORK   19

Definition at line 82 of file xfs_trans.h.

#define XFS_TRANS_ATRUNCATE   21

Definition at line 84 of file xfs_trans.h.

#define XFS_TRANS_ATTR_FLAG   24

Definition at line 87 of file xfs_trans.h.

#define XFS_TRANS_ATTR_RM   23

Definition at line 86 of file xfs_trans.h.

#define XFS_TRANS_ATTR_SET   22

Definition at line 85 of file xfs_trans.h.

#define XFS_TRANS_ATTRINVAL   20

Definition at line 83 of file xfs_trans.h.

#define XFS_TRANS_CHECKPOINT   42

Definition at line 109 of file xfs_trans.h.

#define XFS_TRANS_CLEAR_AGI_BUCKET   25

Definition at line 88 of file xfs_trans.h.

#define XFS_TRANS_CREATE   4

Definition at line 67 of file xfs_trans.h.

#define XFS_TRANS_CREATE_TRUNC   5

Definition at line 68 of file xfs_trans.h.

#define XFS_TRANS_DIOSTRAT   16

Definition at line 79 of file xfs_trans.h.

#define XFS_TRANS_DIRTY   0x01 /* something needs to be logged */

Definition at line 176 of file xfs_trans.h.

#define XFS_TRANS_DQ_DIRTY   0x10 /* at least one dquot in trx dirty */

Definition at line 180 of file xfs_trans.h.

#define XFS_TRANS_DUMMY1   27

Definition at line 94 of file xfs_trans.h.

#define XFS_TRANS_DUMMY2   28

Definition at line 95 of file xfs_trans.h.

#define XFS_TRANS_FREEZE_PROT
Value:
0x40 /* Transaction has elevated writer
count in superblock */

Definition at line 182 of file xfs_trans.h.

#define XFS_TRANS_FSYNC_TS   36

Definition at line 103 of file xfs_trans.h.

#define XFS_TRANS_GROWFS   14

Definition at line 77 of file xfs_trans.h.

#define XFS_TRANS_GROWFSRT_ALLOC   37

Definition at line 104 of file xfs_trans.h.

#define XFS_TRANS_GROWFSRT_FREE   39

Definition at line 106 of file xfs_trans.h.

#define XFS_TRANS_GROWFSRT_ZERO   38

Definition at line 105 of file xfs_trans.h.

#define XFS_TRANS_HEADER_MAGIC   0x5452414e /* TRAN */

Definition at line 39 of file xfs_trans.h.

#define XFS_TRANS_INACTIVE   3

Definition at line 66 of file xfs_trans.h.

#define XFS_TRANS_LINK   8

Definition at line 71 of file xfs_trans.h.

#define XFS_TRANS_MAGIC   0x5452414E /* 'TRAN' */

Definition at line 172 of file xfs_trans.h.

#define XFS_TRANS_MKDIR   10

Definition at line 73 of file xfs_trans.h.

#define XFS_TRANS_PERM_LOG_RES   0x04 /* xact took a permanent log res */

Definition at line 178 of file xfs_trans.h.

#define XFS_TRANS_QM_DQALLOC   30

Definition at line 97 of file xfs_trans.h.

#define XFS_TRANS_QM_DQCLUSTER   32

Definition at line 99 of file xfs_trans.h.

#define XFS_TRANS_QM_QINOCREATE   33

Definition at line 100 of file xfs_trans.h.

#define XFS_TRANS_QM_QUOTAOFF   29

Definition at line 96 of file xfs_trans.h.

#define XFS_TRANS_QM_QUOTAOFF_END   34

Definition at line 101 of file xfs_trans.h.

#define XFS_TRANS_QM_SBCHANGE   26

Definition at line 89 of file xfs_trans.h.

#define XFS_TRANS_QM_SETQLIM   31

Definition at line 98 of file xfs_trans.h.

#define XFS_TRANS_RELEASE_LOG_RES   0x4

Definition at line 187 of file xfs_trans.h.

#define XFS_TRANS_REMOVE   7

Definition at line 70 of file xfs_trans.h.

#define XFS_TRANS_RENAME   9

Definition at line 72 of file xfs_trans.h.

#define XFS_TRANS_RESERVE   0x20 /* OK to use reserved data blocks */

Definition at line 181 of file xfs_trans.h.

#define XFS_TRANS_RMDIR   11

Definition at line 74 of file xfs_trans.h.

#define XFS_TRANS_SB_AGCOUNT   0x00000080

Definition at line 200 of file xfs_trans.h.

#define XFS_TRANS_SB_COUNT   41

Definition at line 108 of file xfs_trans.h.

#define XFS_TRANS_SB_DBLOCKS   0x00000040

Definition at line 199 of file xfs_trans.h.

#define XFS_TRANS_SB_DIRTY   0x02 /* superblock is modified */

Definition at line 177 of file xfs_trans.h.

#define XFS_TRANS_SB_FDBLOCKS   0x00000004

Definition at line 195 of file xfs_trans.h.

#define XFS_TRANS_SB_FREXTENTS   0x00000010

Definition at line 197 of file xfs_trans.h.

#define XFS_TRANS_SB_ICOUNT   0x00000001

Definition at line 193 of file xfs_trans.h.

#define XFS_TRANS_SB_IFREE   0x00000002

Definition at line 194 of file xfs_trans.h.

#define XFS_TRANS_SB_IMAXPCT   0x00000100

Definition at line 201 of file xfs_trans.h.

#define XFS_TRANS_SB_RBLOCKS   0x00000800

Definition at line 204 of file xfs_trans.h.

#define XFS_TRANS_SB_RBMBLOCKS   0x00000400

Definition at line 203 of file xfs_trans.h.

#define XFS_TRANS_SB_RES_FDBLOCKS   0x00000008

Definition at line 196 of file xfs_trans.h.

#define XFS_TRANS_SB_RES_FREXTENTS   0x00000020

Definition at line 198 of file xfs_trans.h.

#define XFS_TRANS_SB_REXTENTS   0x00001000

Definition at line 205 of file xfs_trans.h.

#define XFS_TRANS_SB_REXTSIZE   0x00000200

Definition at line 202 of file xfs_trans.h.

#define XFS_TRANS_SB_REXTSLOG   0x00002000

Definition at line 206 of file xfs_trans.h.

#define XFS_TRANS_SB_UNIT   35

Definition at line 102 of file xfs_trans.h.

#define XFS_TRANS_SET_DMATTRS   13

Definition at line 76 of file xfs_trans.h.

#define XFS_TRANS_SETATTR_NOT_SIZE   1

Definition at line 64 of file xfs_trans.h.

#define XFS_TRANS_SETATTR_SIZE   2

Definition at line 65 of file xfs_trans.h.

#define XFS_TRANS_STRAT_WRITE   15

Definition at line 78 of file xfs_trans.h.

#define XFS_TRANS_SWAPEXT   40

Definition at line 107 of file xfs_trans.h.

#define XFS_TRANS_SYMLINK   12

Definition at line 75 of file xfs_trans.h.

#define XFS_TRANS_SYNC   0x08 /* make commit synchronous */

Definition at line 179 of file xfs_trans.h.

#define XFS_TRANS_TRUNCATE_FILE   6

Definition at line 69 of file xfs_trans.h.

#define XFS_TRANS_TYPE_MAX   42

Definition at line 110 of file xfs_trans.h.

#define XFS_TRANS_TYPES

Definition at line 113 of file xfs_trans.h.

#define XFS_TRANS_WRITEID   18

Definition at line 81 of file xfs_trans.h.

#define XFS_WRITE_LOG_COUNT   2

Definition at line 279 of file xfs_trans.h.

#define XFS_WRITE_LOG_RES (   mp)    ((mp)->m_reservations.tr_write)

Definition at line 234 of file xfs_trans.h.

#define XFS_WRITEID_LOG_RES (   mp)    ((mp)->m_reservations.tr_swrite)

Definition at line 254 of file xfs_trans.h.

Typedef Documentation

Function Documentation

void xfs_trans_init ( struct xfs_mount *  )

Definition at line 538 of file xfs_trans.c.

int xfs_trans_roll ( struct xfs_trans **  ,
struct xfs_inode *   
)

Definition at line 1516 of file xfs_trans.c.