Home
last modified time | relevance | path

Searched refs:ioctl (Results 1 – 25 of 243) sorted by relevance

12345678910

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libnvme/files/
H A D0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch8 a regression, for system without glibc ioctl, -DHAVE_GLIBC_IOCTL=0
10 ../git/test/ioctl/mock.c:123:5: error: conflicting types for 'ioctl'; have 'int(int, long unsigned…
11 123 | int ioctl(int fd, unsigned long request, ...)
13 In file included from ../git/test/ioctl/mock.c:9:
14 pathto/usr/include/sys/ioctl.h:115:5: note: previous declaration of 'ioctl' with type 'int(int, in…
15 115 | int ioctl (int, int, ...);
23 test/ioctl/mock.c | 2 +-
26 diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c
28 --- a/test/ioctl/mock.c
29 +++ b/test/ioctl/mock.c
[all …]
/openbmc/qemu/chardev/
H A Dchar-parallel.c65 if (ioctl(s->fd, PPSETMODE, &m) < 0) { in pp_hw_mode()
81 if (ioctl(fd, PPRDATA, &b) < 0) { in pp_ioctl()
88 if (ioctl(fd, PPWDATA, &b) < 0) { in pp_ioctl()
93 if (ioctl(fd, PPRCONTROL, &b) < 0) { in pp_ioctl()
103 if (ioctl(fd, PPWCONTROL, &b) < 0) { in pp_ioctl()
108 if (ioctl(fd, PPRSTATUS, &b) < 0) { in pp_ioctl()
114 if (ioctl(fd, PPDATADIR, (int *)arg) < 0) { in pp_ioctl()
169 if (ioctl(fd, PPCLAIM) < 0) { in qemu_chr_open_pp_fd()
195 if (ioctl(drv->fd, PPIGDATA, &b) < 0) { in pp_ioctl()
202 if (ioctl(drv->fd, PPISDATA, &b) < 0) { in pp_ioctl()
[all …]
/openbmc/gpioplus/src/gpioplus/internal/
H A Dsys.cpp46 return ::ioctl(fd, GPIOHANDLE_GET_LINE_VALUES_IOCTL, data); in gpiohandle_get_line_values()
52 return ::ioctl(fd, GPIOHANDLE_SET_LINE_VALUES_IOCTL, data); in gpiohandle_set_line_values()
57 return ::ioctl(fd, GPIO_GET_CHIPINFO_IOCTL, info); in gpio_get_chipinfo()
62 return ioctl(fd, GPIO_GET_LINEINFO_IOCTL, info); in gpio_get_lineinfo()
68 return ioctl(fd, GPIO_GET_LINEHANDLE_IOCTL, request); in gpio_get_linehandle()
73 return ioctl(fd, GPIO_GET_LINEEVENT_IOCTL, request); in gpio_get_lineevent()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/
H A D0001-Fix-potential-string-truncation-in-strncpy.patch35 ret = ioctl(sd, SIOCGIFINDEX, &req);
37 perror("ioctl: SIOCGIFINDEX");
49 ret = ioctl(sd, SIOCGIFHWADDR, &req);
51 perror("ioctl: SIOCGIFHWADDR");
64 ret = ioctl(sd, SIOCGIFHWADDR, &req);
66 perror("ioctl: SIOCGIFHWADDR");
78 ret = ioctl(sd, SIOCGIFHWADDR, &req);
80 perror("ioctl: SIOCGIFHWADDR");
92 ret = ioctl(sd, SIOCGIFHWADDR, &req);
94 perror("ioctl: SIOCGIFHWADDR");
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/
H A D0001-linux.rs-Define-consts-for-rv32-architecture.patch9 src/sys/ioctl/linux.rs | 1 +
12 diff --git a/src/sys/ioctl/linux.rs b/src/sys/ioctl/linux.rs
14 --- a/src/sys/ioctl/linux.rs
15 +++ b/src/sys/ioctl/linux.rs
/openbmc/qemu/util/
H A Duserfaultfd.c53 return ioctl(uffd_dev, USERFAULTFD_IOC_NEW, flags); in uffd_open()
84 if (ioctl(uffd_fd, UFFDIO_API, &api_struct)) { in uffd_query_features()
120 if (ioctl(uffd_fd, UFFDIO_API, &api_struct)) { in uffd_create_fd()
167 if (ioctl(uffd_fd, UFFDIO_REGISTER, &uffd_register)) { in uffd_register_memory()
194 if (ioctl(uffd_fd, UFFDIO_UNREGISTER, &uffd_range)) { in uffd_unregister_memory()
227 if (ioctl(uffd_fd, UFFDIO_WRITEPROTECT, &uffd_writeprotect)) { in uffd_change_protection()
261 if (ioctl(uffd_fd, UFFDIO_COPY, &uffd_copy)) { in uffd_copy_page()
292 if (ioctl(uffd_fd, UFFDIO_ZEROPAGE, &uffd_zeropage)) { in uffd_zero_page()
324 if (ioctl(uffd_fd, UFFDIO_WAKE, &uffd_range)) { in uffd_wakeup()
H A Dvfio-helpers.c148 if (ioctl(s->device, VFIO_DEVICE_GET_REGION_INFO, &s->bar_region_info[index])) { in qemu_vfio_pci_init_bar()
205 if (ioctl(s->device, VFIO_DEVICE_GET_IRQ_INFO, &irq_info)) { in qemu_vfio_pci_init_irq()
227 r = ioctl(s->device, VFIO_DEVICE_SET_IRQS, irq_set); in qemu_vfio_pci_init_irq()
315 if (ioctl(s->container, VFIO_GET_API_VERSION) != VFIO_API_VERSION) { in qemu_vfio_init_pci()
321 if (!ioctl(s->container, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU)) { in qemu_vfio_init_pci()
345 if (ioctl(s->group, VFIO_GROUP_GET_STATUS, &group_status)) { in qemu_vfio_init_pci()
358 if (ioctl(s->group, VFIO_GROUP_SET_CONTAINER, &s->container)) { in qemu_vfio_init_pci()
365 if (ioctl(s->container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU)) { in qemu_vfio_init_pci()
375 if (ioctl(s->container, VFIO_IOMMU_GET_INFO, iommu_info)) { in qemu_vfio_init_pci()
393 if (ioctl(s->container, VFIO_IOMMU_GET_INFO, iommu_info)) { in qemu_vfio_init_pci()
[all …]
/openbmc/openbmc/meta-raspberrypi/recipes-devtools/python/python3-rtimu/
H A D0001-include-asm-ioctl.h-for-ioctl-define.patch4 Subject: [PATCH] include asm/ioctl.h for ioctl() define
10 return ioctl(m_SPI, SPI_IOC_MESSAGE(1), &wrIOC);
27 +#include <asm/ioctl.h>
/openbmc/obmc-ikvm/
H A Dikvm_video.cpp88 rc = ioctl(fd, VIDIOC_DQBUF, &buf); in getFrame()
123 rc = ioctl(fd, VIDIOC_QBUF, &buf); in getFrame()
153 rc = ioctl(fd, VIDIOC_QUERY_DV_TIMINGS, &timings); in needsResize()
223 rc = ioctl(fd, VIDIOC_STREAMOFF, &type); in resize()
254 rc = ioctl(fd, VIDIOC_REQBUFS, &req); in resize()
267 rc = ioctl(fd, VIDIOC_QUERY_DV_TIMINGS, &timings); in resize()
276 rc = ioctl(fd, VIDIOC_S_DV_TIMINGS, &timings); in resize()
295 rc = ioctl(fd, VIDIOC_REQBUFS, &req); in resize()
318 rc = ioctl(fd, VIDIOC_QUERYBUF, &buf); in resize()
345 rc = ioctl(fd, VIDIOC_QBUF, &buf); in resize()
[all …]
/openbmc/qemu/
H A Dqemu-bridge-helper.c167 if (ioctl(fd, TUNGETFEATURES, &features) == -1) { in has_vnet_hdr()
354 if (ioctl(fd, TUNSETIFF, &ifr) == -1) { in main()
365 if (ioctl(ctlfd, SIOCGIFMTU, &ifr) == -1) { in main()
378 if (ioctl(ctlfd, SIOCSIFMTU, &ifr) == -1) { in main()
389 if (ioctl(ctlfd, SIOCGIFHWADDR, &ifr) < 0) { in main()
396 if (ioctl(ctlfd, SIOCSIFHWADDR, &ifr) < 0) { in main()
412 ret = ioctl(ctlfd, SIOCDEVPRIVATE, &ifr); in main()
415 ret = ioctl(ctlfd, SIOCBRADDIF, &ifr); in main()
426 if (ioctl(ctlfd, SIOCGIFFLAGS, &ifr) == -1) { in main()
434 if (ioctl(ctlfd, SIOCSIFFLAGS, &ifr) == -1) { in main()
/openbmc/qemu/hw/intc/
H A Ds390_flic_kvm.c70 rc = ioctl(flic->fd, KVM_GET_DEVICE_ATTR, &attr); in flic_get_all_irqs()
82 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in flic_enable_pfault()
96 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in flic_disable_wait_pfault()
120 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in flic_enqueue_irqs()
199 rc = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_clear_io_flic()
220 return ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr) ? -errno : 0; in kvm_s390_modify_ais_mode()
237 return ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr) ? -errno : 0; in kvm_s390_inject_airq()
298 r = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_register_io_adapter()
323 r = ioctl(flic->fd, KVM_SET_DEVICE_ATTR, &attr); in kvm_s390_io_adapter_map()
515 if (ioctl(flic->fd, KVM_GET_DEVICE_ATTR, &attr)) { in kvm_flic_ais_pre_save()
[all …]
/openbmc/google-misc/subprojects/ncsid/test/
H A Dnet_iface_mock.cpp31 return ioctl(request, ifr); in ioctl_sock()
34 int IFace::ioctl(int request, struct ifreq* ifr) const in ioctl() function in mock::IFace
/openbmc/kcsbridge/src/
H A Dserver.cpp19 stdplus::fd::ioctl(kcs, IPMI_BMC_IOCTL_SET_SMS_ATN, nullptr); in setAttention()
25 stdplus::fd::ioctl(kcs, IPMI_BMC_IOCTL_CLEAR_SMS_ATN, nullptr); in clearAttention()
31 stdplus::fd::ioctl(kcs, IPMI_BMC_IOCTL_FORCE_ABORT, nullptr); in forceAbort()
/openbmc/phosphor-power/
H A Dgpio.cpp46 auto rc = ioctl(lineFD(), GPIOHANDLE_GET_LINE_VALUES_IOCTL, &data); in read()
67 auto rc = ioctl(lineFD(), GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); in set()
110 auto rc = ioctl(fd(), GPIO_GET_LINEHANDLE_IOCTL, &request); in requestLine()
/openbmc/google-misc/subprojects/ncsid/src/
H A Dnet_iface.cpp43 int ret = ioctl(SIOCGIFINDEX, &ifr); in get_index()
101 return ::ioctl(sockfd, request, ifr); in ioctl_sock()
115 int IFace::ioctl(int request, struct ifreq* ifr) const in ioctl() function in net::IFace
H A Dnet_iface.h68 virtual int ioctl(int request, struct ifreq* ifr) const = 0;
99 int ioctl(int request, struct ifreq* ifr) const override;
/openbmc/witherspoon-pfault-analysis/
H A Dgpio.cpp46 auto rc = ioctl(lineFD(), GPIOHANDLE_GET_LINE_VALUES_IOCTL, &data); in read()
67 auto rc = ioctl(lineFD(), GPIOHANDLE_SET_LINE_VALUES_IOCTL, &data); in set()
111 auto rc = ioctl(fd(), GPIO_GET_LINEHANDLE_IOCTL, &request); in requestLine()
/openbmc/openbmc/meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils/
H A D0001-Do-not-get-generation-using-ioctl-when-evm_portable-.patch4 Subject: [PATCH] Do not get generation using ioctl when evm_portable is true
7 generation with the ioctl since in some cases this may not be supported
12 ioctl is not supported by the filesystem.
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc/
H A D0005-ioctl-does-not-have-same-signature-between-glibc-and.patch4 Subject: [PATCH 1/3] ioctl does not have same signature between glibc and musl
20 int (*v4l2_ioctl) (int, unsigned long int, ...) = ioctl;
22 +int (*v4l2_ioctl) (int, int, ...) = ioctl;
/openbmc/phosphor-bmc-code-mgmt/common/i2c/
H A Di2c.cpp24 ret = ioctl(fd, I2C_SLAVE_FORCE, deviceNode); in open()
71 if (ioctl(fd, I2C_RDWR, &readWriteData) < 0) in sendReceive()
115 if (ioctl(fd, I2C_RDWR, &readWriteData) < 0) in sendReceive()
/openbmc/qemu/ui/
H A Dinput-linux.c18 #include <sys/ioctl.h>
77 rc = ioctl(il->fd, EVIOCGRAB, request); in input_linux_toggle_grab()
323 rc = ioctl(il->fd, EVIOCGVERSION, &ver); in input_linux_complete()
329 rc = ioctl(il->fd, EVIOCGBIT(0, sizeof(evtmap)), &evtmap); in input_linux_complete()
336 rc = ioctl(il->fd, EVIOCGBIT(EV_REL, sizeof(relmap)), &relmap); in input_linux_complete()
347 rc = ioctl(il->fd, EVIOCGBIT(EV_ABS, sizeof(absmap)), &absmap); in input_linux_complete()
353 rc = ioctl(il->fd, EVIOCGABS(ABS_X), &absinfo); in input_linux_complete()
361 rc = ioctl(il->fd, EVIOCGABS(ABS_Y), &absinfo); in input_linux_complete()
374 rc = ioctl(il->fd, EVIOCGBIT(EV_KEY, sizeof(keymap)), keymap); in input_linux_complete()
378 rc = ioctl(i in input_linux_complete()
[all...]
/openbmc/phosphor-mboxd/
H A Dmboxd_lpc.c60 if (ioctl(fd, ASPEED_LPC_CTRL_IOCTL_GET_SIZE, &map) < 0) { in __init_lpc_dev()
129 if (ioctl(context->fds[LPC_CTRL_FD].fd, ASPEED_LPC_CTRL_IOCTL_MAP, &map) in point_to_flash()
169 if (ioctl(context->fds[LPC_CTRL_FD].fd, ASPEED_LPC_CTRL_IOCTL_MAP, in point_to_memory()
/openbmc/hiomapd/
H A Dlpc.c60 if (ioctl(fd, ASPEED_LPC_CTRL_IOCTL_GET_SIZE, &map) < 0) { in __lpc_dev_init()
129 if (ioctl(context->fds[LPC_CTRL_FD].fd, ASPEED_LPC_CTRL_IOCTL_MAP, &map) in lpc_map_flash()
170 if (ioctl(context->fds[LPC_CTRL_FD].fd, ASPEED_LPC_CTRL_IOCTL_MAP, in lpc_map_memory()
/openbmc/openbmc/meta-raspberrypi/recipes-devtools/python/
H A Dpython3-rtimu_7.2.1.bb9 file://0001-include-asm-ioctl.h-for-ioctl-define.patch;patchdir=../.. \
/openbmc/u-boot/drivers/pch/
H A Dpch-uclass.c58 if (!ops->ioctl) in pch_ioctl()
61 return ops->ioctl(dev, req, data, size); in pch_ioctl()

12345678910