Searched refs:bootstacks (Results 1 – 6 of 6) sorted by relevance
140 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()481 bootstacks[cpuid] = (void *)kmem_malloc(PAGE_SIZE, M_WAITOK | M_ZERO); in start_cpu()484 bootstack = (char *)bootstacks[cpuid] + PAGE_SIZE; in start_cpu()503 kmem_free((vm_offset_t)bootstacks[cpuid], PAGE_SIZE); in start_cpu()504 bootstacks[cpuid] = NULL; in start_cpu()
34 extern void *bootstacks[];
363 bootstacks[cpu] = (void *)kmem_malloc(stacksize, M_WAITOK | M_ZERO); in start_xen_ap()370 bootSTK = (char *)bootstacks[cpu] + kstack_pages * PAGE_SIZE - 8; in start_xen_ap()
341 bootstacks[cpu] = (char *)kmem_malloc(kstack_pages * PAGE_SIZE, in start_all_aps()350 bootSTK = (char *)bootstacks[cpu] + kstack_pages * in start_all_aps()
482 bootstacks[cpu] = (void *)kmem_malloc(kstack_pages * PAGE_SIZE, in native_start_all_aps()495 bootSTK = (char *)bootstacks[cpu] + in native_start_all_aps()
97 void *bootstacks[MAXCPU]; variable1112 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()