Home
last modified time | relevance | path

Searched refs:TID (Results 1 – 25 of 51) sorted by relevance

123

/src/contrib/llvm-project/llvm/lib/XRay/
H A DFDRTraceExpander.cpp45 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 DProfile.cpp389 const auto &TID = ThreadPaths.first; in profileFromTrace() local
392 TID, in profileFromTrace()
/src/lib/libthr/thread/
H A Dthr_malloc.c64 curtid = TID(curthread); in thr_malloc_lock()
80 _thr_umutex_unlock(&thr_malloc_umtx, TID(curthread)); in thr_malloc_unlock()
152 _thr_umutex_lock(&thr_malloc_umtx, TID(curthread)); in __thr_malloc_prefork()
159 _thr_umutex_unlock(&thr_malloc_umtx, TID(curthread)); in __thr_malloc_postfork()
H A Dthr_rwlock.c297 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 Dthr_affinity.c53 tid = TID(td); in _pthread_setaffinity_np()
76 tid = TID(td); in _pthread_getaffinity_np()
H A Dthr_private.h364 #define TID(thread) ((uint32_t) ((thread)->tid)) macro
602 _thr_umutex_trylock((lck), TID(thrd))
605 _thr_umutex_lock((lck), TID(thrd))
608 _thr_umutex_timedlock((lck), TID(thrd), (timo))
611 _thr_umutex_unlock((lck), TID(thrd))
616 _thr_umutex_lock(lck, TID(thrd)); \
622 _thr_umutex_lock_spin(lck, TID(thrd)); \
638 _thr_umutex_unlock((lck), TID(thrd)); \
H A Dthr_mutex.c444 m->m_lock.m_owner = TID(curthread) | bit; in queue_fork()
627 id = TID(curthread); in __Tthr_mutex_trylock()
654 id = TID(curthread); in mutex_lock_sleep()
728 ret = _thr_umutex_trylock2(&m->m_lock, TID(curthread)); in mutex_lock_common()
966 id = TID(curthread); in mutex_unlock_common()
1054 if (PMUTEX_OWNER_ID(m) == TID(curthread)) { in _pthread_mutex_setprioceiling()
1157 return (PMUTEX_OWNER_ID(m) == TID(_get_curthread())); in _pthread_mutex_isowned_np()
1169 if (PMUTEX_OWNER_ID(mp) != TID(curthread)) in _mutex_owned()
1194 if (PMUTEX_OWNER_ID(m) != TID(curthread)) in _Tthr_mutex_consistent()
H A Dthr_getthreadid_np.c48 return (TID(curthread)); in _thr_getthreadid_np()
H A Dthr_getcpuclockid.c46 if (clock_getcpuclockid2(TID(pthread), CPUCLOCK_WHICH_TID, clock_id)) in _pthread_getcpuclockid()
H A Dthr_cond.c457 if (PMUTEX_OWNER_ID(mp) == TID(curthread)) { in cond_signal_common()
489 if (PMUTEX_OWNER_ID(mp) == TID(curthread)) { in drop_cb()
H A Dthr_create.c220 TID(new_thread), cpusetsize, cpusetp)) { in _pthread_create()
H A Dthr_umtx.c252 _thr_umutex_unlock(m, TID(curthread)); in _thr_ucond_wait()
H A Dthr_attr.c152 error = cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID, TID(pthread), in _thr_attr_get_np()
/src/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.c481 U32 TID; in agtiapi_async() local
492 TID = cgd->ccb_h.target_id; in agtiapi_async()
493 if (TID >= 0 && TID < maxTargets){ in agtiapi_async()
495 TID = INDEX(pmsc, TID); in agtiapi_async()
496 targ = &pmsc->pDevList[TID]; in agtiapi_async()
1770 U32 TID; in agtiapi_cam_action() local
1851 TID = INDEX(pmcsc, targetID); in agtiapi_cam_action()
1852 if (TID < maxTargets) in agtiapi_cam_action()
1854 pDevHandle = pmcsc->pDevList[TID].pDevHandle; in agtiapi_cam_action()
2013 U32 TID = CMND_TO_TARGET(ccb); in agtiapi_QueueCmnd_() local
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp435 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()
/src/contrib/llvm-project/llvm/include/llvm/XRay/
H A DFDRTraceExpander.h27 int32_t TID = 0; variable
H A DFDRRecords.h337 int32_t TID = 0; variable
348 TID(T) {} in NewBufferRecord()
350 int32_t tid() const { return TID; } in tid()
/src/sys/dev/aic7xxx/
H A Daic79xx.h82 (((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 Daic7xxx.h79 (((scsiid) & ((((ahc)->features & AHC_TWIN) != 0) ? TWIN_TID : TID)) \
110 ((((tcl) >> 4) & TID) >> 4)
114 ((lun) | (((scsiid) & TID) << 4))
H A Daic7xxx_osm.h80 ((((target_id) << TID_SHIFT) & TID) | (our_id) \
H A Daic79xx_osm.h82 ((((target_id) << TID_SHIFT) & TID) | (our_id))
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp98 MachineInstr::MachineInstr(MachineFunction &MF, const MCInstrDesc &TID, in MachineInstr() argument
100 : MCID(&TID), NumOperands(0), Flags(0), AsmPrinterFlags(0), in MachineInstr()
101 DbgLoc(std::move(DL)), DebugInstrNum(0), Opcode(TID.Opcode) { in MachineInstr()
143 void MachineInstr::setDesc(const MCInstrDesc &TID) { in setDesc() argument
145 getMF()->handleChangeDesc(*this, TID); in setDesc()
146 MCID = &TID; in setDesc()
147 Opcode = TID.Opcode; in setDesc()
/src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1483 Value *TID = Builder.CreateAdd(Tmp0, Tmp1); in tryPromoteAllocaToLDS() local
1484 TID = Builder.CreateAdd(TID, TIdZ); in tryPromoteAllocaToLDS()
1487 Value *Indices[] = {Constant::getNullValue(Type::getInt32Ty(Context)), TID}; in tryPromoteAllocaToLDS()
/src/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp669 VectorType::VectorType(Type *ElType, unsigned EQ, Type::TypeID TID) in VectorType() argument
670 : Type(ElType->getContext(), TID), ContainedType(ElType), in VectorType()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h467 virtual void MF_HandleChangeDesc(MachineInstr &MI, const MCInstrDesc &TID) {
508 void handleChangeDesc(MachineInstr &MI, const MCInstrDesc &TID);

123