| /freebsd-14.2/lib/libthr/thread/ |
| H A D | thr_malloc.c | 65 curtid = TID(curthread); in thr_malloc_lock() 81 _thr_umutex_unlock(&thr_malloc_umtx, TID(curthread)); in thr_malloc_unlock() 140 _thr_umutex_lock(&thr_malloc_umtx, TID(curthread)); in __thr_malloc_prefork() 147 _thr_umutex_unlock(&thr_malloc_umtx, TID(curthread)); in __thr_malloc_postfork()
|
| H A D | thr_rwlock.c | 297 prwlock->owner = TID(curthread); in _Tthr_rwlock_trywrlock() 318 prwlock->owner = TID(curthread); in rwlock_wrlock_common() 330 prwlock->owner = TID(curthread); in rwlock_wrlock_common() 340 prwlock->owner = TID(curthread); in rwlock_wrlock_common() 383 if (__predict_false(prwlock->owner != TID(curthread))) in _Tthr_rwlock_unlock()
|
| H A D | thr_affinity.c | 53 tid = TID(td); in _pthread_setaffinity_np() 76 tid = TID(td); in _pthread_getaffinity_np()
|
| H A D | thr_private.h | 363 #define TID(thread) ((uint32_t) ((thread)->tid)) macro 599 _thr_umutex_trylock((lck), TID(thrd)) 602 _thr_umutex_lock((lck), TID(thrd)) 605 _thr_umutex_timedlock((lck), TID(thrd), (timo)) 608 _thr_umutex_unlock((lck), TID(thrd)) 613 _thr_umutex_lock(lck, TID(thrd)); \ 619 _thr_umutex_lock_spin(lck, TID(thrd)); \ 635 _thr_umutex_unlock((lck), TID(thrd)); \
|
| H A D | thr_mutex.c | 444 m->m_lock.m_owner = TID(curthread) | bit; in queue_fork() 626 id = TID(curthread); in __Tthr_mutex_trylock() 653 id = TID(curthread); in mutex_lock_sleep() 727 ret = _thr_umutex_trylock2(&m->m_lock, TID(curthread)); in mutex_lock_common() 965 id = TID(curthread); in mutex_unlock_common() 1053 if (PMUTEX_OWNER_ID(m) == TID(curthread)) { in _pthread_mutex_setprioceiling() 1156 return (PMUTEX_OWNER_ID(m) == TID(_get_curthread())); in _pthread_mutex_isowned_np() 1168 if (PMUTEX_OWNER_ID(mp) != TID(curthread)) in _mutex_owned() 1193 if (PMUTEX_OWNER_ID(m) != TID(curthread)) in _Tthr_mutex_consistent()
|
| H A D | thr_getthreadid_np.c | 48 return (TID(curthread)); in _thr_getthreadid_np()
|
| H A D | thr_getcpuclockid.c | 46 if (clock_getcpuclockid2(TID(pthread), CPUCLOCK_WHICH_TID, clock_id)) in _pthread_getcpuclockid()
|
| H A D | thr_cond.c | 456 if (PMUTEX_OWNER_ID(mp) == TID(curthread)) { in cond_signal_common() 488 if (PMUTEX_OWNER_ID(mp) == TID(curthread)) { in drop_cb()
|
| H A D | thr_create.c | 214 TID(new_thread), cpusetsize, cpusetp)) { in _pthread_create()
|
| H A D | thr_umtx.c | 262 _thr_umutex_unlock(m, TID(curthread)); in _thr_ucond_wait()
|
| H A D | thr_attr.c | 152 error = cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID, TID(pthread), in _thr_attr_get_np()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | FDRTraceExpander.cpp | 45 CurrentRecord.TId = TID; in visit() 60 CurrentRecord.TId = TID; in visit() 75 CurrentRecord.TId = TID; in visit() 98 TID = R.tid(); in visit() 118 CurrentRecord.TId = TID; in visit()
|
| H A D | Profile.cpp | 389 const auto &TID = ThreadPaths.first; in profileFromTrace() local 392 TID, in profileFromTrace()
|
| /freebsd-14.2/sys/dev/pms/freebsd/driver/ini/src/ |
| H A D | agtiapi.c | 481 U32 TID; in agtiapi_async() local 493 if (TID >= 0 && TID < maxTargets){ in agtiapi_async() 495 TID = INDEX(pmsc, TID); in agtiapi_async() 1770 U32 TID; in agtiapi_cam_action() local 2029 if (TID < 0 || TID >= maxTargets) in agtiapi_QueueCmnd_() 2045 TID = INDEX(pmcsc, TID); in agtiapi_QueueCmnd_() 2057 pccb->targetId = TID; in agtiapi_QueueCmnd_() 3057 int TID; in agtiapi_StartIO() local 3708 TID, in agtiapi_PrepareSMPSGListCB() 3910 int is_error, TID; in agtiapi_CheckError() local [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ResourcePriorityQueue.cpp | 435 const MCInstrDesc &TID = TII->get(N->getMachineOpcode()); in SUSchedulingCost() local 436 if (TID.isCall()) in SUSchedulingCost() 537 const MCInstrDesc &TID = TII->get(N->getMachineOpcode()); in initNumRegDefsLeft() local 543 NodeNumDefs = std::min(N->getNumValues(), TID.getNumDefs()); in initNumRegDefsLeft()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | FDRTraceExpander.h | 27 int32_t TID = 0; variable
|
| H A D | FDRRecords.h | 337 int32_t TID = 0; variable 348 TID(T) {} in NewBufferRecord() 350 int32_t tid() const { return TID; } in tid()
|
| /freebsd-14.2/sys/dev/aic7xxx/ |
| H A D | aic79xx.h | 82 (((scsiid) & TID) >> TID_SHIFT) 111 ((((tcl) >> 4) & TID) >> 4) 115 ((lun) | (((scsiid) & TID) << 4)) 135 (scb)->hscb->scsiid = ((col_idx) << TID_SHIFT) & TID; \
|
| H A D | aic7xxx.h | 79 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \ 110 ((((tcl) >> 4) & TID) >> 4) 114 ((lun) | (((scsiid) & TID) << 4))
|
| H A D | aic79xx_osm.h | 82 ((((target_id) << TID_SHIFT) & TID) | (our_id))
|
| H A D | aic7xxx_osm.h | 80 ((((target_id) << TID_SHIFT) & TID) | (our_id) \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 1401 Value *TID = Builder.CreateAdd(Tmp0, Tmp1); in tryPromoteAllocaToLDS() local 1402 TID = Builder.CreateAdd(TID, TIdZ); in tryPromoteAllocaToLDS() 1405 Value *Indices[] = {Constant::getNullValue(Type::getInt32Ty(Context)), TID}; in tryPromoteAllocaToLDS()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 97 MachineInstr::MachineInstr(MachineFunction &MF, const MCInstrDesc &TID, in MachineInstr() argument 99 : MCID(&TID), NumOperands(0), Flags(0), AsmPrinterFlags(0), in MachineInstr() 141 void MachineInstr::setDesc(const MCInstrDesc &TID) { in setDesc() argument 143 getMF()->handleChangeDesc(*this, TID); in setDesc() 144 MCID = &TID; in setDesc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 669 VectorType::VectorType(Type *ElType, unsigned EQ, Type::TypeID TID) in VectorType() argument 670 : Type(ElType->getContext(), TID), ContainedType(ElType), in VectorType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingReader.cpp | 247 uint64_t BIDX = 0, NC = 0, ID = 0, TID = 0, FID = 0; in readMappingRegionsSubArray() local 307 if (auto Err = readIntMax(TID, std::numeric_limits<unsigned>::max())) in readMappingRegionsSubArray() 376 static_cast<unsigned>(ID), static_cast<unsigned>(TID), in readMappingRegionsSubArray()
|