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

Function vm_radix_zinit

freebsd/vm/vm_radix.c:371–379  ·  view source on GitHub ↗

* Initialize the UMA slab zone. */

Source from the content-addressed store, hash-verified

369 * Initialize the UMA slab zone.
370 */
371void
372vm_radix_zinit(void)
373{
374
375 vm_radix_node_zone = uma_zcreate("RADIX NODE",
376 sizeof(struct vm_radix_node), NULL, NULL, NULL, NULL,
377 VM_RADIX_PAD, UMA_ZONE_VM | UMA_ZONE_SMR | UMA_ZONE_ZINIT);
378 vm_radix_smr = uma_zone_get_smr(vm_radix_node_zone);
379}
380
381/*
382 * Inserts the key-value pair into the trie.

Callers 1

vm_object_initFunction · 0.85

Calls 2

uma_zcreateFunction · 0.85
uma_zone_get_smrFunction · 0.85

Tested by

no test coverage detected