• Home
  • Raw
  • Download

Lines Matching +full:chg +full:- +full:int

1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
34 xfs_lsn_t li_lsn; /* last on-disk lsn */
73 void (*iop_size)(struct xfs_log_item *, int *, int *);
76 void (*iop_unpin)(struct xfs_log_item *, int remove);
78 int (*iop_precommit)(struct xfs_trans *tp, struct xfs_log_item *lip);
83 int (*iop_recover)(struct xfs_defer_pending *dfp,
105 return lip->li_ops->flags & XFS_ITEM_INTENT; in xlog_item_is_intent()
111 return lip->li_ops->flags & XFS_ITEM_INTENT_DONE; in xlog_item_is_intent_done()
115 int type, const struct xfs_item_ops *ops);
129 unsigned int t_magic; /* magic number */
130 unsigned int t_log_res; /* amt of log space resvd */
131 unsigned int t_log_count; /* count for perm log res */
132 unsigned int t_blk_res; /* # of blocks resvd */
133 unsigned int t_blk_res_used; /* # of resvd blocks used */
134 unsigned int t_rtx_res; /* # of rt extents resvd */
135 unsigned int t_rtx_res_used; /* # of resvd rt extents used */
136 unsigned int t_flags; /* misc flags */
143 int64_t t_fdblocks_delta; /* superblock fdblocks chg */
144 int64_t t_res_fdblocks_delta; /* on-disk only chg */
145 int64_t t_frextents_delta;/* superblock freextents chg*/
146 int64_t t_res_frextents_delta; /* on-disk only chg */
150 int64_t t_rextsize_delta;/* superblock rextsize chg */
151 int64_t t_rbmblocks_delta;/* superblock rbmblocks chg */
153 int64_t t_rextents_delta;/* superblocks rextents chg */
154 int64_t t_rextslog_delta;/* superblocks rextslog chg */
165 #define xfs_trans_set_sync(tp) ((tp)->t_flags |= XFS_TRANS_SYNC)
170 int xfs_trans_alloc(struct xfs_mount *mp, struct xfs_trans_res *resp,
173 int xfs_trans_alloc_empty(struct xfs_mount *mp,
177 int xfs_trans_get_buf_map(struct xfs_trans *tp, struct xfs_buftarg *target,
178 struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags,
181 static inline int
186 int numblks, in xfs_trans_get_buf()
194 int xfs_trans_read_buf_map(struct xfs_mount *mp,
197 struct xfs_buf_map *map, int nmaps,
202 static inline int
208 int numblks, in xfs_trans_read_buf()
230 void xfs_trans_ichgtime(struct xfs_trans *, struct xfs_inode *, int);
238 int xfs_trans_commit(struct xfs_trans *);
239 int xfs_trans_roll(struct xfs_trans **);
240 int xfs_trans_roll_inode(struct xfs_trans **, struct xfs_inode *);
242 int xfs_trans_ail_init(struct xfs_mount *);
257 return lip->li_ops->iop_relog(lip, tp); in xfs_trans_item_relog()
262 int xfs_trans_alloc_inode(struct xfs_inode *ip, struct xfs_trans_res *resv,
263 unsigned int dblocks, unsigned int rblocks, bool force,
265 int xfs_trans_alloc_icreate(struct xfs_mount *mp, struct xfs_trans_res *resv,
267 struct xfs_dquot *pdqp, unsigned int dblocks,
269 int xfs_trans_alloc_ichange(struct xfs_inode *ip, struct xfs_dquot *udqp,
272 int xfs_trans_alloc_dir(struct xfs_inode *dp, struct xfs_trans_res *resv,
273 struct xfs_inode *ip, unsigned int *dblocks,
274 struct xfs_trans **tpp, int *nospace_error);
280 tp->t_pflags = memalloc_nofs_save(); in xfs_trans_set_context()
287 memalloc_nofs_restore(tp->t_pflags); in xfs_trans_clear_context()
295 new_tp->t_pflags = old_tp->t_pflags; in xfs_trans_switch_context()
296 old_tp->t_pflags = 0; in xfs_trans_switch_context()