Home
last modified time | relevance | path

Searched refs:thr_self (Results 1 – 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsd.c90 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 Dlisten.c60 "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 Dcmd.c88 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 Dcommon.c196 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 Dvntsdvcc.c99 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 Dread.c89 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 Dconsole.c117 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 Dumem_fork.c99 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 Dvmem_base.c42 if (umem_ready != UMEM_READY && umem_init_thr != thr_self() && in vmem_heap_arena()
H A Dstub_stand.c77 thr_self(void) in thr_self() function
H A Dumem.c753 #define CPUHINT() (thr_self())
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()
3341 if (thr_self() != umem_init_thr) { in umem_init()
[all …]
H A Dumem_update_thread.c43 ASSERT(umem_update_thr == thr_self()); in umem_update_thread()
/illumos-gate/usr/src/test/libc-tests/tests/threads/
H A Dthread_name.c244 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 Dlckpwdf.c81 lck_tid = thr_self(); in lckpwdf()
111 if (lck_tid == thr_self() && fildes >= 0) { in ulckpwdf()
H A Draise.c44 if ((error = thr_kill(thr_self(), sig)) != 0) { in raise()
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c34 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 Dclock_gettime.c64 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 Dlock-signal.c55 VERIFY3U(thr_self(), ==, lock_sig_thrid); in lock_signal_hdlr()
70 lock_sig_thrid = thr_self(); in lock_signal_thr()
H A Dlock-order.c307 "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 Dns_connect.c472 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()
989 con->threadID = thr_self(); in makeConnection()
1023 "cache %d\n", thr_self(), id); in makeConnection()
1053 thr_self(), cID, flag); in _DropConnection()
2046 thr_self()); in createTLSSession()
2227 thr_self()); in createNonTLSSession()
2361 thr_self()); in doSimpleBind()
[all …]
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_panic.c45 varpd_panic_thread = thr_self(); in libvarpd_panic()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-threads.c264 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 Dnscd_getentctx.c198 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 Dthread.h60 extern thread_t thr_self(void);
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dsignal_restore.c75 thread_t self = thr_self(); in main()

123