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

Function qc_destroy

freebsd/kern/subr_vmem.c:607–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607static void
608qc_destroy(vmem_t *vm)
609{
610 int qcache_idx_max;
611 int i;
612
613 qcache_idx_max = vm->vm_qcache_max >> vm->vm_quantum_shift;
614 for (i = 0; i < qcache_idx_max; i++)
615 uma_zdestroy(vm->vm_qcache[i].qc_cache);
616}
617
618static void
619qc_drain(vmem_t *vm)

Callers 1

vmem_destroy1Function · 0.85

Calls 1

uma_zdestroyFunction · 0.85

Tested by

no test coverage detected