Searched refs:_IOC_READ (Results 1 – 8 of 8) sorted by relevance
/arch/sparc/include/uapi/asm/ |
D | ioctl.h | 35 #define _IOC_READ 2U macro 45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) 51 ( (((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) != 0)? \ 52 (((nr) >> _IOC_DIRSHIFT) & (_IOC_WRITE|_IOC_READ)): \ 57 ((((((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) & (_IOC_WRITE|_IOC_READ)) == 0)? \ 62 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT) 63 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
|
/arch/alpha/include/uapi/asm/ |
D | ioctl.h | 36 #define _IOC_READ 2U macro 48 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 50 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) 61 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT) 62 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
|
/arch/s390/include/uapi/asm/ |
D | zcrypt.h | 320 #define ICARSAMODEXPO _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x05, 0) 321 #define ICARSACRT _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x06, 0) 322 #define ZSECSENDCPRB _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x81, 0) 323 #define ZSENDEP11CPRB _IOC(_IOC_READ|_IOC_WRITE, ZCRYPT_IOCTL_MAGIC, 0x04, 0)
|
/arch/parisc/include/uapi/asm/ |
D | ioctl.h | 40 #define _IOC_READ 1U macro
|
/arch/powerpc/include/uapi/asm/ |
D | ioctl.h | 8 #define _IOC_READ 2U macro
|
/arch/mips/include/uapi/asm/ |
D | ioctl.h | 22 #define _IOC_READ 2U macro
|
/arch/tile/include/uapi/asm/ |
D | hardwall.h | 36 _IOC(_IOC_READ, HARDWALL_IOCTL_BASE, _HARDWALL_CREATE, (size))
|
/arch/cris/arch-v32/drivers/ |
D | cryptocop.c | 3115 if (_IOC_DIR(cmd) & _IOC_READ) in cryptocop_ioctl_unlocked()
|