|
|
| version 1.142, 2006/12/01 05:07:33 | version 1.143, 2007/01/10 14:42:05 |
|---|---|
| Line 350 typedef struct xfs_trans { | Line 350 typedef struct xfs_trans { |
| xfs_trans_callback_t t_callback; /* transaction callback */ | xfs_trans_callback_t t_callback; /* transaction callback */ |
| void *t_callarg; /* callback arg */ | void *t_callarg; /* callback arg */ |
| unsigned int t_flags; /* misc flags */ | unsigned int t_flags; /* misc flags */ |
| long t_icount_delta; /* superblock icount change */ | int64_t t_icount_delta; /* superblock icount change */ |
| long t_ifree_delta; /* superblock ifree change */ | int64_t t_ifree_delta; /* superblock ifree change */ |
| long t_fdblocks_delta; /* superblock fdblocks chg */ | int64_t t_fdblocks_delta; /* superblock fdblocks chg */ |
| long t_res_fdblocks_delta; /* on-disk only chg */ | int64_t t_res_fdblocks_delta; /* on-disk only chg */ |
| long t_frextents_delta;/* superblock freextents chg*/ | int64_t t_frextents_delta;/* superblock freextents chg*/ |
| long t_res_frextents_delta; /* on-disk only chg */ | int64_t t_res_frextents_delta; /* on-disk only chg */ |
| #ifdef DEBUG | #ifdef DEBUG |
| long t_ag_freeblks_delta; /* debugging counter */ | int64_t t_ag_freeblks_delta; /* debugging counter */ |
| long t_ag_flist_delta; /* debugging counter */ | int64_t t_ag_flist_delta; /* debugging counter */ |
| long t_ag_btree_delta; /* debugging counter */ | int64_t t_ag_btree_delta; /* debugging counter */ |
| #endif | #endif |
| long t_dblocks_delta;/* superblock dblocks change */ | int64_t t_dblocks_delta;/* superblock dblocks change */ |
| long t_agcount_delta;/* superblock agcount change */ | int64_t t_agcount_delta;/* superblock agcount change */ |
| long t_imaxpct_delta;/* superblock imaxpct change */ | int64_t t_imaxpct_delta;/* superblock imaxpct change */ |
| long t_rextsize_delta;/* superblock rextsize chg */ | int64_t t_rextsize_delta;/* superblock rextsize chg */ |
| long t_rbmblocks_delta;/* superblock rbmblocks chg */ | int64_t t_rbmblocks_delta;/* superblock rbmblocks chg */ |
| long t_rblocks_delta;/* superblock rblocks change */ | int64_t t_rblocks_delta;/* superblock rblocks change */ |
| long t_rextents_delta;/* superblocks rextents chg */ | int64_t t_rextents_delta;/* superblocks rextents chg */ |
| long t_rextslog_delta;/* superblocks rextslog chg */ | int64_t t_rextslog_delta;/* superblocks rextslog chg */ |
| unsigned int t_items_free; /* log item descs free */ | unsigned int t_items_free; /* log item descs free */ |
| xfs_log_item_chunk_t t_items; /* first log item desc chunk */ | xfs_log_item_chunk_t t_items; /* first log item desc chunk */ |
| xfs_trans_header_t t_header; /* header for in-log trans */ | xfs_trans_header_t t_header; /* header for in-log trans */ |
| Line 932 typedef struct xfs_trans { | Line 932 typedef struct xfs_trans { |
| #define xfs_trans_set_sync(tp) ((tp)->t_flags |= XFS_TRANS_SYNC) | #define xfs_trans_set_sync(tp) ((tp)->t_flags |= XFS_TRANS_SYNC) |
| #ifdef DEBUG | #ifdef DEBUG |
| #define xfs_trans_agblocks_delta(tp, d) ((tp)->t_ag_freeblks_delta += (long)d) | #define xfs_trans_agblocks_delta(tp, d) ((tp)->t_ag_freeblks_delta += (int64_t)d) |
| #define xfs_trans_agflist_delta(tp, d) ((tp)->t_ag_flist_delta += (long)d) | #define xfs_trans_agflist_delta(tp, d) ((tp)->t_ag_flist_delta += (int64_t)d) |
| #define xfs_trans_agbtree_delta(tp, d) ((tp)->t_ag_btree_delta += (long)d) | #define xfs_trans_agbtree_delta(tp, d) ((tp)->t_ag_btree_delta += (int64_t)d) |
| #else | #else |
| #define xfs_trans_agblocks_delta(tp, d) | #define xfs_trans_agblocks_delta(tp, d) |
| #define xfs_trans_agflist_delta(tp, d) | #define xfs_trans_agflist_delta(tp, d) |
| Line 950 xfs_trans_t *_xfs_trans_alloc(struct xfs | Line 950 xfs_trans_t *_xfs_trans_alloc(struct xfs |
| xfs_trans_t *xfs_trans_dup(xfs_trans_t *); | xfs_trans_t *xfs_trans_dup(xfs_trans_t *); |
| int xfs_trans_reserve(xfs_trans_t *, uint, uint, uint, | int xfs_trans_reserve(xfs_trans_t *, uint, uint, uint, |
| uint, uint); | uint, uint); |
| void xfs_trans_mod_sb(xfs_trans_t *, uint, long); | void xfs_trans_mod_sb(xfs_trans_t *, uint, int64_t); |
| struct xfs_buf *xfs_trans_get_buf(xfs_trans_t *, struct xfs_buftarg *, xfs_daddr_t, | struct xfs_buf *xfs_trans_get_buf(xfs_trans_t *, struct xfs_buftarg *, xfs_daddr_t, |
| int, uint); | int, uint); |
| int xfs_trans_read_buf(struct xfs_mount *, xfs_trans_t *, | int xfs_trans_read_buf(struct xfs_mount *, xfs_trans_t *, |