| /freebsd-13.1/sys/arm/arm/ |
| H A D | machdep.c | 186 struct pcb *pcb = thread0.td_pcb; in cpu_startup() 367 set_curthread(&thread0); in pcpu0_init() 370 PCPU_SET(curthread, &thread0); in pcpu0_init() 379 proc_linkup0(&proc0, &thread0); in init_proc0() 380 thread0.td_kstack = kstack; in init_proc0() 381 thread0.td_kstack_pages = kstack_pages; in init_proc0() 382 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0() 384 thread0.td_pcb->pcb_flags = 0; in init_proc0() 385 thread0.td_pcb->pcb_vfpcpu = -1; in init_proc0() 387 thread0.td_frame = &proc0_tf; in init_proc0() [all …]
|
| H A D | undefined.c | 158 td = (curthread == NULL) ? &thread0 : curthread; in gdb_trapper() 243 td = curthread == NULL ? &thread0 : curthread; in undefinedinstruction()
|
| H A D | vfp.c | 144 thread0.td_pcb->pcb_vfpstate.fpscr = in vfp_init()
|
| /freebsd-13.1/sys/mips/mips/ |
| H A D | machdep.c | 274 PCPU_SET(curthread, &thread0); in mips_pcpu0_init() 287 proc_linkup0(&proc0, &thread0); in mips_proc0_init() 292 thread0.td_kstack = kstack0; in mips_proc0_init() 293 thread0.td_kstack_pages = KSTACK_PAGES; in mips_proc0_init() 299 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in mips_proc0_init() 300 thread0.td_kstack_pages * PAGE_SIZE) - 1; in mips_proc0_init() 301 thread0.td_frame = &thread0.td_pcb->pcb_regs; in mips_proc0_init() 306 PCPU_SET(curpcb, thread0.td_pcb); in mips_proc0_init()
|
| /freebsd-13.1/sys/riscv/riscv/ |
| H A D | machdep.c | 295 proc_linkup0(&proc0, &thread0); in init_proc0() 296 thread0.td_kstack = kstack; in init_proc0() 297 thread0.td_kstack_pages = KSTACK_PAGES; in init_proc0() 298 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0() 299 thread0.td_kstack_pages * PAGE_SIZE) - 1; in init_proc0() 300 thread0.td_pcb->pcb_fpflags = 0; in init_proc0() 301 thread0.td_frame = &proc0_tf; in init_proc0() 302 pcpup->pc_curpcb = thread0.td_pcb; in init_proc0() 490 TSRAW(&thread0, TS_ENTER, __func__, NULL); in initriscv() 499 PCPU_SET(curthread, &thread0); in initriscv()
|
| /freebsd-13.1/sys/arm64/arm64/ |
| H A D | machdep.c | 357 proc_linkup0(&proc0, &thread0); in init_proc0() 358 thread0.td_kstack = kstack; in init_proc0() 359 thread0.td_kstack_pages = KSTACK_PAGES; in init_proc0() 361 thread0.td_md.md_canary = boot_canary; in init_proc0() 363 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0() 365 thread0.td_pcb->pcb_fpflags = 0; in init_proc0() 366 thread0.td_pcb->pcb_fpusaved = &thread0.td_pcb->pcb_fpustate; in init_proc0() 367 thread0.td_pcb->pcb_vfpcpu = UINT_MAX; in init_proc0() 368 thread0.td_frame = &proc0_tf; in init_proc0() 369 pcpup->pc_curpcb = thread0.td_pcb; in init_proc0() [all …]
|
| H A D | vfp.c | 264 thread0.td_pcb->pcb_fpusaved->vfp_fpcr = initial_fpcr; in vfp_init()
|
| /freebsd-13.1/sys/powerpc/powerpc/ |
| H A D | machdep.c | 392 proc_linkup0(&proc0, &thread0); in powerpc_init() 393 thread0.td_frame = &frame0; in powerpc_init() 395 __asm __volatile("mr 13,%0" :: "r"(&thread0)); in powerpc_init() 397 __asm __volatile("mr 2,%0" :: "r"(&thread0)); in powerpc_init() 456 pc->pc_curthread = &thread0; in powerpc_init() 457 thread0.td_oncpu = bsp.cr_cpuid; in powerpc_init() 491 thread0.td_pcb = (struct pcb *) in powerpc_init() 492 ((thread0.td_kstack + thread0.td_kstack_pages * PAGE_SIZE - in powerpc_init() 494 bzero((void *)thread0.td_pcb, sizeof(struct pcb)); in powerpc_init() 495 pc->pc_curpcb = thread0.td_pcb; in powerpc_init() [all …]
|
| H A D | vm_machdep.c | 116 KASSERT(td1 == curthread || td1 == &thread0, in cpu_fork()
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | machdep.c | 1400 thread0.td_kstack = proc0kstack; in init386() 1407 proc_linkup0(&proc0, &thread0); in init386() 1471 PCPU_SET(curthread, &thread0); in init386() 1507 common_tss0.tss_esp0 = thread0.td_kstack + thread0.td_kstack_pages * in init386() 1571 thread0.td_pcb = get_pcb_td(&thread0); in init386() 1572 thread0.td_pcb->pcb_save = get_pcb_user_save_td(&thread0); in init386() 1579 PCPU_SET(curpcb, thread0.td_pcb); in init386() 1593 thread0.td_pcb->pcb_flags = 0; in init386() 1595 thread0.td_pcb->pcb_ext = 0; in init386() 1596 thread0.td_frame = &proc0_tf; in init386() [all …]
|
| H A D | elan-mmcr.c | 352 i = kernel_sysctlbyname(&thread0, "machdep.i8254_freq", in init_AMD_Elan_sc520()
|
| /freebsd-13.1/sys/amd64/amd64/ |
| H A D | machdep.c | 1207 PCPU_SET(curthread, &thread0); in amd64_bsp_pcpu_init1() 1224 PCPU_SET(curpcb, thread0.td_pcb); in amd64_bsp_pcpu_init2() 1351 proc_linkup0(&proc0, &thread0); in hammer_time() 1367 pmap_thread_init_invl_gen(&thread0); in hammer_time() 1512 set_top_of_stack_td(&thread0); in hammer_time() 1513 thread0.td_pcb = get_pcb_td(&thread0); in hammer_time() 1514 thread0.td_critnest = 1; in hammer_time() 1576 rsp0 = thread0.td_md.md_stack_base; in hammer_time() 1595 thread0.td_pcb->pcb_flags = 0; in hammer_time() 1596 thread0.td_frame = &proc0_tf; in hammer_time() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/chacha/asm/ |
| H A D | chacha-armv8.pl | 461 foreach (@thread0) { 467 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,1); 472 foreach (@thread0) { 809 my $diff = ($#thread0+1)*6 - $#thread67 - 1; 812 foreach (@thread0) { 821 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,1); 829 foreach (@thread0) { 916 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,0); 924 foreach (@thread0) { 933 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,1); [all …]
|
| H A D | chacha-armv4.pl | 732 my @thread0=&NEONROUND($a0,$b0,$c0,$d0,$t0,0); 737 foreach (@thread0) { 743 @thread0=&NEONROUND($a0,$b0,$c0,$d0,$t0,1); 748 foreach (@thread0) {
|
| H A D | chacha-ppc.pl | 597 my @thread0=&VMXROUND($A0,$B0,$C0,$D0,0); 602 foreach (@thread0) { 613 @thread0=&VMXROUND($A0,$B0,$C0,$D0,1); 618 foreach (@thread0) {
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/cpu/ |
| H A D | cpu-topology.txt | 195 thread0 { 204 thread0 { 215 thread0 { 224 thread0 { 237 thread0 { 245 thread0 { 256 thread0 { 264 thread0 {
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | cred.h | 55 #define kcred (thread0.td_ucred)
|
| /freebsd-13.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | cred.h | 46 #define kcred (thread0.td_ucred)
|
| /freebsd-13.1/contrib/diff/src/ |
| H A D | diff3.c | 221 struct diff_block *thread0, *thread1, *last_block; in main() local 379 thread0 = process_diff (file[rev_mapping[FILE0]], commonname, &last_block); in main() 380 diff3 = make_3way_diff (thread0, thread1); in main() 521 make_3way_diff (struct diff_block *thread0, struct diff_block *thread1) in make_3way_diff() argument 574 current[0] = thread0; current[1] = thread1; in make_3way_diff()
|
| /freebsd-13.1/sys/vm/ |
| H A D | vm_swapout.c | 626 if (curthread != &thread0) in faultin() 638 if (curthread != &thread0) { in faultin()
|
| H A D | swap_pager.c | 1344 bp->b_rcred = crhold(thread0.td_ucred); in swap_pager_getpages_locked() 1345 bp->b_wcred = crhold(thread0.td_ucred); in swap_pager_getpages_locked() 1549 bp->b_rcred = crhold(thread0.td_ucred); in swap_pager_putpages() 1550 bp->b_wcred = crhold(thread0.td_ucred); in swap_pager_putpages() 2607 error = swapoff_one(sp, thread0.td_ucred, SWAPOFF_FORCE); in swapoff_all()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_turnstile.c | 393 LIST_INIT(&thread0.td_contested); in init_turnstiles() 394 thread0.td_turnstile = NULL; in init_turnstiles() 435 thread0.td_turnstile = turnstile_alloc(); in init_turnstile0()
|
| H A D | init_main.c | 458 td = &thread0; in proc0_init() 804 error = fork1(&thread0, &fr); in create_init()
|
| H A D | kern_kthread.c | 101 error = fork1(&thread0, &fr); in kproc_create()
|
| H A D | subr_kdb.c | 613 return (&thread0); in kdb_thr_first()
|