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

Function sysctl_kmaps_reinit

freebsd/amd64/amd64/pmap.c:11231–11239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11229}
11230
11231static void
11232sysctl_kmaps_reinit(struct pmap_kernel_map_range *range, vm_offset_t va,
11233 pt_entry_t attrs)
11234{
11235
11236 memset(range, 0, sizeof(*range));
11237 range->sva = va;
11238 range->attrs = attrs;
11239}
11240
11241/*
11242 * 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