MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / kread

Function kread

src/os/linux/modules.cpp:37–39  ·  view source on GitHub ↗

Wrappers so existing code keeps reading nicely.

Source from the content-addressed store, hash-verified

35
36// Wrappers so existing code keeps reading nicely.
37inline bool kread(const Engine& eng, VAddr va, void* dst, std::size_t n) {
38 return kva_read(eng, va, dst, n);
39}
40template <typename T>
41inline bool kread_pod(const Engine& eng, VAddr va, T& out) {
42 return kva_read_pod(eng, va, out);

Callers

nothing calls this directly

Calls 1

kva_readFunction · 0.85

Tested by

no test coverage detected