Lines Matching refs:td
324 fasttrap_scraddr(struct thread *td, fasttrap_proc_t *fprc)
333 if (td->t_dtrace_sscr != NULL) {
335 scrspc = (fasttrap_scrspace_t *)td->t_dtrace_sscr;
339 p = td->td_proc;
380 * This scratch space is reserved for use by td until the thread exits.
382 td->t_dtrace_sscr = scrspc;
395 fasttrap_thread_dtor(void *arg __unused, struct thread *td)
402 if (td->t_dtrace_sscr == NULL)
405 pid = td->td_proc->p_pid;
423 scrspc = (fasttrap_scrspace_t *)td->t_dtrace_sscr;
722 struct thread *td;
735 FOREACH_THREAD_IN_PROC(p, td)
736 td->t_dtrace_sscr = NULL;
1562 struct thread *td;
1594 FOREACH_THREAD_IN_PROC(p, td)
1595 td->t_dtrace_sscr = NULL;
2264 int devtype __unused, struct thread *td __unused)
2272 struct thread *td)
2276 const cred_t *cr = td->td_ucred;