Searched refs:thr_self (Results 1 - 25 of 28) sorted by relevance

12

/osnet-11/usr/src/lib/libc/port/gen/
H A Draise.c46 if ((error = thr_kill(thr_self(), sig)) != 0) {
H A Dlckpwdf.c83 lck_tid = thr_self();
113 if (lck_tid == thr_self() && fildes >= 0) {
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem_base.c41 if (umem_ready != UMEM_READY && umem_init_thr != thr_self() &&
H A Dstub_stand.c73 thr_self(void) function
H A Dumem_fork.c101 if (umem_ready == UMEM_READY_INITING && umem_init_thr != thr_self()) {
139 if (umem_update_thr != thr_self()) {
143 if (umem_st_update_thr != thr_self()) {
H A Dumem_update_thread.c43 ASSERT(umem_update_thr == thr_self());
H A Dumem.c281 * umem_st_update_thr == thr_self(). This is so that applications which call
504 #define CPUHINT() (thr_self())
522 #define IN_UPDATE() (thr_self() == umem_update_thr || \
523 thr_self() == umem_st_update_thr)
740 ASSERT(umem_update_thr != thr_self() &&
741 umem_st_update_thr != thr_self());
993 if (umem_nofail_exit_thr == thr_self())
997 umem_nofail_exit_thr = thr_self();
1108 _bcp->bc_thread = thr_self(); \
2303 umem_st_update_thr = thr_self();
[all...]
H A Dvmem.c203 #define IN_POPULATE() (vmem_nosleep_lock.vmpl_thr == thr_self())
347 vsp->vs_thread = thr_self();
577 if (vmem_nosleep_lock.vmpl_thr == thr_self()) {
593 lp->vmpl_thr = thr_self();
/osnet-11/usr/src/lib/libldap4/include/
H A Dldap-private.h11 #define pthread_self thr_self
12 #define thr_self thr_self macro
37 #define DBG_LOCK1(st) printf("%d> %s %d:%s\n", thr_self(), st, __LINE__, __FILE__);
38 #define DBG_LOCK2(ld,st) printf("%d> %s ld_lockcount=%d %d:%s\n", thr_self(), st, (ld)->ld_lockcount, __LINE__, __FILE__);
43 extern pthread_t thr_self();
45 if ((ld)->ld_response_lockthread != thr_self()) { \
49 (ld)->ld_response_lockthread = thr_self(); \
66 if ((ld)->ld_lockthread != thr_self()) { \
70 (ld)->ld_lockthread = thr_self(); \
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-threads.c267 return ((void *)thr_self());
681 (void) thr_getprio(thr_self(), &priority);
683 (void) thr_setprio(thr_self(), priority);
/osnet-11/usr/src/lib/libslp/clib/
H A DSLPOpen.c139 if (thr_self() == hp->consumer_tid || hp->close_on_end) {
H A Dslp_ua_common.c133 hp->consumer_tid = thr_self();
H A DSLPReg.c668 hp->consumer_tid = thr_self();
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_connect.c484 thread_t t = thr_self();
512 thread_t t = thr_self();
620 t = thr_self();
653 cp->threadID = thr_self();
840 "cache %d\n", thr_self(), id);
1142 con->threadID = thr_self();
1177 "cache %d\n", thr_self(), id);
1207 thr_self(), cID, flag);
1215 if (!cp || (!fini && (!cp->usedBit || cp->threadID != thr_self()))) {
2200 thr_self());
[all...]
H A Dns_connmgmt.c352 extrafns.ltf_threadid_fn = (void * (*)(void))thr_self;
375 thread_t t = thr_self();
742 if (cmg->procchg_tid != thr_self()) {
843 cu->tid = thr_self();
957 cm->tid = thr_self();
2518 cmg->procchg_tid = thr_self();
/osnet-11/usr/src/lib/libipsecutil/common/
H A Dipsec_libssl_setup.c283 ret = (unsigned long)thr_self();
/osnet-11/usr/src/lib/libldap4/common/
H A Dopen.c157 pthread_t cur = thr_self();
/osnet-11/usr/src/lib/libc/inc/
H A Dlibc.h65 extern thread_t thr_self(void);
/osnet-11/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h213 #define curthread ((void *)(uintptr_t)thr_self())
525 #define CPU_SEQID (thr_self() & (max_ncpus - 1))
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dconfopt.c287 thr_self());
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c1531 lockinfo->l_tid = thr_self();
1564 if (lockinfo->l_tid == thr_self() && lockinfo->l_fildes >= 0) {
/osnet-11/usr/src/lib/libcpc/common/
H A Dlibcpc.c494 set->cs_thr = thr_self();
604 set->cs_thr = thr_self();
/osnet-11/usr/src/lib/libdhcpdu/common/
H A Drfc2136.c903 (void) fprintf(debug_fp, "%u: ", thr_self());
/osnet-11/usr/src/lib/libc/port/threads/
H A Dthr.c45 #pragma weak _thr_self = thr_self
1723 #pragma weak _ti_thr_self = thr_self
1724 #pragma weak pthread_self = thr_self
1726 thr_self() function
/osnet-11/usr/src/lib/libzpool/common/
H A Dkernel.c587 (void) printf("%u ", thr_self());

Completed in 82 milliseconds

12