Searched refs:kstack_pages (Results 1 – 19 of 19) sorted by relevance
| /freebsd-12-stable/sys/vm/ |
| D | vm_glue.c | 314 pages = kstack_pages; in vm_thread_new() 318 if (pages == kstack_pages && kstack_cache != NULL) { in vm_thread_new() 327 td->td_kstack_pages = kstack_pages; in vm_thread_new() 437 if (pages == kstack_pages && kstacks <= kstack_cache_size) { in vm_thread_dispose() 464 kstack_pages); in vm_thread_stack_lowmem()
|
| /freebsd-12-stable/sys/powerpc/include/ |
| D | param.h | 120 #define USPACE (kstack_pages * PAGE_SIZE) /* total size of pcb */
|
| /freebsd-12-stable/sys/arm/include/ |
| D | param.h | 138 #define USPACE_SVC_STACK_TOP (kstack_pages * PAGE_SIZE)
|
| /freebsd-12-stable/sys/i386/i386/ |
| D | mp_machdep.c | 343 bootstacks[cpu] = (char *)kmem_malloc(kstack_pages * PAGE_SIZE, in start_all_aps() 352 bootSTK = (char *)bootstacks[cpu] + kstack_pages * in start_all_aps()
|
| /freebsd-12-stable/sys/x86/xen/ |
| D | pv.c | 360 const size_t stacksize = kstack_pages * PAGE_SIZE; in start_xen_ap() 370 bootSTK = (char *)bootstacks[cpu] + kstack_pages * PAGE_SIZE - 8; in start_xen_ap()
|
| /freebsd-12-stable/sys/kern/ |
| D | subr_param.c | 167 TUNABLE_INT_FETCH("kern.kstack_pages", &kstack_pages); in init_param1()
|
| D | kern_fork.c | 935 pages = kstack_pages; in fork1()
|
| D | kern_proc.c | 166 int kstack_pages = KSTACK_PAGES; variable 167 SYSCTL_INT(_kern, OID_AUTO, kstack_pages, CTLFLAG_RD, &kstack_pages, 0,
|
| /freebsd-12-stable/sys/arm/arm/ |
| D | machdep.c | 784 thread0.td_kstack_pages = kstack_pages; in init_proc0() 956 valloc_pages(kernelstack, kstack_pages); in initarm() 1221 kernelstack = pmap_preboot_get_vpages(kstack_pages); in initarm()
|
| /freebsd-12-stable/sys/amd64/amd64/ |
| D | mp_machdep.c | 490 bootstacks[cpu] = (void *)kmem_malloc(kstack_pages * PAGE_SIZE, in native_start_all_aps() 504 kstack_pages * PAGE_SIZE - 8; in native_start_all_aps()
|
| D | machdep.c | 1681 thread0.td_kstack_pages = kstack_pages; in hammer_time()
|
| /freebsd-12-stable/sys/riscv/riscv/ |
| D | mp_machdep.c | 72 #define MP_BOOTSTACK_SIZE (kstack_pages * PAGE_SIZE)
|
| /freebsd-12-stable/sys/ddb/ |
| D | db_ps.c | 530 PAGE_SIZE * kstack_pages) { in db_findstack_cmd()
|
| /freebsd-12-stable/sys/powerpc/aim/ |
| D | mmu_oea.c | 955 pa = moea_bootstrap_alloc(kstack_pages * PAGE_SIZE, PAGE_SIZE); in moea_bootstrap() 957 virtual_avail = va + kstack_pages * PAGE_SIZE; in moea_bootstrap() 960 thread0.td_kstack_pages = kstack_pages; in moea_bootstrap() 961 for (i = 0; i < kstack_pages; i++) { in moea_bootstrap()
|
| D | mmu_oea64.c | 990 pa = moea64_bootstrap_alloc(kstack_pages * PAGE_SIZE, PAGE_SIZE); in moea64_late_bootstrap() 992 virtual_avail = va + kstack_pages * PAGE_SIZE; in moea64_late_bootstrap() 995 thread0.td_kstack_pages = kstack_pages; in moea64_late_bootstrap() 996 for (i = 0; i < kstack_pages; i++) { in moea64_late_bootstrap()
|
| /freebsd-12-stable/sys/arm64/arm64/ |
| D | mp_machdep.c | 79 #define MP_BOOTSTACK_SIZE (kstack_pages * PAGE_SIZE)
|
| /freebsd-12-stable/sys/sys/ |
| D | systm.h | 59 extern int kstack_pages; /* number of kernel stack pages */
|
| /freebsd-12-stable/sys/powerpc/booke/ |
| D | pmap.c | 1921 kstack0_sz = kstack_pages * PAGE_SIZE; in mmu_booke_bootstrap() 2017 thread0.td_kstack_pages = kstack_pages; in mmu_booke_bootstrap() 2026 for (i = 0; i < kstack_pages; i++) { in mmu_booke_bootstrap()
|
| /freebsd-12-stable/sys/x86/x86/ |
| D | mp_x86.c | 1115 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()
|