Blame view
fs/xfs/xfs_ioctl.h
1.31 KB
0b61f8a40
|
1 |
// SPDX-License-Identifier: GPL-2.0 |
d5547f9fe
|
2 3 4 |
/* * Copyright (c) 2008 Silicon Graphics, Inc. * All Rights Reserved. |
d5547f9fe
|
5 6 7 8 9 10 |
*/ #ifndef __XFS_IOCTL_H__ #define __XFS_IOCTL_H__ extern int xfs_ioc_space( |
d5547f9fe
|
11 |
struct file *filp, |
d5547f9fe
|
12 13 |
unsigned int cmd, xfs_flock64_t *bf); |
a133d952b
|
14 15 16 |
int xfs_ioc_swapext( xfs_swapext_t *sxp); |
d5547f9fe
|
17 18 19 20 21 22 23 |
extern int xfs_find_handle( unsigned int cmd, xfs_fsop_handlereq_t *hreq); extern int xfs_open_by_handle( |
d5547f9fe
|
24 |
struct file *parfilp, |
ab596ad89
|
25 |
xfs_fsop_handlereq_t *hreq); |
d5547f9fe
|
26 27 28 |
extern int xfs_readlink_by_handle( |
ab596ad89
|
29 30 |
struct file *parfilp, xfs_fsop_handlereq_t *hreq); |
28750975a
|
31 32 33 34 |
extern int xfs_attrmulti_attr_get( struct inode *inode, |
a9273ca5c
|
35 36 |
unsigned char *name, unsigned char __user *ubuf, |
c8ce540db
|
37 38 |
uint32_t *len, uint32_t flags); |
28750975a
|
39 40 |
extern int |
a9273ca5c
|
41 |
xfs_attrmulti_attr_set( |
28750975a
|
42 |
struct inode *inode, |
a9273ca5c
|
43 44 |
unsigned char *name, const unsigned char __user *ubuf, |
c8ce540db
|
45 46 |
uint32_t len, uint32_t flags); |
28750975a
|
47 48 49 50 |
extern int xfs_attrmulti_attr_remove( struct inode *inode, |
a9273ca5c
|
51 |
unsigned char *name, |
c8ce540db
|
52 |
uint32_t flags); |
28750975a
|
53 |
|
ab596ad89
|
54 55 56 57 58 |
extern struct dentry * xfs_handle_to_dentry( struct file *parfilp, void __user *uhandle, u32 hlen); |
ddcd856d8
|
59 |
extern long |
4d4be482a
|
60 61 |
xfs_file_ioctl( struct file *filp, |
ddcd856d8
|
62 |
unsigned int cmd, |
4d4be482a
|
63 |
unsigned long p); |
ddcd856d8
|
64 65 |
extern long |
4d4be482a
|
66 |
xfs_file_compat_ioctl( |
ddcd856d8
|
67 68 69 |
struct file *file, unsigned int cmd, unsigned long arg); |
c24b5dfad
|
70 71 72 |
extern int xfs_set_dmattrs( struct xfs_inode *ip, |
65a7935dd
|
73 74 |
uint evmask, uint16_t state); |
c24b5dfad
|
75 |
|
d5547f9fe
|
76 |
#endif |