/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/ |
D | object.c | 50 return client->driver->ioctl(client->base.priv, client->super, data, size, hack); in nvif_object_ioctl() 57 struct nvif_ioctl_v0 ioctl; in nvif_object_sclass() member 65 args->ioctl.version = 0; in nvif_object_sclass() 66 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass() 82 struct nvif_ioctl_v0 ioctl; in nvif_object_rd() member 85 .ioctl.type = NVIF_IOCTL_V0_RD, in nvif_object_rd() 101 struct nvif_ioctl_v0 ioctl; in nvif_object_wr() member 104 .ioctl.type = NVIF_IOCTL_V0_WR, in nvif_object_wr() 119 struct nvif_ioctl_v0 ioctl; in nvif_object_mthd() member 131 args->ioctl.version = 0; in nvif_object_mthd() [all …]
|
D | notify.c | 37 struct nvif_ioctl_v0 ioctl; in nvif_notify_put_() member 40 .ioctl.type = NVIF_IOCTL_V0_NTFY_PUT, in nvif_notify_put_() 68 struct nvif_ioctl_v0 ioctl; in nvif_notify_get_() member 71 .ioctl.type = NVIF_IOCTL_V0_NTFY_GET, in nvif_notify_get_() 149 struct nvif_ioctl_v0 ioctl; in nvif_notify_fini() member 152 .ioctl.type = NVIF_IOCTL_V0_NTFY_DEL, in nvif_notify_fini() 172 struct nvif_ioctl_v0 ioctl; in nvif_notify_init() member 196 args->ioctl.version = 0; in nvif_notify_init() 197 args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; in nvif_notify_init()
|
D | client.c | 32 return client->driver->ioctl(client->base.priv, client->super, data, size, NULL); in nvif_client_ioctl()
|
/linux-4.1.27/Documentation/ioctl/ |
D | cdrom.txt | 1 Summary of CDROM ioctl calls. 8 This document attempts to describe the ioctl(2) calls supported by 12 ioctl values are listed in <linux/cdrom.h>. As of this writing, they 81 Unless otherwise specified, all ioctl calls return 0 on success 85 Unless otherwise specified, all ioctl calls return -1 and set 101 ioctl(fd, CDROMPAUSE, 0); 115 ioctl(fd, CDROMRESUME, 0); 130 ioctl(fd, CDROMPLAYMSF, &msf); 154 ioctl(fd, CDROMPLAYTRKIND, &ti); 175 ioctl(fd, CDROMREADTOCHDR, &header); [all …]
|
D | 00-INDEX | 6 - summary of CDROM ioctl calls 8 - summary of HDIO_ ioctl calls 9 ioctl-decoding.txt 11 ioctl-number.txt 12 - how to implement and register device/driver ioctl calls
|
D | hdio.txt | 1 Summary of HDIO_ ioctl calls. 8 This document attempts to describe the ioctl(2) calls supported by 12 ioctl values are listed in <linux/hdreg.h>. As of this writing, they 44 HDIO_SET_KEEPSETTINGS keep ioctl settings on reset 73 Unless otherwise specified, all ioctl calls return 0 on success 76 Unless otherwise specified, all ioctl calls return -1 and set 90 ioctl(fd, HDIO_GETGEO, &geom); 122 ioctl will not return a meaningful value on drives with more 136 ioctl(fd, HDIO_GET_UNMASKINTR, &val); 150 ioctl(fd, HDIO_SET_UNMASKINTR, val); [all …]
|
D | ioctl-number.txt | 6 If you are adding new ioctl's to the kernel, you should use the _IO 7 macros defined in <linux/ioctl.h>: 9 _IO an ioctl with no parameters 10 _IOW an ioctl with write parameters (copy_from_user) 11 _IOR an ioctl with read parameters (copy_to_user) 12 _IOWR an ioctl with both write and read parameters. 15 system calls 'write' and 'read'. For example, a SET_FOO ioctl would 17 a GET_FOO ioctl would be _IOR, although the kernel would actually write 25 unused block with enough room for expansion: 32 to 256 ioctl commands. 34 sizeof(arg) as the third argument as this results in your ioctl thinking [all …]
|
D | botching-up-ioctls.txt | 19 submission ioctl exactly should look like. Learning these lessons is probably 56 * Have a clear way for userspace to figure out whether your new ioctl or ioctl 62 the structure. The drm core checks the passed-in size for each ioctl call 69 and reject the ioctl if that's not the case. Otherwise your nice plan for 71 an ioctl struct with random stack garbage in the yet unused parts. Which 86 * The ioctl must check for array overflows. Also it needs to check for 93 * Have simple testcases for every input validation failure case in your ioctl. 97 the ioctl already and shadow the codepath you actually want to test, hiding 105 how you handle ioctl restarting - e.g. drm has a tiny drmIoctl helper in its 106 userspace library. The i915 driver botched this with the set_tiling ioctl, [all …]
|
D | ioctl-decoding.txt | 4 include/ARCH/ioctl.h for specifics, e.g. powerpc
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 69 void *ioctl; member 249 memcpy(esas2r_buffered_ioctl, bi->ioctl, bi->length); in handle_buffered_ioctl() 286 memcpy(bi->ioctl, esas2r_buffered_ioctl, bi->length); in handle_buffered_ioctl() 300 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in smp_ioctl_callback() 319 bi.ioctl = si; in handle_smp_ioctl() 348 struct atto_vda_ioctl_req *ioctl = &rq->vrq->ioctl; in csmi_ioctl_tunnel() local 353 esas2r_sgc_init(sgc, a, rq, rq->vrq->ioctl.sge); in csmi_ioctl_tunnel() 355 ioctl->csmi.ctrl_code = cpu_to_le32(ctrl_code); in csmi_ioctl_tunnel() 356 ioctl->csmi.target_id = cpu_to_le16(target_id); in csmi_ioctl_tunnel() 357 ioctl->csmi.lun = (u8)le32_to_cpu(rq->vrq->scsi.flags); in csmi_ioctl_tunnel() [all …]
|
/linux-4.1.27/tools/testing/selftests/timers/ |
D | rtctest.c | 62 retval = ioctl(fd, RTC_UIE_ON, 0); in main() 114 retval = ioctl(fd, RTC_UIE_OFF, 0); in main() 122 retval = ioctl(fd, RTC_RD_TIME, &rtc_tm); in main() 145 retval = ioctl(fd, RTC_ALM_SET, &rtc_tm); in main() 157 retval = ioctl(fd, RTC_ALM_READ, &rtc_tm); in main() 167 retval = ioctl(fd, RTC_AIE_ON, 0); in main() 185 retval = ioctl(fd, RTC_AIE_OFF, 0); in main() 193 retval = ioctl(fd, RTC_IRQP_READ, &tmp); in main() 211 retval = ioctl(fd, RTC_IRQP_SET, tmp); in main() 227 retval = ioctl(fd, RTC_PIE_ON, 0); in main() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_abi16.c | 369 struct nvif_ioctl_v0 ioctl; in nouveau_abi16_ioctl_grobj_alloc() member 372 .ioctl.owner = NVIF_IOCTL_V0_OWNER_ANY, in nouveau_abi16_ioctl_grobj_alloc() 373 .ioctl.type = NVIF_IOCTL_V0_NEW, in nouveau_abi16_ioctl_grobj_alloc() 374 .ioctl.path_nr = 3, in nouveau_abi16_ioctl_grobj_alloc() 375 .ioctl.path[2] = NOUVEAU_ABI16_CLIENT, in nouveau_abi16_ioctl_grobj_alloc() 376 .ioctl.path[1] = NOUVEAU_ABI16_DEVICE, in nouveau_abi16_ioctl_grobj_alloc() 377 .ioctl.path[0] = NOUVEAU_ABI16_CHAN(init->channel), in nouveau_abi16_ioctl_grobj_alloc() 410 struct nvif_ioctl_v0 ioctl; in nouveau_abi16_ioctl_notifierobj_alloc() member 414 .ioctl.owner = NVIF_IOCTL_V0_OWNER_ANY, in nouveau_abi16_ioctl_notifierobj_alloc() 415 .ioctl.type = NVIF_IOCTL_V0_NEW, in nouveau_abi16_ioctl_notifierobj_alloc() [all …]
|
D | nouveau_nvif.c | 132 .ioctl = nvkm_client_ioctl,
|
/linux-4.1.27/tools/perf/tests/ |
D | bp_signal.c | 55 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 56 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 95 ioctl(fd, PERF_EVENT_IOC_RESET, 0); in bp_event() 158 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal() 159 ioctl(fd2, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal() 167 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal() 168 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal()
|
D | bp_signal_overflow.c | 106 ioctl(fd, PERF_EVENT_IOC_RESET, 0); in test__bp_signal_overflow() 107 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal_overflow() 112 ioctl(fd, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal_overflow()
|
/linux-4.1.27/drivers/scsi/ |
D | gdth_proc.c | 121 gdtcmd.u.ioctl.p_param = paddr; in gdth_set_asc_info() 122 gdtcmd.u.ioctl.param_size = sizeof(gdth_cpar_str); in gdth_set_asc_info() 123 gdtcmd.u.ioctl.subfunc = CACHE_CONFIG; in gdth_set_asc_info() 124 gdtcmd.u.ioctl.channel = INVALID_CHANNEL; in gdth_set_asc_info() 242 gdtcmd->u.ioctl.p_param = paddr + GDTH_SCRATCH/4; in gdth_show_info() 243 gdtcmd->u.ioctl.param_size = 3*GDTH_SCRATCH/4; in gdth_show_info() 244 gdtcmd->u.ioctl.subfunc = DSK_STATISTICS | L_CTRL_PATTERN; in gdth_show_info() 245 gdtcmd->u.ioctl.channel = ha->raw[i].address | INVALID_CHANNEL; in gdth_show_info() 265 gdtcmd->u.ioctl.p_param = paddr; in gdth_show_info() 266 gdtcmd->u.ioctl.param_size = sizeof(gdth_diskinfo_str); in gdth_show_info() [all …]
|
D | scsi_ioctl.c | 266 if (sdev->host->hostt->ioctl) in scsi_ioctl() 267 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
|
D | gdth_ioctl.h | 74 } __attribute__((packed)) ioctl; /* IOCTL command structure */ member 185 u16 ioctl; /* IOCTL */ member
|
/linux-4.1.27/samples/hidraw/ |
D | hid-example.c | 68 res = ioctl(fd, HIDIOCGRDESCSIZE, &desc_size); in main() 76 res = ioctl(fd, HIDIOCGRDESC, &rpt_desc); in main() 87 res = ioctl(fd, HIDIOCGRAWNAME(256), buf); in main() 94 res = ioctl(fd, HIDIOCGRAWPHYS(256), buf); in main() 101 res = ioctl(fd, HIDIOCGRAWINFO, &info); in main() 117 res = ioctl(fd, HIDIOCSFEATURE(4), buf); in main() 125 res = ioctl(fd, HIDIOCGFEATURE(256), buf); in main()
|
/linux-4.1.27/Documentation/timers/ |
D | hpet_example.c | 114 if (ioctl(fd, HPET_INFO, &info) < 0) { in hpet_info() 155 if (ioctl(fd, HPET_IRQFREQ, freq) < 0) { in hpet_poll() 160 if (ioctl(fd, HPET_INFO, &info) < 0) { in hpet_poll() 167 if (info.hi_flags && (ioctl(fd, HPET_EPI, 0) < 0)) { in hpet_poll() 172 if (ioctl(fd, HPET_IE_ON, 0) < 0) { in hpet_poll() 260 if (ioctl(fd, HPET_IRQFREQ, freq) < 0) { in hpet_fasync() 265 if (ioctl(fd, HPET_INFO, &info) < 0) { in hpet_fasync() 272 if (info.hi_flags && (ioctl(fd, HPET_EPI, 0) < 0)) { in hpet_fasync() 277 if (ioctl(fd, HPET_IE_ON, 0) < 0) { in hpet_fasync()
|
/linux-4.1.27/Documentation/watchdog/ |
D | watchdog-api.txt | 67 The ioctl API: 69 All conforming drivers also support an ioctl API. 71 Pinging the watchdog using an ioctl: 73 All drivers that have an ioctl interface support at least one ioctl, 74 KEEPALIVE. This ioctl does exactly the same thing as a write to the 79 ioctl(fd, WDIOC_KEEPALIVE, 0); 83 the argument to the ioctl is ignored. 88 fly with the SETTIMEOUT ioctl, those drivers have the WDIOF_SETTIMEOUT 95 ioctl(fd, WDIOC_SETTIMEOUT, &timeout); 102 current timeout using the GETTIMEOUT ioctl. [all …]
|
D | watchdog-kernel-api.txt | 98 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); 146 (Note: the WDIOC_KEEPALIVE ioctl call will only be active when the 164 * ioctl: if this routine is present then it will be called first before we do 165 our own internal ioctl call handling. This routine should return -ENOIOCTLCMD 166 if a command is not supported. The parameters that are passed to the ioctl
|
/linux-4.1.27/Documentation/s390/ |
D | kvm.txt | 9 This Documentation describes the unique ioctl calls to /dev/kvm, the resulting 12 1. ioctl calls to /dev/kvm 25 ioctl: KVM_S390_ENABLE_SIE 39 2. ioctl calls to the kvm-vm file descriptor 55 log. This ioctl call is only needed for guest migration, and we intend to 60 ioctl: KVM_S390_INTERRUPT 63 This ioctl is used to submit a floating interrupt for a virtual machine. 73 3. ioctl calls to the kvm-vcpu file descriptor 86 ioctl: KVM_S390_INTERRUPT 89 This ioctl is used to submit an interrupt for a specific virtual cpu. [all …]
|
D | DASD | 41 format the tracks by issuing the BLKDASDFORMAT-ioctl on that 43 labels, VTOCs etc. The ioctl may take a 'struct format_data *' or 50 When a NULL argument is passed to the BLKDASDFORMAT ioctl the whole
|
D | 00-INDEX | 20 - ioctl calls to /dev/kvm on s390.
|
/linux-4.1.27/tools/virtio/ |
D | virtio_test.c | 72 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup() 75 r = ioctl(dev->control, VHOST_SET_VRING_NUM, &state); in vhost_vq_setup() 78 r = ioctl(dev->control, VHOST_SET_VRING_BASE, &state); in vhost_vq_setup() 80 r = ioctl(dev->control, VHOST_SET_VRING_ADDR, &addr); in vhost_vq_setup() 83 r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file); in vhost_vq_setup() 86 r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file); in vhost_vq_setup() 123 r = ioctl(dev->control, VHOST_SET_OWNER, NULL); in vdev_info_init() 134 r = ioctl(dev->control, VHOST_SET_MEM_TABLE, dev->mem); in vdev_info_init() 162 r = ioctl(dev->control, VHOST_TEST_RUN, &test); in run_test() 203 r = ioctl(dev->control, VHOST_TEST_RUN, &test); in run_test()
|
/linux-4.1.27/Documentation/ia64/ |
D | efirtc.txt | 29 EFI provides a simpler services, not all ioctl() are available. Also 30 new ioctl()s have been introduced for things that EFI provides but not the 43 ioctl()s. The other is read-only via the /proc filesystem. 56 Two ioctl()s, compatible with the legacy RTC calls: 58 Read the CMOS clock: ioctl(d, RTC_RD_TIME, &rtc); 60 Write the CMOS clock: ioctl(d, RTC_SET_TIME, &rtc); 80 Those two ioctl()s can be exercised with the hwclock command: 96 the same ioctl()s to get access to the service. Instead we have 97 introduced 2 news ioctl()s to the interface of an RTC. 99 We have added 2 new ioctl()s that are specific to the EFI driver: [all …]
|
/linux-4.1.27/Documentation/spi/ |
D | spidev_test.c | 131 ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr); in transfer() 269 ret = ioctl(fd, SPI_IOC_WR_MODE32, &mode); in main() 273 ret = ioctl(fd, SPI_IOC_RD_MODE32, &mode); in main() 280 ret = ioctl(fd, SPI_IOC_WR_BITS_PER_WORD, &bits); in main() 284 ret = ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits); in main() 291 ret = ioctl(fd, SPI_IOC_WR_MAX_SPEED_HZ, &speed); in main() 295 ret = ioctl(fd, SPI_IOC_RD_MAX_SPEED_HZ, &speed); in main()
|
D | spidev_fdx.c | 67 status = ioctl(fd, SPI_IOC_MESSAGE(2), xfer); in do_msg() 84 if (ioctl(fd, SPI_IOC_RD_MODE32, &mode) < 0) { in dumpstat() 88 if (ioctl(fd, SPI_IOC_RD_LSB_FIRST, &lsb) < 0) { in dumpstat() 92 if (ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits) < 0) { in dumpstat() 96 if (ioctl(fd, SPI_IOC_RD_MAX_SPEED_HZ, &speed) < 0) { in dumpstat()
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | api.txt | 11 whole kvm subsystem. In addition a system ioctl is used to create 15 machine, for example memory layout. In addition a VM ioctl is used to 33 can be used to issue system ioctls. A KVM_CREATE_VM ioctl on this 35 ioctls. A KVM_CREATE_VCPU ioctl on a VM fd will create a virtual cpu 66 For each ioctl, the following information is provided along with a 69 Capability: which KVM extension provides this ioctl. Can be 'basic', 74 support this ioctl, there's no capability bit to check its 75 availability: for kernels that don't support the ioctl, 76 the ioctl returns -ENOTTY. 78 Architectures: which instruction set architectures provide this ioctl. [all …]
|
/linux-4.1.27/Documentation/ptp/ |
D | testptp.c | 270 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { in main() 353 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main() 371 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main() 378 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { in main() 385 if (ioctl(fd, PTP_PIN_GETFUNC, &desc)) { in main() 448 if (ioctl(fd, PTP_PEROUT_REQUEST, &perout_request)) { in main() 460 if (ioctl(fd, PTP_PIN_SETFUNC, &desc)) { in main() 469 if (ioctl(fd, PTP_ENABLE_PPS, enable)) { in main() 490 if (ioctl(fd, PTP_SYS_OFFSET, sysoff)) in main()
|
/linux-4.1.27/Documentation/ |
D | vfio.txt | 99 VFIO_GROUP_SET_CONTAINER ioctl, passing the file descriptor of the 109 device within a group using an ioctl on the VFIO group file descriptor. 177 if (ioctl(container, VFIO_GET_API_VERSION) != VFIO_API_VERSION) 180 if (!ioctl(container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU)) 187 ioctl(group, VFIO_GROUP_GET_STATUS, &group_status); 193 ioctl(group, VFIO_GROUP_SET_CONTAINER, &container); 196 ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU); 199 ioctl(container, VFIO_IOMMU_GET_INFO, &iommu_info); 208 ioctl(container, VFIO_IOMMU_MAP_DMA, &dma_map); 211 device = ioctl(group, VFIO_GROUP_GET_DEVICE_FD, "0000:06:0d.0"); [all …]
|
D | highuid.txt | 4 when communicating between user and kernel space in an ioctl or data 59 all ioctl()s. Some new ioctl()s have been added with 32-bit UIDs, but 66 - The ioctl()s used to control the in-kernel NFS server only support
|
D | SubmitChecklist | 98 25: If any ioctl's are added by the patch, then also update 99 Documentation/ioctl/ioctl-number.txt.
|
/linux-4.1.27/Documentation/watchdog/src/ |
D | watchdog-test.c | 26 ioctl(fd, WDIOC_KEEPALIVE, &dummy); in keep_alive() 56 ioctl(fd, WDIOC_SETOPTIONS, &flags); in main() 62 ioctl(fd, WDIOC_SETOPTIONS, &flags); in main()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_ioctl.c | 527 #define DRM_IOCTL_DEF(ioctl, _func, _flags) \ argument 528 [DRM_IOCTL_NR(ioctl)] = { \ 529 .cmd = ioctl, \ 532 .name = #ioctl \ 665 const struct drm_ioctl_desc *ioctl = NULL; in drm_ioctl() local 682 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE]; in drm_ioctl() 687 ioctl = &drm_ioctls[nr]; in drm_ioctl() 690 drv_size = _IOC_SIZE(ioctl->cmd); in drm_ioctl() 693 cmd = ioctl->cmd; in drm_ioctl() 698 file_priv->authenticated, ioctl->name); in drm_ioctl() [all …]
|
/linux-4.1.27/Documentation/i2c/ |
D | dev-interface | 51 if (ioctl(file, I2C_SLAVE, addr) < 0) { 103 ioctl(file, I2C_SLAVE, long addr) 108 ioctl(file, I2C_TENBIT, long select) 113 ioctl(file, I2C_PEC, long select) 120 ioctl(file, I2C_FUNCS, unsigned long *funcs) 123 ioctl(file, I2C_RDWR, struct i2c_rdwr_ioctl_data *msgset) 137 set in each message, overriding the values set with the above ioctl's. 139 ioctl(file, I2C_SMBUS, struct i2c_smbus_ioctl_data *args) 145 ioctl I2C_SLAVE before you try to access the device. 167 the i2c_smbus_access function, that on its turn calls a specific ioctl [all …]
|
/linux-4.1.27/Documentation/x86/ |
D | mtrr.txt | 35 which allows you to read and write. The other is an ioctl() 37 ioctl() interface is meant for C programs (i.e. the X server). The 77 ioctl() interface, so users won't have to do anything. If you use a 102 Reading MTRRs from a C program using ioctl()'s: 106 Source file for mtrr-show (example program to show MTRRs using ioctl()'s) 130 This program will use an ioctl() on /proc/mtrr to show the current MTRR 146 #include <sys/ioctl.h> 181 for (gentry.regnum = 0; ioctl (fd, MTRRIOC_GET_ENTRY, &gentry) == 0; 194 fprintf (stderr, "Error doing ioctl(2) on /dev/mtrr\t%s\n", ERRSTRING); 198 Creating MTRRs from a C programme using ioctl()'s: [all …]
|
/linux-4.1.27/Documentation/pti/ |
D | pti_intel_mid.txt | 42 the use of ioctl(,TIOCSETD,) is not specific to the n_tracerouter 73 retval = ioctl(g_fd_sink, TIOCSETD, &sink_ldisc_num); 75 printf("Error on ioctl(). errno: %d\n", errno); 79 retval = ioctl(g_fd_source, TIOCSETD, &source_ldisc_num); 81 printf("Error on ioctl(). errno: %d\n", errno); 93 ioctl(g_fd_uart, TIOCSETD, &sink_ldisc_num); 94 ioctl(g_fd_gadget, TIOCSETD, &source_ldisc_num);
|
/linux-4.1.27/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 23 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags); in set_immutable() 36 rc = ioctl(fd, FS_IOC_SETFLAGS, &flags); in set_immutable() 54 rc = ioctl(fd, FS_IOC_GETFLAGS, &flags); in get_immutable()
|
/linux-4.1.27/sound/oss/ |
D | dev_table.h | 159 int (*ioctl) (void *devc, unsigned int cmd, void __user * arg, int local); member 174 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member 250 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member 267 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member 320 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member 351 int (*ioctl) (int dev, unsigned int cmd, void __user * arg); member
|
D | sequencer.c | 1337 return tmr->ioctl(tmr_no, cmd, arg); in sequencer_ioctl() 1394 return tmr->ioctl(tmr_no, cmd, arg); in sequencer_ioctl() 1403 return tmr->ioctl(tmr_no, cmd, arg); in sequencer_ioctl() 1421 return synth_devs[dev]->ioctl(dev, cmd, arg); in sequencer_ioctl() 1438 val = synth_devs[dev]->ioctl(dev, cmd, arg); in sequencer_ioctl() 1448 synth_devs[dev]->ioctl(dev, cmd, arg); in sequencer_ioctl() 1458 return synth_devs[dev]->ioctl(dev, cmd, arg); in sequencer_ioctl() 1513 if (!synth_devs[0]->ioctl) in sequencer_ioctl() 1515 return synth_devs[0]->ioctl(0, cmd, arg); in sequencer_ioctl()
|
D | midibuf.c | 372 return midi_devs[dev]->coproc->ioctl(midi_devs[dev]->coproc->devc, cmd, arg, 0); in MIDIbuf_ioctl() 390 if (!midi_devs[dev]->ioctl) in MIDIbuf_ioctl() 392 return midi_devs[dev]->ioctl(dev, cmd, arg); in MIDIbuf_ioctl()
|
D | v_midi.c | 142 .ioctl = v_midi_ioctl, 156 .ioctl = v_midi_ioctl,
|
D | midi_synth.h | 33 .ioctl = midi_synth_ioctl,
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 517 #define AMDKFD_IOCTL_DEF(ioctl, _func, _flags) \ argument 518 [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, .cmd_drv = 0, .name = #ioctl} 550 const struct amdkfd_ioctl_desc *ioctl = NULL; in kfd_ioctl() local 563 ioctl = &amdkfd_ioctls[nr]; in kfd_ioctl() 565 amdkfd_size = _IOC_SIZE(ioctl->cmd); in kfd_ioctl() 570 cmd = ioctl->cmd; in kfd_ioctl() 583 func = ioctl->func; in kfd_ioctl() 621 if (!ioctl) in kfd_ioctl()
|
/linux-4.1.27/Documentation/filesystems/ |
D | nilfs2.txt | 94 checkpoint and snapshot state. This ioctl is 98 This ioctl is used in rmcp utility. 101 ioctl is used in lscp utility and by 104 NILFS_IOCTL_GET_CPSTAT Return checkpoints statistics. This ioctl is 109 segments. This ioctl is used in lssu, 114 segments. This ioctl is used by 120 NILFS_IOCTL_GET_SUSTAT Return segment usage statistics. This ioctl 125 This ioctl is used by nilfs_cleanerd daemon. 128 block numbers. This ioctl is used by 133 userspace. This ioctl is used by [all …]
|
D | autofs4-mount-control.txt | 13 operations. Using a file descriptor gives ioctl operations access to 105 The current autofs implementation uses an ioctl file descriptor opened 120 existing ioctl interface and add new operations to provide this 133 "send fail" operation of the ioctl interface could only ever send 143 ioctl mechanism in favor of systems such as Netlink. An implementation 148 elegant solution for common case ioctl functions but it's not a complete 150 message bus implementation rather than specifically an ioctl replacement. 155 the number of times to call the expire ioctl. This involves scanning 213 returned. Following these checks, for all ioctl commands except 225 in autofs version 5.0.4 and later in file lib/dev-ioctl-lib.c of the [all …]
|
D | jfs.txt | 42 devices and sparse/thinly-provisioned LUNs. The FITRIM ioctl 49 on an FITRIM ioctl().
|
D | ext4.txt | 526 The ioctl argument is an integer bitfield, with 527 bit values described in ext4.h. This ioctl is an 531 The ioctl argument is an integer bitfield, with 532 bit values described in ext4.h. This ioctl is an 541 '_OLD' version of this ioctl is an alias for 547 each inode. The '_OLD' version of this ioctl 550 EXT4_IOC_GROUP_EXTEND This ioctl has the same purpose as the resize 559 this ioctl is pointing to) to the donor_fd (the 561 as an argument to this ioctl). Then, exchange 572 this ioctl. This is especially useful in [all …]
|
/linux-4.1.27/drivers/vhost/ |
D | test.c | 260 static long vhost_test_ioctl(struct file *f, unsigned int ioctl, in vhost_test_ioctl() argument 269 switch (ioctl) { in vhost_test_ioctl() 289 r = vhost_dev_ioctl(&n->dev, ioctl, argp); in vhost_test_ioctl() 291 r = vhost_vring_ioctl(&n->dev, ioctl, argp); in vhost_test_ioctl() 299 static long vhost_test_compat_ioctl(struct file *f, unsigned int ioctl, in vhost_test_compat_ioctl() argument 302 return vhost_test_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); in vhost_test_compat_ioctl()
|
D | vhost.h | 48 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp); 132 long vhost_dev_ioctl(struct vhost_dev *, unsigned int ioctl, void __user *argp); 133 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp);
|
D | net.c | 1052 static long vhost_net_ioctl(struct file *f, unsigned int ioctl, in vhost_net_ioctl() argument 1062 switch (ioctl) { in vhost_net_ioctl() 1084 r = vhost_dev_ioctl(&n->dev, ioctl, argp); in vhost_net_ioctl() 1086 r = vhost_vring_ioctl(&n->dev, ioctl, argp); in vhost_net_ioctl() 1095 static long vhost_net_compat_ioctl(struct file *f, unsigned int ioctl, in vhost_net_compat_ioctl() argument 1098 return vhost_net_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); in vhost_net_compat_ioctl()
|
/linux-4.1.27/arch/x86/kvm/ |
D | assigned-dev.h | 13 long kvm_vm_ioctl_assigned_device(struct kvm *kvm, unsigned ioctl, 23 static inline long kvm_vm_ioctl_assigned_device(struct kvm *kvm, unsigned ioctl, in kvm_vm_ioctl_assigned_device() argument
|
/linux-4.1.27/Documentation/video4linux/ |
D | uvcvideo.txt | 21 - through a driver-specific ioctl interface 43 The ioctl used to create these control mappings is called UVCIOC_CTRL_MAP. 44 Previous driver versions (before 0.2.0) required another ioctl to be used 49 For details on the UVCIOC_CTRL_MAP ioctl please refer to the section titled 57 access XU controls is provided in the form of a driver-specific ioctl, namely 60 A call to this ioctl allows applications to send queries to the UVC driver that 76 With the addition of the UVCIOC_CTRL_QUERY ioctl the UVCIOC_CTRL_GET and 78 subset of the former ioctl. For the time being they are still supported but 81 For details on the UVCIOC_CTRL_QUERY ioctl please refer to the section titled 107 This ioctl creates a mapping between a UVC control or part of a UVC [all …]
|
D | si4713.txt | 134 ioctl the device node. Here is an code of example: 150 rval = ioctl(fd, SI4713_IOC_MEASURE_RNL, &rnl); 166 transmission. To do that use S/G_MODULATOR ioctl and configure txsubchans properly. 167 Refer to the V4L2 API specification for proper use of this ioctl.
|
/linux-4.1.27/drivers/pcmcia/ |
D | tcic.c | 296 u_short scf1, ioctl, base, num; in is_active() local 309 ioctl = tcic_getw(TCIC_DATA); in is_active() 311 if (ioctl & TCIC_ICTL_TINY) in is_active() 319 (scf1 & TCIC_SCF1_IOSTS) && (ioctl & TCIC_ICTL_ENA) && in is_active() 700 u_short base, len, ioctl; in tcic_set_io_map() local 717 ioctl = (psock << TCIC_ICTL_SS_SHFT); in tcic_set_io_map() 718 ioctl |= (len == 0) ? TCIC_ICTL_TINY : 0; in tcic_set_io_map() 719 ioctl |= (io->flags & MAP_ACTIVE) ? TCIC_ICTL_ENA : 0; in tcic_set_io_map() 720 ioctl |= to_cycles(io->speed) & TCIC_ICTL_WSCNT_MASK; in tcic_set_io_map() 722 ioctl |= TCIC_ICTL_QUIET; in tcic_set_io_map() [all …]
|
D | vrc4173_cardu.c | 251 uint8_t ioctl, window; in cardu_get_io_map() local 261 ioctl = exca_readb(socket, IO_WIN_CNT); in cardu_get_io_map() 264 if (ioctl & IO_WIN_DATA_AUTOSZ(map)) in cardu_get_io_map() 266 else if (ioctl & IO_WIN_DATA_16BIT(map)) in cardu_get_io_map() 275 uint16_t ioctl; in cardu_set_io_map() local 294 ioctl = exca_readb(socket, IO_WIN_CNT) & ~IO_WIN_CNT_MASK(map); in cardu_set_io_map() 295 if (io->flags & MAP_AUTOSZ) ioctl |= IO_WIN_DATA_AUTOSZ(map); in cardu_set_io_map() 296 else if (io->flags & MAP_16BIT) ioctl |= IO_WIN_DATA_16BIT(map); in cardu_set_io_map() 297 exca_writeb(socket, IO_WIN_CNT, ioctl); in cardu_set_io_map()
|
D | vrc4171_card.c | 383 uint8_t ioctl, addrwin; in pccard_set_io_map() local 403 ioctl = 0; in pccard_set_io_map() 405 ioctl |= I365_IOCTL_WAIT(map); in pccard_set_io_map() 407 ioctl |= I365_IOCTL_16BIT(map); in pccard_set_io_map() 409 ioctl |= I365_IOCTL_IOCS16(map); in pccard_set_io_map() 411 ioctl |= I365_IOCTL_0WS(map); in pccard_set_io_map() 412 exca_write_byte(slot, I365_IOCTL, ioctl); in pccard_set_io_map()
|
D | pd6729.c | 427 unsigned char map, ioctl; in pd6729_set_io_map() local 448 ioctl = indirect_read(socket, I365_IOCTL) & ~I365_IOCTL_MASK(map); in pd6729_set_io_map() 451 ioctl |= I365_IOCTL_0WS(map); in pd6729_set_io_map() 453 ioctl |= I365_IOCTL_16BIT(map); in pd6729_set_io_map() 455 ioctl |= I365_IOCTL_IOCS16(map); in pd6729_set_io_map() 457 indirect_write(socket, I365_IOCTL, ioctl); in pd6729_set_io_map()
|
D | i82092.c | 560 unsigned char map, ioctl; in i82092aa_set_io_map() local 586 ioctl = indirect_read(sock,I365_IOCTL) & ~I365_IOCTL_MASK(map); in i82092aa_set_io_map() 589 ioctl |= I365_IOCTL_16BIT(map); in i82092aa_set_io_map() 591 indirect_write(sock,I365_IOCTL,ioctl); in i82092aa_set_io_map()
|
D | i82365.c | 1034 u_char map, ioctl; in i365_set_io_map() local 1047 ioctl = i365_get(sock, I365_IOCTL) & ~I365_IOCTL_MASK(map); in i365_set_io_map() 1048 if (io->speed) ioctl |= I365_IOCTL_WAIT(map); in i365_set_io_map() 1049 if (io->flags & MAP_0WS) ioctl |= I365_IOCTL_0WS(map); in i365_set_io_map() 1050 if (io->flags & MAP_16BIT) ioctl |= I365_IOCTL_16BIT(map); in i365_set_io_map() 1051 if (io->flags & MAP_AUTOSZ) ioctl |= I365_IOCTL_IOCS16(map); in i365_set_io_map() 1052 i365_set(sock, I365_IOCTL, ioctl); in i365_set_io_map()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
D | Kconfig | 176 these ioctl's: 179 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_SETBITS), bits_to_set); 180 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_CLRBITS), bits_to_clear); 181 err = ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_READ_INBITS), &val); 206 user can change direction on using ioctl's. 217 that a user can change the value on using ioctl's. 227 that a user can change direction on using ioctl's. 238 that a user can change the value on using ioctl's. 248 that a user can change direction on using ioctl's. 259 that a user can change the value on using ioctl's. [all …]
|
/linux-4.1.27/Documentation/fb/ |
D | internals.txt | 21 ioctl. 27 ioctl, and updated with the FBIOPUT_VSCREENINFO ioctl. If you want to pan 28 the screen only, you can use the FBIOPAN_DISPLAY ioctl.
|
D | pxafb.txt | 110 b. ioctl(fd, FBIOGET_VSCREENINFO, ...) 117 d. ioctl(fd, FBIOPUT_VSCREENINFO, ...) 118 e. ioctl(fd, FBIOGET_FSCREENINFO, ...)
|
/linux-4.1.27/Documentation/serial/ |
D | n_gsm.txt | 17 TIOCSETD ioctl, 18 3- configure the mux using GSMIOC_GETCONF / GSMIOC_SETCONF ioctl, 46 ioctl(fd, TIOCSETD, &ldisc); 49 ioctl(fd, GSMIOC_GETCONF, &c); 57 ioctl(fd, GSMIOC_SETCONF, &c);
|
D | serial-rs485.txt | 38 - TIOCSRS485 (typically associated with number 0x542F). This ioctl is used 41 - TIOCGRS485 (typically associated with number 0x542E). This ioctl is used 49 .ioctl = handle_ioctl, 122 if (ioctl (fd, TIOCSRS485, &rs485conf) < 0) {
|
D | tty.txt | 83 ioctl() - Called when an ioctl is handed to the tty layer 84 that might be for the ldisc. Multiple ioctl calls 87 compat_ioctl() - Called when a 32 bit ioctl is handed to the tty layer 88 that might be for the ldisc. Multiple ioctl calls 135 ioctl() Invoke device specific ioctl. 137 Returns ENOIOCTLCMD for unrecognized ioctl numbers. 266 ioctl() - Called when an ioctl may be for the driver
|
/linux-4.1.27/Documentation/hid/ |
D | hidraw.txt | 64 ioctl() 69 This ioctl will get the size of the device's report descriptor. 72 This ioctl returns the device's report descriptor using a 77 This ioctl will return a hidraw_devinfo struct containing the bus type, the 87 This ioctl returns a string containing the vendor and product strings of 91 This ioctl returns a string representing the physical address of the device. 97 This ioctl will send a feature report to the device. Per the HID 105 This ioctl will request a feature report from the device using the control
|
D | hiddev.txt | 64 The hiddev API uses a read() interface, and a set of ioctl() calls. 90 ioctl() described below. 93 ioctl(): 100 This ioctl call returns the HID application usage associated with the 101 hid device. The third argument to ioctl() specifies which application 104 the number of application collections this device has) the ioctl 114 field set to the index that should be returned. The ioctl fills in 116 index, the ioctl returns -1 and sets errno to -EINVAL. 129 changes. Note that the use of this ioctl is unnecessary in general, 154 information about report ids, the right way to use this ioctl is to [all …]
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ |
D | event.c | 90 return ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in event_enable() 95 return ioctl(e->fd, PERF_EVENT_IOC_DISABLE); in event_disable() 100 return ioctl(e->fd, PERF_EVENT_IOC_RESET); in event_reset()
|
/linux-4.1.27/sound/soc/codecs/ |
D | wm8753.c | 250 u16 ioctl; in wm8753_set_dai() local 258 ioctl = snd_soc_read(codec, WM8753_IOCTL); in wm8753_set_dai() 262 if (((ioctl >> 2) & 0x3) == wm8753->dai_func) in wm8753_set_dai() 265 ioctl = (ioctl & 0x1f3) | (wm8753->dai_func << 2); in wm8753_set_dai() 266 snd_soc_write(codec, WM8753_IOCTL, ioctl); in wm8753_set_dai() 970 u16 voice, ioctl; in wm8753_pcm_set_dai_fmt() local 973 ioctl = snd_soc_read(codec, WM8753_IOCTL) & 0x015d; in wm8753_pcm_set_dai_fmt() 980 ioctl |= 0x2; in wm8753_pcm_set_dai_fmt() 1028 snd_soc_write(codec, WM8753_IOCTL, ioctl); in wm8753_pcm_set_dai_fmt() 1095 u16 ioctl, hifi; in wm8753_i2s_set_dai_fmt() local [all …]
|
/linux-4.1.27/net/atm/ |
D | ioctl.c | 34 void register_atm_ioctl(struct atm_ioctl *ioctl) in register_atm_ioctl() argument 37 list_add_tail(&ioctl->list, &ioctl_list); in register_atm_ioctl() 42 void deregister_atm_ioctl(struct atm_ioctl *ioctl) in deregister_atm_ioctl() argument 45 list_del(&ioctl->list); in deregister_atm_ioctl() 169 error = ic->ioctl(sock, cmd, arg); in do_vcc_ioctl()
|
D | Makefile | 5 atm-y := addr.o pvc.o signaling.o svc.o ioctl.o common.o atm_misc.o raw.o resources.o atm_sysfs.o
|
/linux-4.1.27/Documentation/networking/ |
D | ppp_generic.txt | 27 handle ioctl requests. Currently there are PPP channel 56 * ioctl() provides an interface which can be used by a user-space 58 procedure will be called when a user-space program does an ioctl 86 (e.g. an ioctl) to transmit this back to user-space, as user-space 227 * The generic layer will only call the channel ioctl() function in 236 * The generic layer will not call the ioctl() function for a channel 242 start_xmit() or ioctl() function, and the generic layer will not 260 unattached. Using an ioctl call, it can then be attached to an 278 It can then be connected to a PPP unit with an ioctl call, which 281 The ioctl calls which are available on an instance of /dev/ppp depend [all …]
|
D | tuntap.txt | 20 corresponding ioctl() to register a network device with the kernel. A network 27 depends on the flags given with the ioctl(). 94 if( (err = ioctl(fd, TUNSETIFF, (void *) &ifr)) < 0 ){ 145 err = ioctl(fd, TUNSETIFF, (void *)&ifr); 160 A new ioctl(TUNSETQUEUE) were introduced to enable or disable a queue. When 182 return ioctl(fd, TUNSETQUEUE, (void *)&ifr);
|
D | cdc_mbim.txt | 100 See also the ioctl documentation below. 121 /dev/cdc-wdmX ioctl() 124 This ioctl returns the wMaxControlMessage field of the CDC MBIM 131 #include <sys/ioctl.h> 138 if (!ioctl(fd, IOCTL_WDM_MAX_COMMAND, &max)) 179 kernel interfaces, either ioctl or netlink.
|
/linux-4.1.27/drivers/staging/i2o/ |
D | README.ioctl | 12 The Linux I2O subsystem provides a set of ioctl() commands that can be 14 on individual IOPs. This document defines the specific ioctl() commands 37 ioctl(fd, I2OGETIOPS, int *count); 59 ioctl(fd, I2OHRTGET, struct i2o_cmd_hrt *hrt); 88 ioctl(fd, I2OLCTGET, struct i2o_cmd_lct *lct); 117 ioctl(fd, I2OPARMSET, struct i2o_parm_setget *ops); 158 ioctl(fd, I2OPARMGET, struct i2o_parm_setget *ops); 195 ioctl(fd, I2OSWDL, struct i2o_sw_xfer *sw); 236 ioctl(fd, I2OSWUL, struct i2o_sw_xfer *sw); 278 ioctl(fd, I2OSWDEL, struct i2o_sw_xfer *sw); [all …]
|
/linux-4.1.27/Documentation/cdrom/ |
D | cdrom-standard.tex | 53 devices; the way a particular drive reacts to a `standard' $ioctl()$ 62 defines the various $ioctl$s, and how the low-level \cdrom\ device 138 implemented the \cdrom\ $ioctl()$ calls through their own routines. This 147 software-level, that separates the $ioctl()$ and $open()$ implementation 172 &cdrom_ioctl, & ioctl \cr 352 \item[1] Open for $ioctl$ commands, as done by audio-CD playing 394 queues for the VFS and a new $ioctl()$ function that can report device 441 operate at 300\,kB/sec you would call the CDROM_SELECT_SPEED $ioctl$ 458 This function should implement the old corresponding $ioctl()$. For 493 Some of the \cdrom-$ioctl$s defined in \cdromh\ can be [all …]
|
D | ide-cd | 363 #include <sys/ioctl.h> 410 total_slots_available = ioctl (fd, CDROM_CHANGER_NSLOTS); 426 slot=ioctl (fd, CDROM_SELECT_DISC, slot); 436 status=ioctl (fd, CDROM_SELECT_DISC, CDSL_CURRENT); 449 status = ioctl (fd, CDROM_DRIVE_STATUS, CDSL_CURRENT); 469 status = ioctl (fd, CDROM_DRIVE_STATUS, x_slot); 493 status = ioctl (fd, CDROM_DISC_STATUS); 514 status = ioctl (fd, CDROM_MEDIA_CHANGED, x_slot);
|
/linux-4.1.27/drivers/block/ |
D | loop.h | 46 int (*ioctl)(struct loop_device *, int cmd, member 85 int (*ioctl)(struct loop_device *, int cmd, unsigned long arg); member
|
/linux-4.1.27/drivers/usb/serial/ |
D | io_tables.h | 115 .ioctl = edge_ioctl, 147 .ioctl = edge_ioctl, 179 .ioctl = edge_ioctl, 211 .ioctl = edge_ioctl,
|
/linux-4.1.27/Documentation/infiniband/ |
D | user_mad.txt | 13 and then calling the IB_USER_MAD_REGISTER_AGENT ioctl on a file 19 ret = ioctl(fd, IB_USER_MAD_REGISTER_AGENT, (char *) &req); 26 ioctl. Also, all agents registered through a file descriptor will 29 2014 -- a new registration ioctl is now provided which allows additional 114 unless one of IB_USER_MAD_ENABLE_PKEY or IB_USER_MAD_REGISTER_AGENT2 ioctl's 119 default, and the IB_USER_MAD_ENABLE_PKEY ioctl will be removed.
|
/linux-4.1.27/Documentation/scsi/ |
D | megaraid.txt | 24 ioctl commands. But this module is envisioned to handle all user space level 59 The lower level drivers now understand only a new improved ioctl packet called 60 uioc_t. The management module converts the older ioctl packets from the older 69 today, and it can handle only one ioctl, there is no reason to have more. But
|
D | ChangeLog.arcmsr | 6 ** 1.10.00.04 7/28/2004 Erich Chen modify for ioctl 9 ** 1.10.00.10 10/10/2004 Erich Chen bug fix for SMP & ioctl 38 ** add ioctl code 'ARCMSR_IOCTL_FLUSH_ADAPTER_CACHE'
|
/linux-4.1.27/virt/kvm/ |
D | kvm_main.c | 94 static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl, 97 static long kvm_vcpu_compat_ioctl(struct file *file, unsigned int ioctl, 2089 unsigned int ioctl, unsigned long arg) in kvm_vcpu_ioctl() argument 2100 if (unlikely(_IOC_TYPE(ioctl) != KVMIO)) in kvm_vcpu_ioctl() 2108 if (ioctl == KVM_S390_INTERRUPT || ioctl == KVM_S390_IRQ || ioctl == KVM_INTERRUPT) in kvm_vcpu_ioctl() 2109 return kvm_arch_vcpu_ioctl(filp, ioctl, arg); in kvm_vcpu_ioctl() 2116 switch (ioctl) { in kvm_vcpu_ioctl() 2282 r = kvm_arch_vcpu_ioctl(filp, ioctl, arg); in kvm_vcpu_ioctl() 2293 unsigned int ioctl, unsigned long arg) in kvm_vcpu_compat_ioctl() argument 2302 switch (ioctl) { in kvm_vcpu_compat_ioctl() [all …]
|
/linux-4.1.27/drivers/message/fusion/ |
D | Kconfig | 75 tristate "Fusion MPT misc device (ioctl) driver" 79 of MPT adapters via system ioctl calls. Use of ioctl calls to 84 One use of this ioctl interface is to perform an upgrade (reflash)
|
/linux-4.1.27/drivers/net/ppp/ |
D | pppox.c | 96 rc = pppox_protos[sk->sk_protocol]->ioctl ? in pppox_ioctl() 97 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; in pppox_ioctl()
|
/linux-4.1.27/Documentation/input/ |
D | ff.txt | 43 All interactions are done using the event API. That is, you can use ioctl() 50 #include <sys/ioctl.h> 55 int ioctl(int file_descriptor, int request, unsigned long *features); 86 int ioctl(int fd, EVIOCGEFFECTS, int *n); 93 #include <sys/ioctl.h> 95 int ioctl(int file_descriptor, int request, struct ff_effect *effect); 115 int ioctl(int fd, EVIOCRMFF, effect.id);
|
/linux-4.1.27/include/linux/ |
D | vfio.h | 41 long (*ioctl)(void *device_data, unsigned int cmd, member 68 long (*ioctl)(void *iommu_data, unsigned int cmd, member
|
D | atmdev.h | 186 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); member 207 int (*ioctl)(struct atm_dev *dev,unsigned int cmd,void __user *arg); member 290 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg); member
|
D | ppp_channel.h | 34 int (*ioctl)(struct ppp_channel *, unsigned int, unsigned long); member
|
D | watchdog.h | 50 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); member
|
D | if_pppox.h | 78 int (*ioctl)(struct socket *sock, unsigned int cmd, member
|
D | posix-clock.h | 85 long (*ioctl) (struct posix_clock *pc, member
|
D | hdlc.h | 28 int (*ioctl)(struct net_device *dev, struct ifreq *ifr); member
|
D | tty_ldisc.h | 196 int (*ioctl)(struct tty_struct *tty, struct file *file, member
|
D | kvm_host.h | 601 unsigned int ioctl, unsigned long arg); 603 unsigned int ioctl, unsigned long arg); 625 unsigned int ioctl, unsigned long arg); 1057 long (*ioctl)(struct kvm_device *dev, unsigned int ioctl, member
|
/linux-4.1.27/arch/um/os-Linux/ |
D | file.c | 85 err = ioctl(fd, cmd, arg); in os_ioctl_generic() 95 if (ioctl(fd, SIOCGIFNAME, namebuf) < 0) in os_get_ifname() 106 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip() 110 if (ioctl(fd, SIOCSIFENCAP, &sencap) < 0) in os_set_slip() 307 if (ioctl(fd, BLKGETSIZE, &blocks) < 0) { in os_file_size()
|
D | user_syms.c | 93 EXPORT_SYMBOL_PROTO(ioctl);
|
/linux-4.1.27/Documentation/laptops/ |
D | dslm.c | 34 if (ioctl(fd, HDIO_DRIVE_CMD, &args) in check_powermode() 36 && ioctl(fd, HDIO_DRIVE_CMD, &args)) { in check_powermode()
|
/linux-4.1.27/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 42 * 3.00 Aug 22, 1995 -- Implement CDROMMULTISESSION ioctl. 43 * Implement CDROMREADAUDIO ioctl (UNTESTED). 49 * Implement CDROMEJECT_SW ioctl (off by default). 57 * Implement CDROMVOLREAD ioctl. 88 * 3.09 Apr 5, 1996 -- Add CDROMCLOSETRAY ioctl. 91 * Add CDROM_GET_UPC ioctl. 106 * 3.16 Jul 28, 1996 -- Fix from Gadi to reduce kernel stack usage for ioctl. 157 * 4.11 Mar 12, 1998 -- Added support for the CDROM_SELECT_SPEED ioctl 210 * - Unified audio ioctl support, most of it.
|
D | ide-tape.txt | 26 flag, can be configured by issuing an ioctl to the block device interface, 29 Our own ide-tape ioctl's can be issued to either the block device or
|
/linux-4.1.27/Documentation/zh_CN/video4linux/ |
D | omap3isp.txt | 111 这些 ioctl 的事件数据类型为 struct omap3isp_stat_event_status 124 通常,会有一个私有 ioctl 用于配置每个包含硬件依赖功能的模块。 136 在 include/linux/omap3isp.h 中描述了这些 ioctl 使用的参数结构体。
|
D | v4l2-framework.txt | 428 不在以上列表中的所有 ioctls 会通过 core::ioctl 操作直接传递 560 - ioctl_ops: 如果你使用v4l2_ioctl_ops 来简化 ioctl 的维护 586 请勿使用 .ioctl!它已被废弃,今后将消失。 635 如果指定一个锁,则所有 ioctl 操作将在这个锁的作用下串行执行。如果你
|
/linux-4.1.27/include/uapi/linux/mmc/ |
D | Kbuild | 2 header-y += ioctl.h
|
/linux-4.1.27/include/uapi/linux/hdlc/ |
D | Kbuild | 2 header-y += ioctl.h
|
/linux-4.1.27/arch/arm/kvm/ |
D | arm.c | 207 unsigned int ioctl, unsigned long arg) in kvm_arch_dev_ioctl() argument 755 unsigned int ioctl, unsigned long arg) in kvm_arch_vcpu_ioctl() argument 760 switch (ioctl) { in kvm_arch_vcpu_ioctl() 778 if (ioctl == KVM_SET_ONE_REG) in kvm_arch_vcpu_ioctl() 860 unsigned int ioctl, unsigned long arg) in kvm_arch_vm_ioctl() argument 865 switch (ioctl) { in kvm_arch_vm_ioctl()
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
D | Makefile | 2 omapfb-y := omapfb-main.o omapfb-sysfs.o omapfb-ioctl.o
|
/linux-4.1.27/Documentation/power/ |
D | swsusp-and-swap-files.txt | 31 FIBMAP ioctl and determine the location of the file's swap header, as the 43 FIBMAP ioctl) 48 with the help of the SNAPSHOT_SET_SWAP_AREA ioctl described in
|
D | userland-swsusp.txt | 16 release(), read(), and write() operations as well as several ioctl() 31 The ioctl() commands recognized by the device are: 40 last argument of ioctl() should be a pointer to an int variable, 44 SNAPSHOT_CREATE_IMAGE ioctl() again); after the snapshot 76 located (the last ioctl() argument should point to a struct 144 in the memory location pointed to by the last argument of ioctl() and proceed
|
/linux-4.1.27/Documentation/networking/timestamping/ |
D | timestamping.c | 261 if (ioctl(sock, SIOCGSTAMP, &tv)) in printpacket() 269 if (ioctl(sock, SIOCGSTAMPNS, &ts)) in printpacket() 373 if (ioctl(sock, SIOCGIFADDR, &device) < 0) in main() 387 if (ioctl(sock, SIOCSHWTSTAMP, &hwtstamp) < 0) { in main()
|
D | hwtstamp_config.c | 116 if (ioctl(sock, (argc == 2) ? SIOCGHWTSTAMP : SIOCSHWTSTAMP, &ifr)) { in main()
|
/linux-4.1.27/kernel/time/ |
D | posix-clock.c | 126 if (clk->ops.ioctl) in posix_clock_ioctl() 127 err = clk->ops.ioctl(clk, cmd, arg); in posix_clock_ioctl() 144 if (clk->ops.ioctl) in posix_clock_compat_ioctl() 145 err = clk->ops.ioctl(clk, cmd, arg); in posix_clock_compat_ioctl()
|
/linux-4.1.27/fs/autofs4/ |
D | Makefile | 7 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
|
/linux-4.1.27/drivers/isdn/sc/ |
D | Makefile | 10 ioctl.o interrupt.o message.o timer.o
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
D | Kconfig | 438 ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg); 440 val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg); 511 these ioctl's: 514 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_SETBITS), bits_to_set); 515 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_CLRBITS), bits_to_clear); 516 val = ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_READBITS), NULL); 526 can change direction on using ioctl's. 536 can change the value on using ioctl's. 546 can change direction on using ioctl's. 556 can change the value on using ioctl's.
|
/linux-4.1.27/drivers/staging/lustre/lustre/ |
D | Kconfig | 35 int "Lustre obd max ioctl buffer bytes (default 8KB)" 40 applications can pass to Lustre kernel module through ioctl interface.
|
/linux-4.1.27/fs/ncpfs/ |
D | Makefile | 7 ncpfs-y := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o \
|
/linux-4.1.27/fs/ext2/ |
D | Makefile | 8 ioctl.o namei.o super.o symlink.o
|
/linux-4.1.27/fs/ceph/ |
D | Makefile | 7 ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | driver.h | 11 int (*ioctl)(void *priv, bool super, void *data, u32 size, void **hack); member
|
/linux-4.1.27/Documentation/ABI/stable/ |
D | firewire-cdev | 8 userspace. The ioctl(2)- and read(2)-based ABI is defined and 60 ioctl(2) 62 are performed asynchronously while or after the ioctl returns.
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
D | davinci-vpfe-mc.txt | 52 In general, there is a private ioctl for configuring each of the blocks 61 The parameter structures used by these ioctl's are described in 87 The parameter structures used by these ioctl's are described in
|
/linux-4.1.27/fs/ext3/ |
D | Makefile | 8 ioctl.o namei.o super.o symlink.o hash.o resize.o ext3_jbd.o
|
/linux-4.1.27/fs/proc/ |
D | inode.c | 241 long (*ioctl)(struct file *, unsigned int, unsigned long); in proc_reg_unlocked_ioctl() local 243 ioctl = pde->proc_fops->unlocked_ioctl; in proc_reg_unlocked_ioctl() 244 if (ioctl) in proc_reg_unlocked_ioctl() 245 rv = ioctl(file, cmd, arg); in proc_reg_unlocked_ioctl()
|
/linux-4.1.27/drivers/scsi/osd/ |
D | osd_uld.c | 166 int osduld_register_test(unsigned ioctl, do_test_fn *do_test) in osduld_register_test() argument 171 g_test_ioctl = ioctl; in osduld_register_test() 177 void osduld_unregister_test(unsigned ioctl) in osduld_unregister_test() argument 179 if (ioctl == g_test_ioctl) { in osduld_unregister_test()
|
/linux-4.1.27/fs/nilfs2/ |
D | Makefile | 5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
|
/linux-4.1.27/fs/hfsplus/ |
D | Makefile | 7 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
|
/linux-4.1.27/sound/pci/oxygen/ |
D | oxygen_pcm.c | 637 .ioctl = snd_pcm_lib_ioctl, 648 .ioctl = snd_pcm_lib_ioctl, 659 .ioctl = snd_pcm_lib_ioctl, 670 .ioctl = snd_pcm_lib_ioctl, 681 .ioctl = snd_pcm_lib_ioctl, 692 .ioctl = snd_pcm_lib_ioctl,
|
/linux-4.1.27/drivers/video/fbdev/via/ |
D | Makefile | 7 viafb-y :=viafbdev.o hw.o via_i2c.o dvi.o lcd.o ioctl.o accel.o \
|
/linux-4.1.27/include/sound/ |
D | seq_oss.h | 54 int (*ioctl)(struct snd_seq_oss_arg *p, unsigned int cmd, unsigned long arg); member
|
D | hwdep.h | 42 int (*ioctl)(struct snd_hwdep *hw, struct file *file, member
|
/linux-4.1.27/fs/jfs/ |
D | Makefile | 12 resize.o xattr.o ioctl.o
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | Makefile | 13 wil6210-y += ioctl.o
|
/linux-4.1.27/arch/um/drivers/ |
D | chan_user.c | 58 if (ioctl(fd, TIOCGWINSZ, &size) < 0) in generic_window_size() 182 if (ioctl(pty_fd, TIOCSCTTY, 0) < 0) { in winch_thread()
|
/linux-4.1.27/fs/ubifs/ |
D | Makefile | 6 ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o xattr.o debug.o
|
/linux-4.1.27/include/media/ |
D | media-devnode.h | 48 long (*ioctl) (struct file *, unsigned int, unsigned long); member
|
/linux-4.1.27/arch/alpha/kernel/ |
D | rtc.c | 215 .ioctl = alpha_rtc_ioctl, 294 .ioctl = alpha_rtc_ioctl,
|
/linux-4.1.27/fs/ext4/ |
D | Makefile | 8 ioctl.o namei.o super.o symlink.o hash.o resize.o extents.o \
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | Makefile | 3 cx23885-ioctl.o cx23885-ir.o cx23885-av.o cx23885-input.o \
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | TODO | 3 - Check for remaining ioctl & check if that can be converted into
|
/linux-4.1.27/fs/cifs/ |
D | Makefile | 9 readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o
|
/linux-4.1.27/fs/jffs2/ |
D | Makefile | 8 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
/linux-4.1.27/Documentation/usb/ |
D | usbmon.txt | 226 with an ioctl(2), or by accessing the buffer with mmap. However, read(2) 237 The following ioctl calls are available, with MON_IOC_MAGIC 0x92: 292 This ioctl is primarily used when the application accesses the buffer 301 The ioctl operates in 3 stages. 322 The ioctl FIONBIO may be implemented in the future, if there's a need. 324 In addition to ioctl(2) and read(2), the special file of binary API can 341 ioctl(fd, MON_IOCX_MFETCH, &fetch); // Process errors, too 352 Thus, the main idea is to execute only one ioctl per N events.
|
/linux-4.1.27/fs/reiserfs/ |
D | Makefile | 10 item_ops.o ioctl.o xattr.o lock.o
|
/linux-4.1.27/Documentation/ABI/removed/ |
D | dv1394 | 8 ioctl()s allowed limited control.
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | Makefile | 3 ivtv-gpio.o ivtv-i2c.o ivtv-ioctl.o ivtv-irq.o \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | Kbuild | 8 nvkm-y += nvkm/core/ioctl.o
|
/linux-4.1.27/fs/ocfs2/ |
D | Makefile | 25 ioctl.o \
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | Makefile | 2 cx18-queue.o cx18-streams.o cx18-fileops.o cx18-ioctl.o cx18-controls.o \
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | powerpc.c | 579 unsigned int ioctl, unsigned long arg) in kvm_arch_dev_ioctl() argument 1155 unsigned int ioctl, unsigned long arg) in kvm_arch_vcpu_ioctl() argument 1161 switch (ioctl) { in kvm_arch_vcpu_ioctl() 1188 if (ioctl == KVM_SET_ONE_REG) in kvm_arch_vcpu_ioctl() 1302 unsigned int ioctl, unsigned long arg) in kvm_arch_vm_ioctl() argument 1308 switch (ioctl) { in kvm_arch_vm_ioctl() 1357 r = kvm->arch.kvm_ops->arch_vm_ioctl(filp, ioctl, arg); in kvm_arch_vm_ioctl()
|
/linux-4.1.27/drivers/virt/ |
D | Kconfig | 23 1) An ioctl interface for querying and managing partitions.
|
/linux-4.1.27/include/drm/ |
D | drmP.h | 264 #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ argument 265 [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = { \ 266 .cmd = DRM_IOCTL_##ioctl, \ 269 .name = #ioctl \
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.c | 296 ioctl(FD(pos, cpu, thread), in perf_evlist__disable() 315 ioctl(FD(pos, cpu, thread), in perf_evlist__enable() 333 err = ioctl(FD(evsel, cpu, thread), in perf_evlist__disable_event() 354 err = ioctl(FD(evsel, cpu, thread), in perf_evlist__enable_event() 373 err = ioctl(FD(evsel, cpu, thread), in perf_evlist__enable_event_cpu() 392 err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0); in perf_evlist__enable_event_thread() 499 ret = ioctl(fd, PERF_EVENT_IOC_ID, &id); in perf_evlist__id_add_fd() 814 if (ioctl(fd, PERF_EVENT_IOC_SET_OUTPUT, *output) != 0) in perf_evlist__mmap_per_evsel()
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
D | multi_counter_test.c | 51 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); in multi_counter()
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
D | Kbuild | 10 header-y += ioctl.h
|
/linux-4.1.27/net/ax25/ |
D | TODO | 6 A device might be deleted after lookup in the SIOCADDRT ioctl but before it's
|
/linux-4.1.27/Documentation/virtual/kvm/devices/ |
D | vm.txt | 60 -ENOMEM if not enough memory is available to process the ioctl 84 -ENOMEM if not enough memory is available to process the ioctl
|
/linux-4.1.27/samples/bpf/ |
D | bpf_load.c | 115 ioctl(efd, PERF_EVENT_IOC_ENABLE, 0); in load_and_attach() 116 ioctl(efd, PERF_EVENT_IOC_SET_BPF, fd); in load_and_attach()
|
/linux-4.1.27/arch/mn10300/include/uapi/asm/ |
D | Kbuild | 9 header-y += ioctl.h
|
/linux-4.1.27/block/ |
D | Makefile | 9 blk-mq-sysfs.o blk-mq-cpu.o blk-mq-cpumap.o ioctl.o \
|
/linux-4.1.27/arch/m32r/include/uapi/asm/ |
D | Kbuild | 9 header-y += ioctl.h
|
/linux-4.1.27/arch/score/include/uapi/asm/ |
D | Kbuild | 9 header-y += ioctl.h
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | Kbuild | 12 generic-y += ioctl.h
|
/linux-4.1.27/drivers/net/wan/ |
D | hdlc_raw.c | 34 .ioctl = raw_ioctl,
|
D | hdlc.c | 215 result = dev_to_hdlc(dev)->proto->ioctl(dev, ifr); in hdlc_ioctl() 223 if ((result = proto->ioctl(dev, ifr)) != -EINVAL) in hdlc_ioctl()
|
D | hdlc_raw_eth.c | 49 .ioctl = raw_eth_ioctl,
|
/linux-4.1.27/arch/frv/include/uapi/asm/ |
D | Kbuild | 9 header-y += ioctl.h
|
/linux-4.1.27/arch/avr32/include/uapi/asm/ |
D | Kbuild | 27 generic-y += ioctl.h
|
/linux-4.1.27/arch/microblaze/include/uapi/asm/ |
D | Kbuild | 12 header-y += ioctl.h
|
/linux-4.1.27/include/scsi/ |
D | osd_initiator.h | 78 int osduld_register_test(unsigned ioctl, do_test_fn *do_test); 79 void osduld_unregister_test(unsigned ioctl);
|
/linux-4.1.27/arch/arm/include/asm/ |
D | Kbuild | 9 generic-y += ioctl.h
|
/linux-4.1.27/fs/btrfs/ |
D | Makefile | 8 extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
|
/linux-4.1.27/include/uapi/asm-generic/ |
D | Kbuild | 9 header-y += ioctl.h
|
D | Kbuild.asm | 16 header-y += ioctl.h
|
/linux-4.1.27/sound/pci/ca0106/ |
D | ca0106_main.c | 1115 .ioctl = snd_pcm_lib_ioctl, 1126 .ioctl = snd_pcm_lib_ioctl, 1137 .ioctl = snd_pcm_lib_ioctl, 1148 .ioctl = snd_pcm_lib_ioctl, 1159 .ioctl = snd_pcm_lib_ioctl, 1170 .ioctl = snd_pcm_lib_ioctl, 1181 .ioctl = snd_pcm_lib_ioctl, 1192 .ioctl = snd_pcm_lib_ioctl,
|
/linux-4.1.27/arch/tile/include/asm/ |
D | Kbuild | 15 generic-y += ioctl.h
|
/linux-4.1.27/arch/cris/include/uapi/asm/ |
D | Kbuild | 13 header-y += ioctl.h
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_hwdep.c | 114 hwdep->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | Kbuild | 11 generic-y += ioctl.h
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | Kbuild | 11 generic-y += ioctl.h
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | Makefile | 7 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
|
/linux-4.1.27/net/ipv4/ |
D | udplite.c | 45 .ioctl = udp_ioctl,
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
D | Kbuild | 15 header-y += ioctl.h
|
/linux-4.1.27/Documentation/devicetree/bindings/serial/ |
D | rs485.txt | 17 feature at boot time. It can be disabled later with proper ioctl.
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | Kbuild | 14 header-y += ioctl.h
|
/linux-4.1.27/sound/arm/ |
D | pxa2xx-pcm.c | 80 .ioctl = snd_pcm_lib_ioctl,
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
D | Kbuild | 13 header-y += ioctl.h
|
/linux-4.1.27/net/ipv6/ |
D | udplite.c | 41 .ioctl = udp_ioctl,
|
/linux-4.1.27/net/ieee802154/ |
D | socket.c | 177 if (!sk->sk_prot->ioctl) in ieee802154_sock_ioctl() 179 return sk->sk_prot->ioctl(sk, cmd, arg); in ieee802154_sock_ioctl() 434 .ioctl = ieee802154_sock_ioctl, 964 .ioctl = dgram_ioctl, 979 .ioctl = ieee802154_sock_ioctl,
|
/linux-4.1.27/drivers/vfio/ |
D | vfio.c | 812 ret = driver->ops->ioctl(NULL, in vfio_ioctl_check_extension() 821 ret = driver->ops->ioctl(container->iommu_data, in vfio_ioctl_check_extension() 890 if (driver->ops->ioctl(NULL, VFIO_CHECK_EXTENSION, arg) <= 0) { in vfio_ioctl_set_iommu() 952 ret = driver->ops->ioctl(data, cmd, arg); in vfio_fops_unl_ioctl() 1391 if (unlikely(!device->ops->ioctl)) in vfio_device_fops_unl_ioctl() 1394 return device->ops->ioctl(device->device_data, cmd, arg); in vfio_device_fops_unl_ioctl()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_drv.c | 137 #define VMW_IOCTL_DEF(ioctl, func, flags) \ argument 138 [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = {DRM_IOCTL_##ioctl, flags, func} 1045 const struct drm_ioctl_desc *ioctl = in vmw_generic_ioctl() local 1048 if (unlikely(ioctl->cmd != cmd)) { in vmw_generic_ioctl() 1053 flags = ioctl->flags; in vmw_generic_ioctl()
|
/linux-4.1.27/arch/mips/kvm/ |
D | mips.c | 187 long kvm_arch_dev_ioctl(struct file *filp, unsigned int ioctl, in kvm_arch_dev_ioctl() argument 897 long kvm_arch_vcpu_ioctl(struct file *filp, unsigned int ioctl, in kvm_arch_vcpu_ioctl() argument 904 switch (ioctl) { in kvm_arch_vcpu_ioctl() 911 if (ioctl == KVM_SET_ONE_REG) in kvm_arch_vcpu_ioctl() 1007 long kvm_arch_vm_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg) in kvm_arch_vm_ioctl() argument 1011 switch (ioctl) { in kvm_arch_vm_ioctl()
|
/linux-4.1.27/sound/pci/ |
D | rme32.c | 1202 .ioctl = snd_pcm_lib_ioctl, 1216 .ioctl = snd_pcm_lib_ioctl, 1229 .ioctl = snd_pcm_lib_ioctl, 1242 .ioctl = snd_pcm_lib_ioctl, 1255 .ioctl = snd_pcm_lib_ioctl, 1267 .ioctl = snd_pcm_lib_ioctl, 1279 .ioctl = snd_pcm_lib_ioctl, 1290 .ioctl = snd_pcm_lib_ioctl,
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
D | Kbuild | 18 header-y += ioctl.h
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_hwdep.c | 130 hw->ops.ioctl = snd_emux_hwdep_ioctl; in snd_emux_init_hwdep()
|
/linux-4.1.27/drivers/staging/slicoss/ |
D | TODO | 16 - no new SIOCDEVPRIVATE ioctl allowed
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
D | Kbuild | 16 header-y += ioctl.h
|
/linux-4.1.27/sound/soc/ |
D | soc-utils.c | 85 .ioctl = snd_pcm_lib_ioctl,
|