Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
42
static unsigned char *get_buffer(struct ctx *ctx, int idx)
43
{
44
return ctx->buffer_base + ((size_t)idx << ctx->buf_shift);
45
}
46
47
static int setup_buffer_pool(struct ctx *ctx)
48
{
Callers
3
setup_buffer_pool
Function · 0.85
recycle_buffer
Function · 0.85
process_cqe_recv
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected