Lines Matching refs:apoll
109 return req->apoll->double_poll;
116 return &req->apoll->poll;
196 * into the poll/apoll/double cachelines if we can.
657 struct async_poll *apoll = pt->req->apoll;
659 __io_queue_proc(&apoll->poll, pt, head, &apoll->double_poll);
675 struct async_poll *apoll;
678 apoll = req->apoll;
679 kfree(apoll->double_poll);
684 apoll = container_of(entry, struct async_poll, cache);
685 apoll->poll.retries = APOLL_MAX_RETRY;
688 apoll = kmalloc(sizeof(*apoll), GFP_ATOMIC);
689 if (unlikely(!apoll))
691 apoll->poll.retries = APOLL_MAX_RETRY;
693 apoll->double_poll = NULL;
694 req->apoll = apoll;
695 if (unlikely(!--apoll->poll.retries))
697 return apoll;
703 struct async_poll *apoll;
709 * apoll requests already grab the mutex to complete in the tw handler,
733 apoll = io_req_alloc_apoll(req, issue_flags);
734 if (!apoll)
742 ret = __io_arm_poll_handler(req, &apoll->poll, &ipt, mask, issue_flags);
745 trace_io_uring_poll_arm(req, mask, apoll->poll.events);