Home
last modified time | relevance | path

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

/freebsd-12.1/sys/vm/
H A Dvm_glue.c327 pages = kstack_pages; in vm_thread_new()
331 if (pages == kstack_pages && kstack_cache != NULL) { in vm_thread_new()
340 td->td_kstack_pages = kstack_pages; in vm_thread_new()
450 if (pages == kstack_pages && kstacks <= kstack_cache_size) { in vm_thread_dispose()
477 kstack_pages); in vm_thread_stack_lowmem()
/freebsd-12.1/sys/powerpc/include/
H A Dparam.h120 #define USPACE (kstack_pages * PAGE_SIZE) /* total size of pcb */
/freebsd-12.1/sys/arm/include/
H A Dparam.h138 #define USPACE_SVC_STACK_TOP (kstack_pages * PAGE_SIZE)
/freebsd-12.1/sys/i386/i386/
H A Dmp_machdep.c331 bootstacks[cpu] = (char *)kmem_malloc(kstack_pages * PAGE_SIZE, in start_all_aps()
340 bootSTK = (char *)bootstacks[cpu] + kstack_pages * in start_all_aps()
/freebsd-12.1/sys/x86/xen/
H A 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.1/sys/kern/
H A Dsubr_param.c167 TUNABLE_INT_FETCH("kern.kstack_pages", &kstack_pages); in init_param1()
H A Dkern_fork.c920 pages = kstack_pages; in fork1()
H A Dkern_proc.c166 int kstack_pages = KSTACK_PAGES; variable
167 SYSCTL_INT(_kern, OID_AUTO, kstack_pages, CTLFLAG_RD, &kstack_pages, 0,
/freebsd-12.1/sys/arm/arm/
H A Dmachdep.c774 (thread0.td_kstack + kstack_pages * PAGE_SIZE) - 1; in init_proc0()
944 valloc_pages(kernelstack, kstack_pages * MAXCPU); in initarm()
1209 kernelstack = pmap_preboot_get_vpages(kstack_pages * MAXCPU); in initarm()
/freebsd-12.1/sys/amd64/amd64/
H A Dmp_machdep.c440 bootstacks[cpu] = (void *)kmem_malloc(kstack_pages * PAGE_SIZE, in native_start_all_aps()
449 bootSTK = (char *)bootstacks[cpu] + kstack_pages * PAGE_SIZE - 8; in native_start_all_aps()
H A Dmachdep.c1615 thread0.td_kstack_pages = kstack_pages; in hammer_time()
/freebsd-12.1/sys/ddb/
H A Ddb_ps.c530 PAGE_SIZE * kstack_pages) { in db_findstack_cmd()
/freebsd-12.1/sys/powerpc/aim/
H A Dmmu_oea.c946 pa = moea_bootstrap_alloc(kstack_pages * PAGE_SIZE, PAGE_SIZE); in moea_bootstrap()
948 virtual_avail = va + kstack_pages * PAGE_SIZE; in moea_bootstrap()
951 thread0.td_kstack_pages = kstack_pages; in moea_bootstrap()
952 for (i = 0; i < kstack_pages; i++) { in moea_bootstrap()
H A 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.1/sys/sys/
H A Dsystm.h59 extern int kstack_pages; /* number of kernel stack pages */
/freebsd-12.1/sys/x86/x86/
H A Dmp_x86.c1086 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()
/freebsd-12.1/sys/powerpc/booke/
H A 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()