Lines Matching refs:user_data
674 trace_io_uring_cqe_overflow(ctx, cqe->user_data, cqe->res, cqe->flags, ocqe); in io_alloc_ocqe()
676 ocqe->cqe.user_data = cqe->user_data; in io_alloc_ocqe()
712 cqe->user_data = 0; in io_fill_nop_cqe()
781 static bool io_fill_cqe_aux(struct io_ring_ctx *ctx, u64 user_data, s32 res, in io_fill_cqe_aux() argument
788 WRITE_ONCE(cqe->user_data, user_data); in io_fill_cqe_aux()
803 static inline struct io_cqe io_init_cqe(u64 user_data, s32 res, u32 cflags) in io_init_cqe() argument
805 return (struct io_cqe) { .user_data = user_data, .res = res, .flags = cflags }; in io_init_cqe()
829 bool io_post_aux_cqe(struct io_ring_ctx *ctx, u64 user_data, s32 res, u32 cflags) in io_post_aux_cqe() argument
834 filled = io_fill_cqe_aux(ctx, user_data, res, cflags); in io_post_aux_cqe()
836 struct io_cqe cqe = io_init_cqe(user_data, res, cflags); in io_post_aux_cqe()
848 void io_add_aux_cqe(struct io_ring_ctx *ctx, u64 user_data, s32 res, u32 cflags) in io_add_aux_cqe() argument
853 if (!io_fill_cqe_aux(ctx, user_data, res, cflags)) { in io_add_aux_cqe()
854 struct io_cqe cqe = io_init_cqe(user_data, res, cflags); in io_add_aux_cqe()
883 posted = io_fill_cqe_aux(ctx, req->cqe.user_data, res, cflags); in io_req_post_cqe()
886 posted = io_fill_cqe_aux(ctx, req->cqe.user_data, res, cflags); in io_req_post_cqe()
905 cqe[0].user_data = req->cqe.user_data; in io_req_post_cqe32()
1747 req->cqe.user_data = READ_ONCE(sqe->user_data); in io_init_req()
3212 BUILD_BUG_SQE_ELEM(32, __u64, user_data); in io_uring_init()