Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 200 of 812) sorted by relevance

12345

/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/
Dobject.c47 return client->driver->ioctl(client->object.priv, client->super, in nvif_object_ioctl()
62 struct nvif_ioctl_v0 ioctl; in nvif_object_sclass_get() member
72 args->ioctl.version = 0; in nvif_object_sclass_get()
73 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get()
106 struct nvif_ioctl_v0 ioctl; in nvif_object_rd() member
109 .ioctl.type = NVIF_IOCTL_V0_RD, in nvif_object_rd()
125 struct nvif_ioctl_v0 ioctl; in nvif_object_wr() member
128 .ioctl.type = NVIF_IOCTL_V0_WR, in nvif_object_wr()
143 struct nvif_ioctl_v0 ioctl; in nvif_object_mthd() member
155 args->ioctl.version = 0; in nvif_object_mthd()
[all …]
Dnotify.c37 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
194 args->ioctl.version = 0; in nvif_notify_init()
195 args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; in nvif_notify_init()
Dclient.c32 return client->driver->ioctl(client->object.priv, client->super, data, size, NULL); in nvif_client_ioctl()
75 struct nvif_ioctl_v0 ioctl; in nvif_client_init() member
/linux-4.4.14/Documentation/ioctl/
Dcdrom.txt1 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 …]
D00-INDEX6 - 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
Dhdio.txt1 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 …]
Dioctl-number.txt6 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 …]
Dbotching-up-ioctls.txt19 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 …]
Dioctl-decoding.txt4 include/ARCH/ioctl.h for specifics, e.g. powerpc
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_ioctl.c69 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.4.14/tools/testing/selftests/timers/
Drtctest.c62 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.4.14/tools/perf/tests/
Dbp_signal.c55 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()
Dbp_signal_overflow.c106 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.4.14/drivers/scsi/
Dgdth_proc.c121 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 …]
Dscsi_ioctl.c266 if (sdev->host->hostt->ioctl) in scsi_ioctl()
267 return sdev->host->hostt->ioctl(sdev, cmd, arg); in scsi_ioctl()
Dgdth_ioctl.h74 } __attribute__((packed)) ioctl; /* IOCTL command structure */ member
185 u16 ioctl; /* IOCTL */ member
/linux-4.4.14/samples/hidraw/
Dhid-example.c68 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.4.14/Documentation/timers/
Dhpet_example.c114 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.4.14/Documentation/watchdog/
Dwatchdog-api.txt67 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 …]
Dwatchdog-kernel-api.txt105 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long);
153 (Note: the WDIOC_KEEPALIVE ioctl call will only be active when the
171 * ioctl: if this routine is present then it will be called first before we do
172 our own internal ioctl call handling. This routine should return -ENOIOCTLCMD
173 if a command is not supported. The parameters that are passed to the ioctl
/linux-4.4.14/tools/virtio/
Dvirtio_test.c72 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.4.14/Documentation/ia64/
Defirtc.txt29 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.4.14/Documentation/spi/
Dspidev_test.c131 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()
Dspidev_fdx.c67 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.4.14/Documentation/watchdog/src/
Dwatchdog-test.c26 ioctl(fd, WDIOC_KEEPALIVE, &dummy); in keep_alive()
57 ioctl(fd, WDIOC_SETOPTIONS, &flags); in main()
63 ioctl(fd, WDIOC_SETOPTIONS, &flags); in main()
69 ioctl(fd, WDIOC_SETTIMEOUT, &flags); in main()
/linux-4.4.14/Documentation/virtual/kvm/
Dapi.txt11 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.4.14/Documentation/ptp/
Dtestptp.c271 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { in main()
354 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()
372 if (ioctl(fd, PTP_EXTTS_REQUEST, &extts_request)) { in main()
379 if (ioctl(fd, PTP_CLOCK_GETCAPS, &caps)) { in main()
386 if (ioctl(fd, PTP_PIN_GETFUNC, &desc)) { in main()
449 if (ioctl(fd, PTP_PEROUT_REQUEST, &perout_request)) { in main()
461 if (ioctl(fd, PTP_PIN_SETFUNC, &desc)) { in main()
470 if (ioctl(fd, PTP_ENABLE_PPS, enable)) { in main()
491 if (ioctl(fd, PTP_SYS_OFFSET, sysoff)) in main()
/linux-4.4.14/Documentation/block/
Dpr.txt11 This document gives a general overview of the support ioctl commands.
62 The following ioctl are supported:
67 This ioctl command registers a new reservation if the new_key argument
78 This ioctl command reserves the device and thus restricts access for other
86 This ioctl command releases the reservation specified by key and flags
92 This ioctl command releases the existing reservation referred to by
99 This ioctl command works like IOC_PR_PREEMPT except that it also aborts
104 This ioctl command unregisters both key and any other reservation key
/linux-4.4.14/Documentation/
Dvfio.txt99 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 …]
Dhighuid.txt4 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
DSubmitChecklist98 25: If any ioctl's are added by the patch, then also update
99 Documentation/ioctl/ioctl-number.txt.
/linux-4.4.14/drivers/gpu/drm/
Ddrm_ioctl.c546 #define DRM_IOCTL_DEF(ioctl, _func, _flags) \ argument
547 [DRM_IOCTL_NR(ioctl)] = { \
548 .cmd = ioctl, \
551 .name = #ioctl \
687 const struct drm_ioctl_desc *ioctl = NULL; in drm_ioctl() local
707 ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE]; in drm_ioctl()
712 ioctl = &drm_ioctls[nr]; in drm_ioctl()
715 drv_size = _IOC_SIZE(ioctl->cmd); in drm_ioctl()
718 cmd = ioctl->cmd; in drm_ioctl()
723 file_priv->authenticated, ioctl->name); in drm_ioctl()
[all …]
/linux-4.4.14/Documentation/i2c/
Ddev-interface51 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.4.14/Documentation/pti/
Dpti_intel_mid.txt42 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.4.14/Documentation/powerpc/
Dcxlflash.txt149 This ioctl obtains, initializes, and starts a context using the CXL
159 detail in the description for the DK_CXLFLASH_DETACH ioctl.
175 the context via the DK_CXLFLASH_DETACH ioctl.
182 This ioctl is responsible for transitioning the LUN to direct
199 This ioctl is responsible for transitioning the LUN to virtual mode
215 would need to use the DK_CXLFLASH_VLUN_RESIZE ioctl to adjust the grow
219 ioctl, such that when success is returned to the user, the
225 This ioctl is responsible for resizing a previously created virtual
238 This ioctl is responsible for releasing a previously obtained
251 This ioctl is responsible for unregistering a context with the
[all …]
/linux-4.4.14/tools/testing/selftests/efivarfs/
Dopen-unlink.c23 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.4.14/sound/oss/
Ddev_table.h159 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
Dsequencer.c1337 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()
Dmidibuf.c372 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()
Dv_midi.c142 .ioctl = v_midi_ioctl,
156 .ioctl = v_midi_ioctl,
Dmidi_synth.h33 .ioctl = midi_synth_ioctl,
/linux-4.4.14/Documentation/filesystems/
Dnilfs2.txt94 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 …]
Dautofs4-mount-control.txt13 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 …]
Djfs.txt42 devices and sparse/thinly-provisioned LUNs. The FITRIM ioctl
49 on an FITRIM ioctl().
Dext4.txt526 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.4.14/drivers/vhost/
Dtest.c260 static long vhost_test_ioctl(struct file *f, unsigned int ioctl, in vhost_test_ioctl() argument
269 switch (ioctl) { in vhost_test_ioctl()
292 r = vhost_dev_ioctl(&n->dev, ioctl, argp); in vhost_test_ioctl()
294 r = vhost_vring_ioctl(&n->dev, ioctl, argp); in vhost_test_ioctl()
302 static long vhost_test_compat_ioctl(struct file *f, unsigned int ioctl, in vhost_test_compat_ioctl() argument
305 return vhost_test_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); in vhost_test_compat_ioctl()
Dvhost.h48 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp);
140 long vhost_dev_ioctl(struct vhost_dev *, unsigned int ioctl, void __user *argp);
141 long vhost_vring_ioctl(struct vhost_dev *d, int ioctl, void __user *argp);
Dnet.c1051 static long vhost_net_ioctl(struct file *f, unsigned int ioctl, in vhost_net_ioctl() argument
1061 switch (ioctl) { in vhost_net_ioctl()
1083 r = vhost_dev_ioctl(&n->dev, ioctl, argp); in vhost_net_ioctl()
1085 r = vhost_vring_ioctl(&n->dev, ioctl, argp); in vhost_net_ioctl()
1094 static long vhost_net_compat_ioctl(struct file *f, unsigned int ioctl, in vhost_net_compat_ioctl() argument
1097 return vhost_net_ioctl(f, ioctl, (unsigned long)compat_ptr(arg)); in vhost_net_compat_ioctl()
/linux-4.4.14/Documentation/x86/
Dmtrr.txt59 which allows you to read and write. The other is an ioctl()
61 ioctl() interface is meant for C programs (i.e. the X server). The
101 ioctl() interface, so users won't have to do anything. If you use a
126 Reading MTRRs from a C program using ioctl()'s:
130 Source file for mtrr-show (example program to show MTRRs using ioctl()'s)
154 This program will use an ioctl() on /proc/mtrr to show the current MTRR
170 #include <sys/ioctl.h>
205 for (gentry.regnum = 0; ioctl (fd, MTRRIOC_GET_ENTRY, &gentry) == 0;
218 fprintf (stderr, "Error doing ioctl(2) on /dev/mtrr\t%s\n", ERRSTRING);
222 Creating MTRRs from a C programme using ioctl()'s:
[all …]
/linux-4.4.14/arch/x86/kvm/
Dassigned-dev.h13 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.4.14/Documentation/video4linux/
Duvcvideo.txt21 - 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 …]
Dsi4713.txt134 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.4.14/drivers/pcmcia/
Dtcic.c296 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 …]
Dvrc4173_cardu.c251 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()
Dvrc4171_card.c383 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()
Dpd6729.c427 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()
Di82092.c560 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()
Di82365.c1034 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.4.14/Documentation/fb/
Dinternals.txt21 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.
Dpxafb.txt110 b. ioctl(fd, FBIOGET_VSCREENINFO, ...)
117 d. ioctl(fd, FBIOPUT_VSCREENINFO, ...)
118 e. ioctl(fd, FBIOGET_FSCREENINFO, ...)
/linux-4.4.14/Documentation/serial/
Dn_gsm.txt17 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);
Dtty.txt88 ioctl() - (optional) Called when an ioctl is handed to the
90 ioctl calls may occur in parallel. May sleep.
92 compat_ioctl() - (optional) Called when a 32 bit ioctl is handed
94 Multiple ioctl calls may occur in parallel.
150 ioctl() Invoke device specific ioctl.
152 Returns ENOIOCTLCMD for unrecognized ioctl numbers.
281 ioctl() - Called when an ioctl may be for the driver
/linux-4.4.14/Documentation/hid/
Dhidraw.txt64 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
Dhiddev.txt64 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.4.14/tools/testing/selftests/powerpc/pmu/
Devent.c90 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.4.14/sound/soc/codecs/
Dwm8753.c245 u16 ioctl; in wm8753_set_dai() local
253 ioctl = snd_soc_read(codec, WM8753_IOCTL); in wm8753_set_dai()
257 if (((ioctl >> 2) & 0x3) == wm8753->dai_func) in wm8753_set_dai()
260 ioctl = (ioctl & 0x1f3) | (wm8753->dai_func << 2); in wm8753_set_dai()
261 snd_soc_write(codec, WM8753_IOCTL, ioctl); in wm8753_set_dai()
964 u16 voice, ioctl; in wm8753_pcm_set_dai_fmt() local
967 ioctl = snd_soc_read(codec, WM8753_IOCTL) & 0x015d; in wm8753_pcm_set_dai_fmt()
974 ioctl |= 0x2; in wm8753_pcm_set_dai_fmt()
1022 snd_soc_write(codec, WM8753_IOCTL, ioctl); in wm8753_pcm_set_dai_fmt()
1089 u16 ioctl, hifi; in wm8753_i2s_set_dai_fmt() local
[all …]
/linux-4.4.14/net/atm/
Dioctl.c34 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()
DMakefile5 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.4.14/Documentation/networking/
Dppp_generic.txt27 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 …]
Dtuntap.txt20 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);
Dcdc_mbim.txt100 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.4.14/Documentation/cdrom/
Dcdrom-standard.tex53 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 …]
Dide-cd363 #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.4.14/drivers/block/
Dloop.h46 int (*ioctl)(struct loop_device *, int cmd, member
86 int (*ioctl)(struct loop_device *, int cmd, unsigned long arg); member
/linux-4.4.14/drivers/usb/serial/
Dio_tables.h115 .ioctl = edge_ioctl,
147 .ioctl = edge_ioctl,
179 .ioctl = edge_ioctl,
211 .ioctl = edge_ioctl,
/linux-4.4.14/Documentation/infiniband/
Duser_mad.txt13 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.4.14/Documentation/scsi/
Dmegaraid.txt24 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
DChangeLog.arcmsr6 ** 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.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c871 #define AMDKFD_IOCTL_DEF(ioctl, _func, _flags) \ argument
872 [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, .cmd_drv = 0, .name = #ioctl}
931 const struct amdkfd_ioctl_desc *ioctl = NULL; in kfd_ioctl() local
944 ioctl = &amdkfd_ioctls[nr]; in kfd_ioctl()
946 amdkfd_size = _IOC_SIZE(ioctl->cmd); in kfd_ioctl()
951 cmd = ioctl->cmd; in kfd_ioctl()
964 func = ioctl->func; in kfd_ioctl()
1002 if (!ioctl) in kfd_ioctl()
/linux-4.4.14/drivers/message/fusion/
DKconfig75 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.4.14/drivers/net/ppp/
Dpppox.c96 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.4.14/Documentation/vm/
Duserfaultfd.txt47 UFFDIO_API ioctl specifying a uffdio_api.api value set to UFFD_API (or
50 userland requires. The UFFDIO_API ioctl if successful (i.e. if the
55 the generic ioctl available.
57 Once the userfaultfd has been enabled the UFFDIO_REGISTER ioctl should
63 pages). The UFFDIO_REGISTER ioctl will return the
76 The primary ioctl to resolve userfaults is UFFDIO_COPY. That
79 UFFDIO_COPY_MODE_DONTWAKE is set). Other ioctl works similarly to
/linux-4.4.14/Documentation/input/
Dff.txt43 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.4.14/include/linux/
Dvfio.h41 long (*ioctl)(void *device_data, unsigned int cmd, member
68 long (*ioctl)(void *iommu_data, unsigned int cmd, member
Datmdev.h186 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
Dppp_channel.h34 int (*ioctl)(struct ppp_channel *, unsigned int, unsigned long); member
Dwatchdog.h50 long (*ioctl)(struct watchdog_device *, unsigned int, unsigned long); member
Dif_pppox.h78 int (*ioctl)(struct socket *sock, unsigned int cmd, member
Dposix-clock.h85 long (*ioctl) (struct posix_clock *pc, member
Dtty_ldisc.h196 int (*ioctl)(struct tty_struct *tty, struct file *file, member
Dhdlc.h28 int (*ioctl)(struct net_device *dev, struct ifreq *ifr); member
Dkvm_host.h676 unsigned int ioctl, unsigned long arg);
678 unsigned int ioctl, unsigned long arg);
700 unsigned int ioctl, unsigned long arg);
1150 long (*ioctl)(struct kvm_device *dev, unsigned int ioctl, member
/linux-4.4.14/virt/kvm/
Dkvm_main.c103 static long kvm_vcpu_ioctl(struct file *file, unsigned int ioctl,
106 static long kvm_vcpu_compat_ioctl(struct file *file, unsigned int ioctl,
2337 unsigned int ioctl, unsigned long arg) in kvm_vcpu_ioctl() argument
2348 if (unlikely(_IOC_TYPE(ioctl) != KVMIO)) in kvm_vcpu_ioctl()
2356 if (ioctl == KVM_S390_INTERRUPT || ioctl == KVM_S390_IRQ || ioctl == KVM_INTERRUPT) in kvm_vcpu_ioctl()
2357 return kvm_arch_vcpu_ioctl(filp, ioctl, arg); in kvm_vcpu_ioctl()
2364 switch (ioctl) { in kvm_vcpu_ioctl()
2530 r = kvm_arch_vcpu_ioctl(filp, ioctl, arg); in kvm_vcpu_ioctl()
2541 unsigned int ioctl, unsigned long arg) in kvm_vcpu_compat_ioctl() argument
2550 switch (ioctl) { in kvm_vcpu_compat_ioctl()
[all …]
/linux-4.4.14/arch/um/os-Linux/
Dfile.c86 err = ioctl(fd, cmd, arg); in os_ioctl_generic()
96 if (ioctl(fd, SIOCGIFNAME, namebuf) < 0) in os_get_ifname()
107 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
111 if (ioctl(fd, SIOCSIFENCAP, &sencap) < 0) in os_set_slip()
308 if (ioctl(fd, BLKGETSIZE, &blocks) < 0) { in os_file_size()
Duser_syms.c93 EXPORT_SYMBOL_PROTO(ioctl);
/linux-4.4.14/Documentation/laptops/
Ddslm.c34 if (ioctl(fd, HDIO_DRIVE_CMD, &args) in check_powermode()
36 && ioctl(fd, HDIO_DRIVE_CMD, &args)) { in check_powermode()
/linux-4.4.14/Documentation/ide/
DChangeLog.ide-cd.1994-200442 * 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.
Dide-tape.txt26 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.4.14/Documentation/zh_CN/video4linux/
Domap3isp.txt111 这些 ioctl 的事件数据类型为 struct omap3isp_stat_event_status
124 通常,会有一个私有 ioctl 用于配置每个包含硬件依赖功能的模块。
136 在 include/linux/omap3isp.h 中描述了这些 ioctl 使用的参数结构体。
Dv4l2-framework.txt428 不在以上列表中的所有 ioctls 会通过 core::ioctl 操作直接传递
560 - ioctl_ops: 如果你使用v4l2_ioctl_ops 来简化 ioctl 的维护
586 请勿使用 .ioctl!它已被废弃,今后将消失。
635 如果指定一个锁,则所有 ioctl 操作将在这个锁的作用下串行执行。如果你
/linux-4.4.14/include/uapi/linux/mmc/
DKbuild2 header-y += ioctl.h
/linux-4.4.14/include/uapi/linux/hdlc/
DKbuild2 header-y += ioctl.h
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
DMakefile2 omapfb-y := omapfb-main.o omapfb-sysfs.o omapfb-ioctl.o
/linux-4.4.14/Documentation/power/
Dswsusp-and-swap-files.txt31 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
Duserland-swsusp.txt16 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.4.14/kernel/time/
Dposix-clock.c126 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.4.14/Documentation/networking/timestamping/
Dtimestamping.c261 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()
Dhwtstamp_config.c116 if (ioctl(sock, (argc == 2) ? SIOCGHWTSTAMP : SIOCSHWTSTAMP, &ifr)) { in main()
/linux-4.4.14/fs/autofs4/
DMakefile7 autofs4-objs := init.o inode.o root.o symlink.o waitq.o expire.o dev-ioctl.o
/linux-4.4.14/drivers/isdn/sc/
DMakefile10 ioctl.o interrupt.o message.o timer.o
/linux-4.4.14/arch/cris/arch-v10/drivers/
DKconfig438 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.4.14/arch/arm/kvm/
Darm.c207 unsigned int ioctl, unsigned long arg) in kvm_arch_dev_ioctl() argument
818 unsigned int ioctl, unsigned long arg) in kvm_arch_vcpu_ioctl() argument
823 switch (ioctl) { in kvm_arch_vcpu_ioctl()
841 if (ioctl == KVM_SET_ONE_REG) in kvm_arch_vcpu_ioctl()
923 unsigned int ioctl, unsigned long arg) in kvm_arch_vm_ioctl() argument
928 switch (ioctl) { in kvm_arch_vm_ioctl()
/linux-4.4.14/drivers/staging/lustre/lustre/
DKconfig35 int "Lustre obd max ioctl buffer bytes (default 8KB)"
40 applications can pass to Lustre kernel module through ioctl interface.
/linux-4.4.14/fs/ncpfs/
DMakefile7 ncpfs-y := dir.o file.o inode.o ioctl.o mmap.o ncplib_kernel.o sock.o \
/linux-4.4.14/fs/ext2/
DMakefile8 ioctl.o namei.o super.o symlink.o
/linux-4.4.14/fs/ceph/
DMakefile7 ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Ddriver.h11 int (*ioctl)(void *priv, bool super, void *data, u32 size, void **hack); member
/linux-4.4.14/Documentation/ABI/stable/
Dfirewire-cdev8 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.4.14/drivers/staging/media/davinci_vpfe/
Ddavinci-vpfe-mc.txt52 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.4.14/Documentation/s390/
DDASD41 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
/linux-4.4.14/fs/proc/
Dinode.c240 long (*ioctl)(struct file *, unsigned int, unsigned long); in proc_reg_unlocked_ioctl() local
242 ioctl = pde->proc_fops->unlocked_ioctl; in proc_reg_unlocked_ioctl()
243 if (ioctl) in proc_reg_unlocked_ioctl()
244 rv = ioctl(file, cmd, arg); in proc_reg_unlocked_ioctl()
/linux-4.4.14/tools/testing/selftests/vm/
Duserfaultfd.c232 if (ioctl(uffd, UFFDIO_COPY, &uffdio_copy)) { in copy_page()
449 if (ioctl(uffd, UFFDIO_API, &uffdio_api)) { in userfaultfd_stress()
527 if (ioctl(uffd, UFFDIO_REGISTER, &uffdio_register)) { in userfaultfd_stress()
575 if (ioctl(uffd, UFFDIO_UNREGISTER, &uffdio_register.range)) { in userfaultfd_stress()
/linux-4.4.14/drivers/scsi/osd/
Dosd_uld.c166 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.4.14/fs/nilfs2/
DMakefile5 ifile.o alloc.o gcinode.o ioctl.o sysfs.o
/linux-4.4.14/sound/pci/oxygen/
Doxygen_pcm.c637 .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.4.14/fs/hfsplus/
DMakefile7 hfsplus-objs := super.o options.o inode.o ioctl.o extents.o catalog.o dir.o btree.o \
/linux-4.4.14/fs/jfs/
DMakefile12 resize.o xattr.o ioctl.o
/linux-4.4.14/include/sound/
Dseq_oss.h54 int (*ioctl)(struct snd_seq_oss_arg *p, unsigned int cmd, unsigned long arg); member
Dhwdep.h42 int (*ioctl)(struct snd_hwdep *hw, struct file *file, member
/linux-4.4.14/drivers/video/fbdev/via/
DMakefile7 viafb-y :=viafbdev.o hw.o via_i2c.o dvi.o lcd.o ioctl.o accel.o \
/linux-4.4.14/arch/um/drivers/
Dchan_user.c58 if (ioctl(fd, TIOCGWINSZ, &size) < 0) in generic_window_size()
182 if (ioctl(pty_fd, TIOCSCTTY, 0) < 0) { in winch_thread()
/linux-4.4.14/fs/ubifs/
DMakefile6 ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o xattr.o debug.o
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
DMakefile13 wil6210-y += ioctl.o
/linux-4.4.14/Documentation/trace/
Dstm.txt56 to the policy, they need to do a STP_POLICY_ID_SET ioctl on this file
66 aforementioned ioctl() call) to be able to do this. That is, if your
68 4096 bytes, after a successful STP_POLICY_ID_SET ioctl() call with
/linux-4.4.14/include/media/
Dmedia-devnode.h48 long (*ioctl) (struct file *, unsigned int, unsigned long); member
/linux-4.4.14/arch/alpha/kernel/
Drtc.c215 .ioctl = alpha_rtc_ioctl,
294 .ioctl = alpha_rtc_ioctl,
/linux-4.4.14/samples/bpf/
Dtracex6_user.c40 ioctl(pmu_fd[i], PERF_EVENT_IOC_ENABLE, 0); in test_bpf_perf_event()
Dbpf_load.c145 ioctl(efd, PERF_EVENT_IOC_ENABLE, 0); in load_and_attach()
146 ioctl(efd, PERF_EVENT_IOC_SET_BPF, fd); in load_and_attach()
/linux-4.4.14/drivers/media/pci/cx23885/
DMakefile3 cx23885-ioctl.o cx23885-ir.o cx23885-av.o cx23885-input.o \
/linux-4.4.14/fs/ext4/
DMakefile8 ioctl.o namei.o super.o symlink.o hash.o resize.o extents.o \
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
DKbuild6 nvkm-y += nvkm/core/ioctl.o
/linux-4.4.14/fs/jffs2/
DMakefile8 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
/linux-4.4.14/fs/cifs/
DMakefile9 readdir.o ioctl.o sess.o export.o smb1ops.o winucase.o
/linux-4.4.14/Documentation/usb/
Dusbmon.txt226 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.4.14/fs/reiserfs/
DMakefile10 item_ops.o ioctl.o xattr.o lock.o
/linux-4.4.14/Documentation/ABI/removed/
Ddv13948 ioctl()s allowed limited control.
/linux-4.4.14/drivers/media/pci/ivtv/
DMakefile3 ivtv-gpio.o ivtv-i2c.o ivtv-ioctl.o ivtv-irq.o \
/linux-4.4.14/drivers/media/pci/cx18/
DMakefile2 cx18-queue.o cx18-streams.o cx18-fileops.o cx18-ioctl.o cx18-controls.o \
/linux-4.4.14/fs/ocfs2/
DMakefile25 ioctl.o \
/linux-4.4.14/arch/powerpc/kvm/
Dpowerpc.c582 unsigned int ioctl, unsigned long arg) in kvm_arch_dev_ioctl() argument
1159 unsigned int ioctl, unsigned long arg) in kvm_arch_vcpu_ioctl() argument
1165 switch (ioctl) { in kvm_arch_vcpu_ioctl()
1192 if (ioctl == KVM_SET_ONE_REG) in kvm_arch_vcpu_ioctl()
1306 unsigned int ioctl, unsigned long arg) in kvm_arch_vm_ioctl() argument
1312 switch (ioctl) { in kvm_arch_vm_ioctl()
1361 r = kvm->arch.kvm_ops->arch_vm_ioctl(filp, ioctl, arg); in kvm_arch_vm_ioctl()
/linux-4.4.14/drivers/virt/
DKconfig23 1) An ioctl interface for querying and managing partitions.
/linux-4.4.14/arch/h8300/include/uapi/asm/
DKbuild8 header-y += ioctl.h
/linux-4.4.14/include/drm/
DdrmP.h274 #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ argument
275 [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = { \
276 .cmd = DRM_IOCTL_##ioctl, \
279 .name = #ioctl \
/linux-4.4.14/sound/soc/pxa/
Dpxa2xx-pcm.c51 .ioctl = snd_pcm_lib_ioctl,
/linux-4.4.14/net/ax25/
DTODO6 A device might be deleted after lookup in the SIOCADDRT ioctl but before it's
/linux-4.4.14/arch/parisc/include/uapi/asm/
DKbuild10 header-y += ioctl.h
/linux-4.4.14/Documentation/virtual/kvm/devices/
Dvm.txt60 -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.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c141 #define VMW_IOCTL_DEF(ioctl, func, flags) \ argument
142 [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = {DRM_IOCTL_##ioctl, flags, func}
1096 const struct drm_ioctl_desc *ioctl = in vmw_generic_ioctl() local
1100 ret = (long) drm_ioctl_permit(ioctl->flags, file_priv); in vmw_generic_ioctl()
1111 if (unlikely(ioctl->cmd != cmd)) in vmw_generic_ioctl()
1114 flags = ioctl->flags; in vmw_generic_ioctl()
/linux-4.4.14/arch/mn10300/include/uapi/asm/
DKbuild9 header-y += ioctl.h
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dmulti_counter_test.c53 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); in multi_counter()
/linux-4.4.14/arch/score/include/uapi/asm/
DKbuild9 header-y += ioctl.h
/linux-4.4.14/arch/m32r/include/uapi/asm/
DKbuild9 header-y += ioctl.h
/linux-4.4.14/arch/xtensa/include/asm/
DKbuild11 generic-y += ioctl.h
/linux-4.4.14/block/
DMakefile9 blk-mq-sysfs.o blk-mq-cpu.o blk-mq-cpumap.o ioctl.o \
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_nvif.c130 .ioctl = nvkm_client_ioctl,
/linux-4.4.14/arch/microblaze/include/uapi/asm/
DKbuild12 header-y += ioctl.h
/linux-4.4.14/drivers/net/wan/
Dhdlc_raw.c34 .ioctl = raw_ioctl,
Dhdlc.c215 result = dev_to_hdlc(dev)->proto->ioctl(dev, ifr); in hdlc_ioctl()
223 if ((result = proto->ioctl(dev, ifr)) != -EINVAL) in hdlc_ioctl()
Dhdlc_raw_eth.c49 .ioctl = raw_eth_ioctl,
/linux-4.4.14/arch/avr32/include/uapi/asm/
DKbuild27 generic-y += ioctl.h
/linux-4.4.14/arch/frv/include/uapi/asm/
DKbuild9 header-y += ioctl.h
/linux-4.4.14/include/scsi/
Dosd_initiator.h78 int osduld_register_test(unsigned ioctl, do_test_fn *do_test);
79 void osduld_unregister_test(unsigned ioctl);
/linux-4.4.14/sound/firewire/tascam/
Dtascam-pcm.c274 .ioctl = snd_pcm_lib_ioctl,
286 .ioctl = snd_pcm_lib_ioctl,
/linux-4.4.14/arch/arm/include/asm/
DKbuild9 generic-y += ioctl.h
/linux-4.4.14/fs/btrfs/
DMakefile8 extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
/linux-4.4.14/include/uapi/asm-generic/
DKbuild9 header-y += ioctl.h
DKbuild.asm16 header-y += ioctl.h
/linux-4.4.14/sound/pci/ca0106/
Dca0106_main.c1115 .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.4.14/tools/perf/util/
Devlist.c350 ioctl(FD(pos, cpu, thread), in perf_evlist__disable()
371 ioctl(FD(pos, cpu, thread), in perf_evlist__enable()
396 err = ioctl(FD(evsel, cpu, thread), in perf_evlist__disable_event()
417 err = ioctl(FD(evsel, cpu, thread), in perf_evlist__enable_event()
436 err = ioctl(FD(evsel, cpu, thread), in perf_evlist__enable_event_cpu()
455 err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0); in perf_evlist__enable_event_thread()
562 ret = ioctl(fd, PERF_EVENT_IOC_ID, &id); in perf_evlist__id_add_fd()
933 if (ioctl(fd, PERF_EVENT_IOC_SET_OUTPUT, *output) != 0) in perf_evlist__mmap_per_evsel()
/linux-4.4.14/arch/mips/include/uapi/asm/
DKbuild15 header-y += ioctl.h
/linux-4.4.14/arch/tile/include/asm/
DKbuild15 generic-y += ioctl.h
/linux-4.4.14/sound/pci/hda/
Dhda_hwdep.c114 hwdep->ops.ioctl = hda_hwdep_ioctl; in snd_hda_create_hwdep()
/linux-4.4.14/sound/arm/
Dpxa2xx-pcm.c74 .ioctl = snd_pcm_lib_ioctl,
/linux-4.4.14/net/ipv4/
Dudplite.c45 .ioctl = udp_ioctl,
/linux-4.4.14/arch/m68k/include/asm/
DKbuild11 generic-y += ioctl.h
/linux-4.4.14/arch/sh/include/asm/
DKbuild11 generic-y += ioctl.h
/linux-4.4.14/arch/cris/include/uapi/asm/
DKbuild16 header-y += ioctl.h
/linux-4.4.14/drivers/media/v4l2-core/
DMakefile7 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
/linux-4.4.14/Documentation/devicetree/bindings/serial/
Drs485.txt17 feature at boot time. It can be disabled later with proper ioctl.
/linux-4.4.14/arch/alpha/include/uapi/asm/
DKbuild14 header-y += ioctl.h
/linux-4.4.14/net/ipv6/
Dudplite.c41 .ioctl = udp_ioctl,
/linux-4.4.14/sound/firewire/digi00x/
Ddigi00x-pcm.c335 .ioctl = snd_pcm_lib_ioctl,
347 .ioctl = snd_pcm_lib_ioctl,
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei.txt78 ioctl(fd, IOCTL_MEI_CONNECT_CLIENT, &data);
104 ioctl(fd, IOCTL_MEI_CONNECT_CLIENT, &clientData);
132 ioctl(fd, IOCTL_MEI_NOTIFY_SET, &enable);
154 ioctl(fd, IOCTL_MEI_NOTIFY_GET, &event);
/linux-4.4.14/net/ieee802154/
Dsocket.c175 if (!sk->sk_prot->ioctl) in ieee802154_sock_ioctl()
177 return sk->sk_prot->ioctl(sk, cmd, arg); in ieee802154_sock_ioctl()
426 .ioctl = ieee802154_sock_ioctl,
956 .ioctl = dgram_ioctl,
971 .ioctl = ieee802154_sock_ioctl,
/linux-4.4.14/arch/mips/kvm/
Dmips.c188 long kvm_arch_dev_ioctl(struct file *filp, unsigned int ioctl, in kvm_arch_dev_ioctl() argument
899 long kvm_arch_vcpu_ioctl(struct file *filp, unsigned int ioctl, in kvm_arch_vcpu_ioctl() argument
906 switch (ioctl) { in kvm_arch_vcpu_ioctl()
913 if (ioctl == KVM_SET_ONE_REG) in kvm_arch_vcpu_ioctl()
1011 long kvm_arch_vm_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg) in kvm_arch_vm_ioctl() argument
1015 switch (ioctl) { in kvm_arch_vm_ioctl()
/linux-4.4.14/drivers/vfio/
Dvfio.c860 ret = driver->ops->ioctl(NULL, in vfio_ioctl_check_extension()
869 ret = driver->ops->ioctl(container->iommu_data, in vfio_ioctl_check_extension()
938 if (driver->ops->ioctl(NULL, VFIO_CHECK_EXTENSION, arg) <= 0) { in vfio_ioctl_set_iommu()
1000 ret = driver->ops->ioctl(data, cmd, arg); in vfio_fops_unl_ioctl()
1439 if (unlikely(!device->ops->ioctl)) in vfio_device_fops_unl_ioctl()
1442 return device->ops->ioctl(device->device_data, cmd, arg); in vfio_device_fops_unl_ioctl()
/linux-4.4.14/sound/pci/
Drme32.c1202 .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.4.14/arch/powerpc/include/uapi/asm/
DKbuild14 header-y += ioctl.h
/linux-4.4.14/crypto/
Dalgif_rng.c101 .ioctl = sock_no_ioctl,
/linux-4.4.14/sound/soc/
Dsoc-utils.c85 .ioctl = snd_pcm_lib_ioctl,

12345