Searched refs:bootstacks (Results 1 – 7 of 7) sorted by relevance
108 static void *bootstacks[MAXCPU]; variable307 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()
139 static void *bootstacks[MAXCPU]; variable306 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()
38 extern void *bootstacks[];
362 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()
396 bootstacks[cpu] = (char *)kmem_malloc(kstack_pages * PAGE_SIZE, in start_all_aps()405 bootSTK = (char *)bootstacks[cpu] + kstack_pages * in start_all_aps()
426 bootstacks[cpu] = (void *)kmem_malloc(kstack_pages * PAGE_SIZE, in native_start_all_aps()440 bootSTK = (char *)bootstacks[cpu] + in native_start_all_aps()
105 void *bootstacks[MAXCPU]; variable1127 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()