| 468 | } |
| 469 | |
| 470 | void * |
| 471 | contigmalloc_domainset(unsigned long size, struct malloc_type *type, |
| 472 | struct domainset *ds, int flags, vm_paddr_t low, vm_paddr_t high, |
| 473 | unsigned long alignment, vm_paddr_t boundary) |
| 474 | { |
| 475 | void *ret; |
| 476 | |
| 477 | ret = (void *)kmem_alloc_contig_domainset(ds, size, flags, low, high, |
| 478 | alignment, boundary, VM_MEMATTR_DEFAULT); |
| 479 | if (ret != NULL) |
| 480 | malloc_type_allocated(type, round_page(size)); |
| 481 | return (ret); |
| 482 | } |
| 483 | |
| 484 | /* |
| 485 | * contigfree: |
no test coverage detected