drm/tests: Add test for drm_atomic_helper_check_modeset()
[drm/drm-misc.git] / fs / xfs / xfs_ioctl.h
blob12124946f347e97271746c21ce356b47ea22ef5b
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__
9 struct xfs_bstat;
10 struct xfs_ibulk;
11 struct xfs_inogrp;
13 int
14 xfs_ioc_swapext(
15 xfs_swapext_t *sxp);
17 extern int
18 xfs_fileattr_get(
19 struct dentry *dentry,
20 struct fileattr *fa);
22 extern int
23 xfs_fileattr_set(
24 struct mnt_idmap *idmap,
25 struct dentry *dentry,
26 struct fileattr *fa);
28 extern long
29 xfs_file_ioctl(
30 struct file *filp,
31 unsigned int cmd,
32 unsigned long p);
34 extern long
35 xfs_file_compat_ioctl(
36 struct file *file,
37 unsigned int cmd,
38 unsigned long arg);
40 int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq,
41 const struct xfs_bulkstat *bstat);
42 int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp);
44 #endif