1
2
3
4
5
6#ifndef __XFS_IOCTL_H__
7#define __XFS_IOCTL_H__
8
9extern int
10xfs_ioc_space(
11 struct file *filp,
12 xfs_flock64_t *bf);
13
14int
15xfs_ioc_swapext(
16 xfs_swapext_t *sxp);
17
18extern int
19xfs_find_handle(
20 unsigned int cmd,
21 xfs_fsop_handlereq_t *hreq);
22
23extern int
24xfs_open_by_handle(
25 struct file *parfilp,
26 xfs_fsop_handlereq_t *hreq);
27
28extern int
29xfs_readlink_by_handle(
30 struct file *parfilp,
31 xfs_fsop_handlereq_t *hreq);
32
33extern int
34xfs_attrmulti_attr_get(
35 struct inode *inode,
36 unsigned char *name,
37 unsigned char __user *ubuf,
38 uint32_t *len,
39 uint32_t flags);
40
41extern int
42xfs_attrmulti_attr_set(
43 struct inode *inode,
44 unsigned char *name,
45 const unsigned char __user *ubuf,
46 uint32_t len,
47 uint32_t flags);
48
49extern int
50xfs_attrmulti_attr_remove(
51 struct inode *inode,
52 unsigned char *name,
53 uint32_t flags);
54
55extern struct dentry *
56xfs_handle_to_dentry(
57 struct file *parfilp,
58 void __user *uhandle,
59 u32 hlen);
60
61extern long
62xfs_file_ioctl(
63 struct file *filp,
64 unsigned int cmd,
65 unsigned long p);
66
67extern long
68xfs_file_compat_ioctl(
69 struct file *file,
70 unsigned int cmd,
71 unsigned long arg);
72
73struct xfs_ibulk;
74struct xfs_bstat;
75struct xfs_inogrp;
76
77int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq,
78 const struct xfs_bulkstat *bstat);
79int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp);
80
81#endif
82