/Zephyr-Core-3.6.0/lib/posix/options/ |
D | eventfd.c | 19 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 …]
|
D | Kconfig.eventfd | 7 bool "Support for eventfd" 13 Enable support for event file descriptors, eventfd. An eventfd can 18 int "Maximum number of eventfd's"
|
D | Kconfig | 30 rsource "Kconfig.eventfd"
|
D | CMakeLists.txt | 37 zephyr_library_sources_ifdef(CONFIG_EVENTFD eventfd.c)
|
/Zephyr-Core-3.6.0/samples/posix/eventfd/ |
D | README.rst | 1 .. _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.
|
D | Makefile.host | 3 eventfd: src/main.c
|
D | CMakeLists.txt | 6 project(eventfd) project
|
/Zephyr-Core-3.6.0/tests/posix/eventfd/src/ |
D | blocking.c | 9 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
|
D | nonblocking.c | 9 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.c | 13 *fd = eventfd(initval, flags); in reopen() 96 fixture->fd = eventfd(0, 0); in before() 108 ZTEST_SUITE(eventfd, NULL, setup, before, after, NULL);
|
D | stress.c | 87 ZTEST_F(eventfd, test_stress) in ZTEST_F() argument
|
/Zephyr-Core-3.6.0/tests/posix/headers/src/ |
D | sys_eventfd_h.c | 31 zassert_not_null(eventfd); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/posix/eventfd/ |
D | CMakeLists.txt | 5 project(eventfd) project
|
D | Kconfig | 42 module-str = eventfd
|
/Zephyr-Core-3.6.0/include/zephyr/posix/sys/ |
D | eventfd.h | 41 int eventfd(unsigned int initval, int flags);
|
/Zephyr-Core-3.6.0/samples/posix/eventfd/src/ |
D | main.c | 71 efd = eventfd(0, 0); in main()
|
/Zephyr-Core-3.6.0/modules/thrift/src/thrift/server/ |
D | TFDServer.cpp | 36 xport(int fd) : xport(fd, eventfd(0, EFD_SEMAPHORE)) in xport()
|
/Zephyr-Core-3.6.0/arch/posix/include/ |
D | posix_cheats.h | 222 #define eventfd zap_eventfd macro
|
/Zephyr-Core-3.6.0/subsys/net/lib/sockets/ |
D | sockets_service.c | 210 fd = eventfd(0, 0); in socket_service_thread()
|
/Zephyr-Core-3.6.0/doc/releases/ |
D | release-notes-2.4.rst | 1231 * :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…
|
D | release-notes-2.5.rst | 1590 * :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…
|
D | release-notes-2.1.rst | 867 * :github:`16376` - posix ext: Implement eventfd()
|
D | release-notes-2.3.rst | 695 * eventfd() function (Linux-like extension) implemented.
|
D | release-notes-2.7.rst | 1126 * :github:`38601` - nucleo_f103rb: samples/posix/eventfd/ failed since "retargetable locking" addit…
|
D | release-notes-3.2.rst | 2212 * :github:`47734` - tests/posix/eventfd/ : failed on both nucleo_f103rb and nucleo_l073rz with 20K …
|