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

Function slabzone

freebsd/vm/uma_core.c:387–392  ·  view source on GitHub ↗

* Select the slab zone for an offpage slab with the given maximum item count. */

Source from the content-addressed store, hash-verified

385 * Select the slab zone for an offpage slab with the given maximum item count.
386 */
387static inline uma_zone_t
388slabzone(int ipers)
389{
390
391 return (slabzones[ipers > SLABZONE0_SETSIZE]);
392}
393
394/*
395 * This routine checks to see whether or not it's safe to enable buckets.

Callers 4

keg_free_slabFunction · 0.85
keg_alloc_slabFunction · 0.85
keg_layout_oneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected