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

Function pt2tab_user_is_empty

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

Source from the content-addressed store, hash-verified

2299
2300#ifdef INVARIANTS
2301static boolean_t
2302pt2tab_user_is_empty(pt2_entry_t *tab)
2303{
2304 u_int i, end;
2305
2306 end = pt2tab_index(VM_MAXUSER_ADDRESS);
2307 for (i = 0; i < end; i++)
2308 if (tab[i] != 0) return (FALSE);
2309 return (TRUE);
2310}
2311#endif
2312/*
2313 * Release any resources held by the given physical map.

Callers 1

pmap_releaseFunction · 0.85

Calls 1

pt2tab_indexFunction · 0.85

Tested by

no test coverage detected