Lines Matching refs:cqe
213 struct io_uring_cqe cqe; member
1690 struct io_uring_cqe *cqe = io_get_cqe(ctx); in __io_cqring_overflow_flush() local
1693 if (!cqe && !force) in __io_cqring_overflow_flush()
1697 if (cqe) in __io_cqring_overflow_flush()
1698 memcpy(cqe, &ocqe->cqe, sizeof(*cqe)); in __io_cqring_overflow_flush()
1804 ocqe->cqe.user_data = user_data; in io_cqring_event_overflow()
1805 ocqe->cqe.res = res; in io_cqring_event_overflow()
1806 ocqe->cqe.flags = cflags; in io_cqring_event_overflow()
1814 struct io_uring_cqe *cqe; in __io_fill_cqe() local
1823 cqe = io_get_cqe(ctx); in __io_fill_cqe()
1824 if (likely(cqe)) { in __io_fill_cqe()
1825 WRITE_ONCE(cqe->user_data, user_data); in __io_fill_cqe()
1826 WRITE_ONCE(cqe->res, res); in __io_fill_cqe()
1827 WRITE_ONCE(cqe->flags, cflags); in __io_fill_cqe()
2515 struct io_uring_cqe *cqe; in io_iopoll_complete() local
2523 cqe = io_get_cqe(ctx); in io_iopoll_complete()
2524 if (cqe) { in io_iopoll_complete()
2525 WRITE_ONCE(cqe->user_data, req->user_data); in io_iopoll_complete()
2526 WRITE_ONCE(cqe->res, req->result); in io_iopoll_complete()
2527 WRITE_ONCE(cqe->flags, cflags); in io_iopoll_complete()