Lines Matching refs:curthread

449 	(where) = ((curthread->t_did + DIF_VARIABLE_MAX) & \
1355 if ((proc = ttoproc(curthread)) != NULL &&
3013 if ((lwp = curthread->t_lwp) == NULL) {
3042 return ((uint64_t)(uintptr_t)curthread);
3061 return (curthread->t_dtrace_vtime);
3241 return ((uint64_t)curthread->t_procp->p_pidp->pid_id);
3277 return ((uint64_t)curthread->t_procp->p_ppid);
3300 return ((uint64_t)curthread->t_tid);
3339 (uintptr_t)curthread->t_procp->p_user.u_comm,
3380 (uintptr_t)curthread->t_procp->p_zone->zone_name,
3412 return ((uint64_t)curthread->t_procp->p_cred->cr_uid);
3454 return ((uint64_t)curthread->t_procp->p_cred->cr_gid);
3494 if ((lwp = curthread->t_lwp) == NULL)
3855 for (p = curthread->t_procp; p != NULL; p = p->p_parent) {
5801 curthread->t_predcache = NULL;
6150 if (dtrace_casptr(&dtrace_panicked, NULL, curthread) != NULL)
6188 if (curthread->t_dtrace_sig == 0)
6189 curthread->t_dtrace_sig = (uint8_t)sig;
6191 curthread->t_sig_check = 1;
6192 aston(curthread);
6210 if (!curthread->t_dtrace_stop) {
6211 curthread->t_dtrace_stop = 1;
6212 curthread->t_sig_check = 1;
6213 aston(curthread);
6449 * curthread will be set to -1) or the current thread can't allow
6452 if (((uintptr_t)curthread & 1) || (curthread->t_flag & T_DONTDTRACE))
6465 probe->dtpr_predcache == curthread->t_predcache) {
6490 if (vtime && curthread->t_dtrace_start)
6491 curthread->t_dtrace_vtime += now - curthread->t_dtrace_start;
6667 (proc = ttoproc(curthread)) == NULL ||
6751 curthread->t_predcache = cid;
6967 struct pid *pid = curthread->t_procp->p_pidp;
7127 curthread->t_dtrace_start = 0;
7161 curthread->t_dtrace_start = dtrace_gethrtime();
7536 dtrace_errthread = curthread;
9469 * curthread, pid, ppid, tid, execname, zonename, uid and gid variables.