Searched refs:physmap_idx (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/x86/xen/ |
H A D | pv.c | 365 int *physmap_idx) in pvh_parse_memmap_start_info() argument 389 bios_add_smap_entries(&entry, 1, physmap, physmap_idx); in pvh_parse_memmap_start_info() 394 xen_pvh_parse_memmap(caddr_t kmdp, vm_paddr_t *physmap, int *physmap_idx) in xen_pvh_parse_memmap() argument 415 bios_add_smap_entries(xen_smap, size, physmap, physmap_idx); in xen_pvh_parse_memmap() 419 pvh_parse_memmap(caddr_t kmdp, vm_paddr_t *physmap, int *physmap_idx) in pvh_parse_memmap() argument 428 pvh_parse_memmap_start_info(kmdp, physmap, physmap_idx); in pvh_parse_memmap() 430 xen_pvh_parse_memmap(kmdp, physmap, physmap_idx); in pvh_parse_memmap()
|
/freebsd/sys/i386/i386/ |
H A D | machdep.c | 753 int i, insert_idx, physmap_idx; in add_physmap_entry() local 755 physmap_idx = *physmap_idxp; in add_physmap_entry() 783 insert_idx = physmap_idx + 2; in add_physmap_entry() 784 for (i = 0; i <= physmap_idx; i += 2) { in add_physmap_entry() 798 if (insert_idx <= physmap_idx && base + length == physmap[insert_idx]) { in add_physmap_entry() 809 physmap_idx += 2; in add_physmap_entry() 810 *physmap_idxp = physmap_idx; in add_physmap_entry() 811 if (physmap_idx == PHYS_AVAIL_ENTRIES) { in add_physmap_entry() 821 for (i = physmap_idx; i > insert_idx; i -= 2) { in add_physmap_entry() 896 int has_smap, off, physmap_idx, pa_indx, da_indx; in getmemsize() local [all …]
|
H A D | mp_machdep.c | 152 alloc_ap_trampoline(vm_paddr_t *physmap, unsigned int *physmap_idx) in alloc_ap_trampoline() argument 158 for (i = *physmap_idx; i <= *physmap_idx; i -= 2) { in alloc_ap_trampoline() 183 if (physmap[i] == physmap[i + 1] && *physmap_idx != 0) { in alloc_ap_trampoline() 185 sizeof(*physmap) * (*physmap_idx - i + 2)); in alloc_ap_trampoline() 186 *physmap_idx -= 2; in alloc_ap_trampoline()
|
/freebsd/sys/amd64/amd64/ |
H A D | machdep.c | 633 int i, insert_idx, physmap_idx; in add_physmap_entry() local 635 physmap_idx = *physmap_idxp; in add_physmap_entry() 646 insert_idx = physmap_idx; in add_physmap_entry() 647 for (i = 0; i <= physmap_idx; i += 2) { in add_physmap_entry() 661 if (insert_idx <= physmap_idx && base + length == physmap[insert_idx]) { in add_physmap_entry() 672 physmap_idx += 2; in add_physmap_entry() 673 *physmap_idxp = physmap_idx; in add_physmap_entry() 674 if (physmap_idx == PHYS_AVAIL_ENTRIES) { in add_physmap_entry() 684 for (i = (physmap_idx - 2); i > insert_idx; i -= 2) { in add_physmap_entry() 697 vm_paddr_t *physmap, int *physmap_idx) in bios_add_smap_entries() argument [all …]
|
/freebsd/sys/amd64/include/pc/ |
H A D | bios.h | 89 vm_paddr_t *physmap, int *physmap_idx);
|
/freebsd/sys/x86/include/ |
H A D | x86_smp.h | 88 void alloc_ap_trampoline(vm_paddr_t *physmap, unsigned int *physmap_idx);
|
/freebsd/sys/riscv/riscv/ |
H A D | pmap.c | 594 int physmap_idx; in pmap_bootstrap_dmap() local 596 physmap_idx = physmem_avail(physmap, nitems(physmap)); in pmap_bootstrap_dmap() 598 max_pa = physmap[physmap_idx - 1]; in pmap_bootstrap_dmap() 600 printf("physmap_idx %u\n", physmap_idx); in pmap_bootstrap_dmap() 613 for (int idx = 0; idx < physmap_idx; idx += 2) { in pmap_bootstrap_dmap()
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 353 static u_int physmap_idx; variable 1218 physmap_idx = physmem_avail(physmap, nitems(physmap)); in pmap_bootstrap_dmap() 1224 for (i = 0; i < physmap_idx; i += 2) { in pmap_bootstrap_dmap() 1438 physmap_idx = physmem_avail(physmap, nitems(physmap)); in pmap_bootstrap_san1() 1447 for (i = physmap_idx - 2; i >= 0; i -= 2) { in pmap_bootstrap_san1()
|