Linux 6.13-rc4
[linux.git] / fs / btrfs / ioctl.h
blob2b760c8778f882f2c94b5469195b548be545f427
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef BTRFS_IOCTL_H
4 #define BTRFS_IOCTL_H
6 #include <linux/types.h>
8 struct file;
9 struct dentry;
10 struct mnt_idmap;
11 struct fileattr;
12 struct btrfs_fs_info;
13 struct btrfs_ioctl_balance_args;
15 long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
16 long btrfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
17 int btrfs_fileattr_get(struct dentry *dentry, struct fileattr *fa);
18 int btrfs_fileattr_set(struct mnt_idmap *idmap,
19 struct dentry *dentry, struct fileattr *fa);
20 int btrfs_ioctl_get_supported_features(void __user *arg);
21 void btrfs_sync_inode_flags_to_i_flags(struct inode *inode);
22 int __pure btrfs_is_empty_uuid(const u8 *uuid);
23 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
24 struct btrfs_ioctl_balance_args *bargs);
25 int btrfs_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags);
26 void btrfs_uring_read_extent_endio(void *ctx, int err);
28 #endif