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

Function item_domain

freebsd/vm/uma_core.c:3284–3293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3282
3283#ifdef NUMA
3284static int
3285item_domain(void *item)
3286{
3287 int domain;
3288
3289 domain = vm_phys_domain(vtophys(item));
3290 KASSERT(domain >= 0 && domain < vm_ndomains,
3291 ("%s: unknown domain for item %p", __func__, item));
3292 return (domain);
3293}
3294#endif
3295
3296#if defined(INVARIANTS) || defined(DEBUG_MEMGUARD) || defined(WITNESS)

Callers 4

uma_zalloc_domainFunction · 0.85
uma_zfree_smrFunction · 0.85
uma_zfree_argFunction · 0.85
zone_free_crossFunction · 0.85

Calls 1

vm_phys_domainFunction · 0.85

Tested by

no test coverage detected