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

Function cache_set_uz_flags

freebsd/vm/uma_int.h:289–294  ·  view source on GitHub ↗

* The cache structure pads perfectly into 64 bytes so we use spare * bits from the embedded cache buckets to store information from the zone * and keep all fast-path allocations accessing a single per-cpu line. */

Source from the content-addressed store, hash-verified

287 * and keep all fast-path allocations accessing a single per-cpu line.
288 */
289static inline void
290cache_set_uz_flags(uma_cache_t cache, uint32_t flags)
291{
292
293 cache->uc_freebucket.ucb_spare = flags;
294}
295
296static inline void
297cache_set_uz_size(uma_cache_t cache, uint32_t size)

Callers 1

zone_update_cachesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected