Lines Matching refs:result
870 u32 result; member
1271 req->result = res; in req_fail_link_node()
1892 req->result = res; in io_req_complete_state()
1925 io_req_complete_failed(req, req->result); in io_req_complete_fail_submit()
1938 req->result = 0; in io_preinit_req()
2095 res = link->result; in io_fail_links()
2290 io_req_complete_failed(req, req->result); in io_req_task_cancel()
2307 req->result = ret; in io_req_task_queue_fail()
2397 __io_fill_cqe(ctx, req->user_data, req->result, in io_submit_flush_completions()
2526 WRITE_ONCE(cqe->res, req->result); in io_iopoll_complete()
2531 req->result, cflags); in io_iopoll_complete()
2763 if (res != req->result) { in __io_complete_rw_common()
2775 req->result = res; in __io_complete_rw_common()
2797 int res = req->result; in io_req_task_complete()
2824 req->result = io_fixup_rw_res(req, res); in io_complete_rw()
2835 if (unlikely(res != req->result)) { in io_complete_rw_iopoll()
2842 WRITE_ONCE(req->result, res); in io_complete_rw_iopoll()
3630 req->result = iov_iter_count(iter); in io_read()
3646 ret = rw_verify_area(READ, req->file, ppos, req->result); in io_read()
3665 } else if (ret <= 0 || ret == req->result || !force_nonblock || in io_read()
3711 req->result = iov_iter_count(iter); in io_read()
3764 req->result = iov_iter_count(iter); in io_write()
3783 ret = rw_verify_area(WRITE, req->file, ppos, req->result); in io_write()
5649 req->result = 0; in io_poll_check_events()
5651 req->result = 0; in io_poll_check_events()
5661 if (!req->result) { in io_poll_check_events()
5664 req->result = vfs_poll(req->file, &pt) & poll->events; in io_poll_check_events()
5668 if (req->result && !(poll->events & EPOLLONESHOT)) { in io_poll_check_events()
5669 __poll_t mask = mangle_poll(req->result & poll->events); in io_poll_check_events()
5680 } else if (req->result) { in io_poll_check_events()
5685 req->result = 0; in io_poll_check_events()
5707 req->result = mangle_poll(req->result & req->poll.events); in io_poll_task_func()
5709 req->result = ret; in io_poll_task_func()
5717 io_req_complete_post(req, req->result, 0); in io_poll_task_func()
5743 req->result = mask; in __io_poll_execute()