uvm_physseg.c | 552 * physical memory config is stored in vm_physmem. 555 #define VM_PHYSMEM_PTR(i) (&vm_physmem[i]) 560 do { vm_physmem[(i)] = vm_physmem[(j)]; } while (0) 564 #define PHYSSEG_NODE_TO_HANDLE(u) ((int)((vsize_t) (u - vm_physmem) / sizeof(struct uvm_physseg))) 567 static struct uvm_physseg vm_physmem[VM_PHYSSEG_MAX] __read_mostly; variable in typeref:struct:uvm_physseg[VM_PHYSSEG_MAX]__read_mostly 790 * now insert us in the proper place in vm_physmem[] 863 return vm_physseg_find_contig(vm_physmem, vm_nphysseg, pframe, offp); 865 return vm_physseg_find_bsearch(vm_physmem, vm_nphysseg, pframe, offp); 867 return vm_physseg_find_linear(vm_physmem, vm_nphysseg, pframe, offp) [all...] |