MCPcopy Create free account
hub / github.com/apache/trafficserver / io_uring_write

Function io_uring_write

src/iocore/io_uring/unit_tests/test_diskIO.cc:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void
87io_uring_write(IOUringContext &ur, int fd, const char *data, size_t len, const std::function<void(int)> &f)
88{
89 io_uring_sqe *s = ur.next_sqe(handle(f));
90
91 io_uring_prep_write(s, fd, data, len, 0);
92}
93void
94io_uring_read(IOUringContext &ur, int fd, char *data, size_t len, const std::function<void(int)> &f)
95{

Callers 1

test_diskIO.ccFile · 0.85

Calls 2

handleFunction · 0.85
next_sqeMethod · 0.80

Tested by

no test coverage detected