162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2008-2010, Dave Chinner 462306a36Sopenharmony_ci * All Rights Reserved. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci#ifndef XFS_ICREATE_ITEM_H 762306a36Sopenharmony_ci#define XFS_ICREATE_ITEM_H 1 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* in memory log item structure */ 1062306a36Sopenharmony_cistruct xfs_icreate_item { 1162306a36Sopenharmony_ci struct xfs_log_item ic_item; 1262306a36Sopenharmony_ci struct xfs_icreate_log ic_format; 1362306a36Sopenharmony_ci}; 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciextern struct kmem_cache *xfs_icreate_cache; /* inode create item */ 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_civoid xfs_icreate_log(struct xfs_trans *tp, xfs_agnumber_t agno, 1862306a36Sopenharmony_ci xfs_agblock_t agbno, unsigned int count, 1962306a36Sopenharmony_ci unsigned int inode_size, xfs_agblock_t length, 2062306a36Sopenharmony_ci unsigned int generation); 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#endif /* XFS_ICREATE_ITEM_H */ 23