| pci_resource.c | 47 #include <sys/vmem.h> 143 vmem_t *vmem; member in struct:pci_resource_arena 209 arena->vmem = vmem_create(pci_resource_typename(type), 215 * Reserve the range in the vmem for allocation. If there's 218 error = vmem_add(arena->vmem, start, end - start + 1, VM_SLEEP); 683 * Claim a resource from a vmem arena. This is called to inform the 692 return vmem_xalloc(arena->vmem, end - start + 1, 0, 0, 0, start, end, 699 * Allocate a resource from a vmem arena. This is called when configuring 712 error = vmem_xalloc(arena->vmem, size, align, 0, 0, VMEM_ADDR_MIN, 890 * create a new vmem arena for the secondary bus [all...] |