/Zephyr-Core-3.7.0/lib/libc/arcmwdt/include/ |
D | fcntl.h | 21 #ifndef O_NONBLOCK 22 #define O_NONBLOCK 0x4000 macro 23 #if O_NONBLOCK & (O_RDONLY | O_WRONLY | O_RDWR | O_NDELAY | O_CREAT | O_APPEND | O_TRUNC | O_EXCL)
|
/Zephyr-Core-3.7.0/tests/net/socket/socketpair/src/ |
D | fcntl.c | 19 zassert_equal(res & O_NONBLOCK, 0, in ZTEST_USER_F() 22 res = zsock_fcntl(fixture->sv[0], F_SETFL, flags | O_NONBLOCK); in ZTEST_USER_F() 28 zassert_equal(res ^ flags, O_NONBLOCK, "expected O_NONBLOCK set"); in ZTEST_USER_F()
|
D | nonblock.c | 25 res = zsock_fcntl(fixture->sv[i], F_SETFL, res | O_NONBLOCK); in ZTEST_USER_F() 46 res = zsock_fcntl(fixture->sv[i], F_SETFL, res | O_NONBLOCK); in ZTEST_USER_F()
|
D | poll.c | 62 res = zsock_fcntl(fixture->sv[0], F_SETFL, O_NONBLOCK | flags); in ZTEST_USER_F() 65 res = zsock_fcntl(fixture->sv[1], F_SETFL, O_NONBLOCK | flags); in ZTEST_USER_F()
|
/Zephyr-Core-3.7.0/drivers/net/ |
D | nsos_fcntl.c | 49 TO_NSOS_MID(O_NONBLOCK); in fl_to_nsos_mid_() 86 FROM_NSOS_MID(O_NONBLOCK); in fl_from_nsos_mid()
|
/Zephyr-Core-3.7.0/lib/libc/armstdc/include/ |
D | fcntl.h | 13 #define O_NONBLOCK 0x4000 macro
|
/Zephyr-Core-3.7.0/include/zephyr/posix/ |
D | fcntl.h | 24 #define O_NONBLOCK 0x4000 macro
|
/Zephyr-Core-3.7.0/tests/posix/eventfd/src/ |
D | ioctl.c | 39 ret = ioctl(fixture->fd, F_SETFL, O_NONBLOCK); in ZTEST_F() 43 zassert_equal(flags, O_NONBLOCK, "flags == %d", flags); in ZTEST_F()
|
/Zephyr-Core-3.7.0/drivers/input/ |
D | linux_evdev_bottom.c | 45 fd = open(path, O_RDONLY | O_NONBLOCK); in linux_evdev_open()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/edtt/common/ |
D | edtt_driver_bsim.c | 210 flags |= O_NONBLOCK; in edptd_create_fifo_if() 220 flags |= O_NONBLOCK; in edptd_create_fifo_if()
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | mqueue.c | 168 msg_queue_desc->flags = (oflags & O_NONBLOCK) != 0 ? O_NONBLOCK : 0; in mq_open() 334 if (mqstat->mq_flags != 0 && mqstat->mq_flags != O_NONBLOCK) { in mq_setattr() 447 if ((mqd->flags & O_NONBLOCK) != 0U) { in send_message() 496 if ((mqd->flags & O_NONBLOCK) != 0U) { in receive_message()
|
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 64 fl &= ~O_NONBLOCK; in setblocking() 66 fl |= O_NONBLOCK; in setblocking()
|
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 68 fl &= ~O_NONBLOCK; in setblocking() 70 fl |= O_NONBLOCK; in setblocking()
|
/Zephyr-Core-3.7.0/subsys/modem/backends/ |
D | modem_backend_tty.c | 60 backend->tty_fd = open(backend->tty_path, (O_RDWR | O_NONBLOCK), 0644); in modem_backend_tty_open()
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_native_ptty_bottom.c | 177 ret = fcntl(master_pty, F_SETFL, flags | O_NONBLOCK); in np_uart_open_ptty()
|
/Zephyr-Core-3.7.0/tests/net/socket/af_packet/src/ |
D | main.c | 164 fl &= ~O_NONBLOCK; in setblocking() 166 fl |= O_NONBLOCK; in setblocking()
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_engine.c | 1195 ret = zsock_fcntl(client_ctx->sock_fd, F_SETFL, flags | O_NONBLOCK); in lwm2m_socket_start() 1311 ret = zsock_fcntl(s[0], F_SETFL, O_NONBLOCK); in lwm2m_engine_init() 1318 ret = zsock_fcntl(s[1], F_SETFL, O_NONBLOCK); in lwm2m_engine_init()
|
/Zephyr-Core-3.7.0/subsys/net/lib/coap/ |
D | coap_server.c | 432 ret = zsock_fcntl(service->data->sock_fd, F_SETFL, O_NONBLOCK); in coap_service_start() 735 ret = zsock_fcntl(control_socks[i], F_SETFL, O_NONBLOCK); in coap_server_thread()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | socketpair.c | 940 flags |= O_NONBLOCK; in spair_ioctl() 950 if (flags & O_NONBLOCK) { in spair_ioctl()
|
D | sockets_tls.c | 802 return !((flags & ZSOCK_MSG_DONTWAIT) || (sock_flags & O_NONBLOCK)); in is_blocking() 2142 if (sock_flags & O_NONBLOCK) { in ztls_connect_ctx() 2144 sock_flags & ~O_NONBLOCK); in ztls_connect_ctx() 2152 if (sock_flags & O_NONBLOCK) { in ztls_connect_ctx()
|
D | sockets.c | 3777 return O_NONBLOCK; in sock_ioctl_vmeth() 3787 if (flags & O_NONBLOCK) { in sock_ioctl_vmeth()
|
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/ |
D | simplelink_sockets.c | 1151 retval |= O_NONBLOCK; in simplelink_fcntl() 1156 if ((va_arg(args, int) & O_NONBLOCK) != 0) { in simplelink_fcntl()
|
/Zephyr-Core-3.7.0/tests/net/socket/tcp/src/ |
D | main.c | 1091 test_fcntl(c_sock, F_SETFL, O_NONBLOCK); in ZTEST() 1132 test_fcntl(c_sock, F_SETFL, O_NONBLOCK); in ZTEST() 1250 test_fcntl(s_sock, F_SETFL, O_NONBLOCK); in ZTEST_USER() 2219 zsock_fcntl(fd, F_SETFL, flags | O_NONBLOCK); in ZTEST() 2288 zsock_fcntl(fd, F_SETFL, flags | O_NONBLOCK); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/net/socket/tls/src/ |
D | main.c | 1050 test_fcntl(s_sock, F_SETFL, O_NONBLOCK); in ZTEST() 1102 test_fcntl(new_sock, F_SETFL, O_NONBLOCK); in ZTEST() 1199 test_fcntl(c_sock, F_SETFL, O_NONBLOCK); in ZTEST()
|
/Zephyr-Core-3.7.0/doc/releases/ |
D | release-notes-1.14.rst | 221 * :github:`19103` - zsock_accept_ctx blocks even when O_NONBLOCK is specified
|