| 334 | } |
| 335 | |
| 336 | static void submit_bundle(struct io_uring *ring, int sockfd) |
| 337 | { |
| 338 | struct io_uring_sqe *sqe; |
| 339 | |
| 340 | sqe = io_uring_get_sqe(ring); |
| 341 | io_uring_prep_send_bundle(sqe, sockfd, 0, 0); |
| 342 | sqe->flags |= IOSQE_BUFFER_SELECT; |
| 343 | sqe->buf_group = SEND_BGID; |
| 344 | sqe->user_data = 1; |
| 345 | |
| 346 | io_uring_submit(ring); |
| 347 | } |
| 348 | |
| 349 | static int __do_send_bundle(struct recv_data *rd, struct io_uring *ring, int sockfd) |
| 350 | { |
no test coverage detected