Home
last modified time | relevance | path

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

/Zephyr-latest/tests/posix/eventfd/src/
Dioctl.c39 ret = ioctl(fixture->fd, F_SETFL, O_NONBLOCK); in ZTEST_F()
60 ret = ioctl(fixture->fd, F_SETFL, 0); in ZTEST_F()
81 ret = ioctl(fixture->fd, F_SETFL, EFD_IN_USE_INTERNAL); in ZTEST_F()
/Zephyr-latest/tests/net/socket/socketpair/src/
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()
Dfcntl.c22 res = zsock_fcntl(fixture->sv[0], F_SETFL, flags | 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-latest/lib/libc/armstdc/include/
Dfcntl.h17 #define F_SETFL 4 macro
/Zephyr-latest/lib/libc/arcmwdt/include/
Dfcntl.h14 #define F_SETFL 4 macro
/Zephyr-latest/include/zephyr/posix/
Dfcntl.h31 #define F_SETFL 4 macro
/Zephyr-latest/tests/bsim/bluetooth/ll/edtt/common/
Dedtt_driver_bsim.c209 fcntl(fifo[TO_EDTT], F_SETFL, flags); in edptd_create_fifo_if()
219 fcntl(fifo[TO_DEVICE], F_SETFL, flags); in edptd_create_fifo_if()
/Zephyr-latest/drivers/serial/
Duart_native_ptty_bottom.c177 ret = fcntl(master_pty, F_SETFL, flags | O_NONBLOCK); in np_uart_open_ptty()
/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c71 res = fcntl(fd, F_SETFL, fl); in setblocking()
/Zephyr-latest/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c73 res = fcntl(fd, F_SETFL, fl); in setblocking()
/Zephyr-latest/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-latest/lib/os/zvfs/
Dzvfs_eventfd.c242 case F_SETFL: { in zvfs_eventfd_ioctl_op()
/Zephyr-latest/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-latest/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-latest/tests/net/socket/af_packet/src/
Dmain.c169 res = zsock_fcntl(fd, F_SETFL, fl); in setblocking()
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/
Dmain.c474 ret = zsock_fcntl(test_sock, F_SETFL, 0); in ZTEST()
/Zephyr-latest/subsys/net/lib/sockets/
Dsocketpair.c947 case F_SETFL: { in spair_ioctl()
Dsockets_tls.c2153 (void)zsock_fcntl(ctx->sock, F_SETFL, in ztls_connect_ctx()
2163 (void)zsock_fcntl(ctx->sock, F_SETFL, sock_flags); in ztls_connect_ctx()
3696 case F_SETFL: { in tls_sock_ioctl_vmeth()
Dsockets_inet.c2869 case F_SETFL: { in sock_ioctl_vmeth()
/Zephyr-latest/drivers/wifi/simplelink/
Dsimplelink_sockets.c1155 case F_SETFL: in simplelink_fcntl()
/Zephyr-latest/drivers/net/
Dnsos_adapt.c1093 ret = fcntl(fd, F_SETFL, fl_from_nsos_mid(flags)); in nsos_adapt_fcntl_setfl()
Dnsos_sockets.c392 case F_SETFL: { in nsos_ioctl()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_engine.c1226 ret = zsock_fcntl(client_ctx->sock_fd, F_SETFL, flags | O_NONBLOCK); in lwm2m_socket_start()
/Zephyr-latest/doc/releases/
Drelease-notes-3.7.rst1860 * Fixed eventfd ``F_SETFL`` handling to avoid overwriting internal flags.