| /freebsd-12.1/sys/vm/ |
| H A D | vm_glue.c | 339 td->td_kstack = (vm_offset_t)ks_ce; in vm_thread_new() 390 td->td_kstack = ks; in vm_thread_new() 447 ks = td->td_kstack; in vm_thread_dispose() 448 td->td_kstack = 0; in vm_thread_dispose() 516 stack_top = td->td_kstack + td->td_kstack_pages * PAGE_SIZE; in intr_prof_stack_use() 523 if (stack_top <= current || current < td->td_kstack) in intr_prof_stack_use()
|
| /freebsd-12.1/sys/dev/hwpmc/ |
| H A D | hwpmc_arm64_md.c | 79 stackstart = (uintptr_t) td->td_kstack; in pmc_save_kernel_callchain() 80 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; in pmc_save_kernel_callchain()
|
| H A D | hwpmc_arm.c | 95 stackstart = (uintptr_t) td->td_kstack; in pmc_save_kernel_callchain() 96 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; in pmc_save_kernel_callchain()
|
| H A D | hwpmc_x86.c | 181 stackstart = (uintptr_t) td->td_kstack; in pmc_save_kernel_callchain() 182 stackend = (uintptr_t) td->td_kstack + td->td_kstack_pages * PAGE_SIZE; in pmc_save_kernel_callchain()
|
| /freebsd-12.1/sys/x86/x86/ |
| H A D | stack_machdep.c | 85 if ((vm_offset_t)frame < td->td_kstack || in stack_capture() 86 (vm_offset_t)frame >= td->td_kstack + in stack_capture()
|
| /freebsd-12.1/sys/ddb/ |
| H A D | db_ps.c | 355 db_printf(" stack: %p-%p\n", (void *)td->td_kstack, in DB_SHOW_COMMAND() 356 (void *)(td->td_kstack + td->td_kstack_pages * PAGE_SIZE - 1)); in DB_SHOW_COMMAND() 519 if (td->td_kstack <= saddr && saddr < td->td_kstack + in db_findstack_cmd()
|
| H A D | db_thread.c | 100 (void *)thr->td_kstack); in db_show_threads()
|
| /freebsd-12.1/sys/riscv/riscv/ |
| H A D | vm_machdep.c | 78 pcb2 = (struct pcb *)(td2->td_kstack + in cpu_fork() 219 td->td_pcb = (struct pcb *)(td->td_kstack + in cpu_thread_alloc()
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | vm_machdep.c | 252 pte = pmap_pte(kernel_pmap, td->td_kstack + i * PAGE_SIZE); in cpu_thread_swapin() 268 KASSERT((td->td_kstack & (1 << PAGE_SHIFT)) == 0, ("kernel stack must be aligned.")); in cpu_thread_alloc() 269 td->td_pcb = (struct pcb *)(td->td_kstack + in cpu_thread_alloc() 274 pte = pmap_pte(kernel_pmap, td->td_kstack + i * PAGE_SIZE); in cpu_thread_alloc()
|
| H A D | machdep.c | 291 thread0.td_kstack = kstack0; in mips_proc0_init() 298 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in mips_proc0_init()
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | vm_machdep.c | 87 pcb2 = (struct pcb *)(td2->td_kstack + in cpu_fork() 228 td->td_pcb = (struct pcb *)(td->td_kstack + in cpu_thread_alloc()
|
| /freebsd-12.1/sys/powerpc/include/ |
| H A D | proc.h | 73 (used) = (char *)td->td_kstack + \
|
| /freebsd-12.1/sys/arm64/include/ |
| H A D | proc.h | 64 (used) = (char *)td->td_kstack + \
|
| /freebsd-12.1/sys/sparc64/include/ |
| H A D | proc.h | 73 (used) = (char *)td->td_kstack + \
|
| /freebsd-12.1/sys/arm/arm/ |
| H A D | vm_machdep.c | 107 (td2->td_kstack + td2->td_kstack_pages * PAGE_SIZE) - 1; in cpu_fork() 301 td->td_pcb = (struct pcb *)(td->td_kstack + td->td_kstack_pages * in cpu_thread_alloc()
|
| H A D | machdep.c | 245 pcb->pcb_regs.sf_sp = (u_int)thread0.td_kstack + in cpu_startup() 772 thread0.td_kstack = kstack; in init_proc0() 774 (thread0.td_kstack + kstack_pages * PAGE_SIZE) - 1; in init_proc0()
|
| /freebsd-12.1/sys/i386/include/ |
| H A D | proc.h | 78 (used) = (char *)td->td_kstack + \
|
| /freebsd-12.1/sys/amd64/include/ |
| H A D | proc.h | 100 (used) = (char *)td->td_kstack + \
|
| /freebsd-12.1/sys/sparc64/sparc64/ |
| H A D | vm_machdep.c | 123 pcb = (struct pcb *)((td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in cpu_thread_alloc() 258 pcb2 = (struct pcb *)((td2->td_kstack + td2->td_kstack_pages * in cpu_fork()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_thread.c | 275 td->td_kstack = 0; in thread_init() 409 KASSERT(td->td_kstack == 0, ("thread_alloc got thread with kstack")); in thread_alloc() 422 KASSERT(td->td_kstack == 0, in thread_alloc_stack() 442 if (td->td_kstack != 0) in thread_free()
|
| /freebsd-12.1/sys/powerpc/powerpc/ |
| H A D | vm_machdep.c | 124 pcb = (struct pcb *)((td2->td_kstack + in cpu_fork()
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | vm_machdep.c | 105 p = td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in get_pcb_user_save_td() 125 p = td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in get_pcb_td()
|
| /freebsd-12.1/sys/amd64/amd64/ |
| H A D | vm_machdep.c | 99 p = td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in get_pcb_user_save_td() 119 p = td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in get_pcb_td()
|
| /freebsd-12.1/sys/cddl/dev/dtrace/amd64/ |
| H A D | dtrace_isa.c | 93 (vm_offset_t)frame->f_frame >= curthread->td_kstack + in dtrace_getpcstack() 471 (vm_offset_t)frame->f_frame >= curthread->td_kstack + in dtrace_getstackdepth()
|
| /freebsd-12.1/sys/cddl/dev/dtrace/i386/ |
| H A D | dtrace_isa.c | 95 (vm_offset_t)frame->f_frame >= curthread->td_kstack + in dtrace_getpcstack() 493 (vm_offset_t)frame->f_frame >= curthread->td_kstack + in dtrace_getstackdepth()
|