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

Function pt2_wirecount_init

freebsd/arm/arm/pmap-v6.c:2372–2384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370 */
2371
2372static __inline void
2373pt2_wirecount_init(vm_page_t m)
2374{
2375 u_int i;
2376
2377 /*
2378 * Note: A page m is allocated with VM_ALLOC_WIRED flag and
2379 * m->ref_count should be already set correctly.
2380 * So, there is no need to set it again herein.
2381 */
2382 for (i = 0; i < NPT2_IN_PG; i++)
2383 m->md.pt2_wirecount[i] = 0;
2384}
2385
2386static __inline void
2387pt2_wirecount_inc(vm_page_t m, uint32_t pte1_idx)

Callers 2

pmap_page_initFunction · 0.85
pmap_pt2pg_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected