Merge tag 'pm-6.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux-2.6-block.git] / fs / xfs / xfs_ioctl.h
CommitLineData
0b61f8a4 1// SPDX-License-Identifier: GPL-2.0
d5547f9f 2/*
3 * Copyright (c) 2008 Silicon Graphics, Inc.
4 * All Rights Reserved.
d5547f9f 5 */
6#ifndef __XFS_IOCTL_H__
7#define __XFS_IOCTL_H__
8
3e7a7799
CH
9struct xfs_bstat;
10struct xfs_ibulk;
11struct xfs_inogrp;
12
a133d952
DC
13int
14xfs_ioc_swapext(
15 xfs_swapext_t *sxp);
16
9fefd5db
MS
17extern int
18xfs_fileattr_get(
19 struct dentry *dentry,
20 struct fileattr *fa);
21
22extern int
23xfs_fileattr_set(
8782a9ae 24 struct mnt_idmap *idmap,
9fefd5db
MS
25 struct dentry *dentry,
26 struct fileattr *fa);
27
ddcd856d 28extern long
4d4be482
CH
29xfs_file_ioctl(
30 struct file *filp,
ddcd856d 31 unsigned int cmd,
4d4be482 32 unsigned long p);
ddcd856d
CH
33
34extern long
4d4be482 35xfs_file_compat_ioctl(
ddcd856d
CH
36 struct file *file,
37 unsigned int cmd,
38 unsigned long arg);
39
8bfe9d18 40int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq,
7035f972 41 const struct xfs_bulkstat *bstat);
5f19c7fc 42int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp);
2810bd68 43
d5547f9f 44#endif