MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / handle_pf_file

Method handle_pf_file

src/aero_kernel/src/userland/vm.rs:463–486  ·  view source on GitHub ↗

Handler routine for pages backed by a file. This function will allocate a frame and read a page-sized amount from the disk into the allocated frame. Then it maps the allocated frame at the faulted address.

(
        &mut self,
        offset_table: &mut OffsetPageTable,
        reason: PageFaultErrorCode,
        addr: VirtAddr,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handle_page_faultMethod · 0.80

Calls 5

align_downFunction · 0.85
handle_pf_shared_fileMethod · 0.80
as_refMethod · 0.45
align_downMethod · 0.45

Tested by

no test coverage detected