xfs_trans.h (8c9ce2f707a1571782b4d3d100af627b6d147357) xfs_trans.h (ddf92053e45c0e07dcb031b56512d52f98cde517)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
4 * All Rights Reserved.
5 */
6#ifndef __XFS_TRANS_H__
7#define __XFS_TRANS_H__
8

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

67 { (1 << XFS_LI_DIRTY), "DIRTY" }
68
69struct xfs_item_ops {
70 void (*iop_size)(xfs_log_item_t *, int *, int *);
71 void (*iop_format)(xfs_log_item_t *, struct xfs_log_vec *);
72 void (*iop_pin)(xfs_log_item_t *);
73 void (*iop_unpin)(xfs_log_item_t *, int remove);
74 uint (*iop_push)(struct xfs_log_item *, struct list_head *);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
4 * All Rights Reserved.
5 */
6#ifndef __XFS_TRANS_H__
7#define __XFS_TRANS_H__
8

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

67 { (1 << XFS_LI_DIRTY), "DIRTY" }
68
69struct xfs_item_ops {
70 void (*iop_size)(xfs_log_item_t *, int *, int *);
71 void (*iop_format)(xfs_log_item_t *, struct xfs_log_vec *);
72 void (*iop_pin)(xfs_log_item_t *);
73 void (*iop_unpin)(xfs_log_item_t *, int remove);
74 uint (*iop_push)(struct xfs_log_item *, struct list_head *);
75 void (*iop_unlock)(xfs_log_item_t *);
75 void (*iop_committing)(struct xfs_log_item *, xfs_lsn_t commit_lsn);
76 void (*iop_release)(struct xfs_log_item *);
76 xfs_lsn_t (*iop_committed)(xfs_log_item_t *, xfs_lsn_t);
77 xfs_lsn_t (*iop_committed)(xfs_log_item_t *, xfs_lsn_t);
77 void (*iop_committing)(xfs_log_item_t *, xfs_lsn_t);
78 void (*iop_error)(xfs_log_item_t *, xfs_buf_t *);
79};
80
81void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item,
82 int type, const struct xfs_item_ops *ops);
83
84/*
85 * Return values for the iop_push() routines.

--- 196 unchanged lines hidden ---
78 void (*iop_error)(xfs_log_item_t *, xfs_buf_t *);
79};
80
81void xfs_log_item_init(struct xfs_mount *mp, struct xfs_log_item *item,
82 int type, const struct xfs_item_ops *ops);
83
84/*
85 * Return values for the iop_push() routines.

--- 196 unchanged lines hidden ---