Blame view

fs/xfs/xfs_ioctl.h 1.92 KB
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  /*
   * Copyright (c) 2008 Silicon Graphics, Inc.
   * All Rights Reserved.
   *
   * This program is free software; you can redistribute it and/or
   * modify it under the terms of the GNU General Public License as
   * published by the Free Software Foundation.
   *
   * This program is distributed in the hope that it would be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with this program; if not, write the Free Software Foundation,
   * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   */
  #ifndef __XFS_IOCTL_H__
  #define __XFS_IOCTL_H__
  
  extern int
  xfs_ioc_space(
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
23
  	struct file		*filp,
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
24
25
  	unsigned int		cmd,
  	xfs_flock64_t		*bf);
a133d952b   Dave Chinner   xfs: consolidate ...
26
27
28
  int
  xfs_ioc_swapext(
  	xfs_swapext_t	*sxp);
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
29
30
31
32
33
34
35
  extern int
  xfs_find_handle(
  	unsigned int		cmd,
  	xfs_fsop_handlereq_t	*hreq);
  
  extern int
  xfs_open_by_handle(
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
36
  	struct file		*parfilp,
ab596ad89   Christoph Hellwig   xfs: fix dentry a...
37
  	xfs_fsop_handlereq_t	*hreq);
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
38
39
40
  
  extern int
  xfs_readlink_by_handle(
ab596ad89   Christoph Hellwig   xfs: fix dentry a...
41
42
  	struct file		*parfilp,
  	xfs_fsop_handlereq_t	*hreq);
28750975a   sandeen@sandeen.net   [XFS] Hook up com...
43
44
45
46
  
  extern int
  xfs_attrmulti_attr_get(
  	struct inode		*inode,
a9273ca5c   Dave Chinner   xfs: convert attr...
47
48
  	unsigned char		*name,
  	unsigned char		__user *ubuf,
28750975a   sandeen@sandeen.net   [XFS] Hook up com...
49
50
51
52
  	__uint32_t		*len,
  	__uint32_t		flags);
  
  extern int
a9273ca5c   Dave Chinner   xfs: convert attr...
53
  xfs_attrmulti_attr_set(
28750975a   sandeen@sandeen.net   [XFS] Hook up com...
54
  	struct inode		*inode,
a9273ca5c   Dave Chinner   xfs: convert attr...
55
56
  	unsigned char		*name,
  	const unsigned char	__user *ubuf,
28750975a   sandeen@sandeen.net   [XFS] Hook up com...
57
58
59
60
61
62
  	__uint32_t		len,
  	__uint32_t		flags);
  
  extern int
  xfs_attrmulti_attr_remove(
  	struct inode		*inode,
a9273ca5c   Dave Chinner   xfs: convert attr...
63
  	unsigned char		*name,
28750975a   sandeen@sandeen.net   [XFS] Hook up com...
64
  	__uint32_t		flags);
ab596ad89   Christoph Hellwig   xfs: fix dentry a...
65
66
67
68
69
  extern struct dentry *
  xfs_handle_to_dentry(
  	struct file		*parfilp,
  	void __user		*uhandle,
  	u32			hlen);
ddcd856d8   Christoph Hellwig   [XFS] fix compile...
70
  extern long
4d4be482a   Christoph Hellwig   [XFS] add a FMODE...
71
72
  xfs_file_ioctl(
  	struct file		*filp,
ddcd856d8   Christoph Hellwig   [XFS] fix compile...
73
  	unsigned int		cmd,
4d4be482a   Christoph Hellwig   [XFS] add a FMODE...
74
  	unsigned long		p);
ddcd856d8   Christoph Hellwig   [XFS] fix compile...
75
76
  
  extern long
4d4be482a   Christoph Hellwig   [XFS] add a FMODE...
77
  xfs_file_compat_ioctl(
ddcd856d8   Christoph Hellwig   [XFS] fix compile...
78
79
80
  	struct file		*file,
  	unsigned int		cmd,
  	unsigned long		arg);
c24b5dfad   Dave Chinner   xfs: kill xfs_vno...
81
82
83
84
85
  extern int
  xfs_set_dmattrs(
  	struct xfs_inode	*ip,
  	u_int			evmask,
  	u_int16_t		state);
d5547f9fe   sandeen@sandeen.net   [XFS] Clean up so...
86
  #endif