Lines Matching defs:apoll
110 return req->apoll->double_poll;
117 return &req->apoll->poll;
197 * into the poll/apoll/double cachelines if we can.
673 struct async_poll *apoll = pt->req->apoll;
675 __io_queue_proc(&apoll->poll, pt, head, &apoll->double_poll);
691 struct async_poll *apoll;
694 apoll = req->apoll;
695 kfree(apoll->double_poll);
700 apoll = container_of(entry, struct async_poll, cache);
701 apoll->poll.retries = APOLL_MAX_RETRY;
704 apoll = kmalloc(sizeof(*apoll), GFP_ATOMIC);
705 if (unlikely(!apoll))
707 apoll->poll.retries = APOLL_MAX_RETRY;
709 apoll->double_poll = NULL;
710 req->apoll = apoll;
711 if (unlikely(!--apoll->poll.retries))
713 return apoll;
719 struct async_poll *apoll;
725 * apoll requests already grab the mutex to complete in the tw handler,
749 apoll = io_req_alloc_apoll(req, issue_flags);
750 if (!apoll)
758 ret = __io_arm_poll_handler(req, &apoll->poll, &ipt, mask, issue_flags);
761 trace_io_uring_poll_arm(req, mask, apoll->poll.events);