^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (c) 2008-2010, Dave Chinner
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * All Rights Reserved.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #ifndef XFS_ICREATE_ITEM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define XFS_ICREATE_ITEM_H 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) /* in memory log item structure */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct xfs_icreate_item {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct xfs_log_item ic_item;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct xfs_icreate_log ic_format;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) extern kmem_zone_t *xfs_icreate_zone; /* inode create item zone */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) xfs_agblock_t agbno, unsigned int count,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) unsigned int inode_size, xfs_agblock_t length,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) unsigned int generation);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif /* XFS_ICREATE_ITEM_H */