Searched refs:tid (Results 1 - 25 of 61) sorted by relevance

123

/osnet-11/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c63 thread_t tid; local
66 tid = (*abi_thr_self)();
68 if (tid == locktid) {
73 locktid = tid;
82 thread_t tid; local
87 tid = (*abi_thr_self)();
88 assert(tid == locktid);
/osnet-11/usr/src/lib/sun_fc/common/
H A DTrace.cc112 tid,
113 indent[tid].c_str(),
138 tid = pthread_self();
139 if (stacks.size() < tid+1) {
140 stacks.resize(tid+1);
141 indent.resize(tid+1);
142 indent[tid] = "";
145 stacks[tid].push_back(this);
146 indent[tid] += " ";
153 string::size_type len = indent[tid]
[all...]
/osnet-11/usr/src/lib/libc/port/threads/
H A Dpthread.c49 _thr_setparam(pthread_t tid, int policy, int prio) argument
55 if ((ulwp = find_lwp(tid)) == NULL) {
69 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) {
97 pthread_t tid; local
114 flag, &tid, ap->guardsize);
124 error = _thr_setparam(tid, ap->policy, ap->prio);
132 ulwp_t *ulwp = find_lwp(tid);
136 (void) __lwp_detach(tid);
142 *thread = tid;
144 (void) thr_continue(tid);
195 pthread_getschedparam(pthread_t tid, int *policy, struct sched_param *param) argument
230 thr_getprio(thread_t tid, int *priority) argument
245 pthread_setschedparam(pthread_t tid, int policy, const struct sched_param *param) argument
253 thr_setprio(thread_t tid, int prio) argument
[all...]
H A Dthr.c73 #define TIDHASH(tid, udp) (tid & (udp)->hash_mask)
495 find_lwpp(thread_t tid) argument
498 int ix = TIDHASH(tid, udp);
503 if (tid == 0)
510 if (ulwp->ul_lwpid == tid)
535 find_lwp(thread_t tid) argument
542 if (self->ul_lwpid == tid) {
545 } else if ((ulwpp = find_lwpp(tid)) != NULL) {
565 thread_t tid; local
981 _thrp_join(thread_t tid, thread_t *departed, void **status, int do_cancel) argument
1068 thr_join(thread_t tid, thread_t *departed, void **status) argument
1082 pthread_join(pthread_t tid, void **status) argument
1088 pthread_detach(pthread_t tid) argument
1809 thread_t tid = ulwp->ul_lwpid; local
1904 _thrp_suspend(thread_t tid, uchar_t whystopped) argument
2088 _thrp_continue(thread_t tid, uchar_t whystopped) argument
2129 thr_suspend(thread_t tid) argument
2135 thr_continue(thread_t tid) argument
2149 thr_kill(thread_t tid, int sig) argument
2378 thr_getstate(thread_t tid, int *flag, lwpid_t *lwp, stack_t *ss, gregset_t rs) argument
2425 thr_setstate(thread_t tid, int flag, gregset_t rs) argument
2457 getlwpstatus(thread_t tid, struct lwpstatus *sp) argument
2481 putlwpregs(thread_t tid, prgregset_t prp) argument
2542 gettsp_slow(thread_t tid) argument
2558 __gettsp(thread_t tid) argument
2595 thr_setmutator(thread_t tid, int enabled) argument
2737 thr_suspend_mutator(thread_t tid) argument
2790 thr_continue_mutator(thread_t tid) argument
2797 thr_wait_mutator(thread_t tid, int dontwait) argument
[all...]
/osnet-11/usr/src/lib/libmtmalloc/tests/
H A Dgeneral.c48 thread_t tid[512]; /* We'll never have more than that! hah */ local
54 thr_create(NULL, 1<<23, be_thread, NULL, THR_BOUND, &tid[i--]);
H A Dexhaust.c50 thread_t tid[512]; local
75 &tid[ncpus]);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Bin/
H A Dthreaded.d54 @sample[pid, execname] = lquantize(tid, 0, 128, 1);
H A Dj_thread.d54 printf("%-20Y %6d/%-5d => %s\n", walltimestamp, pid, tid,
62 printf("%-20Y %6d/%-5d <= %s\n", walltimestamp, pid, tid,
H A Dphp_syscolors.d74 cpu, pid, tid, this->delta, basename(copyinstr(arg1)), arg2, "func",
87 cpu, pid, tid, this->delta, basename(copyinstr(arg1)), arg2, "func",
97 cpu, pid, tid, this->delta, "\"", "syscall", self->depth * 2, "",
107 cpu, pid, tid, this->delta, "\"", "syscall", self->depth * 2, "",
H A Dphp_flowinfo.d72 printf("%d %6d/%-4d %10d %16s:%-4d %-8s %*s-> %s\n", cpu, pid, tid,
84 printf("%d %6d/%-4d %10d %16s:%-4d %-8s %*s<- %s\n", cpu, pid, tid,
H A Dj_syscolors.d88 pid, tid, this->delta, "method", self->depth[arg0] * 2, "",
105 pid, tid, this->delta, "method", self->depth[arg0] * 2, "",
116 cpu, pid, tid, this->delta, "syscall", self->depthlast * 2, "",
126 cpu, pid, tid, this->delta, "syscall", self->depthlast * 2, "",
H A Dj_flowtime.d81 printf("%3d %6d/%-5d %-16d %9d %*s-> %s.%s\n", cpu, pid, tid,
97 printf("%3d %6d/%-5d %-16d %9d %*s<- %s.%s\n", cpu, pid, tid,
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Proc/
H A Dthreaded.d54 @sample[pid, execname] = lquantize(tid, 0, 128, 1);
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Java/
H A Dj_thread.d54 printf("%-20Y %6d/%-5d => %s\n", walltimestamp, pid, tid,
62 printf("%-20Y %6d/%-5d <= %s\n", walltimestamp, pid, tid,
H A Dj_syscolors.d88 pid, tid, this->delta, "method", self->depth[arg0] * 2, "",
105 pid, tid, this->delta, "method", self->depth[arg0] * 2, "",
116 cpu, pid, tid, this->delta, "syscall", self->depthlast * 2, "",
126 cpu, pid, tid, this->delta, "syscall", self->depthlast * 2, "",
H A Dj_flowtime.d81 printf("%3d %6d/%-5d %-16d %9d %*s-> %s.%s\n", cpu, pid, tid,
97 printf("%3d %6d/%-5d %-16d %9d %*s<- %s.%s\n", cpu, pid, tid,
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_rexecd.c141 au_tid_addr_t tid; local
185 tid.at_port = aug_get_port();
186 tid.at_addr[0] = addr[0];
187 tid.at_addr[1] = addr[1];
188 tid.at_addr[2] = addr[2];
189 tid.at_addr[3] = addr[3];
190 tid.at_type = type;
196 au_to_subject_ex(uid, uid, gid, uid, gid, pid, pid, &tid));
252 au_tid_addr_t tid; local
296 tid
[all...]
H A Dau_to.c423 pid_t pid, au_asid_t sid, au_tid_t *tid)
450 adr_int64(&adr, (int64_t *)&tid->port, 1);
452 adr_int32(&adr, (int32_t *)&tid->port, 1);
454 adr_int32(&adr, (int32_t *)&tid->machine, 1);
466 pid_t pid, au_asid_t sid, au_tid_addr_t *tid)
473 if (tid->at_type == AU_IPv6) {
483 if (tid->at_type == AU_IPv6) {
503 adr_int64(&adr, (int64_t *)&tid->at_port, 1);
505 adr_int32(&adr, (int32_t *)&tid->at_port, 1);
507 if (tid
422 au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid) argument
465 au_to_process_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid) argument
546 au_to_subject(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid) argument
590 au_to_subject_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid) argument
984 au_to_tid(au_generic_tid_t *tid) argument
[all...]
/osnet-11/usr/src/cmd/dtrace_toolkit/DTT/Php/
H A Dphp_syscolors.d74 cpu, pid, tid, this->delta, basename(copyinstr(arg1)), arg2, "func",
87 cpu, pid, tid, this->delta, basename(copyinstr(arg1)), arg2, "func",
97 cpu, pid, tid, this->delta, "\"", "syscall", self->depth * 2, "",
107 cpu, pid, tid, this->delta, "\"", "syscall", self->depth * 2, "",
H A Dphp_flowinfo.d72 printf("%d %6d/%-4d %10d %16s:%-4d %-8s %*s-> %s\n", cpu, pid, tid,
84 printf("%d %6d/%-4d %10d %16s:%-4d %-8s %*s<- %s\n", cpu, pid, tid,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Carp/
H A DHeavy.pm136 if (defined &Thread::tid) {
137 my $tid = Thread->self->tid;
138 $tid_msg = " thread $tid" if $tid;
163 if (defined &Thread::tid) {
164 my $tid = Thread->self->tid;
165 $tid_msg = " thread $tid" if $tid;
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dpids.c23 #define FORMAT "PID=%(pid)d PPID=%(ppid)d PGID=%(pgid)d TID=%(tid)d SID=%(sid)d"
42 "[+tid|tty?The controlling terminal id.]"
63 long tid; local
71 else if (streq(s, "tid") || streq(s, "tty"))
74 if ((tid = tcgetpgrp(fd)) >= 0)
76 *pn = tid;
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dmonitor.c83 sthread_t tid; local
89 tid = (sthread_t) sthread_get_id();
90 if (pthread_detach(tid) != 0)
107 "WARNING: monitor timeout triggered, now=%ld, end=%ld, tid=%ld, state=0x%x",\
154 sthread_t tid; local
166 r = thread_create(&tid, mi_monitor_thread, (void *)NULL);
H A Dsignal.c166 sthread_t tid; local
182 r = thread_create(&tid, mi_signal_thread, (void *)name);
/osnet-11/usr/src/lib/libcmdutils/common/
H A Ddecompress.c61 pthread_t tid; member in struct:worker
269 wk->tid = thr;
346 if (wk->tid != 0) {
347 (void) pthread_cancel(wk->tid);
348 (void) pthread_join(wk->tid, NULL);

Completed in 38 milliseconds

123