Home
last modified time | relevance | path

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

123

/titanic_50/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()
188 D1(stderr, "t@%d alarm signal %d\n", thr_self(), sig); in vntsd_alarm_sig_handler()
191 thr_self(), sig); in vntsd_alarm_sig_handler()
198 main_thread = thr_self(); in vntsd_alarm_sig_handler()
199 } else if (main_thread != thr_self()) { in vntsd_alarm_sig_handler()
233 D1(stderr, "t@%d vntsd_exit\n", thr_self()); in vntsd_exit()
557 vntsdp->tid = thr_self(); in main()
580 D1(stderr, "t@%d driver event %x\n", thr_self(), in main()
617 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.c100 D1(stderr, "t@%d vntsd_disconn_clients@%d\n", thr_self(), in cleanup_cons()
227 D1(stderr, "t@%d clean_group() group=%s tcp=%lld\n", thr_self(), in vntsd_clean_group()
312 D1(stderr, "t@%d alloc_cons@%d %s %s\n", thr_self(), in alloc_cons()
355 D1(stderr, "t@%d alloc_group@%lld:%s\n", thr_self(), groupp->tcp_port, in alloc_group()
488 D1(stderr, "t@%d create_listen:%lld\n", thr_self(), groupp->tcp_port); in create_listen_thread()
656 D1(stderr, "t@%d vntsd_daemon_wakup:msg %d port %x\n", thr_self(), in vntsd_daemon_wakeup()
671 thr_self(), inq_data.reason); in vntsd_daemon_wakeup()
H A Dread.c90 D1(stderr, "t@%d:acuire_writer :client@%d\n", thr_self(), in acquire_writer()
212 D3(stderr, "t@%d vntsd_read@%d\n", thr_self(), clientp->sockfd); in vntsd_read()
H A Dconsole.c119 thr_self(), consp->cons_no); in create_write_thread()
613 thr_self(), status, clientp->status, groupp->num_cons); in console_chk_status()
769 D1(stderr, "t@%d get_client_sel@%lld:client@%d\n", thr_self(), in vntsd_console_thread()
791 D1(stderr, "t@%d console_thread()@%lld:client@%d\n", thr_self(), in vntsd_console_thread()
876 thr_self(), rv); in vntsd_console_thread()
H A Dwrite.c217 D1(stderr, "t@%d vntsd_write@%d\n", thr_self(), consp->vcc_fd); in vntsd_write_thread()
H A Dqueue.c285 thr_self()); in vntsd_que_pos()
/titanic_50/usr/src/lib/libumem/common/
H A Dumem_fork.c101 if (umem_ready == UMEM_READY_INITING && umem_init_thr != thr_self()) { in umem_lockup()
139 if (umem_update_thr != thr_self()) { in umem_do_release()
143 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_update_thread.c43 ASSERT(umem_update_thr == thr_self()); in umem_update_thread()
H A Dumem.c753 #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()
1256 if (umem_nofail_exit_thr == thr_self()) in umem_alloc_retry()
1260 umem_nofail_exit_thr = thr_self(); in umem_alloc_retry()
1371 _bcp->bc_thread = thr_self(); \
2566 umem_st_update_thr = thr_self(); in umem_st_update()
2663 if (umem_init_thr == thr_self()) in umem_cache_create()
[all …]
/titanic_50/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c83 lck_tid = thr_self(); in lckpwdf()
113 if (lck_tid == thr_self() && fildes >= 0) { in ulckpwdf()
H A Draise.c46 if ((error = thr_kill(thr_self(), sig)) != 0) { in raise()
/titanic_50/usr/src/lib/libtnfctl/
H A Dinternal.c316 tid = thr_self(); in NOTE()
326 lock_holder = thr_self(); in NOTE()
365 tid = thr_self(); in _tnfctl_dlopen()
375 lock_holder = thr_self(); in _tnfctl_dlopen()
/titanic_50/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()
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 …]
/titanic_50/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-threads.c267 return ((void *)thr_self()); in prldap_get_thread_id()
681 (void) thr_getprio(thr_self(), &priority); in prldap_nspr_init()
683 (void) thr_setprio(thr_self(), priority); in prldap_nspr_init()
/titanic_50/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c190 thr_self(), generation, blocknum); in tnfw_b_alloc_block()
200 thr_self(), blocknum, generation); in tnfw_b_alloc_block()
252 thr_self(), blocknum, generation, block); in tnfw_b_alloc_block()
290 thr_self(), prev_gen, prev_block); in tnfw_b_alloc_block()
609 thr_self(), block, pos->tnfw_w_block); in tnfw_b_xcommit()
H A Dtrace_init.c244 tid = thr_self(); in _tnf_sched_init()
/titanic_50/usr/src/head/
H A Dthread.h58 extern thread_t thr_self(void);
/titanic_50/usr/src/lib/libfakekernel/common/
H A Dthread.c31 tid = thr_self(); in _curthread()
/titanic_50/usr/src/lib/libslp/clib/
H A DSLPOpen.c139 if (thr_self() == hp->consumer_tid || hp->close_on_end) { in SLPClose()
/titanic_50/usr/src/cmd/nscd/
H A Dnscd_getentctx.c196 ctx->in_use, ctx->thr_id, thr_self()); in _nscd_is_getent_ctx_in_use()
199 if (in_use == 1 && ctx->thr_id == thr_self()) in _nscd_is_getent_ctx_in_use()
454 c->thr_id = thr_self(); in _nscd_get_getent_ctx()

123