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

Function __raw_encode

examples/proxy.h:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static inline uint64_t __raw_encode(int tid, int op, int bid, int fd)
46{
47 struct userdata ud = {
48 .op_tid = (op << OP_SHIFT) | tid,
49 .bid = bid,
50 .fd = fd
51 };
52
53 return ud.val;
54}
55
56static inline int cqe_to_op(struct io_uring_cqe *cqe)
57{

Callers 2

__close_connFunction · 0.85
handle_acceptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected