Home
last modified time | relevance | path

Searched refs:pthread_self (Results 1 – 25 of 47) sorted by relevance

12

/titanic_41/usr/src/lib/libnisdb/
H A Dnis_hashitem.c102 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 Dnisdb_rw.c110 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 Dnisdb_rw.h82 #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 Dctfmerge.c379 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 Dsyslogd.c402 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 Dsmediad.c448 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 Dsmbns_netbios.c296 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 Duu_misc.c194 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 Dthread_pool.c107 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 Dk5-thread.h464 # 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 Dmain.c474 pthread_self()); in main()
483 pthread_self()); in main()
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dlogging.c67 offset = snprintf(buf, bufsize, "%d: ", pthread_self()); in log_format()
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_subr.c66 pthread_t tid = pthread_self(); in fmd_vpanic()
314 ((pthread_self() << ENA_FMT1_CPUID_SHFT) & ENA_FMT1_CPUID_MASK) | in fmd_ena()
H A Dfmd_thread.c124 if (flag == FMD_THREAD_JOIN && tp->thr_tid != pthread_self() && in fmd_thread_destroy()
H A Dfmd_module.c758 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 DTrace.cc139 tid = pthread_self(); in Trace()
/titanic_41/usr/src/test/libc-tests/cfg/symbols/
H A Dpthread_h.cfg47 func | pthread_self |\
/titanic_41/usr/src/cmd/lms/SyncLib/src/
H A DThreadUnix.cpp93 return pthread_self(); in currentThread()
/titanic_41/usr/src/cmd/svc/configd/
H A Dclient.c128 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 Dconfigd.c142 (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 Dsmbd_spool.c133 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 Dadutils_threadfuncs.c73 .ltf_threadid_fn = (void * (*)(void))pthread_self
/titanic_41/usr/src/head/
H A Dpthread.h237 extern pthread_t pthread_self(void);
/titanic_41/usr/src/cmd/sendmail/libmilter/
H A Dlibmilter.h132 # define sthread_get_id() pthread_self()
/titanic_41/usr/src/cmd/ndmpd/include/
H A Dtlm.h445 (int)pthread_self(), __func__, __LINE__); \

12