45 lines · c
1// SPDX-License-Identifier: GPL-2.02/*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 13int14xfs_ioc_swapext(15 xfs_swapext_t *sxp);16 17extern int18xfs_fileattr_get(19 struct dentry *dentry,20 struct fileattr *fa);21 22extern int23xfs_fileattr_set(24 struct mnt_idmap *idmap,25 struct dentry *dentry,26 struct fileattr *fa);27 28extern long29xfs_file_ioctl(30 struct file *filp,31 unsigned int cmd,32 unsigned long p);33 34extern long35xfs_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#endif45