Home
last modified time | relevance | path

Searched refs:_IOC_READ (Results 1 – 8 of 8) sorted by relevance

/arch/sparc/include/uapi/asm/
Dioctl.h35 #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/
Dioctl.h36 #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/
Dzcrypt.h320 #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/
Dioctl.h40 #define _IOC_READ 1U macro
/arch/powerpc/include/uapi/asm/
Dioctl.h8 #define _IOC_READ 2U macro
/arch/mips/include/uapi/asm/
Dioctl.h22 #define _IOC_READ 2U macro
/arch/tile/include/uapi/asm/
Dhardwall.h36 _IOC(_IOC_READ, HARDWALL_IOCTL_BASE, _HARDWALL_CREATE, (size))
/arch/cris/arch-v32/drivers/
Dcryptocop.c3115 if (_IOC_DIR(cmd) & _IOC_READ) in cryptocop_ioctl_unlocked()