/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip.c | 14686 timeout_id_t tid; in ip_xmit() local 14696 tid = ncec->ncec_timeout_id; in ip_xmit() 14699 (void) untimeout(tid); in ip_xmit()
|
/illumos-gate/usr/src/cmd/latencytop/ |
H A D | stat.c | 426 get_stat_c(pid_t pid, id_t tid) in get_stat_c() argument 457 LT_INT_TO_POINTER(tid)); in get_stat_c() 465 (void) snprintf(tname, tname_size, "Thread %d", tid); in get_stat_c() 468 (unsigned int)tid, tname, stat_p, NULL); in get_stat_c() 494 stat_t = get_stat_c(pid, tid); in lt_stat_update_cause() 512 lt_stat_update(pid_t pid, id_t tid, char *stack, char *tag, in lt_stat_update() argument 552 lt_stat_update_cause(pid, tid, cause_id, type, value); in lt_stat_update() 596 pid_t pid, id_t tid, int count, lt_sort_t sort_by) in lt_stat_list_create() argument 620 LT_INT_TO_POINTER(tid)); in lt_stat_list_create() 1023 lt_stat_update_sobj(pid_t pid, id_t tid, int stype, in lt_stat_update_sobj() argument [all …]
|
H A D | dwrapper.c | 86 id_t tid; in aggwalk_call() local 120 tid = rec_get_value( in aggwalk_call() 183 lt_stat_update(pid, tid, buffer, tag, priority, stat_type, agg_value); in aggwalk_call() 201 id_t tid; in aggwalk_named() local 225 tid = rec_get_value( in aggwalk_named() 237 lt_stat_update_cause(pid, tid, cause_id, stat_type, agg_value); in aggwalk_named() 252 id_t tid; in aggwalk_sync() local 277 tid = rec_get_value( in aggwalk_sync() 293 lt_stat_update_sobj(pid, tid, stype, wchan, stat_type, agg_value); in aggwalk_sync()
|
H A D | latencytop.d | 198 @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 …]
|
H A D | display.c | 501 print_thread(pid_t pid, id_t tid) in print_thread() argument 512 pid, tid, 8, sort_type); in print_thread() 518 lt_stat_proc_get_name(pid), pid, tid); in print_thread()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-dtrace-tests.p5m | 414 file path=opt/SUNWdtrt/tst/common/builtinvar/tst.tid.d mode=0444
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 76 #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() 2510 if (tid == 0 || self->ul_lwpid == tid) { in thr_getstate() 2534 *lwp = tid; in thr_getstate() 2701 if (tid == 0) { in thr_setmutator() [all …]
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | libc.h | 67 extern int thr_kill(thread_t tid, int sig);
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | ip.h | 1042 #define IP_TR_HASH(tid) ((((uintptr_t)tid) >> 6) & (IP_TR_HASH_MAX - 1)) argument
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 2574 timeout_id_t tid; in mac_rx_srs_drain() local 2666 if (tid != NULL) { in mac_rx_srs_drain() 2667 (void) untimeout(tid); in mac_rx_srs_drain() 2668 tid = NULL; in mac_rx_srs_drain() 2684 if (tid != NULL) { in mac_rx_srs_drain() 2686 tid = NULL; in mac_rx_srs_drain() 2811 timeout_id_t tid; in mac_rx_srs_drain_bw() local 2944 if (tid != NULL) { in mac_rx_srs_drain_bw() 2946 tid = NULL; in mac_rx_srs_drain_bw() 2964 if (tid != NULL) { in mac_rx_srs_drain_bw() [all …]
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_main.c | 805 pthread_t tid; in smbd_dyndns_init() local 813 rc = pthread_create(&tid, &attr, dyndns_publisher, NULL); in smbd_dyndns_init() 828 pthread_t tid; in smbd_load_shares() local 834 rc = pthread_create(&tid, &attr, smbd_share_loader, NULL); in smbd_load_shares()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/ |
H A D | topo_zen_tn.c | 251 const amdzen_topo_core_t *core, zen_topo_enum_core_t *zt_core, uint32_t tid) in topo_zen_build_strand() argument 256 tn = topo_zen_create_tn(mod, sock, zt_core->ztcore_tn, tid, STRAND); in topo_zen_build_strand() 268 if (nvlist_lookup_pairs(zt_core->ztcore_nvls[tid], 0, in topo_zen_build_strand() 272 "missing expected keys", tid); in topo_zen_build_strand() 286 core->atcore_apicids[tid], NULL) != 0) { in topo_zen_build_strand() 292 zt_core->ztcore_thr_tn[tid] = tn; in topo_zen_build_strand() 352 for (uint32_t tid = 0; tid < core->atcore_nthreads; tid++) { in topo_zen_build_core() local 355 if (core->atcore_thr_en[tid] == 0) { in topo_zen_build_core() 360 tid)) != 0) { in topo_zen_build_core()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 1294 pthread_t tid; in dump_snapshot() local 1409 (void) pthread_cancel(tid); in dump_snapshot() 1761 pthread_t tid; in zfs_send_resume() local 1783 (void) pthread_cancel(tid); in zfs_send_resume() 1856 pthread_t tid = 0; in zfs_send() local 2012 if (tid != 0) in zfs_send() 2118 if (tid != 0) { in zfs_send() 2120 (void) pthread_cancel(tid); in zfs_send() 2122 (void) pthread_join(tid, NULL); in zfs_send() 2156 if (tid != 0) { in zfs_send() [all …]
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 6635 thread_t *tid; in ztest_run() local 6730 tid = umem_zalloc(ztest_opts.zo_threads * sizeof (thread_t), in ztest_run() 6744 THR_BOUND, &tid[t]) == 0); in ztest_run() 6752 VERIFY(thr_join(tid[t], NULL, NULL) == 0); in ztest_run() 6763 umem_free(tid, ztest_opts.zo_threads * sizeof (thread_t)); in ztest_run()
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 2489 timeout_id_t tid = 0; in e1000g_intr_work() local 2525 if (tid != 0) in e1000g_intr_work() 4923 timeout_id_t tid; in disable_watchdog_timer() local 4934 if (tid != 0) in disable_watchdog_timer() 4935 (void) untimeout(tid); in disable_watchdog_timer() 4967 timeout_id_t tid; in stop_watchdog_timer() local 4977 if (tid != 0) in stop_watchdog_timer() 4984 timeout_id_t tid; in stop_link_timer() local 4994 if (tid != 0) in stop_link_timer() 5001 timeout_id_t tid; in stop_82547_timer() local [all …]
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 4753 thread_t tid; in main() local 4829 if (thr_create(NULL, 0, stat_thread, NULL, 0, &tid) != 0) in main() 4850 (void) thr_join(tid, NULL, NULL); in main()
|
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/ |
H A D | syseventd.c | 1332 scp, THR_BOUND, &scp->tid) != 0) { in load_modules() 1400 (void) thr_join(scp->tid, NULL, NULL); in unload_modules()
|
/illumos-gate/usr/src/cmd/ptools/pstack/ |
H A D | pstack.c | 462 id_t tid; in all_call_stacks() local 476 if ((tid = tip->threadid) != 0) { in all_call_stacks() 479 tlhead(tid, tip->lwpid, NULL); in all_call_stacks()
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | mdb_bhyve.c | 1368 bhyve_getareg(mdb_tgt_t *tgt, mdb_tgt_tid_t tid, const char *rname, in bhyve_getareg() argument 1389 bhyve_putareg(mdb_tgt_t *tgt, mdb_tgt_tid_t tid, const char *rname, in bhyve_putareg() argument
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 1786 mdb_tgt_getareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, in mdb_tgt_getareg() argument 1789 return (t->t_ops->t_getareg(t, tid, rname, rp)); in mdb_tgt_getareg() 1793 mdb_tgt_putareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, in mdb_tgt_putareg() argument 1796 return (t->t_ops->t_putareg(t, tid, rname, r)); in mdb_tgt_putareg() 1800 mdb_tgt_thread_name(mdb_tgt_t *t, mdb_tgt_tid_t tid, char *buf, size_t bufsize) in mdb_tgt_thread_name() argument 1802 return (t->t_ops->t_thread_name(t, tid, buf, bufsize)); in mdb_tgt_thread_name()
|
H A D | mdb_proc.c | 1504 mdb_tgt_tid_t tid = PTL_TID(t); in reg_disc_get() local 1507 if (tid != (mdb_tgt_tid_t)-1L) in reg_disc_get() 1517 mdb_tgt_tid_t tid = PTL_TID(t); in reg_disc_set() local 1519 if (tid != (mdb_tgt_tid_t)-1L && mdb_tgt_putareg(t, tid, in reg_disc_set() 2708 pl.pl_tid = tid; in pt_lookup_by_name_thr() 4810 (lwpid_t)tid, gregs))); in pt_lwp_getregs() 4821 (lwpid_t)tid, gregs))); in pt_lwp_setregs() 4834 (lwpid_t)tid, xregs, sizep))); in pt_lwp_getxregs() 4853 (lwpid_t)tid, xregs, len))); in pt_lwp_setxregs() 4865 (lwpid_t)tid, fpregs))); in pt_lwp_getfpregs() [all …]
|
H A D | mdb_modapi.c | 320 mdb_getareg(mdb_tid_t tid, const char *rname, mdb_reg_t *rp) in mdb_getareg() argument 322 return (mdb_tgt_getareg(mdb.m_target, tid, rname, rp)); in mdb_getareg() 326 mdb_thread_name(mdb_tid_t tid, char *buf, size_t bufsize) in mdb_thread_name() argument 328 return (mdb_tgt_thread_name(mdb.m_target, tid, buf, bufsize)); in mdb_thread_name()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 668 kmt_getareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, in kmt_getareg() argument 682 kmt_putareg(mdb_tgt_t *t, mdb_tgt_tid_t tid, const char *rname, mdb_tgt_reg_t r) in kmt_putareg() argument
|
/illumos-gate/usr/src/cmd/lockstat/ |
H A D | lockstat.c | 795 timer_t tid; in status_init() local 820 if (timer_create(CLOCK_REALTIME, &ev, &tid) == -1) in status_init() 827 if (timer_settime(tid, TIMER_RELTIME, &ts, NULL) == -1) in status_init()
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.h | 67 thread_t tid; /* thread id of the server */ member
|