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

Function queue_write

examples/io_uring-cp.c:107–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107static void queue_write(struct io_uring *ring, struct io_data *data)
108{
109 data->read = 0;
110 data->offset = data->first_offset;
111
112 data->iov.iov_base = data + 1;
113 data->iov.iov_len = data->first_len;
114
115 queue_prepped(ring, data);
116 io_uring_submit(ring);
117}
118
119static int copy_file(struct io_uring *ring, off_t insize)
120{

Callers 1

copy_fileFunction · 0.85

Calls 2

queue_preppedFunction · 0.85
io_uring_submitFunction · 0.85

Tested by

no test coverage detected