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

1234567891011

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/builtinvar/
H A Dtst.tid1.d32 * To print tid and make sure it succeeds.
41 printf("Thread id = %d \n", tid);
H A Dtst.tid.d31 * To print tid from profile
44 printf("Thread id = %d \n", tid);
/illumos-gate/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);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTrace.cc113 tid,
114 indent[tid].c_str(),
139 tid = pthread_self();
140 if (stacks.size() < tid+1) {
141 stacks.resize(tid+1);
142 indent.resize(tid+1);
143 indent[tid] = "";
146 stacks[tid].push_back(this);
147 indent[tid] += " ";
154 string::size_type len = indent[tid]
[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);
H A Dtst.haslam.d50 @sys[tid] = sum(tid);
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c206 * t_insert(tid, id, key, mask)
208 * inserts a new value, id, into the trie, tid->trie with the input key
216 t_insert(trie_id_t *tid, key_t id, uint32_t key, uint32_t mask) argument
221 uint8_t key_len = (uint8_t)tid->key_len;
225 ++tid->stats.num_dontcare;
229 rw_enter(&tid->rw_lock, RW_WRITER);
230 c_node = tid->trie; /* point at trie root */
312 ++tid->stats.num_inserted;
317 if (tid->info.dontcareonly == B_TRUE) {
318 tid
330 t_insert6(trie_id_t *tid, key_t id, in6_addr_t key, in6_addr_t mask) argument
399 t_traverse_delete(node_t **in_node, uint8_t pos, key_t id, uint32_t key, uint32_t mask, trie_id_t **tid) argument
602 t_remove(trie_id_t *tid, key_t id, uint32_t key, uint32_t mask) argument
627 t_remove6(trie_id_t *tid, key_t id, in6_addr_t key, in6_addr_t mask) argument
702 t_retrieve(trie_id_t *tid, uint32_t key, ht_match_t *fid_table) argument
779 t_retrieve6(trie_id_t *tid, in6_addr_t key, ht_match_t *fid_table) argument
[all...]
/illumos-gate/usr/src/cmd/dtrace/demo/proc/
H A Dlwptime.d28 /tid != 1/
/illumos-gate/usr/src/cmd/dtrace/demo/vars/
H A Drtime.d36 pid, tid, timestamp - self->t);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/docsExamples/
H A Drtime.d49 tid, timestamp - self->t);
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dfth_enum.c45 fth_enum_header(ctf_id_t tid) argument
47 fth_enum_curtid = tid;
H A Dforth.c129 fth_null_header(ctf_id_t tid) argument
155 find_member_cb(const char *memname, ctf_id_t tid, ulong_t off, void *arg) argument
160 return (tid);
165 /* find the tid of a specified member */
167 find_member(ctf_id_t tid, char *memname) argument
169 return (ctf_member_iter(ctf, tid, find_member_cb, memname));
181 ctf_id_t ltid = 0, tid; local
198 if ((tid = find_type(part)) == CTF_ERR ||
199 (tid = ctf_type_resolve(ctf, tid))
[all...]
H A Dfth_struct.c159 fth_struct_header(ctf_id_t tid) argument
163 fth_str_curtid = tid;
299 fth_print_array(char *memname, ctf_id_t tid, ulong_t off, ssize_t sz, argument
313 if (ctf_array_info(ctf, tid, &ar) == CTF_ERR) {
338 ctf_id_t tid; local
342 if ((tid = ctf_type_resolve(ctf, mem->fsm_tid)) == CTF_ERR) {
347 if ((kind = ctf_type_kind(ctf, tid)) == CTF_ERR) {
352 if ((sz = ctf_type_size(ctf, tid)) == CTF_ERR) {
359 if (ctf_type_encoding(ctf, tid, &e) == CTF_ERR)
360 return (parse_warn("Can't get encoding for %ld", tid));
403 fth_struct_members_cb(const char *memname, ctf_id_t tid, ulong_t off, void *arg) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dpthread.c50 _thr_setinherit(pthread_t tid, int inherit) argument
55 if ((ulwp = find_lwp(tid)) == NULL) {
66 _thr_setparam(pthread_t tid, int policy, int prio) argument
72 if ((ulwp = find_lwp(tid)) == NULL) {
86 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) {
114 pthread_t tid; local
131 flag, &tid, ap->guardsize);
138 (void) _thr_setinherit(tid, ap->inherit);
149 error = _thr_setparam(tid, ap->policy, ap->prio);
159 ulwp_t *ulwp = find_lwp(tid);
222 pthread_getschedparam(pthread_t tid, int *policy, struct sched_param *param) argument
257 thr_getprio(thread_t tid, int *priority) argument
272 pthread_setschedparam(pthread_t tid, int policy, const struct sched_param *param) argument
280 thr_setprio(thread_t tid, int prio) argument
[all...]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c29 thread_t tid; local
31 tid = thr_self();
32 return ((kthread_t *)(uintptr_t)tid);
97 thread_t tid = (thread_t)(uintptr_t)kt; local
99 (void) thr_kill(tid, sig);
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c59 timeout_id_t tid; member in struct:xcalwd_state
266 tsp->tid = 0;
319 if (tsp->started == B_FALSE || tsp->tid == 0) {
320 tsp->tid = 0;
358 timeout_id_t tid; local
369 tsp->tid = 0;
378 tid = tsp->tid;
379 tsp->tid = 0;
381 if (tid !
406 timeout_id_t tid; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/proc/
H A Dtst.sigwait.c42 timer_t tid; local
48 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) {
63 if (timer_settime(tid, TIMER_RELTIME, &ts, NULL) == -1) {
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c94 thread_t tid; local
123 THR_BOUND | THR_DETACHED, &tid);
175 thread_t tid; local
189 THR_BOUND | THR_DETACHED, &tid))
198 thread_t tid; local
206 THR_BOUND | THR_DETACHED, &tid))
/illumos-gate/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--]);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.goodkey.d47 @counts[execname, pid, id, tid, arg0, vtimestamp ] = count();
/illumos-gate/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...]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h31 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \
35 V_FW_WR_FLOWID(tid)); \
39 #define INIT_TP_WR(w, tid) do { \
43 V_FW_WR_FLOWID(tid)); \
47 #define INIT_TP_WR_MIT_CPL(w, cpl, tid) do { \
48 INIT_TP_WR(w, tid); \
49 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
/illumos-gate/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; local
134 tid = ATH_AN_2_TID(an, tidno);
136 if (tid->state & AGGR_ADDBA_COMPLETE ||
137 tid->state & AGGR_ADDBA_PROGRESS)
148 arn_tx_queue_tid(struct ath_txq *txq, struct ath_atx_tid *tid) argument
150 struct ath_atx_ac *ac = tid->ac;
152 /* if tid is paused, hold off */
153 if (tid->paused)
156 /* add tid t
173 arn_tx_pause_tid(struct arn_softc *sc, struct ath_atx_tid *tid) argument
186 arn_tx_resume_tid(struct arn_softc *sc, struct ath_atx_tid *tid) argument
212 arn_tx_flush_tid(struct arn_softc *sc, struct ath_atx_tid *tid) argument
244 arn_tx_update_baw(struct arn_softc *sc, struct ath_atx_tid *tid, int seqno) argument
261 arn_tx_addto_baw(struct arn_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf) argument
289 arn_tid_drain(struct arn_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid) argument
359 struct ath_atx_tid *tid = NULL; local
519 arn_lookup_rate(struct arn_softc *sc, struct ath_buf *bf, struct ath_atx_tid *tid) argument
582 arn_compute_num_delims(struct arn_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf, uint16_t frmlen) argument
645 arn_tx_form_aggr(struct arn_softc *sc, struct ath_atx_tid *tid, list_t *bf_q) argument
721 arn_tx_sched_aggr(struct arn_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid) argument
773 arn_tx_aggr_start(struct arn_softc *sc, struct ieee80211_node *in, uint16_t tid, uint16_t *ssn) argument
792 arn_tx_aggr_stop(struct arn_softc *sc, struct ieee80211_node *in, uint16_t tid) argument
845 arn_tx_aggr_resume(struct arn_softc *sc, struct ieee80211_node *in, uint16_t tid) argument
890 struct ath_atx_tid *tid, *tid_tmp; local
936 int tid = -1; local
1004 struct ath_atx_tid *tid; local
1084 arn_tx_send_ht_normal(struct arn_softc *sc, struct ath_txq *txq, struct ath_atx_tid *tid, list_t *list) argument
2340 struct ath_atx_tid *tid; local
2394 struct ath_atx_tid *tid, *tid_tmp; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/cmd/rm_lnkcnt_zero_file/
H A Drm_lnkcnt_zero_file.c119 pthread_t tid; local
134 (void) pthread_create(&tid, NULL, mover, NULL);
135 (void) pthread_create(&tid, NULL, cleaner, NULL);
136 (void) pthread_create(&tid, NULL, writer, (void *) &fd);
/illumos-gate/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;

Completed in 258 milliseconds

1234567891011