MCPcopy Create free account
hub / github.com/axboe/liburing / encode_userdata

Function encode_userdata

examples/proxy.c:677–681  ·  view source on GitHub ↗

* See __encode_userdata() for how we encode sqe->user_data, which is passed * back as cqe->user_data at completion time. */

Source from the content-addressed store, hash-verified

675 * back as cqe->user_data at completion time.
676 */
677static void encode_userdata(struct io_uring_sqe *sqe, struct conn *c, int op,
678 int bid, int fd)
679{
680 __encode_userdata(sqe, c->tid, op, bid, fd);
681}
682
683static void __submit_receive(struct io_uring *ring, struct conn *c,
684 struct conn_dir *cd, int fd)

Callers 9

__submit_receiveFunction · 0.70
queue_shutdown_closeFunction · 0.70
queue_cancelFunction · 0.70
__close_connFunction · 0.70
handle_acceptFunction · 0.70
handle_sockFunction · 0.70
submit_sendFunction · 0.70
handle_shutdownFunction · 0.70
open_socketFunction · 0.70

Calls 1

__encode_userdataFunction · 0.85

Tested by

no test coverage detected