/freebsd-13-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | cred.h | 46 #define kcred (thread0.td_ucred)
|
/freebsd-13-stable/sys/mips/mips/ |
H A D | machdep.c | 274 PCPU_SET(curthread, &thread0); 287 proc_linkup0(&proc0, &thread0); 292 thread0.td_kstack = kstack0; 293 thread0.td_kstack_pages = KSTACK_PAGES; 296 * thread0 is the only thread that has kstack located in KSEG0 299 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 300 thread0.td_kstack_pages * PAGE_SIZE) - 1; 301 thread0.td_frame = &thread0 [all...] |
/freebsd-13-stable/sys/powerpc/powerpc/ |
H A D | machdep.c | 390 * Start initializing proc0 and thread0. 392 proc_linkup0(&proc0, &thread0); 393 thread0.td_frame = &frame0; 395 __asm __volatile("mr 13,%0" :: "r"(&thread0)); 397 __asm __volatile("mr 2,%0" :: "r"(&thread0)); 447 pc->pc_curthread = &thread0; 448 thread0.td_oncpu = bsp.cr_cpuid; 480 * Finish setting up thread0. 482 thread0.td_pcb = (struct pcb *) 483 ((thread0 [all...] |
H A D | vm_machdep.c | 116 KASSERT(td1 == curthread || td1 == &thread0,
|
/freebsd-13-stable/sys/arm/arm/ |
H A D | machdep.c | 186 struct pcb *pcb = thread0.td_pcb; 209 pcb->pcb_regs.sf_sp = (u_int)thread0.td_kstack + 687 set_curthread(&thread0); 690 PCPU_SET(curthread, &thread0); 699 proc_linkup0(&proc0, &thread0); 700 thread0.td_kstack = kstack; 701 thread0.td_kstack_pages = kstack_pages; 702 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 703 thread0 [all...] |
H A D | undefined.c | 146 td = (curthread == NULL) ? &thread0 : curthread; 228 * Get the current thread/proc structure or thread0/proc0 if there is 231 td = curthread == NULL ? &thread0 : curthread;
|
H A D | vfp.c | 144 thread0.td_pcb->pcb_vfpstate.fpscr =
|
/freebsd-13-stable/sys/riscv/riscv/ |
H A D | machdep.c | 678 proc_linkup0(&proc0, &thread0); 679 thread0.td_kstack = kstack; 680 thread0.td_kstack_pages = KSTACK_PAGES; 681 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 682 thread0.td_kstack_pages * PAGE_SIZE) - 1; 683 thread0.td_pcb->pcb_fpflags = 0; 684 thread0.td_frame = &proc0_tf; 685 pcpup->pc_curpcb = thread0.td_pcb; 870 TSRAW(&thread0, TS_ENTE [all...] |
/freebsd-13-stable/sys/arm64/arm64/ |
H A D | machdep.c | 918 proc_linkup0(&proc0, &thread0); 919 thread0.td_kstack = kstack; 920 thread0.td_kstack_pages = KSTACK_PAGES; 921 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 922 thread0.td_kstack_pages * PAGE_SIZE) - 1; 923 thread0.td_pcb->pcb_fpflags = 0; 924 thread0.td_pcb->pcb_fpusaved = &thread0.td_pcb->pcb_fpustate; 925 thread0 [all...] |
H A D | vfp.c | 265 thread0.td_pcb->pcb_fpusaved->vfp_fpcr = initial_fpcr;
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | cred.h | 51 #define kcred (thread0.td_ucred)
|
/freebsd-13-stable/sys/amd64/amd64/ |
H A D | machdep.c | 1546 PCPU_SET(curthread, &thread0); 1563 PCPU_SET(curpcb, thread0.td_pcb); 1617 TSRAW(&thread0, TS_ENTER, __func__, NULL); 1651 proc_linkup0(&proc0, &thread0); 1656 thread0.td_kstack = physfree + KERNBASE; 1657 thread0.td_kstack_pages = kstack_pages; 1658 kstack0_sz = thread0.td_kstack_pages * PAGE_SIZE; 1659 bzero((void *)thread0.td_kstack, kstack0_sz); 1663 * Initialize enough of thread0 for delayed invalidation to 1664 * work very early. Rely on thread0 [all...] |
/freebsd-13-stable/crypto/openssl/crypto/chacha/asm/ |
H A D | chacha-armv8.pl | 456 my @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,0); 461 foreach (@thread0) { 467 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,1); 472 foreach (@thread0) { 802 my @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,0); 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 [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-stable/sys/i386/i386/ |
H A D | machdep.c | 2318 thread0.td_kstack = proc0kstack; 2319 thread0.td_kstack_pages = TD0_KSTACK_PAGES; 2325 proc_linkup0(&proc0, &thread0); 2389 PCPU_SET(curthread, &thread0); 2425 common_tss0.tss_esp0 = thread0.td_kstack + thread0.td_kstack_pages * 2485 * Set up thread0 pcb after npxinit calculated pcb + fpu save 2489 thread0.td_pcb = get_pcb_td(&thread0); 2490 thread0 [all...] |
H A D | elan-mmcr.c | 352 i = kernel_sysctlbyname(&thread0, "machdep.i8254_freq",
|
/freebsd-13-stable/contrib/diff/src/ |
H A D | diff3.c | 223 struct diff_block *thread0, *thread1, *last_block; 381 thread0 = process_diff (file[rev_mapping[FILE0]], commonname, &last_block); 382 diff3 = make_3way_diff (thread0, thread1); 524 make_3way_diff (struct diff_block *thread0, struct diff_block *thread1) 577 current[0] = thread0; current[1] = thread1; 221 struct diff_block *thread0, *thread1, *last_block; local 521 make_3way_diff(struct diff_block *thread0, struct diff_block *thread1) argument
|
/freebsd-13-stable/sys/vm/ |
H A D | vm_swapout.c | 623 if (curthread != &thread0) 635 if (curthread != &thread0) {
|
H A D | swap_pager.c | 1344 bp->b_rcred = crhold(thread0.td_ucred); 1345 bp->b_wcred = crhold(thread0.td_ucred); 1549 bp->b_rcred = crhold(thread0.td_ucred); 1550 bp->b_wcred = crhold(thread0.td_ucred); 2597 error = swapoff_one(sp, thread0.td_ucred);
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_kthread.c | 101 error = fork1(&thread0, &fr);
|
H A D | subr_turnstile.c | 393 LIST_INIT(&thread0.td_contested); 394 thread0.td_turnstile = NULL; 435 thread0.td_turnstile = turnstile_alloc();
|
H A D | kern_synch.c | 320 if ((cold && curthread == &thread0) || kdb_active ||
|
H A D | init_main.c | 457 td = &thread0; 803 error = fork1(&thread0, &fr);
|
H A D | subr_sleepqueue.c | 235 thread0.td_sleepqueue = sleepq_alloc(); 408 if (cold && td == &thread0)
|