/freebsd-current/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 + 367 set_curthread(&thread0); 370 PCPU_SET(curthread, &thread0); 379 proc_linkup0(&proc0, &thread0); 380 thread0.td_kstack = kstack; 381 thread0.td_kstack_pages = kstack_pages; 382 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 383 thread0 [all...] |
H A D | undefined.c | 155 td = (curthread == NULL) ? &thread0 : curthread; 237 * Get the current thread/proc structure or thread0/proc0 if there is 240 td = curthread == NULL ? &thread0 : curthread;
|
H A D | vfp.c | 171 thread0.td_pcb->pcb_vfpstate.fpscr =
|
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | cred.h | 55 #define kcred (thread0.td_ucred)
|
/freebsd-current/sys/cddl/compat/opensolaris/sys/ |
H A D | cred.h | 44 #define kcred (thread0.td_ucred)
|
/freebsd-current/sys/riscv/riscv/ |
H A D | machdep.c | 292 proc_linkup0(&proc0, &thread0); 293 thread0.td_kstack = kstack; 294 thread0.td_kstack_pages = KSTACK_PAGES; 295 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 296 thread0.td_kstack_pages * PAGE_SIZE) - 1; 297 thread0.td_pcb->pcb_fpflags = 0; 298 thread0.td_frame = &proc0_tf; 299 pcpup->pc_curpcb = thread0.td_pcb; 487 TSRAW(&thread0, TS_ENTE [all...] |
/freebsd-current/sys/powerpc/powerpc/ |
H A D | machdep.c | 388 * Start initializing proc0 and thread0. 390 proc_linkup0(&proc0, &thread0); 391 thread0.td_frame = &frame0; 393 __asm __volatile("mr 13,%0" :: "r"(&thread0)); 395 __asm __volatile("mr 2,%0" :: "r"(&thread0)); 454 pc->pc_curthread = &thread0; 455 thread0.td_oncpu = bsp.cr_cpuid; 487 * Finish setting up thread0. 489 thread0.td_pcb = (struct pcb *) 490 ((thread0 [all...] |
H A D | vm_machdep.c | 114 KASSERT(td1 == curthread || td1 == &thread0,
|
/freebsd-current/sys/arm64/arm64/ |
H A D | machdep.c | 399 proc_linkup0(&proc0, &thread0); 400 thread0.td_kstack = kstack; 401 thread0.td_kstack_pages = KSTACK_PAGES; 403 thread0.td_md.md_canary = boot_canary; 405 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + 406 thread0.td_kstack_pages * PAGE_SIZE) - 1; 407 thread0.td_pcb->pcb_flags = 0; 408 thread0.td_pcb->pcb_fpflags = 0; 409 thread0 [all...] |
H A D | vfp.c | 338 thread0.td_pcb->pcb_fpusaved->vfp_fpcr = VFPCR_INIT;
|
/freebsd-current/sys/i386/i386/ |
H A D | machdep.c | 1395 thread0.td_kstack = proc0kstack; 1396 thread0.td_kstack_pages = TD0_KSTACK_PAGES; 1402 proc_linkup0(&proc0, &thread0); 1470 PCPU_SET(curthread, &thread0); 1507 common_tss0.tss_esp0 = thread0.td_kstack + thread0.td_kstack_pages * 1572 * Set up thread0 pcb after npxinit calculated pcb + fpu save 1576 thread0.td_pcb = get_pcb_td(&thread0); 1577 thread0 [all...] |
H A D | elan-mmcr.c | 350 i = kernel_sysctlbyname(&thread0, "machdep.i8254_freq",
|
/freebsd-current/sys/amd64/amd64/ |
H A D | machdep.c | 1199 PCPU_SET(curthread, &thread0); 1216 PCPU_SET(curpcb, thread0.td_pcb); 1298 TSRAW(&thread0, TS_ENTER, __func__, NULL); 1358 proc_linkup0(&proc0, &thread0); 1363 thread0.td_kstack = physfree - kernphys + KERNSTART; 1364 thread0.td_kstack_pages = kstack_pages; 1365 kstack0_sz = thread0.td_kstack_pages * PAGE_SIZE; 1366 bzero((void *)thread0.td_kstack, kstack0_sz); 1370 * Initialize enough of thread0 for delayed invalidation to 1371 * work very early. Rely on thread0 [all...] |
/freebsd-current/crypto/openssl/crypto/chacha/asm/ |
H A D | chacha-armv8.pl | 946 my @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,0); 953 my $diff = ($#thread0+1)*6 - $#thread67 - 1; 956 foreach (@thread0) { 965 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,1); 973 foreach (@thread0) { 1060 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,0); 1068 foreach (@thread0) { 1077 @thread0=&NEONROUND($A0,$B0,$C0,$D0,$T0,1); 1085 foreach (@thread0) {
|
H A D | chacha-armv4.pl | 741 my @thread0=&NEONROUND($a0,$b0,$c0,$d0,$t0,0); 746 foreach (@thread0) { 752 @thread0=&NEONROUND($a0,$b0,$c0,$d0,$t0,1); 757 foreach (@thread0) {
|
H A D | chacha-ppc.pl | 601 my @thread0=&VMXROUND($A0,$B0,$C0,$D0,0); 606 foreach (@thread0) { 617 @thread0=&VMXROUND($A0,$B0,$C0,$D0,1); 622 foreach (@thread0) {
|
/freebsd-current/sys/kern/ |
H A D | kern_tslog.c | 59 /* A NULL thread is thread0 before curthread is set. */ 61 td = &thread0;
|
H A D | subr_kdb.c | 511 KASSERT(td == &thread0 && cold, 665 return (&thread0);
|
H A D | subr_turnstile.c | 391 LIST_INIT(&thread0.td_contested); 392 thread0.td_turnstile = NULL; 433 thread0.td_turnstile = turnstile_alloc();
|
H A D | kern_kthread.c | 97 error = fork1(&thread0, &fr);
|
H A D | init_main.c | 474 td = &thread0; 822 error = fork1(&thread0, &fr);
|
H A D | sched_ule.c | 1542 /* Add thread0's load since it's running. */ 1544 thread0.td_lock = TDQ_LOCKPTR(tdq); 1545 tdq_load_add(tdq, &thread0); 1546 tdq->tdq_curthread = &thread0; 1547 tdq->tdq_lowpri = thread0.td_priority; 1774 * Set up the scheduler specific parts of thread0. 1776 ts0 = td_get_sched(&thread0);
|
/freebsd-current/contrib/diff/src/ |
H A D | diff3.c | 223 struct diff_block *thread0, *thread1, *last_block; 380 thread0 = process_diff (file[rev_mapping[FILE0]], commonname, &last_block); 381 diff3 = make_3way_diff (thread0, thread1); 523 make_3way_diff (struct diff_block *thread0, struct diff_block *thread1) 576 current[0] = thread0; current[1] = thread1; 221 struct diff_block *thread0, *thread1, *last_block; local 520 make_3way_diff(struct diff_block *thread0, struct diff_block *thread1) argument
|
/freebsd-current/sys/vm/ |
H A D | vm_swapout.c | 627 if (curthread != &thread0) 639 if (curthread != &thread0) {
|
H A D | swap_pager.c | 1358 bp->b_rcred = crhold(thread0.td_ucred); 1359 bp->b_wcred = crhold(thread0.td_ucred); 1547 bp->b_rcred = crhold(thread0.td_ucred); 1548 bp->b_wcred = crhold(thread0.td_ucred); 2608 error = swapoff_one(sp, thread0.td_ucred, SWAPOFF_FORCE);
|