Home
last modified time | relevance | path

Searched refs:td_oncpu (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/kern/
H A Dsched_4bsd.c792 childtd->td_oncpu = NOCPU; in sched_fork_thread()
993 td->td_lastcpu = td->td_oncpu; in sched_switch()
998 td->td_oncpu = NOCPU; in sched_switch()
1105 td->td_oncpu = PCPU_GET(cpuid); in sched_switch()
1681 td->td_lastcpu = td->td_oncpu; in sched_throw()
1682 td->td_oncpu = NOCPU; in sched_throw()
1697 td->td_oncpu = PCPU_GET(cpuid); in sched_fork_exit()
1786 if (THREAD_CAN_SCHED(td, td->td_oncpu)) in sched_affinity()
H A Dsched_ule.c2063 td->td_lastcpu = td->td_oncpu; in sched_switch()
2145 td->td_oncpu = NOCPU; in sched_switch()
2147 cpuid = td->td_oncpu = PCPU_GET(cpuid); in sched_switch()
2275 child->td_oncpu = NOCPU; in sched_fork_thread()
2914 td->td_lastcpu = td->td_oncpu; in sched_throw()
2915 td->td_oncpu = NOCPU; in sched_throw()
2951 td->td_oncpu = cpuid; in sched_fork_exit()
H A Dkern_rmlock.c453 pc = cpuid_to_pcpu[td->td_oncpu]; /* pcpu_find(td->td_oncpu); */ in _rm_rlock()
518 pc = cpuid_to_pcpu[td->td_oncpu]; /* pcpu_find(td->td_oncpu); */ in _rm_runlock()
H A Dkern_proc.c148 const int thread_off_td_oncpu = offsetof(struct thread, td_oncpu);
1284 if (td->td_oncpu == NOCPU) in fill_kinfo_thread()
1286 else if (td->td_oncpu > MAXCPU_OLD) in fill_kinfo_thread()
1289 kp->ki_oncpu_old = td->td_oncpu; in fill_kinfo_thread()
1292 kp->ki_oncpu = td->td_oncpu; in fill_kinfo_thread()
H A Dinit_main.c509 td->td_oncpu = curcpu; in proc0_init()
H A Dsubr_smp.c208 id = td->td_oncpu; in forward_signal()
H A Dkern_racct.c1167 cpuid = td->td_oncpu; in racct_proc_throttle()
H A Dsubr_turnstile.c1199 db_printf("running on CPU %d\n", td->td_oncpu); in print_lockchain()
H A Dsubr_witness.c2349 if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU) in witness_display_spinlock()
2351 pc = pcpu_find(owner->td_oncpu); in witness_display_spinlock()
H A Dkern_thread.c350 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor()
/f-stack/freebsd/x86/x86/
H A Dstack_machdep.c137 cpuid = atomic_load_int(&td->td_oncpu); in stack_save_td()
H A Dcpu_machdep.c171 bound_cpu = td->td_oncpu; in x86_msr_op()
/f-stack/freebsd/ddb/
H A Ddb_ps.c315 snprintf(state, sizeof(state), "CPU %d", td->td_oncpu); in dumpthread()
381 db_printf("RUNNING (CPU %d)\n", td->td_oncpu); in DB_SHOW_COMMAND()
H A Ddb_command.c861 (long)td->td_tid, td, td->td_oncpu); in _db_stack_trace_all()
/f-stack/lib/
H A Dff_init_main.c423 td->td_oncpu = 0; in proc0_init()
/f-stack/freebsd/sys/
H A Dproc.h375 int td_oncpu; /* (t) Which cpu we are on. */ member