Home
last modified time | relevance | path

Searched refs:bootstacks (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/sys/riscv/riscv/
H A Dmp_machdep.c108 static void *bootstacks[MAXCPU]; variable
307 if (bootstacks[cpu] != NULL) { in smp_after_idle_runnable()
311 kmem_free((vm_offset_t)bootstacks[cpu], PAGE_SIZE); in smp_after_idle_runnable()
476 bootstacks[cpuid] = (void *)kmem_malloc(PAGE_SIZE, M_WAITOK | M_ZERO); in cpu_init_fdt()
479 bootstack = (char *)bootstacks[cpuid] + PAGE_SIZE; in cpu_init_fdt()
/freebsd-13.1/sys/arm64/arm64/
H A Dmp_machdep.c139 static void *bootstacks[MAXCPU]; variable
306 if (bootstacks[cpu] != NULL) { in smp_after_idle_runnable()
310 kmem_free((vm_offset_t)bootstacks[cpu], PAGE_SIZE); in smp_after_idle_runnable()
509 bootstacks[cpuid] = (void *)kmem_malloc(PAGE_SIZE, M_WAITOK | M_ZERO); in start_cpu()
512 bootstack = (char *)bootstacks[cpuid] + PAGE_SIZE; in start_cpu()
531 kmem_free((vm_offset_t)bootstacks[cpuid], PAGE_SIZE); in start_cpu()
532 bootstacks[cpuid] = NULL; in start_cpu()
/freebsd-13.1/sys/x86/include/
H A Dx86_smp.h38 extern void *bootstacks[];
/freebsd-13.1/sys/x86/xen/
H A Dpv.c362 bootstacks[cpu] = (void *)kmem_malloc(stacksize, M_WAITOK | M_ZERO); in start_xen_ap()
369 bootSTK = (char *)bootstacks[cpu] + kstack_pages * PAGE_SIZE - 8; in start_xen_ap()
/freebsd-13.1/sys/i386/i386/
H A Dmp_machdep.c396 bootstacks[cpu] = (char *)kmem_malloc(kstack_pages * PAGE_SIZE, in start_all_aps()
405 bootSTK = (char *)bootstacks[cpu] + kstack_pages * in start_all_aps()
/freebsd-13.1/sys/amd64/amd64/
H A Dmp_machdep.c426 bootstacks[cpu] = (void *)kmem_malloc(kstack_pages * PAGE_SIZE, in native_start_all_aps()
440 bootSTK = (char *)bootstacks[cpu] + in native_start_all_aps()
/freebsd-13.1/sys/x86/x86/
H A Dmp_x86.c105 void *bootstacks[MAXCPU]; variable
1127 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()