Home
last modified time | relevance | path

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

12

/Zephyr-latest/samples/posix/eventfd/
DREADME.rst1 .. zephyr:code-sample:: posix-eventfd
2 :name: eventfd()
4 Use ``eventfd()`` to create a file descriptor for event notification.
9 This sample application demonstrates using the POSIX eventfd() function to create a file descriptor,
19 :zephyr-app: samples/posix/eventfd
29 cd samples/posix/eventfd
32 The make output file will be located in samples/posix/eventfd/build.
DMakefile.host3 eventfd: src/main.c
DCMakeLists.txt6 project(eventfd) project
/Zephyr-latest/tests/posix/eventfd/src/
Dblocking.c9 ZTEST_F(eventfd, test_write_then_read) in ZTEST_F() argument
38 ZTEST_F(eventfd, test_zero_shall_not_unblock) in ZTEST_F() argument
51 ZTEST_F(eventfd, test_poll_timeout) in ZTEST_F() argument
63 ZTEST_F(eventfd, test_set_poll_event_block) in ZTEST_F() argument
69 ZTEST_F(eventfd, test_unset_poll_event_block) in ZTEST_F() argument
86 ZTEST_F(eventfd, test_read_then_write_block) in ZTEST_F() argument
107 ZTEST_F(eventfd, test_write_while_pollin) in ZTEST_F() argument
142 ZTEST_F(eventfd, test_read_while_pollout) in ZTEST_F() argument
Dnonblocking.c9 ZTEST_F(eventfd, test_read_nonblock) in ZTEST_F() argument
32 ZTEST_F(eventfd, test_set_poll_event_nonblock) in ZTEST_F() argument
38 ZTEST_F(eventfd, test_unset_poll_event_nonblock) in ZTEST_F() argument
44 ZTEST_F(eventfd, test_overflow) in ZTEST_F() argument
D_main.c13 *fd = eventfd(initval, flags); in reopen()
96 fixture->fd = eventfd(0, 0); in before()
108 ZTEST_SUITE(eventfd, NULL, setup, before, after, NULL);
Dioctl.c14 ZTEST_F(eventfd, test_set_flags) in ZTEST_F() argument
Dstress.c87 ZTEST_F(eventfd, test_stress) in ZTEST_F() argument
/Zephyr-latest/lib/posix/options/
DKconfig.compat9 bool "Support for eventfd"
14 Enable support for event file descriptors, eventfd. An eventfd can
Deventfd.c10 int eventfd(unsigned int initval, int flags) in eventfd() function
DCMakeLists.txt37 zephyr_library_sources_ifdef(CONFIG_EVENTFD eventfd.c)
DKconfig.profile12 imply EVENTFD # eventfd(), eventfd_read(), eventfd_write()
DKconfig.deprecated10 int "Maximum number of eventfd's [DEPRECATED]"
/Zephyr-latest/tests/posix/headers/src/
Dsys_eventfd_h.c31 zassert_not_null(eventfd); in ZTEST()
/Zephyr-latest/include/zephyr/posix/sys/
Deventfd.h36 int eventfd(unsigned int initval, int flags);
/Zephyr-latest/tests/posix/eventfd/
DCMakeLists.txt5 project(eventfd) project
DKconfig42 module-str = eventfd
/Zephyr-latest/lib/os/zvfs/
DKconfig21 Enable support for ZVFS event file descriptors. An eventfd can
28 int "Maximum number of ZVFS eventfd's"
/Zephyr-latest/samples/posix/eventfd/src/
Dmain.c71 efd = eventfd(0, 0); in main()
/Zephyr-latest/modules/thrift/src/thrift/server/
DTFDServer.cpp36 xport(int fd) : xport(fd, eventfd(0, EFD_SEMAPHORE)) in xport()
/Zephyr-latest/arch/posix/include/
Dposix_cheats.h222 #define eventfd zap_eventfd macro
/Zephyr-latest/samples/net/sockets/echo_client/src/
Decho-client.c88 fds[nfds].fd = eventfd(0, 0); in prepare_fds()
/Zephyr-latest/subsys/net/lib/ptp/
Dclock.c288 ptp_clk.pollfd[0].fd = eventfd(0, EFD_NONBLOCK); in ptp_clock_init()
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c101 fd = eventfd(0, 0); in http_server_init()
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst1231 * :github:`27150` - [Coverity CID :211513] Argument cannot be negative in tests/posix/eventfd/src/m…
1440 * :github:`26185` - Sample posix:eventfd fails on all platforms
1528 * :github:`25739` - [Coverity CID :210610] Argument cannot be negative in tests/posix/eventfd/src/m…
1531 * :github:`25734` - [Coverity CID :210580] Argument cannot be negative in tests/posix/eventfd/src/m…
1532 * :github:`25733` - [Coverity CID :210575] Argument cannot be negative in tests/posix/eventfd/src/m…
1533 * :github:`25732` - [Coverity CID :210570] Argument cannot be negative in tests/posix/eventfd/src/m…

12