Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/lib/libc/arcmwdt/include/
Dfcntl.h21 #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/
Dfcntl.c19 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()
Dnonblock.c25 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()
Dpoll.c62 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/
Dnsos_fcntl.c49 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/
Dfcntl.h13 #define O_NONBLOCK 0x4000 macro
/Zephyr-Core-3.7.0/include/zephyr/posix/
Dfcntl.h24 #define O_NONBLOCK 0x4000 macro
/Zephyr-Core-3.7.0/tests/posix/eventfd/src/
Dioctl.c39 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/
Dlinux_evdev_bottom.c45 fd = open(path, O_RDONLY | O_NONBLOCK); in linux_evdev_open()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/edtt/common/
Dedtt_driver_bsim.c210 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/
Dmqueue.c168 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/
Dsocket_echo.c64 fl &= ~O_NONBLOCK; in setblocking()
66 fl |= O_NONBLOCK; in setblocking()
/Zephyr-Core-3.7.0/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c68 fl &= ~O_NONBLOCK; in setblocking()
70 fl |= O_NONBLOCK; in setblocking()
/Zephyr-Core-3.7.0/subsys/modem/backends/
Dmodem_backend_tty.c60 backend->tty_fd = open(backend->tty_path, (O_RDWR | O_NONBLOCK), 0644); in modem_backend_tty_open()
/Zephyr-Core-3.7.0/drivers/serial/
Duart_native_ptty_bottom.c177 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/
Dmain.c164 fl &= ~O_NONBLOCK; in setblocking()
166 fl |= O_NONBLOCK; in setblocking()
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/
Dlwm2m_engine.c1195 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/
Dcoap_server.c432 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/
Dsocketpair.c940 flags |= O_NONBLOCK; in spair_ioctl()
950 if (flags & O_NONBLOCK) { in spair_ioctl()
Dsockets_tls.c802 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()
Dsockets.c3777 return O_NONBLOCK; in sock_ioctl_vmeth()
3787 if (flags & O_NONBLOCK) { in sock_ioctl_vmeth()
/Zephyr-Core-3.7.0/drivers/wifi/simplelink/
Dsimplelink_sockets.c1151 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/
Dmain.c1091 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/
Dmain.c1050 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/
Drelease-notes-1.14.rst221 * :github:`19103` - zsock_accept_ctx blocks even when O_NONBLOCK is specified