Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/io_uring/
Dio_uring02.c92 struct io_uring_sqe *sqe_ptr = uring.sqr_entries; in drain_fallback() local
101 for (i = 0, tail = *uring.sqr_tail; i < 255; i++, tail++, sqe_ptr++) { in drain_fallback()
102 memset(sqe_ptr, 0, sizeof(*sqe_ptr)); in drain_fallback()
103 sqe_ptr->opcode = IORING_OP_SENDMSG; in drain_fallback()
104 sqe_ptr->flags = IOSQE_IO_DRAIN; in drain_fallback()
105 sqe_ptr->fd = sockpair[0]; in drain_fallback()
106 sqe_ptr->addr = (__u64)&spam_header; in drain_fallback()
107 sqe_ptr->user_data = SPAM_MARK; in drain_fallback()
112 memset(sqe_ptr, 0, sizeof(*sqe_ptr)); in drain_fallback()
113 sqe_ptr->opcode = IORING_OP_SENDMSG; in drain_fallback()
[all …]