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

Function cqe_to_conn

examples/proxy.c:226–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224static void *thread_main(void *data);
225
226static struct conn *cqe_to_conn(struct io_uring_cqe *cqe)
227{
228 struct userdata ud = { .val = cqe->user_data };
229
230 return &conns[ud.op_tid & TID_MASK];
231}
232
233static struct conn_dir *cqe_to_conn_dir(struct conn *c,
234 struct io_uring_cqe *cqe)

Callers 13

default_errorFunction · 0.85
handle_sockFunction · 0.85
handle_connectFunction · 0.85
handle_recvFunction · 0.85
recv_errorFunction · 0.85
handle_sendFunction · 0.85
send_errorFunction · 0.85
handle_shutdownFunction · 0.85
handle_closeFunction · 0.85
handle_cancelFunction · 0.85
handle_fd_passFunction · 0.85
handle_stopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected