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

Function zone_foreach_unlocked

freebsd/vm/uma_core.c:2849–2861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2847}
2848
2849static void
2850zone_foreach_unlocked(void (*zfunc)(uma_zone_t, void *arg), void *arg)
2851{
2852 uma_keg_t keg;
2853 uma_zone_t zone;
2854
2855 LIST_FOREACH(keg, &uma_kegs, uk_link) {
2856 LIST_FOREACH(zone, &keg->uk_zones, uz_link)
2857 zfunc(zone, arg);
2858 }
2859 LIST_FOREACH(zone, &uma_cachezones, uz_link)
2860 zfunc(zone, arg);
2861}
2862
2863/*
2864 * Traverses every zone in the system and calls a callback

Callers 4

zone_foreachFunction · 0.85
uma_startup2Function · 0.85
uma_startup_pcpuFunction · 0.85
uma_startup3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected