| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libnvme/files/ |
| H A D | 0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch | 8 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/net/ |
| H A D | tap-linux.c | 67 if (ioctl(fd, TUNGETFEATURES, &features) == -1) { in tap_open() 96 ioctl(fd, TUNSETVNETHDRSZ, &len); in tap_open() 114 ret = ioctl(fd, TUNSETIFF, (void *) &ifr); in tap_open() 155 if (ioctl(fd, TUNSETSNDBUF, &sndbuf) == -1 && tap->has_sndbuf) { in tap_set_sndbuf() 165 if (ioctl(fd, TUNGETIFF, &ifr) != 0) { in tap_probe_vnet_hdr() 181 if (ioctl(fd, TUNSETOFFLOAD, offload) < 0) in tap_probe_has_ufo() 193 if (ioctl(fd, TUNSETOFFLOAD, offload) < 0) { in tap_probe_has_uso() 201 if (ioctl(fd, TUNSETVNETHDRSZ, &len) == -1) { in tap_fd_set_vnet_hdr_len() 212 if (!ioctl(fd, TUNSETVNETLE, &arg)) { in tap_fd_set_vnet_le() 229 if (!ioctl(fd, TUNSETVNETBE, &arg)) { in tap_fd_set_vnet_be() [all …]
|
| H A D | tap-solaris.c | 104 if ((ppa = ioctl (tap_fd, I_STR, &strioc_ppa)) < 0) in tap_alloc() 112 if(ioctl(if_fd, I_PUSH, "ip") < 0){ in tap_alloc() 117 if (ioctl(if_fd, SIOCGLIFFLAGS, &ifr) < 0) in tap_alloc() 126 if (ioctl (if_fd, SIOCSLIFNAME, &ifr) < 0) in tap_alloc() 128 if (ioctl(if_fd, SIOCGLIFFLAGS, &ifr) <0) in tap_alloc() 131 if (ioctl (if_fd, I_PUSH, "arp") < 0) in tap_alloc() 135 if (ioctl (ip_fd, I_POP, NULL) < 0) in tap_alloc() 137 if (ioctl (ip_fd, I_PUSH, "arp") < 0) in tap_alloc() 149 if (ioctl(arp_fd, I_STR, &strioc_if) < 0){ in tap_alloc() 153 if((ip_muxid = ioctl(ip_fd, I_LINK, if_fd)) < 0){ in tap_alloc() [all …]
|
| /openbmc/qemu/chardev/ |
| H A D | char-parallel.c | 65 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 D | sys.cpp | 46 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 D | 0001-Fix-potential-string-truncation-in-strncpy.patch | 35 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 D | 0001-linux.rs-Define-consts-for-rv32-architecture.patch | 9 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 D | userfaultfd.c | 53 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 D | vfio-helpers.c | 148 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 D | 0001-include-asm-ioctl.h-for-ioctl-define.patch | 4 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 D | ikvm_video.cpp | 88 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 D | qemu-bridge-helper.c | 167 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/backends/ |
| H A D | iommufd.c | 106 return !ioctl(be->fd, IOMMU_IOAS_CHANGE_PROCESS, &args); in iommufd_change_process_capable() 112 bool ret = !ioctl(be->fd, IOMMU_IOAS_CHANGE_PROCESS, &args); in iommufd_change_process() 173 if (ioctl(fd, IOMMU_IOAS_ALLOC, &alloc_data)) { in iommufd_backend_alloc_ioas() 192 ret = ioctl(fd, IOMMU_DESTROY, &des); in iommufd_backend_free_id() 218 ret = ioctl(fd, IOMMU_IOAS_MAP, &map); in iommufd_backend_map_dma() 256 ret = ioctl(fd, IOMMU_IOAS_MAP_FILE, &map); in iommufd_backend_map_file_dma() 285 ret = ioctl(fd, IOMMU_IOAS_UNMAP, &unmap); in iommufd_backend_unmap_dma() 324 ret = ioctl(fd, IOMMU_HWPT_ALLOC, &alloc_hwpt); in iommufd_backend_alloc_hwpt() 348 ret = ioctl(be->fd, IOMMU_HWPT_SET_DIRTY_TRACKING, &set_dirty); in iommufd_backend_set_dirty_tracking() 376 ret = ioctl(be->fd, IOMMU_HWPT_GET_DIRTY_BITMAP, &get_dirty_bitmap); in iommufd_backend_get_dirty_bitmap() [all …]
|
| /openbmc/qemu/hw/intc/ |
| H A D | s390_flic_kvm.c | 70 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 D | net_iface_mock.cpp | 31 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 D | server.cpp | 19 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 D | gpio.cpp | 46 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 D | net_iface.cpp | 43 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
|
| /openbmc/witherspoon-pfault-analysis/ |
| H A D | gpio.cpp | 46 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 D | 0001-Do-not-get-generation-using-ioctl-when-evm_portable-.patch | 4 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/qemu/audio/ |
| H A D | ossaudio.c | 224 if (ioctl (fd, OSS_GETVERSION, &version)) { in oss_get_version() 279 if (ioctl (fd, SNDCTL_DSP_SAMPLESIZE, &fmt)) { in oss_open() 284 if (ioctl (fd, SNDCTL_DSP_CHANNELS, &nchannels)) { in oss_open() 290 if (ioctl (fd, SNDCTL_DSP_SPEED, &freq)) { in oss_open() 295 if (ioctl (fd, SNDCTL_DSP_NONBLOCK, NULL)) { in oss_open() 309 if (ioctl(fd, SNDCTL_DSP_POLICY, &policy2)) { in oss_open() 323 if (ioctl (fd, SNDCTL_DSP_SETFRAGMENT, &mmmmssss)) { in oss_open() 330 if (ioctl (fd, in ? SNDCTL_DSP_GETISPACE : SNDCTL_DSP_GETOSPACE, &abinfo)) { in oss_open() 375 err = ioctl(oss->fd, SNDCTL_DSP_GETOPTR, &cntinfo); in oss_get_available_bytes() 553 if (ioctl (fd, SNDCTL_DSP_SETTRIGGER, &trig) < 0) { in oss_init_out() [all …]
|
| /openbmc/qemu/hw/input/ |
| H A D | virtio-input-host.c | 53 rc = ioctl(vih->fd, EVIOCGBIT(type, count/8), bits.u.bitmap); in virtio_input_bits_config() 79 rc = ioctl(vih->fd, EVIOCGABS(axis), &absinfo); in virtio_input_abs_config() 122 rc = ioctl(vih->fd, EVIOCGVERSION, &ver); in virtio_input_host_realize() 128 rc = ioctl(vih->fd, EVIOCGRAB, 1); in virtio_input_host_realize() 136 ioctl(vih->fd, EVIOCGNAME(sizeof(id.u.string)-1), id.u.string); in virtio_input_host_realize() 141 if (ioctl(vih->fd, EVIOCGID, &ids) == 0) { in virtio_input_host_realize()
|
| /openbmc/qemu/ui/ |
| H A D | input-linux.c | 77 rc = ioctl(il->fd, EVIOCGRAB, request); in input_linux_toggle_grab() 324 rc = ioctl(il->fd, EVIOCGVERSION, &ver); in input_linux_complete() 330 rc = ioctl(il->fd, EVIOCGBIT(0, sizeof(evtmap)), &evtmap); in input_linux_complete() 337 rc = ioctl(il->fd, EVIOCGBIT(EV_REL, sizeof(relmap)), &relmap); in input_linux_complete() 348 rc = ioctl(il->fd, EVIOCGBIT(EV_ABS, sizeof(absmap)), &absmap); in input_linux_complete() 354 rc = ioctl(il->fd, EVIOCGABS(ABS_X), &absinfo); in input_linux_complete() 362 rc = ioctl(il->fd, EVIOCGABS(ABS_Y), &absinfo); in input_linux_complete() 375 rc = ioctl(il->fd, EVIOCGBIT(EV_KEY, sizeof(keymap)), keymap); in input_linux_complete() 379 rc = ioctl(il->fd, EVIOCGKEY(sizeof(keystate)), keystate); in input_linux_complete()
|
| /openbmc/qemu/hw/vfio/ |
| H A D | cpr-legacy.c | 28 if (ioctl(container->fd, VFIO_IOMMU_UNMAP_DMA, &unmap)) { in vfio_dma_unmap_vaddr_all() 56 if (ioctl(container->fd, VFIO_IOMMU_MAP_DMA, &map)) { in vfio_legacy_cpr_dma_map() 73 if (!ioctl(container->fd, VFIO_CHECK_EXTENSION, VFIO_UPDATE_VADDR)) { in vfio_cpr_supported() 77 } else if (!ioctl(container->fd, VFIO_CHECK_EXTENSION, VFIO_UNMAP_ALL)) { in vfio_cpr_supported() 251 fd = ioctl(d, VFIO_GROUP_GET_DEVICE_FD, name); in vfio_cpr_group_get_device_fd()
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc/ |
| H A D | 0005-ioctl-does-not-have-same-signature-between-glibc-and.patch | 4 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;
|