MCPcopy Index your code
hub / github.com/Andy-Python-Programmer/aero / get_page

Method get_page

src/aero_kernel/src/fs/block/mod.rs:162–179  ·  view source on GitHub ↗

Returns the cached page at the given offset, if not present, it will be allocated, initialized with the data on the disk and placed in the page cache. ## Arguments `device` - The device to get the page from. `offset` - The offset in bytes to the data. This will be rounded down to the nearest page boundary.

(&self, device: &Weak<dyn CachedAccess>, offset: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

mmap_v2Method · 0.80
newMethod · 0.80
readMethod · 0.80
writeMethod · 0.80

Calls 7

align_downFunction · 0.85
upgradeMethod · 0.80
pageMethod · 0.80
make_item_cachedMethod · 0.80
getMethod · 0.45
cloneMethod · 0.45
read_directMethod · 0.45

Tested by

no test coverage detected