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

Function zone_update_caches

freebsd/vm/uma_core.c:2596–2605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2594}
2595
2596static void
2597zone_update_caches(uma_zone_t zone)
2598{
2599 int i;
2600
2601 for (i = 0; i <= mp_maxid; i++) {
2602 cache_set_uz_size(&zone->uz_cpu[i], zone->uz_size);
2603 cache_set_uz_flags(&zone->uz_cpu[i], zone->uz_flags);
2604 }
2605}
2606
2607/*
2608 * Zone header ctor. This initializes all fields, locks, etc.

Callers 4

zone_ctorFunction · 0.85
uma_zone_set_maxFunction · 0.85
uma_zone_set_smrFunction · 0.85
uma_core.cFile · 0.85

Calls 2

cache_set_uz_sizeFunction · 0.70
cache_set_uz_flagsFunction · 0.70

Tested by

no test coverage detected