2 FUSE-ioctl: ioctl support for FUSE
3 Copyright (C) 2008 SUSE Linux Products GmbH
4 Copyright (C) 2008 Tejun Heo <teheo@suse.de>
6 This program can be distributed under the terms of the GNU GPL.
13 * fioc.h - FUSE-ioctl: ioctl support for FUSE
19 #include <sys/types.h>
21 #include <sys/ioctl.h>
24 FIOC_GET_SIZE
= _IOR('E', 0, size_t),
25 FIOC_SET_SIZE
= _IOW('E', 1, size_t),
28 * The following two ioctls don't follow usual encoding rules
29 * and transfer variable amount of data.
31 FIOC_READ
= _IO('E', 2),
32 FIOC_WRITE
= _IO('E', 3),
39 size_t prev_size
; /* out param for previous total size */
40 size_t new_size
; /* out param for new total size */