Lines Matching refs:ioctl
6 If you are adding new ioctl's to the kernel, you should use the _IO
7 macros defined in <linux/ioctl.h>:
9 _IO an ioctl with no parameters
10 _IOW an ioctl with write parameters (copy_from_user)
11 _IOR an ioctl with read parameters (copy_to_user)
12 _IOWR an ioctl with both write and read parameters.
15 system calls 'write' and 'read'. For example, a SET_FOO ioctl would
17 a GET_FOO ioctl would be _IOR, although the kernel would actually write
25 unused block with enough room for expansion: 32 to 256 ioctl commands.
34 sizeof(arg) as the third argument as this results in your ioctl thinking
43 (1) Keeping the ioctl's globally unique helps error checking:
44 if a program calls an ioctl on the wrong device, it will get an
47 (2) The 'strace' build procedure automatically finds ioctl numbers
54 this convention is used to define the ioctl numbers.
231 'h' 80-8F fs/hfsplus/ioctl.c
250 'n' 00-7F linux/ncp_fs.h and fs/ncpfs/ioctl.c
270 't' 00-7F linux/ppp-ioctl.h
300 0x94 all fs/btrfs/ioctl.h
301 0x97 00-7F fs/ceph/ioctl.h Ceph file system
321 0xB3 00 linux/mmc/ioctl.h
328 0xCF 02 fs/cifs/ioctl.c
340 0xFD all linux/dm-ioctl.h