Home
last modified time | relevance | path

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

/freebsd-13.1/sys/vm/
H A Dvm_glue.c369 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 Dparam.h128 #define USPACE_SVC_STACK_TOP (kstack_pages * PAGE_SIZE)
/freebsd-13.1/sys/powerpc/include/
H A Dparam.h139 #define USPACE (kstack_pages * PAGE_SIZE) /* total size of pcb */
/freebsd-13.1/sys/arm/arm/
H A Dmachdep.c381 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 Dpv.c359 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 Dmp_machdep.c396 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 Dsubr_param.c174 TUNABLE_INT_FETCH("kern.kstack_pages", &kstack_pages); in init_param1()
H A Dkern_fork.c959 pages = kstack_pages; in fork1()
H A Dkern_proc.c165 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 Dmp_machdep.c426 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 Dmachdep.c1357 thread0.td_kstack_pages = kstack_pages; in hammer_time()
/freebsd-13.1/sys/powerpc/aim/
H A Dmmu_oea.c962 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 Dmmu_oea64.c1217 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 Dmmu_radix.c2070 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 Dsystm.h60 extern int kstack_pages; /* number of kernel stack pages */
/freebsd-13.1/sys/powerpc/booke/
H A Dpmap.c829 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 Dmp_x86.c1127 kmem_free((vm_offset_t)bootstacks[cpu], kstack_pages * in smp_after_idle_runnable()