Lines Matching refs:efd
201 &aio->efd, &custom);
205 * and set it. efd will be signaled when AIO operation completes
207 aio->efd = eventfd(0);
208 if (aio->efd == -1) {
216 aio->efd, custom,
220 close(aio->efd);
224 if (fcntl(aio->efd, F_SETFL, O_NONBLOCK) != 0) {
232 aio->efd = eventfd(0);
233 if (aio->efd == -1) {
258 aio->efd = -1;
278 /* if efd has not been initialised yet do it here */
298 cb->aio_resfd = aio->efd;
315 r = read(aio->efd, &eval, sizeof(eval));
695 /* close efd in sync mode, async mode is closed in afalg_waitfd_cleanup() */
697 close(actx->aio.efd);