Lines Matching defs:thread
229 struct thread { struct
232 TAILQ_ENTRY(thread) td_plist; /* (*) All threads in this proc. */ argument
235 TAILQ_ENTRY(thread) td_slpq; /* (t) Sleep queue. */ argument
251 u_char td_allocdomain; /* (b) NUMA domain backing this struct thread. */ argument
257 int td_pflags; /* (k) Private thread (TDP_*) flags. */ argument
258 int td_pflags2; /* (k) Private thread (TDP2_*) flags. */ argument
270 struct turnstile *td_blocked; /* (t) Lock thread is blocked on. */ argument
271 const char *td_lockname; /* (t) Name of lock blocked on. */
273 struct lock_list_entry *td_sleeplocks; /* (k) Held sleep locks. */
274 int td_intr_nesting_level; /* (k) Interrupt recursion. */
275 int td_pinned; /* (k) Temporary cpu pin count. */
276 struct ucred *td_realucred; /* (k) Reference to credentials. */
277 struct ucred *td_ucred; /* (k) Used credentials, temporarily switchable. */
278 struct plimit *td_limit; /* (k) Resource limits. */
279 int td_slptick; /* (t) Time at sleep. */
280 int td_blktick; /* (t) Time spent blocked. */
281 int td_swvoltick; /* (t) Time at last SW_VOL switch. */
282 int td_swinvoltick; /* (t) Time at last SW_INVOL switch. */
283 u_int td_cow; /* (*) Number of copy-on-write faults */
284 struct rusage td_ru; /* (t) rusage information. */
285 struct rusage_ext td_rux; /* (t) Internal rusage information. */
286 uint64_t td_incruntime; /* (t) Cpu ticks to transfer to proc. */
287 uint64_t td_runtime; /* (t) How many cpu ticks we've run. */
288 u_int td_pticks; /* (t) Statclock hits for profiling */
289 u_int td_sticks; /* (t) Statclock hits in system mode. */
290 u_int td_iticks; /* (t) Statclock hits in intr mode. */
291 u_int td_uticks; /* (t) Statclock hits in user mode. */
292 int td_intrval; /* (t) Return value for sleepq. */
293 sigset_t td_oldsigmask; /* (k) Saved mask from pre sigpause. */
294 volatile u_int td_generation; /* (k) For detection of preemption */
318 /* Copied during fork1() or create_thread(). */ argument
339 * Fields that must be manually set in fork1() or create_thread() argument
349 } td_state; /* (t) thread state */ argument
362 struct mdthread td_md; /* (k) Any machine-dependent fields. */ argument
365 struct kdtrace_thread *td_dtrace; /* (*) DTrace-specific data. */ argument
384 struct thread t0st_thread; argument