Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.6.0/lib/posix/options/
Deventfd.c19 struct eventfd { struct
28 int (*op)(struct eventfd *efd, eventfd_t *value)); argument
31 static struct eventfd efds[CONFIG_EVENTFD_MAX];
34 static inline bool eventfd_is_in_use(struct eventfd *efd) in eventfd_is_in_use()
39 static inline bool eventfd_is_semaphore(struct eventfd *efd) in eventfd_is_semaphore()
44 static inline bool eventfd_is_blocking(struct eventfd *efd) in eventfd_is_blocking()
49 static int eventfd_poll_prepare(struct eventfd *efd, in eventfd_poll_prepare()
83 static int eventfd_poll_update(struct eventfd *efd, in eventfd_poll_update()
100 static int eventfd_read_locked(struct eventfd *efd, eventfd_t *value) in eventfd_read_locked()
130 static int eventfd_write_locked(struct eventfd *efd, eventfd_t *value) in eventfd_write_locked()
[all …]
DKconfig.eventfd7 bool "Support for eventfd"
13 Enable support for event file descriptors, eventfd. An eventfd can
18 int "Maximum number of eventfd's"
DKconfig30 rsource "Kconfig.eventfd"
DCMakeLists.txt37 zephyr_library_sources_ifdef(CONFIG_EVENTFD eventfd.c)
/Zephyr-Core-3.6.0/samples/posix/eventfd/
DREADME.rst1 .. _posix-eventfd-sample:
3 POSIX eventfd()
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-Core-3.6.0/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);
Dstress.c87 ZTEST_F(eventfd, test_stress) in ZTEST_F() argument
/Zephyr-Core-3.6.0/tests/posix/headers/src/
Dsys_eventfd_h.c31 zassert_not_null(eventfd); in ZTEST()
/Zephyr-Core-3.6.0/tests/posix/eventfd/
DCMakeLists.txt5 project(eventfd) project
DKconfig42 module-str = eventfd
/Zephyr-Core-3.6.0/include/zephyr/posix/sys/
Deventfd.h41 int eventfd(unsigned int initval, int flags);
/Zephyr-Core-3.6.0/samples/posix/eventfd/src/
Dmain.c71 efd = eventfd(0, 0); in main()
/Zephyr-Core-3.6.0/modules/thrift/src/thrift/server/
DTFDServer.cpp36 xport(int fd) : xport(fd, eventfd(0, EFD_SEMAPHORE)) in xport()
/Zephyr-Core-3.6.0/arch/posix/include/
Dposix_cheats.h222 #define eventfd zap_eventfd macro
/Zephyr-Core-3.6.0/subsys/net/lib/sockets/
Dsockets_service.c210 fd = eventfd(0, 0); in socket_service_thread()
/Zephyr-Core-3.6.0/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…
Drelease-notes-2.5.rst1590 * :github:`29025` - [Coverity CID :214882] Argument cannot be negative in tests/posix/eventfd/src/m…
1591 * :github:`29024` - [Coverity CID :214878] Argument cannot be negative in tests/posix/eventfd/src/m…
1592 * :github:`29023` - [Coverity CID :214877] Argument cannot be negative in tests/posix/eventfd/src/m…
1593 * :github:`29022` - [Coverity CID :214876] Argument cannot be negative in tests/posix/eventfd/src/m…
1594 * :github:`29021` - [Coverity CID :214874] Argument cannot be negative in tests/posix/eventfd/src/m…
1595 * :github:`29020` - [Coverity CID :214873] Argument cannot be negative in tests/posix/eventfd/src/m…
Drelease-notes-2.1.rst867 * :github:`16376` - posix ext: Implement eventfd()
Drelease-notes-2.3.rst695 * eventfd() function (Linux-like extension) implemented.
Drelease-notes-2.7.rst1126 * :github:`38601` - nucleo_f103rb: samples/posix/eventfd/ failed since "retargetable locking" addit…
Drelease-notes-3.2.rst2212 * :github:`47734` - tests/posix/eventfd/ : failed on both nucleo_f103rb and nucleo_l073rz with 20K …

12