Home
last modified time | relevance | path

Searched refs:sqe_copy (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/fs/
Dio_uring.c2021 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()
[all …]