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

Function create_ring

test/socket-getsetsock-cmd.c:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42static struct io_uring create_ring(void)
43{
44 struct io_uring ring;
45 int ring_flags = 0;
46 int err;
47
48 err = io_uring_queue_init(32, &ring, ring_flags);
49 assert(err == 0);
50
51 return ring;
52}
53
54static int submit_cmd_sqe(struct io_uring *ring, int32_t fd,
55 int op, int level, int optname,

Callers 1

mainFunction · 0.85

Calls 1

io_uring_queue_initFunction · 0.85

Tested by

no test coverage detected