hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/fs/xfs/xfs_ioctl.h
....@@ -6,10 +6,14 @@
66 #ifndef __XFS_IOCTL_H__
77 #define __XFS_IOCTL_H__
88
9
+struct xfs_bstat;
10
+struct xfs_ibulk;
11
+struct xfs_inogrp;
12
+
13
+
914 extern int
1015 xfs_ioc_space(
1116 struct file *filp,
12
- unsigned int cmd,
1317 xfs_flock64_t *bf);
1418
1519 int
....@@ -31,27 +35,12 @@
3135 struct file *parfilp,
3236 xfs_fsop_handlereq_t *hreq);
3337
34
-extern int
35
-xfs_attrmulti_attr_get(
36
- struct inode *inode,
37
- unsigned char *name,
38
- unsigned char __user *ubuf,
39
- uint32_t *len,
40
- uint32_t flags);
41
-
42
-extern int
43
-xfs_attrmulti_attr_set(
44
- struct inode *inode,
45
- unsigned char *name,
46
- const unsigned char __user *ubuf,
47
- uint32_t len,
48
- uint32_t flags);
49
-
50
-extern int
51
-xfs_attrmulti_attr_remove(
52
- struct inode *inode,
53
- unsigned char *name,
54
- uint32_t flags);
38
+int xfs_ioc_attrmulti_one(struct file *parfilp, struct inode *inode,
39
+ uint32_t opcode, void __user *uname, void __user *value,
40
+ uint32_t *len, uint32_t flags);
41
+int xfs_ioc_attr_list(struct xfs_inode *dp, void __user *ubuf,
42
+ size_t bufsize, int flags,
43
+ struct xfs_attrlist_cursor __user *ucursor);
5544
5645 extern struct dentry *
5746 xfs_handle_to_dentry(
....@@ -71,10 +60,8 @@
7160 unsigned int cmd,
7261 unsigned long arg);
7362
74
-extern int
75
-xfs_set_dmattrs(
76
- struct xfs_inode *ip,
77
- uint evmask,
78
- uint16_t state);
63
+int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq,
64
+ const struct xfs_bulkstat *bstat);
65
+int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp);
7966
8067 #endif