Home
last modified time | relevance | path

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

1234567891011

/titanic_50/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c216 t_insert(trie_id_t *tid, key_t id, uint32_t key, uint32_t mask) in t_insert() argument
221 uint8_t key_len = (uint8_t)tid->key_len; in t_insert()
225 ++tid->stats.num_dontcare; in t_insert()
229 rw_enter(&tid->rw_lock, RW_WRITER); in t_insert()
230 c_node = tid->trie; /* point at trie root */ in t_insert()
312 ++tid->stats.num_inserted; in t_insert()
317 if (tid->info.dontcareonly == B_TRUE) { in t_insert()
318 tid->info.dontcareonly = B_FALSE; in t_insert()
320 rw_exit(&tid->rw_lock); in t_insert()
330 t_insert6(trie_id_t *tid, key_t id, in6_addr_t key, in6_addr_t mask) in t_insert6() argument
[all …]
/titanic_50/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()
154 string::size_type len = indent[tid].size(); in ~Trace()
[all …]
/titanic_50/usr/src/uts/common/io/arn/
H A Darn_xmit.c98 struct ath_atx_tid *tid, list_t *bf_list);
133 struct ath_atx_tid *tid; in arn_aggr_query() local
134 tid = ATH_AN_2_TID(an, tidno); in arn_aggr_query()
136 if (tid->state & AGGR_ADDBA_COMPLETE || in arn_aggr_query()
137 tid->state & AGGR_ADDBA_PROGRESS) in arn_aggr_query()
148 arn_tx_queue_tid(struct ath_txq *txq, struct ath_atx_tid *tid) in arn_tx_queue_tid() argument
150 struct ath_atx_ac *ac = tid->ac; in arn_tx_queue_tid()
153 if (tid->paused) in arn_tx_queue_tid()
157 if (tid->sched) in arn_tx_queue_tid()
160 tid->sched = B_TRUE; in arn_tx_queue_tid()
[all …]
/titanic_50/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c59 timeout_id_t tid; member
266 tsp->tid = 0; in xcalwd_attach()
319 if (tsp->started == B_FALSE || tsp->tid == 0) { in xcalwd_timeout()
320 tsp->tid = 0; in xcalwd_timeout()
358 timeout_id_t tid; in xcalwd_close() local
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()
382 (void) untimeout(tid); in xcalwd_close()
[all …]
/titanic_50/usr/src/lib/libc/port/threads/
H A Dpthread.c49 _thr_setparam(pthread_t tid, int policy, int prio) in _thr_setparam() argument
55 if ((ulwp = find_lwp(tid)) == NULL) { in _thr_setparam()
69 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) { in _thr_setparam()
97 pthread_t tid; in pthread_create() local
114 flag, &tid, ap->guardsize); in pthread_create()
124 error = _thr_setparam(tid, ap->policy, ap->prio); in pthread_create()
132 ulwp_t *ulwp = find_lwp(tid); in pthread_create()
136 (void) __lwp_detach(tid); in pthread_create()
142 *thread = tid; in pthread_create()
144 (void) thr_continue(tid); in pthread_create()
[all …]
H A Dthr.c75 #define TIDHASH(tid, udp) (tid & (udp)->hash_mask) argument
498 find_lwpp(thread_t tid) in find_lwpp() argument
501 int ix = TIDHASH(tid, udp); in find_lwpp()
506 if (tid == 0) in find_lwpp()
513 if (ulwp->ul_lwpid == tid) in find_lwpp()
538 find_lwp(thread_t tid) in find_lwp() argument
545 if (self->ul_lwpid == tid) { in find_lwp()
548 } else if ((ulwpp = find_lwpp(tid)) != NULL) { in find_lwp()
568 thread_t tid; in _thrp_create() local
674 (error = __lwp_create(&uc, lwp_flags, &tid)) != 0) { in _thrp_create()
[all …]
/titanic_50/usr/src/tools/ctf/stabs/common/
H A Dforth.c129 fth_null_header(ctf_id_t tid) in fth_null_header() argument
155 find_member_cb(const char *memname, ctf_id_t tid, ulong_t off, void *arg) in find_member_cb() argument
160 return (tid); in find_member_cb()
167 find_member(ctf_id_t tid, char *memname) in find_member() argument
169 return (ctf_member_iter(ctf, tid, find_member_cb, memname)); in find_member()
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()
[all …]
H A Dfth_struct.c159 fth_struct_header(ctf_id_t tid) in fth_struct_header() argument
163 fth_str_curtid = tid; in fth_struct_header()
299 fth_print_array(char *memname, ctf_id_t tid, ulong_t off, ssize_t sz, in fth_print_array() argument
313 if (ctf_array_info(ctf, tid, &ar) == CTF_ERR) { in fth_print_array()
338 ctf_id_t tid; in fth_print_member() local
342 if ((tid = ctf_type_resolve(ctf, mem->fsm_tid)) == CTF_ERR) { in fth_print_member()
347 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) { in fth_print_member()
352 if ((sz = ctf_type_size(ctf, tid)) == CTF_ERR) { in fth_print_member()
359 if (ctf_type_encoding(ctf, tid, &e) == CTF_ERR) in fth_print_member()
360 return (parse_warn("Can't get encoding for %ld", tid)); in fth_print_member()
[all …]
/titanic_50/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,
217 @lt_named_count[pid, tid, "Wait for available CPU"] = count();
218 @lt_named_sum[pid, tid, "Wait for available CPU"] =
220 @lt_named_max[pid, tid, "Wait for available CPU"] =
232 @lt_named_count[pid, tid, "Adapt. lock spin"] = count();
233 @lt_named_sum[pid, tid, "Adapt. lock spin"] = sum(arg1);
234 @lt_named_max[pid, tid, "Adapt. lock spin"] = max(arg1);
240 @lt_named_count[pid, tid, "Spinlock spin"] = count();
[all …]
/titanic_50/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()
/titanic_50/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.at_port = aug_get_port();
[all …]
H A Dau_to.c432 pid_t pid, au_asid_t sid, au_tid_t *tid) in au_to_process() argument
459 adr_int64(&adr, (int64_t *)&tid->port, 1); in au_to_process()
461 adr_int32(&adr, (int32_t *)&tid->port, 1); in au_to_process()
463 adr_int32(&adr, (int32_t *)&tid->machine, 1); in au_to_process()
475 pid_t pid, au_asid_t sid, au_tid_addr_t *tid) in au_to_process_ex() argument
482 if (tid->at_type == AU_IPv6) { in au_to_process_ex()
492 if (tid->at_type == AU_IPv6) { in au_to_process_ex()
512 adr_int64(&adr, (int64_t *)&tid->at_port, 1); in au_to_process_ex()
514 adr_int32(&adr, (int32_t *)&tid->at_port, 1); in au_to_process_ex()
516 if (tid->at_type == AU_IPv6) { in au_to_process_ex()
[all …]
/titanic_50/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 …]
/titanic_50/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);
/titanic_50/usr/src/uts/common/os/
H A Dtimer.c106 timer_delete_locked(proc_t *p, timer_t tid, itimer_t *it) in timer_delete_locked() argument
126 ASSERT(p->p_itimer[tid] == it); in timer_delete_locked()
127 p->p_itimer[tid] = NULL; in timer_delete_locked()
200 timer_grab(proc_t *p, timer_t tid) in timer_grab() argument
204 if (tid >= timer_max || tid < 0) in timer_grab()
209 if ((itp = p->p_itimer) == NULL || (it = itp[tid]) == NULL) { in timer_grab()
249 timer_delete_grabbed(proc_t *p, timer_t tid, itimer_t *it) in timer_delete_grabbed() argument
252 timer_delete_locked(p, tid, it); in timer_delete_grabbed()
470 timer_create(clockid_t clock, struct sigevent *evp, timer_t *tid) in timer_create() argument
690 if (copyout(&i, tid, sizeof (timer_t)) != 0) { in timer_create()
[all …]
/titanic_50/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 …]
/titanic_50/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)); \
/titanic_50/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()
/titanic_50/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()
522 _nscd_logit(me, "tid = %d\n", *tid); in _get_nsw_state_int()
523 _nscd_logit(me, "tid in base = %d\n", base->tid); 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()
641 _nscd_logit(me, "tid = %d\n", *tid); in _get_nsw_state_int()
642 _nscd_logit(me, "tid in base = %d\n", base->tid); in _get_nsw_state_int()
684 thread_t tid = thr_self(); in _nscd_get_nsw_state_thread() local
[all …]
/titanic_50/usr/src/lib/libfakekernel/common/
H A Dthread.c29 thread_t tid; in _curthread() local
31 tid = thr_self(); in _curthread()
32 return ((kthread_t *)(uintptr_t)tid); in _curthread()
97 thread_t tid = (thread_t)(uintptr_t)kt; in tsignal() local
99 (void) thr_kill(tid, sig); in tsignal()
/titanic_50/usr/src/tools/ctf/cvt/
H A Dst_parse.c47 #define TYPEFILE(tid) ((tid) / TYPEPAIRMULT) argument
48 #define TYPENUM(tid) ((tid) % TYPEPAIRMULT) argument
148 unres_new(int tid) in unres_new() argument
154 tdp->t_id = tid; in unres_new()
163 int tid; in read_tid() local
165 cp = id(cp, &tid); in read_tid()
167 assert(tid != 0); in read_tid()
170 if (!(cp = tdefdecl(cp + 1, tid, &tdp))) in read_tid()
172 if (tdp->t_id && tdp->t_id != tid) { in read_tid()
179 addhash(tdp, tid); in read_tid()
[all …]
/titanic_50/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c54 thread_t tid; /* main nscd tid */ member
116 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add() argument
127 pid, tid); in waiting_list_add()
132 wl->tid = tid; in waiting_list_add()
150 waiting_list_delete(chg_info_t *info, thread_t tid) in waiting_list_delete() argument
155 if (wl->tid == tid) { in waiting_list_delete()
185 waiting_list_cleanup(chg_info_t *chg, thread_t tid) in waiting_list_cleanup() argument
189 rc = waiting_list_delete(chg, tid); in waiting_list_cleanup()
284 if (thr_kill(chg_main_nscd.tid, 0) == 0) { in chg_get_statusChange()
318 chg_main_nscd.tid = this_tid; in chg_get_statusChange()
[all …]
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/uts/common/io/net80211/
H A Dnet80211_ht.c381 uint8_t tid; in ieee80211_ampdu_reorder() local
391 tid = ((struct ieee80211_qosframe_addr4 *)wh)->i_qos[0]; in ieee80211_ampdu_reorder()
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()
494 rxseq, tid, rap->rxa_start, in ieee80211_ampdu_reorder()
511 rap->rxa_qframes, rxseq, tid); in ieee80211_ampdu_reorder()
534 rap->rxa_qframes, rxseq, tid, in ieee80211_ampdu_reorder()
556 int tid, off; in ieee80211_recv_bar() local
560 tid = MS(LE_16(wh->i_ctl), IEEE80211_BAR_TID); in ieee80211_recv_bar()
[all …]

1234567891011