/titanic_41/usr/src/lib/libnisdb/ |
H A D | nis_hashitem.c | 102 pthread_t myself = pthread_self(); in __nis_lock_hash_table() 190 table->traverser_id == pthread_self()) { in __nis_ulock_hash_table() 223 pthread_self(), traverse?"traverse":"non-traverse", table, in __nis_ulock_hash_table() 288 item->writer_id = pthread_self(); in __nis_insert_item_mt() 292 item->last_reader_id = pthread_self(); in __nis_insert_item_mt() 351 pthread_t me = pthread_self(); in __nis_find_item_mt() 416 mtid = pthread_self(); in __nis_pop_item_mt() 509 mtid = pthread_self(); in __nis_remove_item_mt() 591 item->writer_id != pthread_self()) || in __nis_release_item() 651 if (item->writer_id != pthread_self()) in __nis_item_access()
|
H A D | nisdb_rw.c | 110 pthread_t myself = pthread_self(); in __nisdb_rw_readlock_ok() 142 pthread_t myself = pthread_self(); in __nisdb_rw_force_writelock() 172 pthread_t myself = pthread_self(); in __nisdb_wlock_trylock() 351 pthread_t myself = pthread_self(); in __nisdb_rlock() 418 pthread_t myself = pthread_self(); in __nisdb_wulock() 467 pthread_t myself = pthread_self(); in __nisdb_rulock() 577 if (rw->writer_count == 0 || rw->writer.id != pthread_self()) { in __nisdb_assert_wheld() 596 pthread_t myself = pthread_self(); in __nisdb_assert_rheld() 650 pthread_t myself = pthread_self(); in __nisdb_destroy_lock()
|
H A D | nisdb_rw.h | 82 #define MUTEXLOCK(var, msg) if (var ## _owner != pthread_self()) { \ 84 var ## _owner = pthread_self(); \ 87 #define MUTEXUNLOCK(var, msg) if (var ## _owner == pthread_self()) { \ 92 #define ASSERTMUTEXHELD(var) if (var ## _owner != pthread_self()) \
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | ctfmerge.c | 379 debug(2, "%d: merging %p into %p\n", pthread_self(), in wip_add_work() 450 pthread_self()); in worker_runphase2() 477 debug(2, "%d: merging %p into %p\n", pthread_self(), in worker_runphase2() 496 pthread_self(), (void *)pow2, fifo_len(wq->wq_queue), in worker_runphase2() 512 debug(2, "%d: entering first barrier\n", pthread_self()); in worker_thread() 516 debug(2, "%d: doing work in first barrier\n", pthread_self()); in worker_thread() 522 debug(2, "%d: ninqueue is %d, %d on queue\n", pthread_self(), in worker_thread() 526 debug(2, "%d: entering second barrier\n", pthread_self()); in worker_thread() 530 debug(2, "%d: phase 1 complete\n", pthread_self()); in worker_thread() 554 debug(1, "Thread %d announcing %s\n", pthread_self(), name); in merge_ctf_cb()
|
/titanic_41/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 402 mythreadno = pthread_self(); in main() 549 mythreadno = pthread_self(); in openklog() 620 mythreadno = pthread_self(); in sys_poll() 690 mythreadno = pthread_self(); in getkmsg() 802 mythreadno = pthread_self(); in net_poll() 976 mythreadno = pthread_self(); in logmymsg() 1012 mythreadno = pthread_self(); in shutdown_msg() 1043 mythreadno = pthread_self(); in flushmsg() 1076 mythreadno = pthread_self(); in formatnet() 1119 mythreadno = pthread_self(); in formatsys() [all …]
|
/titanic_41/usr/src/cmd/smserverd/ |
H A D | smediad.c | 448 debug(5, "smserverproc thread %d running....\n", pthread_self()); in smserverproc_get_serverinfo_1() 457 fatal(gettext(BADSIG_MSG), pthread_self(), sig, siginfo->si_addr, in server_badsig_handler() 1339 pthread_self()); in sm_server_thread() 1347 pthread_self()); in sm_server_thread() 1373 debug(5, "thr[%d] bound to Client Door[%d]", pthread_self(), in sm_server_thread() 1418 pthread_self(), door_dp->dd_ddoor_descriptor); in cleanup() 1422 "Door(%d) failed = %d"), pthread_self(), in cleanup() 1431 debug(1, "cleanup[%d]: release shared memory", pthread_self()); in cleanup() 1442 debug(1, "cleanup[%d]: close(%d) target device", pthread_self(), in cleanup() 1446 "failed = %d\n"), pthread_self(), errno); in cleanup() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 296 nbtd.nbs_ns.s_tid = pthread_self(); in smb_netbios_event() 303 nbtd.nbs_dgm.s_tid = pthread_self(); in smb_netbios_event() 310 nbtd.nbs_browser.s_tid = pthread_self(); in smb_netbios_event() 317 nbtd.nbs_timer.s_tid = pthread_self(); in smb_netbios_event()
|
/titanic_41/usr/src/lib/libuutil/common/ |
H A D | uu_misc.c | 194 uu_panic_thread = pthread_self(); in uu_panic() 202 if (uu_panic_thread == pthread_self()) in uu_panic()
|
/titanic_41/usr/src/lib/libc/port/tpool/ |
H A D | thread_pool.c | 107 pthread_t my_tid = pthread_self(); in job_cleanup() 140 active.tpa_tid = pthread_self(); in tpool_worker() 493 pthread_t my_tid = pthread_self(); in tpool_member() 512 pthread_t my_tid = pthread_self(); in postfork1_child_tpool()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-thread.h | 464 # pragma weak pthread_self macro 536 if (_r2 == 0) _m2->owner = pthread_self(); \ 546 m->owner = pthread_self(); in k5_pthread_mutex_lock() 552 ? ASSERT(pthread_equal((M)->owner, pthread_self())) \
|
/titanic_41/usr/src/cmd/isns/isnsd/ |
H A D | main.c | 474 pthread_self()); in main() 483 pthread_self()); in main()
|
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | logging.c | 67 offset = snprintf(buf, bufsize, "%d: ", pthread_self()); in log_format()
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_subr.c | 66 pthread_t tid = pthread_self(); in fmd_vpanic() 314 ((pthread_self() << ENA_FMT1_CPUID_SHFT) & ENA_FMT1_CPUID_MASK) | in fmd_ena()
|
H A D | fmd_thread.c | 124 if (flag == FMD_THREAD_JOIN && tp->thr_tid != pthread_self() && in fmd_thread_destroy()
|
H A D | fmd_module.c | 758 pthread_t self = pthread_self(); in fmd_module_lock() 781 ASSERT(mp->mod_owner == pthread_self()); in fmd_module_unlock() 801 mp->mod_owner = pthread_self(); in fmd_module_trylock() 814 mp->mod_owner == pthread_self()); in fmd_module_locked() 871 pthread_t tid = pthread_self(); in fmd_module_abort()
|
/titanic_41/usr/src/lib/sun_fc/common/ |
H A D | Trace.cc | 139 tid = pthread_self(); in Trace()
|
/titanic_41/usr/src/test/libc-tests/cfg/symbols/ |
H A D | pthread_h.cfg | 47 func | pthread_self |\
|
/titanic_41/usr/src/cmd/lms/SyncLib/src/ |
H A D | ThreadUnix.cpp | 93 return pthread_self(); in currentThread()
|
/titanic_41/usr/src/cmd/svc/configd/ |
H A D | client.c | 128 rlp->rl_tid = pthread_self(); in start_log() 364 assert(cp->rc_insert_thr != pthread_self()); in client_release() 382 assert(cp->rc_insert_thr != pthread_self()); in client_start_insert() 385 cp->rc_insert_thr = pthread_self(); in client_start_insert() 393 assert(cp->rc_insert_thr == pthread_self()); in client_end_insert() 416 assert(cp->rc_insert_thr == pthread_self()); in entity_add() 559 assert(cp->rc_insert_thr == pthread_self()); in iter_add() 1726 cp->rc_notify_thr = pthread_self(); in client_wait() 1748 assert(cp->rc_notify_thr == pthread_self()); in client_wait()
|
H A D | configd.c | 142 (void) pthread_kill(pthread_self(), sig); in abort_handler() 758 ti->ti_thread = pthread_self(); in main()
|
/titanic_41/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_spool.c | 133 if (pthread_self() == smbd.s_spool_tid) in smbd_spool_stop() 254 pjob.pj_pid = pthread_self(); in smbd_spool_copyfile()
|
/titanic_41/usr/src/lib/libadutils/common/ |
H A D | adutils_threadfuncs.c | 73 .ltf_threadid_fn = (void * (*)(void))pthread_self
|
/titanic_41/usr/src/head/ |
H A D | pthread.h | 237 extern pthread_t pthread_self(void);
|
/titanic_41/usr/src/cmd/sendmail/libmilter/ |
H A D | libmilter.h | 132 # define sthread_get_id() pthread_self()
|
/titanic_41/usr/src/cmd/ndmpd/include/ |
H A D | tlm.h | 445 (int)pthread_self(), __func__, __LINE__); \
|