Home
last modified time | relevance | path

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

/components/libc/posix/io/eventfd/
A Deventfd.c130 rt_uint64_t counter_num = 0; in eventfd_read() local
133 if (count < sizeof(counter_num)) in eventfd_read()
160 counter_num = 1; in eventfd_read()
164 counter_num = ctx->count; in eventfd_read()
167 ctx->count -= counter_num; in eventfd_read()
168 (*buffer) = counter_num; in eventfd_read()
172 return sizeof(counter_num); in eventfd_read()
199 rt_uint64_t counter_num; in eventfd_write() local
201 if (count < sizeof(counter_num)) in eventfd_write()
215 ret = sizeof(counter_num); in eventfd_write()
[all …]

Completed in 5 milliseconds