| /f-stack/freebsd/vm/ |
| H A D | vm_glue.c | 386 td->td_kstack = ks; in vm_thread_new() 401 ks = td->td_kstack; in vm_thread_dispose() 402 td->td_kstack = 0; in vm_thread_dispose() 509 stack_top = td->td_kstack + td->td_kstack_pages * PAGE_SIZE; in intr_prof_stack_use() 516 if (stack_top <= current || current < td->td_kstack) in intr_prof_stack_use()
|
| H A D | vm_swapout.c | 536 kaddr = td->td_kstack; in vm_thread_swapout() 562 kaddr = td->td_kstack; in vm_thread_swapin()
|
| /f-stack/freebsd/arm64/include/ |
| H A D | proc.h | 63 (used) = (char *)td->td_kstack + \
|
| /f-stack/freebsd/i386/include/ |
| H A D | proc.h | 77 (used) = (char *)td->td_kstack + \
|
| /f-stack/freebsd/arm/arm/ |
| H A D | vm_machdep.c | 107 (td2->td_kstack + td2->td_kstack_pages * PAGE_SIZE) - 1; in cpu_fork() 258 td->td_pcb = (struct pcb *)(td->td_kstack + td->td_kstack_pages * in cpu_thread_alloc()
|
| H A D | machdep.c | 209 pcb->pcb_regs.sf_sp = (u_int)thread0.td_kstack + in cpu_startup() 700 thread0.td_kstack = kstack; in init_proc0() 702 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0()
|
| /f-stack/freebsd/mips/mips/ |
| H A D | vm_machdep.c | 250 pte = pmap_pte(kernel_pmap, td->td_kstack + i * PAGE_SIZE); in cpu_thread_swapin() 266 KASSERT((td->td_kstack & (1 << PAGE_SHIFT)) == 0, ("kernel stack must be aligned.")); in cpu_thread_alloc() 267 td->td_pcb = (struct pcb *)(td->td_kstack + in cpu_thread_alloc() 272 pte = pmap_pte(kernel_pmap, td->td_kstack + i * PAGE_SIZE); in cpu_thread_alloc()
|
| H A D | machdep.c | 292 thread0.td_kstack = kstack0; in mips_proc0_init() 299 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in mips_proc0_init()
|
| H A D | genassym.c | 75 ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack));
|
| /f-stack/freebsd/amd64/include/ |
| H A D | proc.h | 105 (used) = (char *)td->td_kstack + \
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | vm_machdep.c | 90 pcb2 = (struct pcb *)(td2->td_kstack + in cpu_fork() 244 td->td_pcb = (struct pcb *)(td->td_kstack + in cpu_thread_alloc()
|
| H A D | machdep.c | 904 thread0.td_kstack = kstack; in init_proc0() 906 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_thread.c | 90 (void *)thr->td_kstack); in db_show_threads()
|
| H A D | db_ps.c | 365 db_printf(" stack: %p-%p\n", (void *)td->td_kstack, in DB_SHOW_COMMAND() 366 (void *)(td->td_kstack + td->td_kstack_pages * PAGE_SIZE - 1)); in DB_SHOW_COMMAND()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | vm_machdep.c | 96 p = td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in get_pcb_user_save_td() 116 p = td->td_kstack + td->td_kstack_pages * PAGE_SIZE - in get_pcb_td()
|
| H A D | machdep.c | 2310 thread0.td_kstack = proc0kstack; in init386() 2417 common_tss0.tss_esp0 = thread0.td_kstack + thread0.td_kstack_pages * in init386()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_thread.c | 429 td->td_kstack = 0; in thread_init() 725 KASSERT(td->td_kstack == 0, ("thread_alloc got thread with kstack")); in thread_alloc() 742 KASSERT(td->td_kstack == 0, in thread_alloc_stack() 762 if (td->td_kstack != 0) in thread_free_batched()
|
| H A D | subr_epoch.c | 447 MPASS((vm_offset_t)et >= td->td_kstack && in _epoch_enter_preempt() 449 td->td_kstack + td->td_kstack_pages * PAGE_SIZE); in _epoch_enter_preempt()
|
| H A D | kern_fork.c | 947 if (td2->td_kstack == 0 || td2->td_kstack_pages != pages) { in fork1() 948 if (td2->td_kstack != 0) in fork1()
|
| H A D | kern_proc.c | 1297 kp->ki_kstack = (void *)td->td_kstack; in fill_kinfo_thread()
|
| /f-stack/freebsd/sys/ |
| H A D | proc.h | 359 vm_offset_t td_kstack; /* (a) Kernel VA of kstack. */ member 1227 return (va >= td->td_kstack && va + len >= va && in kstack_contains() 1228 va + len <= td->td_kstack + td->td_kstack_pages * PAGE_SIZE); in kstack_contains()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | vm_machdep.c | 92 td->td_md.md_stack_base = td->td_kstack + in set_top_of_stack_td()
|
| H A D | machdep.c | 1670 thread0.td_kstack = physfree + KERNBASE; in hammer_time() 1673 bzero((void *)thread0.td_kstack, kstack0_sz); in hammer_time()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | ldo.c | 44 local = (intptr_t)&local - (intptr_t)curthread->td_kstack; in stack_remaining()
|