Home
last modified time | relevance | path

Searched refs:_IOC_SIZESHIFT (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/arch/alpha/include/uapi/asm/
Dioctl.h28 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) macro
29 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
45 ((size) << _IOC_SIZESHIFT)))
57 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
64 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
65 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/
Dioctl.h32 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT + _IOC_TYPEBITS) macro
33 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT + _IOC_SIZEBITS)
43 ((size) << _IOC_SIZESHIFT))
59 0: (((nr) >> _IOC_SIZESHIFT) & _IOC_XSIZEMASK))
65 #define IOCSIZE_MASK (_IOC_XSIZEMASK << _IOC_SIZESHIFT)
66 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dioctl.h22 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) macro
23 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
37 ((size) << _IOC_SIZESHIFT))
51 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
55 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
56 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dioctl.h35 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT + _IOC_TYPEBITS) macro
36 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT + _IOC_SIZEBITS)
46 … _IOC_DIRSHIFT) | ((type) << _IOC_TYPESHIFT) | ((nr) << _IOC_NRSHIFT) | ((size) << _IOC_SIZESHIFT))
58 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
62 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
63 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dioctl.h46 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) macro
47 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
73 ((size) << _IOC_SIZESHIFT))
97 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
104 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
105 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/kernel/linux/linux-5.10/drivers/misc/
Dphantom.c201 cmd &= ~(_IOC_SIZEMASK << _IOC_SIZESHIFT); in phantom_compat_ioctl()
202 cmd |= sizeof(void *) << _IOC_SIZESHIFT; in phantom_compat_ioctl()
/kernel/linux/linux-5.10/drivers/input/
Devdev.c1144 #define EVIOC_MASK_SIZE(nr) ((nr) & ~(_IOC_SIZEMASK << _IOC_SIZESHIFT)) in evdev_do_ioctl()