xfs_trans.h (33ba6129208475ec3aeffe6e9dad9f9afe022405) xfs_trans.h (77d61fe45e720577a2cc0e9580fbc57d8faa7232)
1/*
2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

--- 25 unchanged lines hidden (view full) ---

34struct xfs_dquot_acct;
35struct xfs_busy_extent;
36struct xfs_rud_log_item;
37struct xfs_rui_log_item;
38struct xfs_btree_cur;
39struct xfs_cui_log_item;
40struct xfs_cud_log_item;
41struct xfs_defer_ops;
1/*
2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

--- 25 unchanged lines hidden (view full) ---

34struct xfs_dquot_acct;
35struct xfs_busy_extent;
36struct xfs_rud_log_item;
37struct xfs_rui_log_item;
38struct xfs_btree_cur;
39struct xfs_cui_log_item;
40struct xfs_cud_log_item;
41struct xfs_defer_ops;
42struct xfs_bui_log_item;
42
43typedef struct xfs_log_item {
44 struct list_head li_ail; /* AIL pointers */
45 xfs_lsn_t li_lsn; /* last on-disk lsn */
46 struct xfs_log_item_desc *li_desc; /* ptr to current desc*/
47 struct xfs_mount *li_mountp; /* ptr to fs mount */
48 struct xfs_ail *li_ailp; /* ptr to AIL */
49 uint li_type; /* item type */

--- 208 unchanged lines hidden (view full) ---

258struct xfs_cud_log_item *xfs_trans_get_cud(struct xfs_trans *tp,
259 struct xfs_cui_log_item *cuip);
260int xfs_trans_log_finish_refcount_update(struct xfs_trans *tp,
261 struct xfs_cud_log_item *cudp, struct xfs_defer_ops *dfops,
262 enum xfs_refcount_intent_type type, xfs_fsblock_t startblock,
263 xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb,
264 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
265
43
44typedef struct xfs_log_item {
45 struct list_head li_ail; /* AIL pointers */
46 xfs_lsn_t li_lsn; /* last on-disk lsn */
47 struct xfs_log_item_desc *li_desc; /* ptr to current desc*/
48 struct xfs_mount *li_mountp; /* ptr to fs mount */
49 struct xfs_ail *li_ailp; /* ptr to AIL */
50 uint li_type; /* item type */

--- 208 unchanged lines hidden (view full) ---

259struct xfs_cud_log_item *xfs_trans_get_cud(struct xfs_trans *tp,
260 struct xfs_cui_log_item *cuip);
261int xfs_trans_log_finish_refcount_update(struct xfs_trans *tp,
262 struct xfs_cud_log_item *cudp, struct xfs_defer_ops *dfops,
263 enum xfs_refcount_intent_type type, xfs_fsblock_t startblock,
264 xfs_extlen_t blockcount, xfs_fsblock_t *new_fsb,
265 xfs_extlen_t *new_len, struct xfs_btree_cur **pcur);
266
267/* mapping updates */
268enum xfs_bmap_intent_type;
269
270void xfs_bmap_update_init_defer_op(void);
271struct xfs_bud_log_item *xfs_trans_get_bud(struct xfs_trans *tp,
272 struct xfs_bui_log_item *buip);
273int xfs_trans_log_finish_bmap_update(struct xfs_trans *tp,
274 struct xfs_bud_log_item *rudp, struct xfs_defer_ops *dfops,
275 enum xfs_bmap_intent_type type, struct xfs_inode *ip,
276 int whichfork, xfs_fileoff_t startoff, xfs_fsblock_t startblock,
277 xfs_filblks_t blockcount, xfs_exntst_t state);
278
266#endif /* __XFS_TRANS_H__ */
279#endif /* __XFS_TRANS_H__ */