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

Function pmap_pdpt_allocf

freebsd/i386/i386/pmap.c:898–907  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896
897#ifdef PMAP_PAE_COMP
898static void *
899pmap_pdpt_allocf(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *flags,
900 int wait)
901{
902
903 /* Inform UMA that this allocator uses kernel_map/object. */
904 *flags = UMA_SLAB_KERNEL;
905 return ((void *)kmem_alloc_contig_domainset(DOMAINSET_FIXED(domain),
906 bytes, wait, 0x0ULL, 0xffffffffULL, 1, 0, VM_MEMATTR_DEFAULT));
907}
908#endif
909
910/*

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected