Home
last modified time | relevance | path

Searched refs:kstack_pages (Results 1 – 19 of 19) sorted by relevance

/freebsd-12-stable/sys/vm/
Dvm_glue.c314 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/
Dparam.h120 #define USPACE (kstack_pages * PAGE_SIZE) /* total size of pcb */
/freebsd-12-stable/sys/arm/include/
Dparam.h138 #define USPACE_SVC_STACK_TOP (kstack_pages * PAGE_SIZE)
/freebsd-12-stable/sys/i386/i386/
Dmp_machdep.c343 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/
Dpv.c360 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/
Dsubr_param.c167 TUNABLE_INT_FETCH("kern.kstack_pages", &kstack_pages); in init_param1()
Dkern_fork.c935 pages = kstack_pages; in fork1()
Dkern_proc.c166 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/
Dmachdep.c784 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/
Dmp_machdep.c490 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()
Dmachdep.c1681 thread0.td_kstack_pages = kstack_pages; in hammer_time()
/freebsd-12-stable/sys/riscv/riscv/
Dmp_machdep.c72 #define MP_BOOTSTACK_SIZE (kstack_pages * PAGE_SIZE)
/freebsd-12-stable/sys/ddb/
Ddb_ps.c530 PAGE_SIZE * kstack_pages) { in db_findstack_cmd()
/freebsd-12-stable/sys/powerpc/aim/
Dmmu_oea.c955 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()
Dmmu_oea64.c990 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/
Dmp_machdep.c79 #define MP_BOOTSTACK_SIZE (kstack_pages * PAGE_SIZE)
/freebsd-12-stable/sys/sys/
Dsystm.h59 extern int kstack_pages; /* number of kernel stack pages */
/freebsd-12-stable/sys/powerpc/booke/
Dpmap.c1921 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/
Dmp_x86.c1115 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()