1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2008 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6#ifndef __XFS_IOCTL_H__ 7#define __XFS_IOCTL_H__ 8 9struct xfs_bstat; 10struct xfs_ibulk; 11struct xfs_inogrp; 12 13int 14xfs_ioc_swapext( 15 xfs_swapext_t *sxp); 16 17extern int 18xfs_fileattr_get( 19 struct dentry *dentry, 20 struct fileattr *fa); 21 22extern int 23xfs_fileattr_set( 24 struct mnt_idmap *idmap, 25 struct dentry *dentry, 26 struct fileattr *fa); 27 28extern long 29xfs_file_ioctl( 30 struct file *filp, 31 unsigned int cmd, 32 unsigned long p); 33 34extern long 35xfs_file_compat_ioctl( 36 struct file *file, 37 unsigned int cmd, 38 unsigned long arg); 39 40int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq, 41 const struct xfs_bulkstat *bstat); 42int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp); 43 44#endif 45