Home
last modified time | relevance | path

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

12

/Zephyr-latest/tests/posix/eventfd/src/
Dioctl.c22 flags = ioctl(fixture->fd, F_GETFL, 0); in ZTEST_F()
39 ret = ioctl(fixture->fd, F_SETFL, O_NONBLOCK); in ZTEST_F()
42 flags = ioctl(fixture->fd, F_GETFL, 0); in ZTEST_F()
60 ret = ioctl(fixture->fd, F_SETFL, 0); in ZTEST_F()
63 flags = ioctl(fixture->fd, F_GETFL, 0); in ZTEST_F()
81 ret = ioctl(fixture->fd, F_SETFL, EFD_IN_USE_INTERNAL); in ZTEST_F()
/Zephyr-latest/subsys/disk/
Ddisk_access.c127 (disk->ops->ioctl != NULL)) { in disk_access_ioctl()
131 rc = disk->ops->ioctl(disk, cmd, buf); in disk_access_ioctl()
146 disk->ops->ioctl(disk, cmd, buf); in disk_access_ioctl()
149 rc = disk->ops->ioctl(disk, cmd, buf); in disk_access_ioctl()
161 rc = disk->ops->ioctl(disk, cmd, buf); in disk_access_ioctl()
/Zephyr-latest/tests/posix/headers/src/
Dsys_ioctl_h.c24 zassert_not_null(ioctl); in ZTEST()
/Zephyr-latest/include/zephyr/posix/sys/
Dioctl.h18 int ioctl(int fd, unsigned long request, ...);
/Zephyr-latest/include/zephyr/sys/
Dfdtable.h71 int (*ioctl)(void *obj, unsigned int request, va_list args); member
212 res = vtable->ioctl(obj, request, args); in zvfs_fdtable_call_ioctl()
/Zephyr-latest/lib/os/
Dfdtable.c282 if (vtable && vtable->ioctl) { in zvfs_finalize_typed_fd()
456 res = fdtable[fd].vtable->ioctl(fdtable[fd].obj, cmd, args); in zvfs_lseek_wrap()
493 res = fdtable[fd].vtable->ioctl(fdtable[fd].obj, cmd, args); in zvfs_fcntl()
507 res = fdtable[fd].vtable->ioctl(fdtable[fd].obj, cmd, args); in zvfs_ftruncate_wrap()
529 return fdtable[fd].vtable->ioctl(fdtable[fd].obj, request, args); in zvfs_ioctl()
566 .ioctl = stdinout_ioctl_vmeth,
/Zephyr-latest/include/zephyr/drivers/
Ddisk.h112 int (*ioctl)(struct disk_info *disk, uint8_t cmd, void *buff); member
/Zephyr-latest/lib/posix/options/
Dstropts.c87 int ioctl(int fd, unsigned long request, ...) in ioctl() function
Dfs.c241 .ioctl = fs_ioctl_vmeth,
Dshm.c296 .ioctl = shm_ioctl,
/Zephyr-latest/drivers/ethernet/
Deth_native_posix_adapt.c58 ret = ioctl(fd, TUNSETIFF, (void *)&ifr); in eth_iface_create()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c60 ret = ioctl(fd, SIOCGIFINDEX, (void *)&ifr); in linux_socketcan_iface_open()
/Zephyr-latest/drivers/disk/
Dmmc_subsys.c107 .ioctl = disk_mmc_access_ioctl,
Dsdmmc_subsys.c111 .ioctl = disk_sdmmc_access_ioctl,
Dloopback_disk.c129 .ioctl = loopback_disk_access_ioctl,
Dramdisk.c125 .ioctl = disk_ram_access_ioctl,
/Zephyr-latest/subsys/net/lib/sockets/
Dsocket_dispatcher.c201 return vtable->ioctl(new_obj, request, args); in sock_dispatch_ioctl_vmeth()
432 .ioctl = sock_dispatch_ioctl_vmeth,
Dsockets_packet.c396 return sock_fd_op_vtable.fd_vtable.ioctl(obj, request, args); in packet_sock_ioctl_vmeth()
475 .ioctl = packet_sock_ioctl_vmeth,
Dsockets.c759 SYS_PORT_TRACING_OBJ_FUNC_ENTER(socket, ioctl, sock, request); in z_impl_zsock_ioctl_impl()
764 SYS_PORT_TRACING_OBJ_FUNC_EXIT(socket, ioctl, sock, -errno); in z_impl_zsock_ioctl_impl()
772 ret = vtable->fd_vtable.ioctl(ctx, request, args); in z_impl_zsock_ioctl_impl()
776 SYS_PORT_TRACING_OBJ_FUNC_EXIT(socket, ioctl, sock, in z_impl_zsock_ioctl_impl()
Dsockets_can.c463 return sock_fd_op_vtable.fd_vtable.ioctl(obj, request, args); in can_sock_ioctl_vmeth()
716 .ioctl = can_sock_ioctl_vmeth,
Dsockets_net_mgmt.c376 .ioctl = net_mgmt_sock_ioctl,
/Zephyr-latest/drivers/disk/nvme/
Dnvme_disk.c206 .ioctl = nvme_disk_ioctl,
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/
Dmain.c256 .ioctl = offload_ioctl,
318 .ioctl = offload_ioctl,
/Zephyr-latest/lib/os/zvfs/
Dzvfs_eventfd.c296 .ioctl = zvfs_eventfd_ioctl_op,
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c460 .ioctl = NULL,

12