/openbmc/linux/include/drm/ |
H A D | drm_ioctl.h | 71 #define DRM_IOCTL_TYPE(n) _IOC_TYPE(n)
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | ioctl.h | 55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | ioctl.h | 55 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | ioctl.h | 95 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
|
/openbmc/linux/rust/kernel/ |
H A D | ioctl.rs | 60 pub const fn _IOC_TYPE(nr: u32) -> u32 { in _IOC_TYPE() function
|
/openbmc/u-boot/include/asm-generic/ |
H A D | ioctl.h | 93 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) macro
|
/openbmc/linux/drivers/spi/ |
H A D | spidev.c | 338 if (_IOC_TYPE(cmd) != SPI_IOC_MAGIC in spidev_get_ioc_message() 365 if (_IOC_TYPE(cmd) != SPI_IOC_MAGIC) in spidev_ioctl() 582 if (_IOC_TYPE(cmd) == SPI_IOC_MAGIC in spidev_compat_ioctl()
|
/openbmc/linux/fs/orangefs/ |
H A D | devorangefs-req.c | 575 if (_IOC_TYPE(command) != ORANGEFS_DEV_MAGIC) { in check_ioctl_command() 578 _IOC_TYPE(command), in check_ioctl_command()
|
/openbmc/linux/fs/autofs/ |
H A D | dev-ioctl.c | 606 if (_IOC_TYPE(command) != _IOC_TYPE(AUTOFS_DEV_IOCTL_IOC_FIRST) || in _autofs_dev_ioctl()
|
H A D | root.c | 863 if (_IOC_TYPE(cmd) != _IOC_TYPE(AUTOFS_IOC_FIRST) || in autofs_root_ioctl_unlocked()
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | ioctl.c | 130 type = _IOC_TYPE(cmd), in ioctl__scnprintf_cmd()
|
/openbmc/linux/kernel/power/ |
H A D | user.c | 262 if (_IOC_TYPE(cmd) != SNAPSHOT_IOC_MAGIC) in snapshot_ioctl()
|
/openbmc/linux/drivers/s390/char/ |
H A D | uvdevice.c | 386 if (_IOC_TYPE(cmd) != UVIO_TYPE_UVC) in uvio_copy_and_check_ioctl()
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_chardev.c | 350 if (_IOC_TYPE(cmd) != CROS_EC_DEV_IOC) in cros_ec_chardev_ioctl()
|
/openbmc/linux/drivers/pps/ |
H A D | pps.c | 255 cmd = _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(void *)); in pps_cdev_compat_ioctl()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 1191 if (_IOC_TYPE(cmd) == 'V' && _IOC_NR(cmd) < BASE_VIDIOC_PRIVATE) in v4l2_compat_ioctl32() 1199 _IOC_TYPE(cmd), _IOC_DIR(cmd), _IOC_NR(cmd), cmd); in v4l2_compat_ioctl32()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_ioctl32.c | 29 _IOC(_IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), sizeof(type))
|
/openbmc/linux/drivers/usb/class/ |
H A D | usblp.c | 536 _IOC_TYPE(cmd), _IOC_NR(cmd), _IOC_SIZE(cmd), _IOC_DIR(cmd)); in usblp_ioctl() 538 if (_IOC_TYPE(cmd) == 'P') /* new-style ioctl number */ in usblp_ioctl()
|
/openbmc/linux/drivers/virt/ |
H A D | fsl_hypervisor.c | 445 _IOC_DIR(cmd), _IOC_TYPE(cmd), _IOC_NR(cmd), in fsl_hv_ioctl()
|
/openbmc/linux/drivers/hid/ |
H A D | hidraw.c | 427 if (_IOC_TYPE(cmd) != 'H') { in hidraw_ioctl()
|
/openbmc/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mm.c | 118 if ((_IOC_TYPE(cmd) != MEGAIOC_MAGIC) && (cmd != USCSICMD)) { in mraid_mm_ioctl()
|
/openbmc/linux/drivers/hid/usbhid/ |
H A D | hiddev.c | 820 if (_IOC_TYPE(cmd) != 'H' || _IOC_DIR(cmd) != _IOC_READ) in hiddev_ioctl()
|
/openbmc/linux/drivers/scsi/ |
H A D | st.c | 3538 cmd_type = _IOC_TYPE(cmd_in); in st_ioctl() 3541 if (cmd_type == _IOC_TYPE(MTIOCTOP) && cmd_nr == _IOC_NR(MTIOCTOP)) { in st_ioctl() 3746 if (cmd_type == _IOC_TYPE(MTIOCGET) && cmd_nr == _IOC_NR(MTIOCGET)) { in st_ioctl() 3811 if (cmd_type == _IOC_TYPE(MTIOCPOS) && cmd_nr == _IOC_NR(MTIOCPOS)) { in st_ioctl()
|
/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_dev.c | 1067 if (_IOC_TYPE(cmd) != GENWQE_IOC_CODE) in genwqe_ioctl()
|
/openbmc/linux/net/rfkill/ |
H A D | core.c | 1357 if (_IOC_TYPE(cmd) != RFKILL_IOC_MAGIC) in rfkill_fop_ioctl()
|