| /f-stack/freebsd/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()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | machdep.c | 186 struct pcb *pcb = thread0.td_pcb; in cpu_startup() 687 set_curthread(&thread0); in pcpu0_init() 690 PCPU_SET(curthread, &thread0); in pcpu0_init() 699 proc_linkup0(&proc0, &thread0); in init_proc0() 700 thread0.td_kstack = kstack; in init_proc0() 701 thread0.td_kstack_pages = kstack_pages; in init_proc0() 702 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0() 704 thread0.td_pcb->pcb_flags = 0; in init_proc0() 705 thread0.td_pcb->pcb_vfpcpu = -1; in init_proc0() 707 thread0.td_frame = &proc0_tf; in init_proc0() [all …]
|
| H A D | undefined.c | 146 td = (curthread == NULL) ? &thread0 : curthread; in gdb_trapper() 231 td = curthread == NULL ? &thread0 : curthread; in undefinedinstruction()
|
| H A D | vfp.c | 144 thread0.td_pcb->pcb_vfpstate.fpscr = in vfp_init()
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | machdep.c | 903 proc_linkup0(&proc0, &thread0); in init_proc0() 904 thread0.td_kstack = kstack; in init_proc0() 905 thread0.td_kstack_pages = KSTACK_PAGES; in init_proc0() 906 thread0.td_pcb = (struct pcb *)(thread0.td_kstack + in init_proc0() 907 thread0.td_kstack_pages * PAGE_SIZE) - 1; in init_proc0() 908 thread0.td_pcb->pcb_fpflags = 0; in init_proc0() 909 thread0.td_pcb->pcb_fpusaved = &thread0.td_pcb->pcb_fpustate; in init_proc0() 910 thread0.td_pcb->pcb_vfpcpu = UINT_MAX; in init_proc0() 911 thread0.td_frame = &proc0_tf; in init_proc0() 912 pcpup->pc_curpcb = thread0.td_pcb; in init_proc0() [all …]
|
| H A D | vfp.c | 244 thread0.td_pcb->pcb_fpusaved->vfp_fpcr = initial_fpcr; in vfp_init()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | machdep.c | 1560 PCPU_SET(curthread, &thread0); in amd64_bsp_pcpu_init1() 1577 PCPU_SET(curpcb, thread0.td_pcb); in amd64_bsp_pcpu_init2() 1665 proc_linkup0(&proc0, &thread0); in hammer_time() 1827 set_top_of_stack_td(&thread0); in hammer_time() 1828 thread0.td_pcb = get_pcb_td(&thread0); in hammer_time() 1829 thread0.td_critnest = 1; in hammer_time() 1895 set_top_of_stack_td(&thread0); in hammer_time() 1896 thread0.td_pcb->pcb_save = get_pcb_user_save_td(&thread0); in hammer_time() 1923 thread0.td_pcb->pcb_flags = 0; in hammer_time() 1924 thread0.td_frame = &proc0_tf; in hammer_time() [all …]
|
| /f-stack/freebsd/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 {
|
| /f-stack/freebsd/i386/i386/ |
| H A D | machdep.c | 2310 thread0.td_kstack = proc0kstack; in init386() 2317 proc_linkup0(&proc0, &thread0); in init386() 2381 PCPU_SET(curthread, &thread0); in init386() 2417 common_tss0.tss_esp0 = thread0.td_kstack + thread0.td_kstack_pages * in init386() 2481 thread0.td_pcb = get_pcb_td(&thread0); in init386() 2482 thread0.td_pcb->pcb_save = get_pcb_user_save_td(&thread0); in init386() 2489 PCPU_SET(curpcb, thread0.td_pcb); in init386() 2503 thread0.td_pcb->pcb_flags = 0; in init386() 2505 thread0.td_pcb->pcb_ext = 0; in init386() 2506 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()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | cred.h | 51 #define kcred (thread0.td_ucred)
|
| /f-stack/lib/ |
| H A D | ff_compat.c | 91 pcurthread = &thread0; in ff_init_thread0()
|
| H A D | ff_init_main.c | 356 td = &thread0; in proc0_init()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_swapout.c | 623 if (curthread != &thread0) in faultin() 635 if (curthread != &thread0) { in faultin()
|
| H A D | swap_pager.c | 1327 bp->b_rcred = crhold(thread0.td_ucred); in swap_pager_getpages_locked() 1328 bp->b_wcred = crhold(thread0.td_ucred); in swap_pager_getpages_locked() 1532 bp->b_rcred = crhold(thread0.td_ucred); in swap_pager_putpages() 1533 bp->b_wcred = crhold(thread0.td_ucred); in swap_pager_putpages() 2556 error = swapoff_one(sp, thread0.td_ucred); in swapoff_all()
|
| /f-stack/freebsd/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 | 457 td = &thread0; in proc0_init() 802 error = fork1(&thread0, &fr); in create_init()
|
| H A D | kern_kthread.c | 100 error = fork1(&thread0, &fr); in kproc_create()
|
| H A D | kern_synch.c | 320 if ((cold && curthread == &thread0) || kdb_active || in pause_sbt()
|
| H A D | subr_sleepqueue.c | 235 thread0.td_sleepqueue = sleepq_alloc(); in init_sleepqueues() 408 if (cold && td == &thread0) in sleepq_set_timeout_sbt()
|
| H A D | sched_ule.c | 1463 thread0.td_lock = TDQ_LOCKPTR(tdq); in sched_setup() 1464 tdq_load_add(tdq, &thread0); in sched_setup() 1465 tdq->tdq_lowpri = thread0.td_priority; in sched_setup() 1695 ts0 = td_get_sched(&thread0); in schedinit()
|
| H A D | sched_4bsd.c | 676 thread0.td_lock = &sched_lock; in schedinit() 677 td_get_sched(&thread0)->ts_slice = sched_slice; in schedinit()
|
| H A D | subr_epoch.c | 290 SLIST_INIT(&thread0.td_epochs); in epoch_init()
|
| /f-stack/doc/ |
| H A D | F-Stack_Development_Guide.md | 59 pcpu curthread proc0 thread0, initialization
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_syncache.c | 958 thread0.td_ucred, m, false)) != 0) { in syncache_socket() 998 thread0.td_ucred, m, false)) != 0) { in syncache_socket()
|