Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/cxgbe/
Dt4_filter.c190 struct tid_info *t = &sc->tids; in insert_hf()
203 struct tid_info *t = &sc->tids; in insert_hftid()
267 struct tid_info *t = &sc->tids; in lookup_hf()
288 struct tid_info *t = &sc->tids; in lookup_hftid()
308 struct tid_info *t = &sc->tids; in remove_hf()
320 struct tid_info *t = &sc->tids; in remove_hftid()
494 if (sc->tids.ftids_in_use > 0 || sc->tids.hpftids_in_use > 0) { in set_filter_mode()
559 MPASS(t->idx < sc->tids.nhpftids); in set_tcamfilter()
560 f = &sc->tids.hpftid_tab[t->idx]; in set_tcamfilter()
561 tid = sc->tids.hpftid_base + t->idx; in set_tcamfilter()
[all …]
Dt4_sched.c682 t = &sc->tids; in t4_init_etid_table()
703 t = &sc->tids; in t4_free_etid_table()
720 struct tid_info *t = &sc->tids; in alloc_etid()
739 struct tid_info *t = &sc->tids; in lookup_etid()
747 struct tid_info *t = &sc->tids; in free_etid()
Dt4_main.c1667 free(sc->tids.ftid_tab, M_CXGBE); in t4_detach_common()
1668 free(sc->tids.hpftid_tab, M_CXGBE); in t4_detach_common()
1669 free_hftid_hash(&sc->tids); in t4_detach_common()
1670 free(sc->tids.atid_tab, M_CXGBE); in t4_detach_common()
1671 free(sc->tids.tid_tab, M_CXGBE); in t4_detach_common()
1676 if (mtx_initialized(&sc->tids.ftid_lock)) { in t4_detach_common()
1677 mtx_destroy(&sc->tids.ftid_lock); in t4_detach_common()
1678 cv_destroy(&sc->tids.ftid_cv); in t4_detach_common()
1680 if (mtx_initialized(&sc->tids.atid_lock)) in t4_detach_common()
1681 mtx_destroy(&sc->tids.atid_lock); in t4_detach_common()
[all …]
Dadapter.h876 struct tid_info tids; member
/freebsd-12-stable/contrib/llvm-project/lldb/source/Commands/
DCommandObjectThreadUtil.cpp42 std::vector<lldb::tid_t> tids; in DoExecute() local
48 tids.push_back(thread_sp->GetID()); in DoExecute()
73 tids.push_back(thread->GetID()); in DoExecute()
80 for (const lldb::tid_t &tid : tids) { in DoExecute()
109 for (const lldb::tid_t &tid : tids) { in DoExecute()
161 std::vector<lldb::tid_t> tids; in DoExecute() local
169 tids.push_back(thread_sp->GetID()); in DoExecute()
173 tids.push_back(thread.GetID()); in DoExecute()
192 tids.push_back(thread->GetID()); in DoExecute()
196 return DoExecuteOnThreads(command, result, tids); in DoExecute()
DCommandObjectThreadUtil.h96 llvm::ArrayRef<lldb::tid_t> tids) = 0;
DCommandObjectThread.cpp1990 llvm::ArrayRef<lldb::tid_t> tids) override { in DoExecuteOnThreads() argument
1995 if (llvm::Error err = trace_sp->Stop(tids)) in DoExecuteOnThreads()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
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(static_cast<int64_t>(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()
DTraceIntelPTGDBRemotePackets.cpp25 if (packet.tids && packet.processBufferSizeLimit) { in fromJSON()
29 if (!packet.tids && !packet.processBufferSizeLimit) { in fromJSON()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
DTraceIntelPT.cpp306 llvm::Error TraceIntelPT::Start(llvm::ArrayRef<lldb::tid_t> tids, in Start() argument
314 request.tids.emplace(); in Start()
315 for (lldb::tid_t tid : tids) in Start()
316 request.tids->push_back(tid); in Start()
320 Error TraceIntelPT::Start(llvm::ArrayRef<lldb::tid_t> tids, in Start() argument
337 return Start(tids, thread_buffer_size, enable_tsc, psb_period); in Start()
DTraceIntelPT.h129 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids, size_t thread_buffer_size,
133 llvm::Error Start(llvm::ArrayRef<lldb::tid_t> tids,
DCommandObjectTraceStartIntelPT.cpp78 llvm::ArrayRef<lldb::tid_t> tids) { in DoExecuteOnThreads() argument
79 if (Error err = m_trace.Start(tids, m_options.m_thread_buffer_size, in DoExecuteOnThreads()
DCommandObjectTraceStartIntelPT.h58 llvm::ArrayRef<lldb::tid_t> tids) override;
/freebsd-12-stable/usr.bin/gcore/
Delfcore.c358 lwpid_t *tids; in elf_putnotes() local
367 tids = malloc(threads * sizeof(*tids)); in elf_putnotes()
368 if (tids == NULL) in elf_putnotes()
371 ptrace(PT_GETLWPLIST, pid, (void *)tids, threads); in elf_putnotes()
379 elf_putnote(NT_PRSTATUS, elf_note_prstatus, tids + i, sb); in elf_putnotes()
380 elf_putnote(NT_FPREGSET, elf_note_fpregset, tids + i, sb); in elf_putnotes()
381 elf_putnote(NT_THRMISC, elf_note_thrmisc, tids + i, sb); in elf_putnotes()
382 elf_putnote(NT_PTLWPINFO, elf_note_ptlwpinfo, tids + i, sb); in elf_putnotes()
384 elf_putnote(NT_ARM_VFP, elf_note_arm_vfp, tids + i, sb); in elf_putnotes()
387 elf_putnote(NT_X86_XSTATE, elf_note_x86_xstate, tids + i, sb); in elf_putnotes()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Utility/
DTraceGDBRemotePackets.h47 llvm::Optional<std::vector<int64_t>> tids; member
65 TraceStopRequest(llvm::StringRef type, const std::vector<lldb::tid_t> &tids);
75 llvm::Optional<std::vector<int64_t>> tids; member
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Target/
DTrace.h196 llvm::ArrayRef<lldb::tid_t> tids,
207 llvm::Error Stop(llvm::ArrayRef<lldb::tid_t> tids);
/freebsd-12-stable/sys/dev/cxgbe/common/
Dcommon.h456 return (sc->tids.nftids > 0 && tid >= sc->tids.ftid_base && in is_ftid()
457 tid <= sc->tids.ftid_end); in is_ftid()
463 return (sc->tids.nhpftids > 0 && tid >= sc->tids.hpftid_base && in is_hpftid()
464 tid <= sc->tids.hpftid_end); in is_hpftid()
470 return (sc->tids.netids > 0 && tid >= sc->tids.etid_base && in is_etid()
471 tid <= sc->tids.etid_end); in is_etid()
/freebsd-12-stable/sys/dev/cxgbe/tom/
Dt4_tom.c466 MPASS(tid < sc->tids.ntids); in send_get_tcb()
519 MPASS(tid < sc->tids.ntids); in add_tid_to_history()
569 MPASS(tid < sc->tids.ntids); in lookup_tcb_histent()
761 MPASS(tid < sc->tids.ntids); in read_tcb_using_memwin()
847 struct tid_info *t = &sc->tids; in insert_tid()
859 struct tid_info *t = &sc->tids; in lookup_tid()
867 struct tid_info *t = &sc->tids; in update_tid()
875 struct tid_info *t = &sc->tids; in remove_tid()
1390 if (sc->tids.ntids == 0 || sc->tids.ntids > 1024) in alloc_tcb_history()
1393 td->tcb_history = malloc(sc->tids.ntids * sizeof(*td->tcb_history), in alloc_tcb_history()
[all …]
Dt4_listen.c95 struct tid_info *t = &sc->tids; in alloc_stid()
166 struct tid_info *t = &sc->tids; in lookup_stid()
174 struct tid_info *t = &sc->tids; in free_stid()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
DTrace.cpp115 Error Trace::Stop(llvm::ArrayRef<lldb::tid_t> tids) { in Stop() argument
120 TraceStopRequest(GetPluginName().AsCString(), tids)); in Stop()
/freebsd-12-stable/sys/dev/qlnx/qlnxe/
Decore_cxt.c400 iids->tids += segs[j].count; in ecore_cxt_qm_iids()
410 iids->tids += vf_tids * p_mngr->vf_count; in ecore_cxt_qm_iids()
414 iids->cids, iids->vf_cids, iids->tids, vf_tids); in ecore_cxt_qm_iids()
813 qm_iids.vf_cids, qm_iids.tids, in ecore_cxt_cfg_ilt_compute()
819 qm_iids.cids, qm_iids.vf_cids, qm_iids.tids, in ecore_cxt_cfg_ilt_compute()
1612 iids.cids, iids.vf_cids, iids.tids, in ecore_qm_init_pf()
Decore.h336 u32 tids; member
/freebsd-12-stable/sys/dev/cxgb/common/
Dcxgb_t3_hw.c3111 unsigned int m, pstructs, tids = t3_mc5_size(&adap->mc5); in partition_mem() local
3115 if (tids <= 16 * 1024) { in partition_mem()
3118 } else if (tids <= 64 * 1024) { in partition_mem()
3121 } else if (tids <= 256 * 1024) { in partition_mem()
3146 m = tids * TCB_SIZE; in partition_mem()
3160 tids = (p->cm_size - m - (3 << 20)) / 3072 - 32; in partition_mem()
3163 if (tids < m) in partition_mem()
3164 adap->params.mc5.nservers += m - tids; in partition_mem()