Lines Matching full:cqe
124 u32 index = hash_long(req->cqe.user_data, table->hash_bits); in io_poll_req_insert()
236 * require, which is either spurious wakeup or multishot CQE is served.
238 * req->cqe.res. IOU_POLL_REMOVE_POLL_USE_RES indicates to remove multishot
239 * poll and that the result is stored in req->cqe.
258 * cqe.res contains only events of the first wake up in io_poll_check_events()
263 req->cqe.res = 0; in io_poll_check_events()
266 req->cqe.res = 0; in io_poll_check_events()
279 if (!req->cqe.res) { in io_poll_check_events()
283 req->cqe.res = vfs_poll(req->file, &pt) & events; in io_poll_check_events()
290 if (unlikely(!req->cqe.res)) { in io_poll_check_events()
300 /* multishot, just fill a CQE and proceed */ in io_poll_check_events()
302 __poll_t mask = mangle_poll(req->cqe.res & in io_poll_check_events()
313 if ((req->cqe.res & (POLLHUP | POLLRDHUP)) && v != 1) in io_poll_check_events()
326 req->cqe.res = 0; in io_poll_check_events()
359 req->cqe.res = mangle_poll(req->cqe.res & poll->events); in io_poll_task_func()
364 req->cqe.res = ret; in io_poll_task_func()
368 io_req_set_res(req, req->cqe.res, 0); in io_poll_task_func()
766 if (cd->data != req->cqe.user_data) in io_poll_find()
946 preq->cqe.user_data = poll_update->new_user_data; in io_poll_remove()
959 if (preq->cqe.res < 0) in io_poll_remove()