Searched refs:apoll (Results 1 – 2 of 2) sorted by relevance
106 return req->apoll->double_poll; in io_poll_get_double()113 return &req->apoll->poll; in io_poll_get_single()667 struct async_poll *apoll = pt->req->apoll; in io_async_queue_proc() local669 __io_queue_proc(&apoll->poll, pt, head, &apoll->double_poll); in io_async_queue_proc()685 struct async_poll *apoll; in io_req_alloc_apoll() local688 apoll = req->apoll; in io_req_alloc_apoll()689 kfree(apoll->double_poll); in io_req_alloc_apoll()694 apoll = container_of(entry, struct async_poll, cache); in io_req_alloc_apoll()695 apoll->poll.retries = APOLL_MAX_RETRY; in io_req_alloc_apoll()698 apoll = kmalloc(sizeof(*apoll), GFP_ATOMIC); in io_req_alloc_apoll()[all …]
1294 if ((req->flags & REQ_F_POLLED) && req->apoll) { in io_free_batch_list()1295 struct async_poll *apoll = req->apoll; in io_free_batch_list() local1297 if (apoll->double_poll) in io_free_batch_list()1298 kfree(apoll->double_poll); in io_free_batch_list()1299 if (!io_alloc_cache_put(&ctx->apoll_cache, &apoll->cache)) in io_free_batch_list()1300 kfree(apoll); in io_free_batch_list()1685 if ((req->flags & REQ_F_POLLED) && req->apoll) { in io_clean_op()1686 kfree(req->apoll->double_poll); in io_clean_op()1687 kfree(req->apoll); in io_clean_op()1688 req->apoll = NULL; in io_clean_op()