Lines Matching refs:apoll
886 struct async_poll *apoll; member
5548 return req->apoll->double_poll; in io_poll_get_double()
5555 return &req->apoll->poll; in io_poll_get_single()
5931 struct async_poll *apoll = pt->req->apoll; in io_async_queue_proc() local
5933 __io_queue_proc(&apoll->poll, pt, head, &apoll->double_poll); in io_async_queue_proc()
5954 struct async_poll *apoll; in io_arm_poll_handler() local
5976 apoll = req->apoll; in io_arm_poll_handler()
5977 kfree(apoll->double_poll); in io_arm_poll_handler()
5978 if (unlikely(!--apoll->poll.retries)) { in io_arm_poll_handler()
5979 apoll->double_poll = NULL; in io_arm_poll_handler()
5983 apoll = kmalloc(sizeof(*apoll), GFP_ATOMIC); in io_arm_poll_handler()
5984 if (unlikely(!apoll)) in io_arm_poll_handler()
5986 apoll->poll.retries = APOLL_MAX_RETRY; in io_arm_poll_handler()
5988 apoll->double_poll = NULL; in io_arm_poll_handler()
5989 req->apoll = apoll; in io_arm_poll_handler()
5993 ret = __io_arm_poll_handler(req, &apoll->poll, &ipt, mask); in io_arm_poll_handler()
5998 mask, apoll->poll.events); in io_arm_poll_handler()
6893 if ((req->flags & REQ_F_POLLED) && req->apoll) { in io_clean_op()
6894 kfree(req->apoll->double_poll); in io_clean_op()
6895 kfree(req->apoll); in io_clean_op()
6896 req->apoll = NULL; in io_clean_op()