Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c320 rw_exit(&tid->rw_lock); in t_insert()
385 rw_exit(&tid->rw_lock); in t_insert6()
495 tid) == B_TRUE) { in t_traverse_delete()
500 tid) == B_TRUE) { in t_traverse_delete()
615 c_node = tid->trie; in t_remove()
617 &tid); in t_remove()
618 rw_exit(&tid->rw_lock); in t_remove()
683 rw_exit(&tid->rw_lock); in t_remove6()
769 rw_exit(&tid->rw_lock); in t_retrieve()
789 c_node = tid->trie; in t_retrieve6()
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTrace.cc113 tid, in message()
114 indent[tid].c_str(), in message()
139 tid = pthread_self(); in Trace()
140 if (stacks.size() < tid+1) { in Trace()
141 stacks.resize(tid+1); in Trace()
142 indent.resize(tid+1); in Trace()
143 indent[tid] = ""; in Trace()
146 stacks[tid].push_back(this); in Trace()
147 indent[tid] += " "; in Trace()
156 indent[tid].resize(len - 1); in ~Trace()
[all …]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c179 tid->paused++; in arn_tx_pause_tid()
193 tid->paused--; in arn_tx_resume_tid()
224 tid->paused--; in arn_tx_flush_tid()
253 while (tid->baw_head != tid->baw_tail && !tid->tx_buf[tid->baw_head]) { in arn_tx_update_baw()
275 if (index >= ((tid->baw_tail - tid->baw_head) & in arn_tx_addto_baw()
315 tid->seq_next = tid->seq_start; in arn_tid_drain()
316 tid->baw_tail = tid->baw_head; in arn_tid_drain()
494 if (tid->baw_head == tid->baw_tail) { in arn_tx_complete_aggr()
2348 tid->seq_start = tid->seq_next = 0; in arn_tx_node_init()
2350 tid->baw_head = tid->baw_tail = 0; in arn_tx_node_init()
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthread.c50 _thr_setinherit(pthread_t tid, int inherit) in _thr_setinherit() argument
55 if ((ulwp = find_lwp(tid)) == NULL) { in _thr_setinherit()
72 if ((ulwp = find_lwp(tid)) == NULL) { in _thr_setparam()
114 pthread_t tid; in pthread_create() local
159 ulwp_t *ulwp = find_lwp(tid); in pthread_create()
163 (void) __lwp_detach(tid); in pthread_create()
169 *thread = tid; in pthread_create()
171 (void) thr_continue(tid); in pthread_create()
236 if ((ulwp = find_lwp(tid)) == NULL) { in pthread_getschedparam()
280 pthread_setschedparam(pthread_t tid, in pthread_setschedparam() argument
[all …]
H A Dthr.c76 #define TIDHASH(tid, udp) (tid & (udp)->hash_mask) argument
507 if (tid == 0) in find_lwpp()
539 find_lwp(thread_t tid) in find_lwp() argument
569 thread_t tid; in _thrp_create() local
688 *new_thread = tid; in _thrp_create()
691 ulwp->ul_lwpid = tid; in _thrp_create()
1097 return ((tid == 0)? ESRCH : _thrp_join(tid, NULL, status, 1)); in pthread_join()
2520 if (tid == 0 || self->ul_lwpid == tid) { in thr_getstate()
2544 *lwp = tid; in thr_getstate()
2711 if (tid == 0) { in thr_setmutator()
[all …]
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c59 timeout_id_t tid; member
266 tsp->tid = 0; in xcalwd_attach()
320 tsp->tid = 0; in xcalwd_timeout()
369 tsp->tid = 0; in xcalwd_close()
378 tid = tsp->tid; in xcalwd_close()
379 tsp->tid = 0; in xcalwd_close()
381 if (tid != 0) in xcalwd_close()
424 tid = 0; in xcalwd_ioctl()
430 tid = tsp->tid; in xcalwd_ioctl()
464 tid = 0; in xcalwd_ioctl()
[all …]
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dforth.c129 fth_null_header(ctf_id_t tid) in fth_null_header() argument
160 return (tid); in find_member_cb()
167 find_member(ctf_id_t tid, char *memname) in find_member() argument
181 ctf_id_t ltid = 0, tid; in fth_section_init() local
198 if ((tid = find_type(part)) == CTF_ERR || in fth_section_init()
199 (tid = ctf_type_resolve(ctf, tid)) == CTF_ERR || in fth_section_init()
200 (kind = ctf_type_kind(ctf, tid)) == CTF_ERR) { in fth_section_init()
213 if ((tid = find_member(ltid, part)) <= 0) { in fth_section_init()
219 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) { in fth_section_init()
234 ltid = tid; in fth_section_init()
[all …]
H A Dfth_struct.c177 fth_struct_header(ctf_id_t tid) in fth_struct_header() argument
181 fth_str_curtid = tid; in fth_struct_header()
332 if (ctf_array_info(ctf, tid, &ar) == CTF_ERR) { in fth_print_array()
357 ctf_id_t tid; in fth_print_member() local
361 if ((tid = ctf_type_resolve(ctf, mem->fsm_tid)) == CTF_ERR) { in fth_print_member()
366 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) { in fth_print_member()
371 if ((sz = ctf_type_size(ctf, tid)) == CTF_ERR) { in fth_print_member()
378 if (ctf_type_encoding(ctf, tid, &e) == CTF_ERR) in fth_print_member()
379 return (parse_warn("Can't get encoding for %ld", tid)); in fth_print_member()
407 return (parse_warn("Type %ld in %s.%s is undefined", tid, in fth_print_member()
[all …]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcallout.c40 timer_t tid; in timeout() local
50 err = timer_create(CLOCK_REALTIME, &sev, &tid); in timeout()
56 err = timer_settime(tid, 0, &its, NULL); in timeout()
58 (void) timer_delete(tid); in timeout()
63 return (timeout_base + tid); in timeout()
72 timer_t tid; in untimeout() local
79 tid = (int)(id_cp - timeout_base); in untimeout()
83 rc = timer_settime(tid, 0, &its, &oits); in untimeout()
92 rc = timer_delete(tid); in untimeout()
H A Dthread.c31 thread_t tid; in _curthread() local
33 tid = thr_self(); in _curthread()
34 return ((kthread_t *)(uintptr_t)tid); in _curthread()
99 thread_t tid = (thread_t)(uintptr_t)kt; in tsignal() local
101 (void) thr_kill(tid, sig); in tsignal()
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dlatencytop.d198 @lt_call_count[pid, tid, stack(), this->cause,
200 @lt_call_sum[pid, tid, stack(), this->cause,
202 @lt_call_max[pid, tid, stack(), this->cause,
218 @lt_named_sum[pid, tid, "Wait for available CPU"] =
220 @lt_named_max[pid, tid, "Wait for available CPU"] =
360 @lt_call_count[pid, tid, stack(), this->cause,
362 @lt_call_sum[pid, tid, stack(), this->cause,
364 @lt_call_max[pid, tid, stack(), this->cause,
383 @lt_call_count[pid, tid, stack(), this->cause,
385 @lt_call_sum[pid, tid, stack(), this->cause,
[all …]
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c63 thread_t tid; in abilock() local
66 tid = (*abi_thr_self)(); in abilock()
68 if (tid == locktid) { in abilock()
73 locktid = tid; in abilock()
82 thread_t tid; in abiunlock() local
87 tid = (*abi_thr_self)(); in abiunlock()
88 assert(tid == locktid); in abiunlock()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rexecd.c141 au_tid_addr_t tid; local
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;
252 au_tid_addr_t tid; local
297 tid.at_addr[0] = addr[0];
298 tid.at_addr[1] = addr[1];
299 tid.at_addr[2] = addr[2];
[all …]
H A Dau_to.c482 if (tid->at_type == AU_IPv6) { in au_to_process_ex()
492 if (tid->at_type == AU_IPv6) { in au_to_process_ex()
516 if (tid->at_type == AU_IPv6) { in au_to_process_ex()
520 adr_char(&adr, (char *)tid->at_addr, 4); in au_to_process_ex()
635 if (tid->at_type == AU_IPv6) { in au_to_subject_ex()
647 if (tid->at_type == AU_IPv6) { in au_to_subject_ex()
672 if (tid->at_type == AU_IPv6) { in au_to_subject_ex()
676 adr_char(&adr, (char *)tid->at_addr, 4); in au_to_subject_ex()
1021 au_to_tid(au_generic_tid_t *tid) in au_to_tid() argument
1028 switch (tid->gt_type) { in au_to_tid()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.h95 #define PTL_GETREGS(t, tid, gregs) \ argument
97 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (gregs)))
99 #define PTL_SETREGS(t, tid, gregs) \ argument
101 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (gregs)))
105 #define PTL_GETXREGS(t, tid, xregs) \ argument
107 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (xregs)))
109 #define PTL_SETXREGS(t, tid, xregs) \ argument
111 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (xregs)))
115 #define PTL_GETFPREGS(t, tid, fpregs) \ argument
117 ((pt_data_t *)((t)->t_data))->p_ptl_hdl, (tid), (fpregs)))
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.roch.d50 (long long)curthread, pid, tid,
60 (long long) curthread, pid, tid,
68 (long long)curthread, pid, tid);
74 (long long)curthread, pid, tid, (int)arg1, (int)arg0);
80 (long long)curthread, pid, tid, arg0);
86 (long long) curthread, pid, tid, arg0);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_pipesvc.c44 pthread_t tid; member
124 pthread_t tid; in smbd_pipesvc_start() local
145 rc = pthread_create(&tid, &tattr, pipesvc_listener, pl); in smbd_pipesvc_start()
148 pipe_listeners[i].tid = tid; in smbd_pipesvc_start()
167 if (pipe_listeners[i].tid == 0) in smbd_pipesvc_stop()
169 (void) pthread_kill(pipe_listeners[i].tid, SIGTERM); in smbd_pipesvc_stop()
170 pipe_listeners[i].tid = 0; in smbd_pipesvc_stop()
182 pthread_t tid; in pipesvc_listener() local
237 rc = pthread_create(&tid, NULL, pipesvc_worker, np); in pipesvc_listener()
244 (void) pthread_detach(tid); in pipesvc_listener()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dtimer.c127 ASSERT(p->p_itimer_sz > tid); in timer_delete_locked()
128 ASSERT(p->p_itimer[tid] == it); in timer_delete_locked()
129 p->p_itimer[tid] = NULL; in timer_delete_locked()
202 timer_grab(proc_t *p, timer_t tid) in timer_grab() argument
206 if (tid < 0) { in timer_grab()
213 (it = itp[tid]) == NULL) { in timer_grab()
256 timer_delete_locked(p, tid, it); in timer_delete_grabbed()
881 timer_delete(timer_t tid) in timer_delete() argument
895 timer_getoverrun(timer_t tid) in timer_getoverrun() argument
1065 timer_t tid; in timer_close_port() local
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h31 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \ argument
35 V_FW_WR_FLOWID(tid)); \
39 #define INIT_TP_WR(w, tid) do { \ argument
43 V_FW_WR_FLOWID(tid)); \
47 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \ argument
48 INIT_TP_WR(w, tid); \
49 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswstate.c385 thread_t *tid) in _get_nsw_state_int() argument
514 if (tid == NULL) { in _get_nsw_state_int()
538 else if (thread_only && base->used_by_thr && base->tid != *tid) in _get_nsw_state_int()
608 if (tid == NULL) { in _get_nsw_state_int()
635 base->tid = *tid; in _get_nsw_state_int()
684 thread_t tid = thr_self(); in _nscd_get_nsw_state_thread() local
692 thread_t *tid) in _put_nsw_state_int() argument
721 if (tid != NULL) in _put_nsw_state_int()
741 _nscd_logit(me, "tid = %d\n", (tid == NULL) ? -1 : *tid); in _put_nsw_state_int()
785 _nscd_logit(me, "tid = %d\n", (tid == NULL) ? -1 : *tid); in _put_nsw_state_int()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c94 thread_t tid; in svcblock() local
123 THR_BOUND | THR_DETACHED, &tid); in svcblock()
175 thread_t tid; in svcrdma() local
189 THR_BOUND | THR_DETACHED, &tid)) in svcrdma()
198 thread_t tid; in svcwait() local
206 THR_BOUND | THR_DETACHED, &tid)) in svcwait()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c57 thread_t tid; /* main nscd tid */ member
119 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add() argument
130 pid, tid); in waiting_list_add()
135 wl->tid = tid; in waiting_list_add()
153 waiting_list_delete(chg_info_t *info, thread_t tid) in waiting_list_delete() argument
158 if (wl->tid == tid) { in waiting_list_delete()
188 waiting_list_cleanup(chg_info_t *chg, thread_t tid) in waiting_list_cleanup() argument
192 rc = waiting_list_delete(chg, tid); in waiting_list_cleanup()
287 if (thr_kill(chg_main_nscd.tid, 0) == 0) { in chg_get_statusChange()
321 chg_main_nscd.tid = this_tid; in chg_get_statusChange()
[all …]
/illumos-gate/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)
154 sthread_t tid; in mi_monitor_init() local
166 r = thread_create(&tid, mi_monitor_thread, (void *)NULL); in mi_monitor_init()
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c381 uint8_t tid; in ieee80211_ampdu_reorder() local
393 tid = wh->i_qos[0]; in ieee80211_ampdu_reorder()
394 tid &= IEEE80211_QOS_TID; in ieee80211_ampdu_reorder()
395 rap = &in->in_rx_ampdu[tid]; in ieee80211_ampdu_reorder()
556 int tid, off; in ieee80211_recv_bar() local
561 rap = &in->in_rx_ampdu[tid]; in ieee80211_recv_bar()
1141 int tid, ac, bufsiz; in ieee80211_aggr_recv_action() local
1205 ac = TID_TO_WME_AC(tid); in ieee80211_aggr_recv_action()
1242 ac = TID_TO_WME_AC(tid); in ieee80211_aggr_recv_action()
1325 int tid, dialogtoken; in ieee80211_ampdu_request() local
[all …]
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrace.c183 struct trace_ids tid[MAXTID]; in main() local
200 tp = tid; in main()
205 tid[0].ti_mid = -1; in main()
206 tid[0].ti_sid = -1; in main()
207 tid[0].ti_level = -1; in main()
219 istr.ic_dp = (char *)tid; in main()

12345678910>>...12