Searched refs:kstack_pages (Results 1 – 17 of 17) sorted by relevance
| /freebsd-13.1/sys/vm/ |
| H A D | vm_glue.c | 369 pages = kstack_pages; in vm_thread_new() 374 if (pages == kstack_pages && kstack_cache != NULL) in vm_thread_new() 407 if (pages == kstack_pages) in vm_thread_dispose() 454 store[i] = (void *)vm_thread_stack_create(ds, kstack_pages); in kstack_import() 469 vm_thread_stack_dispose(ks, kstack_pages); in kstack_release() 479 kstack_pages * PAGE_SIZE, NULL, NULL, NULL, NULL, in kstack_cache_init()
|
| /freebsd-13.1/sys/arm/include/ |
| H A D | param.h | 128 #define USPACE_SVC_STACK_TOP (kstack_pages * PAGE_SIZE)
|
| /freebsd-13.1/sys/powerpc/include/ |
| H A D | param.h | 139 #define USPACE (kstack_pages * PAGE_SIZE) /* total size of pcb */
|
| /freebsd-13.1/sys/arm/arm/ |
| H A D | machdep.c | 381 thread0.td_kstack_pages = kstack_pages; in init_proc0() 533 kernelstack = pmap_preboot_get_vpages(kstack_pages); in initarm()
|
| /freebsd-13.1/sys/x86/xen/ |
| H A D | pv.c | 359 const size_t stacksize = kstack_pages * PAGE_SIZE; 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 D | mp_machdep.c | 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()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_param.c | 174 TUNABLE_INT_FETCH("kern.kstack_pages", &kstack_pages); in init_param1()
|
| H A D | kern_fork.c | 959 pages = kstack_pages; in fork1()
|
| H A D | kern_proc.c | 165 int kstack_pages = KSTACK_PAGES; variable 166 SYSCTL_INT(_kern, OID_AUTO, kstack_pages, CTLFLAG_RD, &kstack_pages, 0,
|
| /freebsd-13.1/sys/amd64/amd64/ |
| H A D | mp_machdep.c | 426 bootstacks[cpu] = (void *)kmem_malloc(kstack_pages * PAGE_SIZE, in native_start_all_aps() 441 kstack_pages * PAGE_SIZE - 8; in native_start_all_aps()
|
| H A D | machdep.c | 1357 thread0.td_kstack_pages = kstack_pages; in hammer_time()
|
| /freebsd-13.1/sys/powerpc/aim/ |
| H A D | mmu_oea.c | 962 pa = moea_bootstrap_alloc(kstack_pages * PAGE_SIZE, PAGE_SIZE); in moea_bootstrap() 964 virtual_avail = va + kstack_pages * PAGE_SIZE; in moea_bootstrap() 967 thread0.td_kstack_pages = kstack_pages; in moea_bootstrap() 968 for (i = 0; i < kstack_pages; i++) { in moea_bootstrap()
|
| H A D | mmu_oea64.c | 1217 pa = moea64_bootstrap_alloc(kstack_pages * PAGE_SIZE, PAGE_SIZE); in moea64_late_bootstrap() 1219 virtual_avail = va + kstack_pages * PAGE_SIZE; in moea64_late_bootstrap() 1222 thread0.td_kstack_pages = kstack_pages; in moea64_late_bootstrap() 1223 for (i = 0; i < kstack_pages; i++) { in moea64_late_bootstrap()
|
| H A D | mmu_radix.c | 2070 pa = allocpages(kstack_pages); in mmu_radix_late_bootstrap() 2072 virtual_avail = va + kstack_pages * PAGE_SIZE; in mmu_radix_late_bootstrap() 2075 for (i = 0; i < kstack_pages; i++) { in mmu_radix_late_bootstrap() 2080 thread0.td_kstack_pages = kstack_pages; in mmu_radix_late_bootstrap()
|
| /freebsd-13.1/sys/sys/ |
| H A D | systm.h | 60 extern int kstack_pages; /* number of kernel stack pages */
|
| /freebsd-13.1/sys/powerpc/booke/ |
| H A D | pmap.c | 829 kstack0_sz = kstack_pages * PAGE_SIZE; in mmu_booke_bootstrap() 925 thread0.td_kstack_pages = kstack_pages; in mmu_booke_bootstrap() 934 for (i = 0; i < kstack_pages; i++) { in mmu_booke_bootstrap()
|
| /freebsd-13.1/sys/x86/x86/ |
| H A D | mp_x86.c | 1127 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()
|