Home
last modified time | relevance | path

Searched refs:tids (Results 1 – 25 of 38) sorted by relevance

12

/src/sys/dev/cxgbe/
H A Dt4_filter.c188 struct tid_info *t = &sc->tids; in insert_hf()
201 struct tid_info *t = &sc->tids; in insert_hftid()
264 struct tid_info *t = &sc->tids; in lookup_hf()
285 struct tid_info *t = &sc->tids; in lookup_hftid()
305 struct tid_info *t = &sc->tids; in remove_hf()
317 struct tid_info *t = &sc->tids; in remove_hftid()
663 if (sc->tids.ftids_in_use > 0 || /* TCAM filters active */ in set_filter_mode()
664 sc->tids.hpftids_in_use > 0 || /* hi-pri TCAM filters active */ in set_filter_mode()
665 sc->tids.tids_in_use > 0) { /* TOE or hashfilters active */ in set_filter_mode()
714 if (sc->tids.tids_in_use > 0) { /* TOE or hashfilters active */ in set_filter_mask()
[all …]
H A Dt4_sched.c710 t = &sc->tids; in t4_init_etid_table()
731 t = &sc->tids; in t4_free_etid_table()
748 struct tid_info *t = &sc->tids; in alloc_etid()
767 struct tid_info *t = &sc->tids; in lookup_etid()
775 struct tid_info *t = &sc->tids; in free_etid()
960 q->max_flows = sc->tids.netids; in cxgbe_ratelimit_query()
H A Dt4_main.c1990 free(sc->tids.ftid_tab, M_CXGBE); in t4_detach_common()
1991 free(sc->tids.hpftid_tab, M_CXGBE); in t4_detach_common()
1992 free_hftid_hash(&sc->tids); in t4_detach_common()
1993 free(sc->tids.tid_tab, M_CXGBE); in t4_detach_common()
1998 if (mtx_initialized(&sc->tids.ftid_lock)) { in t4_detach_common()
1999 mtx_destroy(&sc->tids.ftid_lock); in t4_detach_common()
2000 cv_destroy(&sc->tids.ftid_cv); in t4_detach_common()
2002 if (mtx_initialized(&sc->tids.atid_lock)) in t4_detach_common()
2003 mtx_destroy(&sc->tids.atid_lock); in t4_detach_common()
2290 struct tid_info tids; member
[all …]
/src/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp53 std::vector<lldb::tid_t> tids; in DoExecute() local
59 tids.push_back(thread_sp->GetID()); in DoExecute()
84 tids.push_back(thread->GetID()); in DoExecute()
91 for (const lldb::tid_t &tid : tids) { in DoExecute()
120 for (const lldb::tid_t &tid : tids) { in DoExecute()
171 std::vector<lldb::tid_t> tids; in DoExecute() local
179 tids.push_back(thread_sp->GetID()); in DoExecute()
183 tids.push_back(thread.GetID()); in DoExecute()
202 tids.push_back(thread->GetID()); in DoExecute()
206 DoExecuteOnThreads(command, result, tids); in DoExecute()
H A DCommandObjectThreadUtil.h99 llvm::ArrayRef<lldb::tid_t> tids) = 0;
/src/contrib/llvm-project/lldb/source/Utility/
H A DTraceGDBRemotePackets.cpp32 bool TraceStartRequest::IsProcessTracing() const { return !(bool)tids; } in IsProcessTracing()
36 return o && o.map("type", packet.type) && o.map("tids", packet.tids); in fromJSON()
40 return json::Value(Object{{"tids", packet.tids}, {"type", packet.type}}); in toJSON()
49 tids.emplace(); in TraceStopRequest()
51 tids->push_back(tid); in TraceStopRequest()
54 bool TraceStopRequest::IsProcessTracing() const { return !(bool)tids; } in IsProcessTracing()
58 return o && o.map("type", packet.type) && o.map("tids", packet.tids); in fromJSON()
62 return json::Value(Object{{"type", packet.type}, {"tids", packet.tids}}); in toJSON()
/src/usr.bin/gcore/
H A Delfcore.c338 lwpid_t *tids; in elf_putnotes() local
347 tids = malloc(threads * sizeof(*tids)); in elf_putnotes()
348 if (tids == NULL) in elf_putnotes()
351 ptrace(PT_GETLWPLIST, pid, (void *)tids, threads); in elf_putnotes()
359 elf_putregnote(NT_PRSTATUS, tids[i], sb); in elf_putnotes()
360 elf_putregnote(NT_FPREGSET, tids[i], sb); in elf_putnotes()
361 elf_putregnote(NT_THRMISC, tids[i], sb); in elf_putnotes()
362 elf_putregnote(NT_PTLWPINFO, tids[i], sb); in elf_putnotes()
364 elf_putregnote(NT_ARM_TLS, tids[i], sb); in elf_putnotes()
367 elf_putregnote(NT_ARM_VFP, tids[i], sb); in elf_putnotes()
[all …]
/src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTraceGDBRemotePackets.h49 std::optional<std::vector<lldb::tid_t>> tids; member
67 TraceStopRequest(llvm::StringRef type, const std::vector<lldb::tid_t> &tids);
77 std::optional<std::vector<lldb::tid_t>> tids; member
/src/sys/dev/cxgbe/tom/
H A Dt4_tom.c487 MPASS(tid >= sc->tids.tid_base); in send_get_tcb()
488 MPASS(tid - sc->tids.tid_base < sc->tids.ntids); in send_get_tcb()
548 MPASS(tid >= sc->tids.tid_base); in add_tid_to_history()
549 MPASS(tid - sc->tids.tid_base < sc->tids.ntids); in add_tid_to_history()
599 MPASS(tid >= sc->tids.tid_base); in lookup_tcb_histent()
600 MPASS(tid - sc->tids.tid_base < sc->tids.ntids); in lookup_tcb_histent()
796 MPASS(tid >= sc->tids.tid_base); in read_tcb_using_memwin()
797 MPASS(tid - sc->tids.tid_base < sc->tids.ntids); in read_tcb_using_memwin()
1035 struct tid_info *t = &sc->tids; in insert_tid()
1047 struct tid_info *t = &sc->tids; in lookup_tid()
[all …]
H A Dt4_listen.c97 struct tid_info *t = &sc->tids; in alloc_stid_tab()
121 struct tid_info *t = &sc->tids; in free_stid_tab()
137 struct tid_info *t = &sc->tids; in stop_stid_tab()
178 struct tid_info *t = &sc->tids; in restart_stid_tab()
205 struct tid_info *t = &sc->tids; in alloc_stid()
296 struct tid_info *t = &sc->tids; in lookup_stid()
304 struct tid_info *t = &sc->tids; in free_stid()
/src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPT.cpp580 std::vector<tid_t> tids; in DoRefreshLiveProcessState() local
582 tids.push_back(thread.tid); in DoRefreshLiveProcessState()
684 llvm::Error TraceIntelPT::Start(llvm::ArrayRef<lldb::tid_t> tids, in Start() argument
692 request.tids.emplace(); in Start()
693 for (lldb::tid_t tid : tids) in Start()
694 request.tids->push_back(tid); in Start()
698 Error TraceIntelPT::Start(llvm::ArrayRef<lldb::tid_t> tids, in Start() argument
728 return Start(tids, ipt_trace_size, enable_tsc, psb_period); in Start()
H A DCommandObjectTraceStartIntelPT.cpp78 llvm::ArrayRef<lldb::tid_t> tids) { in DoExecuteOnThreads() argument
79 if (Error err = m_trace.Start(tids, m_options.m_ipt_trace_size, in DoExecuteOnThreads()
H A DTraceIntelPT.h162 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids, uint64_t ipt_trace_size,
166 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids,
H A DCommandObjectTraceStartIntelPT.h59 llvm::ArrayRef<lldb::tid_t> tids) override;
/src/sys/dev/cxgbe/common/
H A Dcommon.h537 return (sc->tids.nftids > 0 && tid >= sc->tids.ftid_base && in is_ftid()
538 tid <= sc->tids.ftid_end); in is_ftid()
544 return (sc->tids.nhpftids > 0 && tid >= sc->tids.hpftid_base && in is_hpftid()
545 tid <= sc->tids.hpftid_end); in is_hpftid()
551 return (sc->tids.netids > 0 && tid >= sc->tids.etid_base && in is_etid()
552 tid <= sc->tids.etid_end); in is_etid()
/src/crypto/openssl/test/
H A Dthreadstest.c1175 char tids[12], oid[40], sn[30], ln[30]; in test_obj_create_one() local
1178 BIO_snprintf(tids, sizeof(tids), "%d", id); in test_obj_create_one()
1179 BIO_snprintf(oid, sizeof(oid), "1.3.6.1.4.1.16604.%s", tids); in test_obj_create_one()
1180 BIO_snprintf(sn, sizeof(sn), "short-name-%s", tids); in test_obj_create_one()
1181 BIO_snprintf(ln, sizeof(ln), "long-name-%s", tids); in test_obj_create_one()
/src/contrib/llvm-project/lldb/include/lldb/Target/
H A DTrace.h232 llvm::ArrayRef<lldb::tid_t> tids,
243 llvm::Error Stop(llvm::ArrayRef<lldb::tid_t> tids);
/src/sys/contrib/dev/mediatek/mt76/
H A Dtx.c407 u16 tids, int nframes, in mt76_release_buffered_frames() argument
418 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
423 if (!(tids & 1)) in mt76_release_buffered_frames()
/src/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_report.cpp754 Tid tids[kMop] = {thr->tid, kInvalidTid}; in ReportRace() local
772 size1, typ1, &tids[1], &traces[1], mset[1], &tags[1])) { in ReportRace()
795 rep.AddMemoryAccess(addr, tags[i], s[i], tids[i], traces[i], mset[i]); in ReportRace()
799 ctx->thread_registry.GetThreadLocked(tids[i])); in ReportRace()
/src/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmain.c438 u16 tids, int nframes, in mt7603_release_buffered_frames() argument
456 if (!(tids & BIT(skb->priority))) in mt7603_release_buffered_frames()
473 mt76_release_buffered_frames(hw, sta, tids, nframes, reason, in mt7603_release_buffered_frames()
/src/contrib/llvm-project/lldb/source/Target/
H A DTrace.cpp171 Error Trace::Stop(llvm::ArrayRef<lldb::tid_t> tids) { in Stop() argument
176 return m_live_process->TraceStop(TraceStopRequest(GetPluginName(), tids)); in Stop()
/src/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DObjectFile.h562 virtual bool GetCorefileThreadExtraInfos(std::vector<lldb::tid_t> &tids) { in GetCorefileThreadExtraInfos() argument
/src/sys/dev/qlnx/qlnxe/
H A Decore_cxt.c398 iids->tids += segs[j].count; in ecore_cxt_qm_iids()
408 iids->tids += vf_tids * p_mngr->vf_count; in ecore_cxt_qm_iids()
412 iids->cids, iids->vf_cids, iids->tids, vf_tids); in ecore_cxt_qm_iids()
811 qm_iids.vf_cids, qm_iids.tids, in ecore_cxt_cfg_ilt_compute()
817 qm_iids.cids, qm_iids.vf_cids, qm_iids.tids, in ecore_cxt_cfg_ilt_compute()
1608 iids.cids, iids.vf_cids, iids.tids, in ecore_qm_init_pf()
/src/sys/contrib/dev/iwlwifi/mvm/
H A Dsta.h558 u16 cnt, u16 tids, bool more_data,
/src/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c3108 unsigned int m, pstructs, tids = t3_mc5_size(&adap->mc5); in partition_mem() local
3112 if (tids <= 16 * 1024) { in partition_mem()
3115 } else if (tids <= 64 * 1024) { in partition_mem()
3118 } else if (tids <= 256 * 1024) { in partition_mem()
3143 m = tids * TCB_SIZE; in partition_mem()
3157 tids = (p->cm_size - m - (3 << 20)) / 3072 - 32; in partition_mem()
3160 if (tids < m) in partition_mem()
3161 adap->params.mc5.nservers += m - tids; in partition_mem()

12