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.
10 #include <sys/types.h>
12 #include <sys/ioctl.h>
15 FIOC_GET_SIZE
= _IOR('E', 0, size_t),
16 FIOC_SET_SIZE
= _IOW('E', 1, size_t),
19 * The following two ioctls don't follow usual encoding rules
20 * and transfer variable amount of data.
22 FIOC_READ
= _IO('E', 2),
23 FIOC_WRITE
= _IO('E', 3),
30 size_t prev_size
; /* out param for previous total size */
31 size_t new_size
; /* out param for new total size */