Home
last modified time | relevance | path

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

123

/freebsd-14.2/lib/libthr/thread/
H A Dthr_malloc.c65 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 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.h363 #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 Dthr_mutex.c444 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 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.c456 if (PMUTEX_OWNER_ID(mp) == TID(curthread)) { in cond_signal_common()
488 if (PMUTEX_OWNER_ID(mp) == TID(curthread)) { in drop_cb()
H A Dthr_create.c214 TID(new_thread), cpusetsize, cpusetp)) { in _pthread_create()
H A Dthr_umtx.c262 _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()
/freebsd-14.2/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()
/freebsd-14.2/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.c481 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 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()
/freebsd-14.2/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()
/freebsd-14.2/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 Daic79xx_osm.h82 ((((target_id) << TID_SHIFT) & TID) | (our_id))
H A Daic7xxx_osm.h80 ((((target_id) << TID_SHIFT) & TID) | (our_id) \
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp1401 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 DMachineInstr.cpp97 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 DType.cpp669 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 DCoverageMappingReader.cpp247 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()

123