/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.c | 90 D1(stderr, "t@%d exit_sig_handler%d \n", thr_self(), sig); in exit_sig_handler() 92 if (thr_self() != vntsdp->tid) { in exit_sig_handler() 191 D1(stderr, "t@%d alarm signal %d\n", thr_self(), sig); in vntsd_alarm_sig_handler() 194 thr_self(), sig); in vntsd_alarm_sig_handler() 201 main_thread = thr_self(); in vntsd_alarm_sig_handler() 202 } else if (main_thread != thr_self()) { in vntsd_alarm_sig_handler() 236 D1(stderr, "t@%d vntsd_exit\n", thr_self()); in vntsd_exit() 560 vntsdp->tid = thr_self(); in main() 583 D1(stderr, "t@%d driver event %x\n", thr_self(), in main() 620 D1(stderr, "t@%d vcc_ioctl@%d code=%x\n", thr_self(), portno, in vntsd_vcc_ioctl()
|
H A D | listen.c | 60 "tcp=%lld group status = %x\n", thr_self(), status, in listen_chk_status() 194 D1(stderr, "t@%d open_socket() sockfd=%d\n", thr_self(), *sockfd); in open_socket() 208 D1(stderr, "t@%d create_console_thread@%lld:client@%d\n", thr_self(), in create_console_thread() 295 D1(stderr, "t@%d listen@%lld\n", thr_self(), groupp->tcp_port); in vntsd_listen_thread() 315 thr_self(), newsockfd); in vntsd_listen_thread() 333 "authorization failure\n", thr_self(), in vntsd_listen_thread()
|
H A D | cmd.c | 88 D1(stderr, "t@%d genbrk fd=%d sockfd %d\n", thr_self(), in genbrk() 118 D1(stderr, "t@%d genaltbrk fd=%d sockfd %d\n", thr_self(), in genaltbrk() 359 D3(stderr, "t@%d process_daemon_cmd %d %d \n", thr_self(), in vntsd_process_daemon_cmd() 517 D3(stderr, "t@%d vntsd_ctrl_cmd%d %d\n", thr_self(), in vntsd_ctrl_cmd() 526 D3(stderr, "t@%d client restart\n", thr_self()); in vntsd_ctrl_cmd() 538 D3(stderr, "t@%d client suspend\n", thr_self()); in vntsd_ctrl_cmd()
|
H A D | common.c | 196 D1(stderr, "t@%d open_vcc@%s exit\n", thr_self(), dev_name); in vntsd_open_vcc() 269 tmo.tid = thr_self(); in vntsd_read_char() 654 thr_self(), msg); in vntsd_log() 657 DERR(stderr, "%s: thread[%d] %s\n", status_msg, thr_self(), msg); in vntsd_log() 658 syslog(LOG_ERR, "%s: thread[%d] %s\n", status_msg, thr_self(), msg); in vntsd_log()
|
H A D | vntsdvcc.c | 99 D1(stderr, "t@%d vntsd_disconn_clients@%d\n", thr_self(), in cleanup_cons() 226 D1(stderr, "t@%d clean_group() group=%s tcp=%lld\n", thr_self(), in vntsd_clean_group() 311 D1(stderr, "t@%d alloc_cons@%d %s %s\n", thr_self(), in alloc_cons() 354 D1(stderr, "t@%d alloc_group@%lld:%s\n", thr_self(), groupp->tcp_port, in alloc_group() 487 D1(stderr, "t@%d create_listen:%lld\n", thr_self(), groupp->tcp_port); in create_listen_thread() 654 D1(stderr, "t@%d vntsd_daemon_wakup:msg %d port %x\n", thr_self(), in vntsd_daemon_wakeup() 669 thr_self(), inq_data.reason); in vntsd_daemon_wakeup()
|
H A D | read.c | 89 D1(stderr, "t@%d:acuire_writer :client@%d\n", thr_self(), in acquire_writer() 211 D3(stderr, "t@%d vntsd_read@%d\n", thr_self(), clientp->sockfd); in vntsd_read()
|
H A D | console.c | 117 thr_self(), consp->cons_no); in create_write_thread() 611 thr_self(), status, clientp->status, groupp->num_cons); in console_chk_status() 767 D1(stderr, "t@%d get_client_sel@%lld:client@%d\n", thr_self(), in vntsd_console_thread() 789 D1(stderr, "t@%d console_thread()@%lld:client@%d\n", thr_self(), in vntsd_console_thread() 874 thr_self(), rv); in vntsd_console_thread()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | umem_fork.c | 99 if (umem_ready == UMEM_READY_INITING && umem_init_thr != thr_self()) { in umem_lockup() 137 if (umem_update_thr != thr_self()) { in umem_do_release() 141 if (umem_st_update_thr != thr_self()) { in umem_do_release()
|
H A D | vmem_base.c | 42 if (umem_ready != UMEM_READY && umem_init_thr != thr_self() && in vmem_heap_arena()
|
H A D | stub_stand.c | 77 thr_self(void) in thr_self() function
|
H A D | umem.c | 753 #define CPUHINT() (thr_self()) 771 #define IN_UPDATE() (thr_self() == umem_update_thr || \ 772 thr_self() == umem_st_update_thr) 1003 ASSERT(umem_update_thr != thr_self() && in umem_remove_updates() 1004 umem_st_update_thr != thr_self()); in umem_remove_updates() 1259 if (umem_nofail_exit_thr == thr_self()) in umem_alloc_retry() 1263 umem_nofail_exit_thr = thr_self(); in umem_alloc_retry() 1375 _bcp->bc_thread = thr_self(); \ 2570 umem_st_update_thr = thr_self(); in umem_st_update() 2667 if (umem_init_thr == thr_self()) in umem_cache_create() [all …]
|
H A D | umem_update_thread.c | 43 ASSERT(umem_update_thr == thr_self()); in umem_update_thread()
|
/illumos-gate/usr/src/test/libc-tests/tests/threads/ |
H A D | thread_name.c | 244 rc = thr_setname(thr_self(), "main"); in main() 249 rc = thr_getname(thr_self(), name, sizeof (name)); in main() 257 rc = thr_setname(thr_self(), "\033]0;messeduptitle\a"); in main() 262 rc = thr_setname(thr_self(), "ab\177\177\n"); in main()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lckpwdf.c | 81 lck_tid = thr_self(); in lckpwdf() 111 if (lck_tid == thr_self() && fildes >= 0) { in ulckpwdf()
|
H A D | raise.c | 44 if ((error = thr_kill(thr_self(), sig)) != 0) { in raise()
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | thread.c | 34 tid = thr_self(); in _curthread() 89 prev = atomic_swap_uint(&reap_tid, thr_self()); in thread_exit()
|
/illumos-gate/usr/src/test/os-tests/tests/ |
H A D | clock_gettime.c | 64 if (proc_get_lwpsinfo(getpid(), thr_self(), &lwpsinfo) != 0) { in clock_gettime_thread() 65 warn("failed to get lwpsinfo for thread %u", thr_self()); in clock_gettime_thread() 159 thr_self() == 1 ? "" : " (in thread)"); in clock_test_thr()
|
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | lock-signal.c | 55 VERIFY3U(thr_self(), ==, lock_sig_thrid); in lock_signal_hdlr() 70 lock_sig_thrid = thr_self(); in lock_signal_thr()
|
H A D | lock-order.c | 307 "cannot continue", thr_self(), targ, level); in lock_thread() 310 lock_results[lock_nextres].loi_thread = thr_self(); in lock_thread()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_connect.c | 472 thread_t t = thr_self(); in printCred() 500 thread_t t = thr_self(); in printConnection() 608 t = thr_self(); in findConnection() 641 cp->threadID = thr_self(); in findConnection() 714 "cache %d\n", thr_self(), id); in makeConnection() 989 con->threadID = thr_self(); in makeConnection() 1023 "cache %d\n", thr_self(), id); in makeConnection() 1053 thr_self(), cID, flag); in _DropConnection() 1061 if (!cp || (!fini && (!cp->usedBit || cp->threadID != thr_self()))) { in _DropConnection() 2046 thr_self()); in createTLSSession() [all …]
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_panic.c | 45 varpd_panic_thread = thr_self(); in libvarpd_panic()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-threads.c | 264 return ((void *)thr_self()); in prldap_get_thread_id() 678 (void) thr_getprio(thr_self(), &priority); in prldap_nspr_init() 680 (void) thr_setprio(thr_self(), priority); in prldap_nspr_init()
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_getentctx.c | 198 ctx->in_use, ctx->thr_id, thr_self()); in _nscd_is_getent_ctx_in_use() 201 if (in_use == 1 && ctx->thr_id == thr_self()) in _nscd_is_getent_ctx_in_use() 456 c->thr_id = thr_self(); in _nscd_get_getent_ctx() 663 (void) thr_setname(thr_self(), me); in reclaim_getent_ctx()
|
/illumos-gate/usr/src/head/ |
H A D | thread.h | 60 extern thread_t thr_self(void);
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | signal_restore.c | 75 thread_t self = thr_self(); in main()
|