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

Function get_buffer

examples/io_uring-udp.c:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static unsigned char *get_buffer(struct ctx *ctx, int idx)
43{
44 return ctx->buffer_base + ((size_t)idx << ctx->buf_shift);
45}
46
47static int setup_buffer_pool(struct ctx *ctx)
48{

Callers 3

setup_buffer_poolFunction · 0.85
recycle_bufferFunction · 0.85
process_cqe_recvFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected