* Allocate physically contiguous pages. */
| 1856 | * Allocate physically contiguous pages. |
| 1857 | */ |
| 1858 | static void * |
| 1859 | contig_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag, |
| 1860 | int wait) |
| 1861 | { |
| 1862 | |
| 1863 | *pflag = UMA_SLAB_KERNEL; |
| 1864 | return ((void *)kmem_alloc_contig_domainset(DOMAINSET_FIXED(domain), |
| 1865 | bytes, wait, 0, ~(vm_paddr_t)0, 1, 0, VM_MEMATTR_DEFAULT)); |
| 1866 | } |
| 1867 | #else |
| 1868 | static void * |
| 1869 | pcpu_page_alloc(uma_zone_t zone, vm_size_t bytes, int domain, uint8_t *pflag, |
nothing calls this directly
no test coverage detected