Lines Matching refs:sqe_copy
2021 struct io_uring_sqe *sqe_copy; in io_req_defer() local
2026 sqe_copy = kmalloc(sizeof(*sqe_copy), GFP_KERNEL); in io_req_defer()
2027 if (!sqe_copy) in io_req_defer()
2033 kfree(sqe_copy); in io_req_defer()
2037 memcpy(sqe_copy, sqe, sizeof(*sqe_copy)); in io_req_defer()
2038 req->submit.sqe = sqe_copy; in io_req_defer()
2359 struct io_uring_sqe *sqe_copy; in __io_queue_sqe() local
2361 sqe_copy = kmemdup(s->sqe, sizeof(*sqe_copy), GFP_KERNEL); in __io_queue_sqe()
2362 if (sqe_copy) { in __io_queue_sqe()
2365 s->sqe = sqe_copy; in __io_queue_sqe()
2461 struct io_uring_sqe *sqe_copy; in io_submit_sqe() local
2498 sqe_copy = kmemdup(s->sqe, sizeof(*sqe_copy), GFP_KERNEL); in io_submit_sqe()
2499 if (!sqe_copy) { in io_submit_sqe()
2504 s->sqe = sqe_copy; in io_submit_sqe()