_IOC_SIZE 2458 block/sed-opal.c p = memdup_user(arg, _IOC_SIZE(cmd)); _IOC_SIZE 4830 drivers/android/binder.c unsigned int size = _IOC_SIZE(cmd); _IOC_SIZE 5004 drivers/android/binder.c unsigned int size = _IOC_SIZE(cmd); _IOC_SIZE 3342 drivers/block/floppy.c *size = _IOC_SIZE(*cmd); _IOC_SIZE 3344 drivers/block/floppy.c if (*size > _IOC_SIZE(*cmd)) { _IOC_SIZE 1442 drivers/char/pcmcia/cm4000_cs.c size = _IOC_SIZE(cmd); _IOC_SIZE 1623 drivers/firewire/core-cdev.c _IOC_SIZE(cmd) > sizeof(buffer)) _IOC_SIZE 1629 drivers/firewire/core-cdev.c if (copy_from_user(&buffer, arg, _IOC_SIZE(cmd))) _IOC_SIZE 1637 drivers/firewire/core-cdev.c if (copy_to_user(arg, &buffer, _IOC_SIZE(cmd))) _IOC_SIZE 1795 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c amdkfd_size = _IOC_SIZE(ioctl->cmd); _IOC_SIZE 1796 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c usize = asize = _IOC_SIZE(cmd); _IOC_SIZE 846 drivers/gpu/drm/drm_ioctl.c drv_size = _IOC_SIZE(ioctl->cmd); _IOC_SIZE 847 drivers/gpu/drm/drm_ioctl.c out_size = in_size = _IOC_SIZE(cmd); _IOC_SIZE 1143 drivers/gpu/drm/nouveau/nouveau_drm.c ret = usif_ioctl(filp, (void __user *)arg, _IOC_SIZE(cmd)); _IOC_SIZE 421 drivers/hid/hidraw.c int len = _IOC_SIZE(cmd); _IOC_SIZE 426 drivers/hid/hidraw.c int len = _IOC_SIZE(cmd); _IOC_SIZE 439 drivers/hid/hidraw.c if (len > _IOC_SIZE(cmd)) _IOC_SIZE 440 drivers/hid/hidraw.c len = _IOC_SIZE(cmd); _IOC_SIZE 448 drivers/hid/hidraw.c if (len > _IOC_SIZE(cmd)) _IOC_SIZE 449 drivers/hid/hidraw.c len = _IOC_SIZE(cmd); _IOC_SIZE 822 drivers/hid/usbhid/hiddev.c if (len > _IOC_SIZE(cmd)) _IOC_SIZE 823 drivers/hid/usbhid/hiddev.c len = _IOC_SIZE(cmd); _IOC_SIZE 831 drivers/hid/usbhid/hiddev.c if (len > _IOC_SIZE(cmd)) _IOC_SIZE 832 drivers/hid/usbhid/hiddev.c len = _IOC_SIZE(cmd); _IOC_SIZE 239 drivers/infiniband/hw/hfi1/file_ops.c ret = assign_ctxt(fd, arg, _IOC_SIZE(cmd)); _IOC_SIZE 243 drivers/infiniband/hw/hfi1/file_ops.c ret = get_ctxt_info(fd, arg, _IOC_SIZE(cmd)); _IOC_SIZE 247 drivers/infiniband/hw/hfi1/file_ops.c ret = get_base_info(fd, arg, _IOC_SIZE(cmd)); _IOC_SIZE 256 drivers/infiniband/hw/hfi1/file_ops.c ret = user_exp_rcv_setup(fd, arg, _IOC_SIZE(cmd)); _IOC_SIZE 260 drivers/infiniband/hw/hfi1/file_ops.c ret = user_exp_rcv_clear(fd, arg, _IOC_SIZE(cmd)); _IOC_SIZE 264 drivers/infiniband/hw/hfi1/file_ops.c ret = user_exp_rcv_invalid(fd, arg, _IOC_SIZE(cmd)); _IOC_SIZE 1140 drivers/input/evdev.c size = _IOC_SIZE(cmd); _IOC_SIZE 567 drivers/input/joydev.c return joydev_handle_JSIOCSAXMAP(joydev, argp, _IOC_SIZE(cmd)); _IOC_SIZE 570 drivers/input/joydev.c len = min_t(size_t, _IOC_SIZE(cmd), sizeof(joydev->abspam)); _IOC_SIZE 574 drivers/input/joydev.c return joydev_handle_JSIOCSBTNMAP(joydev, argp, _IOC_SIZE(cmd)); _IOC_SIZE 577 drivers/input/joydev.c len = min_t(size_t, _IOC_SIZE(cmd), sizeof(joydev->keypam)); _IOC_SIZE 585 drivers/input/joydev.c len = min_t(size_t, _IOC_SIZE(cmd), strlen(name) + 1); _IOC_SIZE 1014 drivers/input/misc/uinput.c size = _IOC_SIZE(cmd); _IOC_SIZE 926 drivers/media/dvb-core/dvbdev.c if (_IOC_SIZE(cmd) <= sizeof(sbuf)) { _IOC_SIZE 930 drivers/media/dvb-core/dvbdev.c mbuf = kmalloc(_IOC_SIZE(cmd), GFP_KERNEL); _IOC_SIZE 937 drivers/media/dvb-core/dvbdev.c if (copy_from_user(parg, (void __user *)arg, _IOC_SIZE(cmd))) _IOC_SIZE 954 drivers/media/dvb-core/dvbdev.c if (copy_to_user((void __user *)arg, parg, _IOC_SIZE(cmd))) _IOC_SIZE 389 drivers/media/mc/mc-device.c copy_from_user(karg, uarg, _IOC_SIZE(cmd))) _IOC_SIZE 398 drivers/media/mc/mc-device.c copy_to_user(uarg, karg, _IOC_SIZE(cmd))) _IOC_SIZE 453 drivers/media/mc/mc-device.c if (_IOC_SIZE(info->cmd) > sizeof(__karg)) { _IOC_SIZE 454 drivers/media/mc/mc-device.c karg = kmalloc(_IOC_SIZE(info->cmd), GFP_KERNEL); _IOC_SIZE 3027 drivers/media/v4l2-core/v4l2-ioctl.c const size_t ioc_size = _IOC_SIZE(cmd); _IOC_SIZE 659 drivers/message/fusion/mptctl.c return mptctl_getiocinfo(iocp, arg, _IOC_SIZE(cmd)); _IOC_SIZE 687 drivers/message/fusion/mptctl.c ret = mptctl_hp_hostinfo(iocp, arg, _IOC_SIZE(cmd)); _IOC_SIZE 379 drivers/misc/habanalabs/habanalabs_ioctl.c hl_size = _IOC_SIZE(ioctl->cmd); _IOC_SIZE 380 drivers/misc/habanalabs/habanalabs_ioctl.c usize = asize = _IOC_SIZE(cmd); _IOC_SIZE 200 drivers/misc/phantom.c if (_IOC_NR(cmd) <= 3 && _IOC_SIZE(cmd) == sizeof(compat_uptr_t)) { _IOC_SIZE 566 drivers/s390/block/dasd_ioctl.c size_t size = _IOC_SIZE(cmd); _IOC_SIZE 2263 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) != sizeof(struct mpt3_ioctl_command32)) _IOC_SIZE 2345 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_ioctl_iocinfo)) _IOC_SIZE 2373 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_ioctl_command)) { _IOC_SIZE 2380 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_ioctl_eventquery)) _IOC_SIZE 2384 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_ioctl_eventenable)) _IOC_SIZE 2391 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_ioctl_diag_reset)) _IOC_SIZE 2395 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_ioctl_btdh_mapping)) _IOC_SIZE 2399 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_diag_register)) _IOC_SIZE 2403 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_diag_unregister)) _IOC_SIZE 2407 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_diag_query)) _IOC_SIZE 2411 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_diag_release)) _IOC_SIZE 2415 drivers/scsi/mpt3sas/mpt3sas_ctl.c if (_IOC_SIZE(cmd) == sizeof(struct mpt3_diag_read_buffer)) _IOC_SIZE 3543 drivers/scsi/st.c if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { _IOC_SIZE 3748 drivers/scsi/st.c if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { _IOC_SIZE 3815 drivers/scsi/st.c if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) { _IOC_SIZE 324 drivers/spi/spidev.c tmp = _IOC_SIZE(cmd); _IOC_SIZE 484 drivers/staging/android/ion/ion.c if (_IOC_SIZE(cmd) > sizeof(data)) _IOC_SIZE 492 drivers/staging/android/ion/ion.c if (copy_from_user(&data, (void __user *)arg, _IOC_SIZE(cmd))) _IOC_SIZE 527 drivers/staging/android/ion/ion.c if (copy_to_user((void __user *)arg, &data, _IOC_SIZE(cmd))) _IOC_SIZE 510 drivers/usb/class/usblp.c _IOC_TYPE(cmd), _IOC_NR(cmd), _IOC_SIZE(cmd), _IOC_DIR(cmd)); _IOC_SIZE 527 drivers/usb/class/usblp.c if (length > _IOC_SIZE(cmd)) _IOC_SIZE 528 drivers/usb/class/usblp.c length = _IOC_SIZE(cmd); /* truncate */ _IOC_SIZE 541 drivers/usb/class/usblp.c _IOC_SIZE(cmd) < sizeof(twoints)) { _IOC_SIZE 610 drivers/usb/class/usblp.c _IOC_SIZE(cmd) < sizeof(twoints)) { _IOC_SIZE 631 drivers/usb/class/usblp.c _IOC_SIZE(cmd) < sizeof(twoints)) { _IOC_SIZE 2220 drivers/usb/core/devio.c size = _IOC_SIZE(ctl->ioctl_code); _IOC_SIZE 2689 drivers/usb/core/devio.c ret = proc_conninfo_ex(ps, p, _IOC_SIZE(cmd)); _IOC_SIZE 1283 drivers/video/fbdev/fsl-diu-fb.c _IOC_TYPE(cmd), _IOC_NR(cmd), _IOC_SIZE(cmd)); _IOC_SIZE 447 drivers/virt/fsl_hypervisor.c _IOC_SIZE(cmd)); _IOC_SIZE 124 drivers/virt/vboxguest/vboxguest_linux.c if (_IOC_SIZE(req) && _IOC_SIZE(req) != size) _IOC_SIZE 2762 fs/fuse/file.c iov->iov_len = _IOC_SIZE(cmd); _IOC_SIZE 91 include/uapi/linux/soundcard.h #define _SIOC_SIZE _IOC_SIZE _IOC_SIZE 5281 kernel/events/core.c if (_IOC_SIZE(cmd) == sizeof(compat_uptr_t)) { _IOC_SIZE 2150 sound/core/seq/seq_clientmgr.c size = _IOC_SIZE(handler->cmd); _IOC_SIZE 132 tools/perf/trace/beauty/ioctl.c sz = _IOC_SIZE(cmd);