Lines Matching defs:res
241 static inline void io_poll_execute(struct io_kiocb *req, int res)
244 __io_poll_execute(req, res);
254 * req->cqe.res. IOU_POLL_REMOVE_POLL_USE_RES indicates to remove multishot
275 * cqe.res contains only events of the first wake up
280 req->cqe.res = 0;
283 req->cqe.res = 0;
295 if (!req->cqe.res) {
297 req->cqe.res = vfs_poll(req->file, &pt) & req->apoll_events;
304 if (unlikely(!req->cqe.res)) {
316 __poll_t mask = mangle_poll(req->cqe.res &
335 req->cqe.res = 0;
366 req->cqe.res = mangle_poll(req->cqe.res & poll->events);
371 req->cqe.res = ret;
375 io_req_set_res(req, req->cqe.res, 0);