MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sysctl_kmaps_reinit

Function sysctl_kmaps_reinit

freebsd/arm64/arm64/pmap.c:7081–7089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7079}
7080
7081static void
7082sysctl_kmaps_reinit(struct pmap_kernel_map_range *range, vm_offset_t va,
7083 pt_entry_t attrs)
7084{
7085
7086 memset(range, 0, sizeof(*range));
7087 range->sva = va;
7088 range->attrs = attrs;
7089}
7090
7091/*
7092 * Given a leaf PTE, derive the mapping's attributes. If they do not match

Callers 1

sysctl_kmaps_checkFunction · 0.70

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected