xref: /openbmc/linux/fs/btrfs/ioctl.h (revision 3db55767)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef BTRFS_IOCTL_H
4 #define BTRFS_IOCTL_H
5 
6 long btrfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
7 long btrfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
8 int btrfs_fileattr_get(struct dentry *dentry, struct fileattr *fa);
9 int btrfs_fileattr_set(struct mnt_idmap *idmap,
10 		       struct dentry *dentry, struct fileattr *fa);
11 int btrfs_ioctl_get_supported_features(void __user *arg);
12 void btrfs_sync_inode_flags_to_i_flags(struct inode *inode);
13 int __pure btrfs_is_empty_uuid(u8 *uuid);
14 void btrfs_update_ioctl_balance_args(struct btrfs_fs_info *fs_info,
15 				     struct btrfs_ioctl_balance_args *bargs);
16 
17 #endif
18