.. | .. |
---|
6 | 6 | #ifndef __XFS_IOCTL_H__ |
---|
7 | 7 | #define __XFS_IOCTL_H__ |
---|
8 | 8 | |
---|
| 9 | +struct xfs_bstat; |
---|
| 10 | +struct xfs_ibulk; |
---|
| 11 | +struct xfs_inogrp; |
---|
| 12 | + |
---|
| 13 | + |
---|
9 | 14 | extern int |
---|
10 | 15 | xfs_ioc_space( |
---|
11 | 16 | struct file *filp, |
---|
12 | | - unsigned int cmd, |
---|
13 | 17 | xfs_flock64_t *bf); |
---|
14 | 18 | |
---|
15 | 19 | int |
---|
.. | .. |
---|
31 | 35 | struct file *parfilp, |
---|
32 | 36 | xfs_fsop_handlereq_t *hreq); |
---|
33 | 37 | |
---|
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); |
---|
55 | 44 | |
---|
56 | 45 | extern struct dentry * |
---|
57 | 46 | xfs_handle_to_dentry( |
---|
.. | .. |
---|
71 | 60 | unsigned int cmd, |
---|
72 | 61 | unsigned long arg); |
---|
73 | 62 | |
---|
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); |
---|
79 | 66 | |
---|
80 | 67 | #endif |
---|