/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | agg-rx.c | 16 mt76_aggr_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames, int idx) in mt76_aggr_release() argument 20 tid->head = ieee80211_sn_inc(tid->head); in mt76_aggr_release() 22 skb = tid->reorder_buf[idx]; in mt76_aggr_release() 26 tid->reorder_buf[idx] = NULL; in mt76_aggr_release() 27 tid->nframes--; in mt76_aggr_release() 32 mt76_rx_aggr_release_frames(struct mt76_rx_tid *tid, in mt76_rx_aggr_release_frames() argument 38 while (ieee80211_sn_less(tid->head, head)) { in mt76_rx_aggr_release_frames() 39 idx = tid->head % tid in mt76_rx_aggr_release_frames() 45 mt76_rx_aggr_release_head(struct mt76_rx_tid *tid, struct sk_buff_head *frames) mt76_rx_aggr_release_head() argument 56 mt76_rx_aggr_check_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames) mt76_rx_aggr_check_release() argument 93 struct mt76_rx_tid *tid = container_of(work, struct mt76_rx_tid, mt76_rx_aggr_reorder_work() local 124 struct mt76_rx_tid *tid; mt76_rx_aggr_check_ctl() local 153 struct mt76_rx_tid *tid; mt76_rx_aggr_reorder() local 244 struct mt76_rx_tid *tid; mt76_rx_aggr_start() local 265 mt76_rx_aggr_shutdown(struct mt76_dev *dev, struct mt76_rx_tid *tid) mt76_rx_aggr_shutdown() argument 291 struct mt76_rx_tid *tid = NULL; mt76_rx_aggr_stop() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | agg-rx.c | 16 mt76_aggr_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames, int idx) in mt76_aggr_release() argument 20 tid->head = ieee80211_sn_inc(tid->head); in mt76_aggr_release() 22 skb = tid->reorder_buf[idx]; in mt76_aggr_release() 26 tid->reorder_buf[idx] = NULL; in mt76_aggr_release() 27 tid->nframes--; in mt76_aggr_release() 32 mt76_rx_aggr_release_frames(struct mt76_rx_tid *tid, in mt76_rx_aggr_release_frames() argument 38 while (ieee80211_sn_less(tid->head, head)) { in mt76_rx_aggr_release_frames() 39 idx = tid->head % tid in mt76_rx_aggr_release_frames() 45 mt76_rx_aggr_release_head(struct mt76_rx_tid *tid, struct sk_buff_head *frames) mt76_rx_aggr_release_head() argument 56 mt76_rx_aggr_check_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames) mt76_rx_aggr_check_release() argument 93 struct mt76_rx_tid *tid = container_of(work, struct mt76_rx_tid, mt76_rx_aggr_reorder_work() local 124 struct mt76_rx_tid *tid; mt76_rx_aggr_check_ctl() local 153 struct mt76_rx_tid *tid; mt76_rx_aggr_reorder() local 245 struct mt76_rx_tid *tid; mt76_rx_aggr_start() local 266 mt76_rx_aggr_shutdown(struct mt76_dev *dev, struct mt76_rx_tid *tid) mt76_rx_aggr_shutdown() argument 292 struct mt76_rx_tid *tid = NULL; mt76_rx_aggr_stop() local [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | agg-tx.c | 62 const u8 *da, u16 tid, in ieee80211_send_addba_request() 100 capab |= u16_encode_bits(tid, IEEE80211_ADDBA_PARAM_TID_MASK); in ieee80211_send_addba_request() 109 ieee80211_tx_skb_tid(sdata, skb, tid, -1); in ieee80211_send_addba_request() 112 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument 132 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); in ieee80211_send_bar() 138 ieee80211_tx_skb_tid(sdata, skb, tid, -1); in ieee80211_send_bar() 142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 162 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __acquires() 164 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; in __acquires() 61 ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, const u8 *da, u16 tid, u8 dialog_token, u16 start_seq_num, u16 agg_size, u16 timeout) ieee80211_send_addba_request() argument 190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) ieee80211_agg_stop_txq() argument 211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) ieee80211_agg_start_txq() argument 270 ieee80211_remove_tid_tx(struct sta_info *sta, int tid) ieee80211_remove_tid_tx() argument 299 ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) ___ieee80211_stop_tx_ba_session() argument 436 u8 tid = tid_tx->tid; sta_addba_resp_timer_expired() local 457 u8 tid = tid_tx->tid; ieee80211_send_addba_with_timeout() local 496 ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid) ieee80211_tx_ba_session_handle_start() argument 563 ieee80211_refresh_tx_agg_session_timer(struct ieee80211_sta *pubsta, u16 tid) ieee80211_refresh_tx_agg_session_timer() argument 588 u8 tid = tid_tx->tid; sta_tx_agg_session_timer_expired() local 607 ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid, u16 timeout) ieee80211_start_tx_ba_session() argument 755 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) ieee80211_agg_tx_operational() argument 798 ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_start_tx_ba_cb() argument 824 ieee80211_lookup_tid_tx(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid, struct sta_info **sta) ieee80211_lookup_tid_tx() argument 849 ieee80211_start_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) ieee80211_start_tx_ba_cb_irqsafe() argument 871 __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) __ieee80211_stop_tx_ba_session() argument 885 ieee80211_stop_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid) ieee80211_stop_tx_ba_session() argument 927 ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_stop_tx_ba_cb() argument 963 ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) ieee80211_stop_tx_ba_cb_irqsafe() argument 993 u16 capab, tid, buf_size; ieee80211_process_addba_resp() local [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | agg-tx.c | 62 const u8 *da, u16 tid, in ieee80211_send_addba_request() 100 capab |= (u16)(tid << 2); /* bit 5:2 TID number */ in ieee80211_send_addba_request() 109 ieee80211_tx_skb_tid(sdata, skb, tid); in ieee80211_send_addba_request() 112 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument 132 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); in ieee80211_send_bar() 138 ieee80211_tx_skb_tid(sdata, skb, tid); in ieee80211_send_bar() 142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument 147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx() 162 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __acquires() 164 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; in __acquires() 61 ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, const u8 *da, u16 tid, u8 dialog_token, u16 start_seq_num, u16 agg_size, u16 timeout) ieee80211_send_addba_request() argument 190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) ieee80211_agg_stop_txq() argument 211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) ieee80211_agg_start_txq() argument 270 ieee80211_remove_tid_tx(struct sta_info *sta, int tid) ieee80211_remove_tid_tx() argument 299 ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) ___ieee80211_stop_tx_ba_session() argument 436 u8 tid = tid_tx->tid; sta_addba_resp_timer_expired() local 457 u8 tid = tid_tx->tid; ieee80211_send_addba_with_timeout() local 490 ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid) ieee80211_tx_ba_session_handle_start() argument 567 u8 tid = tid_tx->tid; sta_tx_agg_session_timer_expired() local 586 ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid, u16 timeout) ieee80211_start_tx_ba_session() argument 734 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) ieee80211_agg_tx_operational() argument 777 ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_start_tx_ba_cb() argument 797 ieee80211_lookup_tid_tx(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid, struct sta_info **sta) ieee80211_lookup_tid_tx() argument 822 ieee80211_start_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) ieee80211_start_tx_ba_cb_irqsafe() argument 844 __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) __ieee80211_stop_tx_ba_session() argument 858 ieee80211_stop_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid) ieee80211_stop_tx_ba_session() argument 900 ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) ieee80211_stop_tx_ba_cb() argument 936 ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) ieee80211_stop_tx_ba_cb_irqsafe() argument 966 u16 capab, tid, buf_size; ieee80211_process_addba_resp() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | trace.h | 26 __u32 tid, 31 TP_ARGS(xid, fid, tid, sesid, offset, len, rc), 35 __field(__u32, tid) 44 __entry->tid = tid; 50 TP_printk("\txid=%u sid=0x%llx tid=0x%x fid=0x%llx offset=0x%llx len=0x%x rc=%d", 51 __entry->xid, __entry->sesid, __entry->tid, __entry->fid, 59 __u32 tid, \ 64 TP_ARGS(xid, fid, tid, sesid, offset, len, rc)) 77 __u32 tid, [all...] |
/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | PthreadBasicApiTest.cpp | 42 pthread_t tid; in HWTEST_F() local 44 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPthreadCreateBasic, (void*)str), 0) << "> return errno"; in HWTEST_F() 46 EXPECT_EQ(pthread_join(tid, nullptr), 0) << "> return errno"; in HWTEST_F() 63 pthread_t tid; in HWTEST_F() local 65 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPthreadJoinWait, nullptr), 0) << "> return errno"; in HWTEST_F() 66 EXPECT_EQ(pthread_join(tid, nullptr), 0) << "> return errno"; in HWTEST_F() 77 pthread_t tid; in HWTEST_F() local 81 ASSERT_EQ(pthread_create(&tid, nullptr, ThreadPublic, (void*)&num), 0) << "> return errno"; in HWTEST_F() 82 EXPECT_EQ(pthread_join(tid, &joinRe), 0) << "> return errno"; in HWTEST_F() 95 pthread_t tid; in HWTEST_F() local 114 pthread_t tid; HWTEST_F() local 142 pthread_t tid; HWTEST_F() local 159 pthread_t tid; HWTEST_F() local 167 pthread_t *tid = (pthread_t*)arg; ThreadPthreadEqual() local 180 pthread_t tid; HWTEST_F() local 321 pthread_t tid; HWTEST_F() local 354 pthread_t tid; HWTEST_F() local 384 pthread_t tid; HWTEST_F() local 419 pthread_t tid; HWTEST_F() local 491 pthread_t tid; HWTEST_F() local 534 pthread_t tid; HWTEST_F() local 603 pthread_t tid; HWTEST_F() local 630 pthread_t tid; HWTEST_F() local 657 pthread_t tid; HWTEST_F() local 685 pthread_t tid; HWTEST_F() local 713 pthread_t tid; HWTEST_F() local 742 pthread_t tid; HWTEST_F() local 871 pthread_t tid; HWTEST_F() local 903 pthread_t tid[2]; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_prs.c | 47 int tid) in mvpp2_prs_init_from_hw() 51 if (tid > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in mvpp2_prs_init_from_hw() 55 pe->index = tid; in mvpp2_prs_init_from_hw() 367 int tid; in mvpp2_prs_flow_find() local 370 for (tid = MVPP2_PRS_TCAM_SRAM_SIZE - 1; tid >= 0; tid--) { in mvpp2_prs_flow_find() 373 if (!priv->prs_shadow[tid].valid || in mvpp2_prs_flow_find() 374 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_FLOWS) in mvpp2_prs_flow_find() 377 mvpp2_prs_init_from_hw(priv, &pe, tid); in mvpp2_prs_flow_find() 46 mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, int tid) mvpp2_prs_init_from_hw() argument 392 int tid; mvpp2_prs_tcam_first_free() local 481 int tid; mvpp2_prs_mac_promisc_set() local 533 int tid, shift; mvpp2_prs_dsa_tag_set() local 600 int tid, shift, port_mask; mvpp2_prs_dsa_tag_ethertype_set() local 667 int tid; mvpp2_prs_vlan_find() local 709 int tid_aux, tid; mvpp2_prs_vlan_add() local 794 int tid; mvpp2_prs_double_vlan_find() local 827 int tid_aux, tid, ai, ret = 0; mvpp2_prs_double_vlan_add() local 901 int tid; mvpp2_prs_ip4_proto() local 971 int mask, tid; mvpp2_prs_ip4_cast() local 1023 int tid; mvpp2_prs_ip6_proto() local 1063 int tid; mvpp2_prs_ip6_cast() local 1317 int tid; mvpp2_prs_etype_init() local 1616 int tid; mvpp2_prs_pppoe_init() local 1811 int tid, err; mvpp2_prs_ip6_init() local 1948 int tid; mvpp2_prs_vid_range_find() local 1982 int tid; mvpp2_prs_vid_entry_add() local 2042 int tid; mvpp2_prs_vid_entry_remove() local 2059 int tid; mvpp2_prs_vid_remove_all() local 2073 unsigned int tid = MVPP2_PRS_VID_PORT_DFLT(port->id); mvpp2_prs_vid_disable_filtering() local 2085 unsigned int tid = MVPP2_PRS_VID_PORT_DFLT(port->id); mvpp2_prs_vid_enable_filtering() local 2221 int tid; mvpp2_prs_mac_da_range_find() local 2251 int tid; mvpp2_prs_mac_da_accept() local 2359 int index, tid; mvpp2_prs_mac_del_all() local 2449 int tid, i; mvpp2_prs_add_flow() local 2484 int tid; mvpp2_prs_def_flow() local [all...] |
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | lock_parser_test.cpp | 88 void WaitThreadBlock(int& tid) in WaitThreadBlock() argument 91 if (tid > 0) { in WaitThreadBlock() 92 printf("WaitThreadBlock:%d\n", tid); in WaitThreadBlock() 113 int tid = 0; in HWTEST_F() local 114 std::thread t1([&tid, &mutex] { in HWTEST_F() 115 tid = gettid(); in HWTEST_F() 116 printf("BlockTid:%d\n", tid); in HWTEST_F() 120 WaitThreadBlock(tid); in HWTEST_F() 121 printf("CurrentTid:%d BlockTid:%d\n", gettid(), tid); in HWTEST_F() 123 ASSERT_EQ(unwinder->UnwindLocalWithTid(tid), tru in HWTEST_F() 167 int tid = 0; HWTEST_F() local 219 int tid = 0; HWTEST_F() local 258 int tid = 0; HWTEST_F() local 297 int tid = 0; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | trace.h | 19 __u32 tid, 24 TP_ARGS(xid, fid, tid, sesid, offset, len, rc), 28 __field(__u32, tid) 37 __entry->tid = tid; 43 TP_printk("\txid=%u sid=0x%llx tid=0x%x fid=0x%llx offset=0x%llx len=0x%x rc=%d", 44 __entry->xid, __entry->sesid, __entry->tid, __entry->fid, 52 __u32 tid, \ 57 TP_ARGS(xid, fid, tid, sesid, offset, len, rc)) 70 __u32 tid, [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_prs.c | 47 int tid) in mvpp2_prs_init_from_hw() 51 if (tid > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in mvpp2_prs_init_from_hw() 55 pe->index = tid; in mvpp2_prs_init_from_hw() 367 int tid; in mvpp2_prs_flow_find() local 370 for (tid = MVPP2_PRS_TCAM_SRAM_SIZE - 1; tid >= 0; tid--) { in mvpp2_prs_flow_find() 373 if (!priv->prs_shadow[tid].valid || in mvpp2_prs_flow_find() 374 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_FLOWS) in mvpp2_prs_flow_find() 377 mvpp2_prs_init_from_hw(priv, &pe, tid); in mvpp2_prs_flow_find() 46 mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, int tid) mvpp2_prs_init_from_hw() argument 392 int tid; mvpp2_prs_tcam_first_free() local 478 int tid; mvpp2_prs_mac_promisc_set() local 530 int tid, shift; mvpp2_prs_dsa_tag_set() local 597 int tid, shift, port_mask; mvpp2_prs_dsa_tag_ethertype_set() local 664 int tid; mvpp2_prs_vlan_find() local 706 int tid_aux, tid; mvpp2_prs_vlan_add() local 791 int tid; mvpp2_prs_double_vlan_find() local 824 int tid_aux, tid, ai, ret = 0; mvpp2_prs_double_vlan_add() local 898 int tid; mvpp2_prs_ip4_proto() local 968 int mask, tid; mvpp2_prs_ip4_cast() local 1025 int tid; mvpp2_prs_ip6_proto() local 1065 int tid; mvpp2_prs_ip6_cast() local 1334 int tid, ihl; mvpp2_prs_etype_init() local 1610 int tid, ihl; mvpp2_prs_pppoe_init() local 1798 int tid, err; mvpp2_prs_ip6_init() local 1935 int tid; mvpp2_prs_vid_range_find() local 1969 int tid; mvpp2_prs_vid_entry_add() local 2029 int tid; mvpp2_prs_vid_entry_remove() local 2046 int tid; mvpp2_prs_vid_remove_all() local 2060 unsigned int tid = MVPP2_PRS_VID_PORT_DFLT(port->id); mvpp2_prs_vid_disable_filtering() local 2072 unsigned int tid = MVPP2_PRS_VID_PORT_DFLT(port->id); mvpp2_prs_vid_enable_filtering() local 2208 int tid; mvpp2_prs_mac_da_range_find() local 2238 int tid; mvpp2_prs_mac_da_accept() local 2346 int index, tid; mvpp2_prs_mac_del_all() local 2436 int tid, i; mvpp2_prs_add_flow() local 2471 int tid; mvpp2_prs_def_flow() local [all...] |
/kernel/liteos_m/testsuites/unittest/xts/process/ |
H A D | pthread_basic_api_test.c | 60 pthread_t tid; variable 62 ret = pthread_create(&tid, NULL, ThreadPthreadCreateBasic, (void*)str); 64 ret = pthread_join(tid, NULL); 77 pthread_t tid; variable 80 ret = pthread_create(&tid, NULL, ThreadPublic, (void*)&num); 82 ret = pthread_join(tid, &joinRe); 98 pthread_t tid; variable 99 ret = pthread_create(&tid, NULL, ThreadPublic, NULL); 102 ret = pthread_join(tid, NULL); 121 pthread_t tid; variable 152 pthread_t tid; global() variable 172 pthread_t tid; global() variable 185 pthread_t *tid = (pthread_t*)arg; ThreadPthreadEqual() local 200 pthread_t tid; global() variable [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | thread_context.cpp | 68 std::shared_ptr<ThreadContext> GetContextLocked(int32_t tid) in GetContextLocked() argument 70 auto it = g_contextMap.find(tid); in GetContextLocked() 73 threadContext->tid = tid; in GetContextLocked() 76 g_contextMap[tid] = threadContext; in GetContextLocked() 80 if (it->second->tid == ThreadContextStatus::CONTEXT_UNUSED) { in GetContextLocked() 81 it->second->tid = tid; in GetContextLocked() 86 DFXLOGE("GetContextLocked nullptr, tid: %{public}d", tid); in GetContextLocked() 90 RemoveContextLocked(int32_t tid) RemoveContextLocked() argument 137 GetThreadContext(int32_t tid) GetThreadContext() argument 148 ReleaseThread(int32_t tid) ReleaseThread() argument 164 CollectThreadContext(int32_t tid) CollectThreadContext() argument 227 GetStackRange(int32_t tid, uintptr_t& stackBottom, uintptr_t& stackTop) GetStackRange() argument 254 SignalRequestThread(int32_t tid, ThreadContext* threadContext) SignalRequestThread() argument [all...] |
H A D | dfx_ptrace.cpp | 33 void DfxPtrace::Detach(pid_t tid) in Detach() argument 35 if (tid > 0) { in Detach() 36 ptrace(PTRACE_CONT, tid, 0, 0); in Detach() 37 ptrace(PTRACE_DETACH, tid, nullptr, nullptr); in Detach() 41 bool DfxPtrace::Attach(pid_t tid, int timeout) in Attach() argument 43 if (tid <= 0) { in Attach() 47 if (ptrace(PTRACE_SEIZE, tid, 0, 0) != 0) { in Attach() 48 DFXLOGW("Failed to seize tid(%{public}d), errno=%{public}d", tid, errno); in Attach() 52 if (ptrace(PTRACE_INTERRUPT, tid, in Attach() [all...] |
/base/request/request/frameworks/native/src/ |
H A D | request_service_proxy.cpp | 39 int32_t RequestServiceProxy::Create(const Config &config, std::string &tid)
in Create() argument 80 tid = std::to_string(reply.ReadInt32());
in Create() 136 int32_t RequestServiceProxy::GetTask(const std::string &tid, const std::string &token, Config &config)
in GetTask() argument 138 REQUEST_HILOGD("Request GetTask, tid: %{public}s", tid.c_str());
in GetTask() 142 data.WriteString(tid);
in GetTask() 146 REQUEST_HILOGE("End Request GetTask, tid: %{public}s, failed: %{public}d", tid.c_str(), ret);
in GetTask() 155 REQUEST_HILOGD("End Request GetTask ok, tid: %{public}s", tid in GetTask() 159 Start(const std::string &tid) Start() argument 176 Stop(const std::string &tid) Stop() argument 192 Query(const std::string &tid, TaskInfo &info) Query() argument 214 Touch(const std::string &tid, const std::string &token, TaskInfo &info) Touch() argument 262 Show(const std::string &tid, TaskInfo &info) Show() argument 284 Pause(const std::string &tid, Version version) Pause() argument 301 QueryMimeType(const std::string &tid, std::string &mimeType) QueryMimeType() argument 324 Remove(const std::string &tid, Version version) Remove() argument 348 Resume(const std::string &tid) Resume() argument 387 Subscribe(const std::string &tid) Subscribe() argument 405 Unsubscribe(const std::string &tid) Unsubscribe() argument [all...] |
H A D | request_manager.cpp | 28 int32_t RequestManager::Create(const Config &config, int32_t seq, std::string &tid)
in Create() argument 30 return RequestManagerImpl::GetInstance()->Create(config, seq, tid);
in Create() 32 int32_t RequestManager::GetTask(const std::string &tid, const std::string &token, Config &config)
in GetTask() argument 34 return RequestManagerImpl::GetInstance()->GetTask(tid, token, config);
in GetTask() 36 int32_t RequestManager::Start(const std::string &tid)
in Start() argument 38 return RequestManagerImpl::GetInstance()->Start(tid);
in Start() 40 int32_t RequestManager::Stop(const std::string &tid)
in Stop() argument 42 return RequestManagerImpl::GetInstance()->Stop(tid);
in Stop() 45 int32_t RequestManager::Query(const std::string &tid, TaskInfo &info)
in Query() argument 47 return RequestManagerImpl::GetInstance()->Query(tid, inf in Query() 50 Touch(const std::string &tid, const std::string &token, TaskInfo &info) Touch() argument 60 Show(const std::string &tid, TaskInfo &info) Show() argument 65 Pause(const std::string &tid, Version version) Pause() argument 70 QueryMimeType(const std::string &tid, std::string &mimeType) QueryMimeType() argument 75 Remove(const std::string &tid, Version version) Remove() argument 80 Resume(const std::string &tid) Resume() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | futex-contention.py | 25 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time 29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 35 process_names[tid] = comm 36 thread_thislock[tid] = uaddr 37 thread_blocktime[tid] = nsecs(s, ns) 40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 42 if tid in thread_blocktime: 43 elapsed = nsecs(s, ns) - thread_blocktime[tid] 44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapse [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | futex-contention.py | 25 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time 29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 35 process_names[tid] = comm 36 thread_thislock[tid] = uaddr 37 thread_blocktime[tid] = nsecs(s, ns) 40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 42 if tid in thread_blocktime: 43 elapsed = nsecs(s, ns) - thread_blocktime[tid] 44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapse [all...] |
/test/xts/acts/kernel_lite/futex_posix/src/ |
H A D | PthreadRwlockTest.cpp | 60 pthread_t tid[2]; in HWTEST_F() local 64 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWlockWW1, nullptr), 0) << "> return errno"; in HWTEST_F() 65 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWlockWW2, nullptr), 0) << "> return errno"; in HWTEST_F() 67 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno"; in HWTEST_F() 68 EXPECT_EQ(pthread_join(tid[1], nullptr), 0) << "> return errno"; in HWTEST_F() 102 pthread_t tid[2]; in HWTEST_F() local 106 EXPECT_EQ(pthread_create(&tid[0], nullptr, PthreadRWlockWR1, nullptr), 0) << "> return errno"; in HWTEST_F() 107 EXPECT_EQ(pthread_create(&tid[1], nullptr, PthreadRWlockWR2, nullptr), 0) << "> return errno"; in HWTEST_F() 109 EXPECT_EQ(pthread_join(tid[0], nullptr), 0) << "> return errno"; in HWTEST_F() 110 EXPECT_EQ(pthread_join(tid[ in HWTEST_F() 144 pthread_t tid[2]; HWTEST_F() local 186 pthread_t tid[2]; HWTEST_F() local 227 pthread_t tid[2]; HWTEST_F() local 268 pthread_t tid[2]; HWTEST_F() local 312 pthread_t tid[2]; HWTEST_F() local 362 pthread_t tid[2]; HWTEST_F() local 412 pthread_t tid[2]; HWTEST_F() local 456 pthread_t tid[2]; HWTEST_F() local [all...] |
/vendor/hisilicon/hispark_pegasus/demo/thread_demo/00_thread/ |
H A D | thread.c | 31 osThreadId_t tid = osThreadNew(func, arg, &attr); in newThread() local 32 if (tid == NULL) { in newThread() 35 printf("[Thread Test] osThreadNew(%s) success, thread id: %d.\r\n", name, tid); in newThread() 37 return tid; in newThread() 44 osThreadId_t tid = osThreadGetId(); in threadTest() local 45 printf("[Thread Test] threadTest osThreadGetId, thread id:%p\r\n", tid); in threadTest() 56 osThreadId_t tid = newThread("test_thread", threadTest, "This is a test thread."); in rtosv2_thread_main() local 58 const char *t_name = osThreadGetName(tid); in rtosv2_thread_main() 61 osThreadState_t state = osThreadGetState(tid); in rtosv2_thread_main() 64 osStatus_t status = osThreadSetPriority(tid, osPriorityNormal in rtosv2_thread_main() [all...] |
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | unwind_local_tid_benchmark.cpp | 41 NOINLINE int TestFunc6(std::atomic_int* tid, std::atomic_bool* done)
in TestFunc6() argument 43 tid->store(gettid());
in TestFunc6() 49 NOINLINE int TestFunc5(std::atomic_int* tid, std::atomic_bool* done)
in TestFunc5() argument 51 int val = TestFunc6(tid, done);
in TestFunc5() 55 NOINLINE int TestFunc4(std::atomic_int* tid, std::atomic_bool* done)
in TestFunc4() argument 57 int val = TestFunc5(tid, done);
in TestFunc4() 61 NOINLINE int TestFunc3(std::atomic_int* tid, std::atomic_bool* done)
in TestFunc3() argument 63 int val = TestFunc4(tid, done);
in TestFunc3() 67 NOINLINE int TestFunc2(std::atomic_int* tid, std::atomic_bool* done)
in TestFunc2() argument 69 int val = TestFunc3(tid, don in TestFunc2() 73 TestFunc1(std::atomic_int* tid, std::atomic_bool* done) TestFunc1() argument [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | namei.c | 66 tid_t tid; /* transaction id */ in jfs_create() local 98 tid = txBegin(dip->i_sb, 0); in jfs_create() 103 rc = jfs_init_acl(tid, ip, dip); in jfs_create() 107 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create() 109 txAbort(tid, 0); in jfs_create() 115 txAbort(tid, 0); in jfs_create() 119 tblk = tid_to_tblock(tid); in jfs_create() 130 xtInitRoot(tid, ip); in jfs_create() 137 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 140 txAbort(tid, in jfs_create() 198 tid_t tid; /* transaction id */ jfs_mkdir() local 335 tid_t tid; /* transaction id */ jfs_rmdir() local 465 tid_t tid; /* transaction id */ jfs_unlink() local 621 commitZeroLink(tid_t tid, struct inode *ip) commitZeroLink() argument 788 tid_t tid; jfs_link() local 880 tid_t tid; jfs_symlink() local 1077 tid_t tid; jfs_rename() local 1362 tid_t tid; jfs_mknod() local [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | namei.c | 66 tid_t tid; /* transaction id */ in jfs_create() local 98 tid = txBegin(dip->i_sb, 0); in jfs_create() 103 rc = jfs_init_acl(tid, ip, dip); in jfs_create() 107 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create() 109 txAbort(tid, 0); in jfs_create() 115 txAbort(tid, 0); in jfs_create() 119 tblk = tid_to_tblock(tid); in jfs_create() 130 xtInitRoot(tid, ip); in jfs_create() 137 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 140 txAbort(tid, in jfs_create() 199 tid_t tid; /* transaction id */ jfs_mkdir() local 336 tid_t tid; /* transaction id */ jfs_rmdir() local 466 tid_t tid; /* transaction id */ jfs_unlink() local 622 commitZeroLink(tid_t tid, struct inode *ip) commitZeroLink() argument 789 tid_t tid; jfs_link() local 881 tid_t tid; jfs_symlink() local 1078 tid_t tid; jfs_rename() local 1363 tid_t tid; jfs_mknod() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | hal_tx.c | 58 le32_encode_bits(ti->tid, HAL_TCL_DATA_CMD_INFO3_TID) | in ath12k_hal_tx_cmd_desc_setup() 73 u8 hw_map_val[HAL_DSCP_TID_TBL_SIZE], dscp, tid; in ath12k_hal_tx_set_dscp_tid_map() local 91 tid = dscp2tid(dscp); in ath12k_hal_tx_set_dscp_tid_map() 92 value = u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP0); in ath12k_hal_tx_set_dscp_tid_map() 95 tid = dscp2tid(dscp); in ath12k_hal_tx_set_dscp_tid_map() 96 value |= u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP1); in ath12k_hal_tx_set_dscp_tid_map() 99 tid = dscp2tid(dscp); in ath12k_hal_tx_set_dscp_tid_map() 100 value |= u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP2); in ath12k_hal_tx_set_dscp_tid_map() 103 tid = dscp2tid(dscp); in ath12k_hal_tx_set_dscp_tid_map() 104 value |= u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP in ath12k_hal_tx_set_dscp_tid_map() [all...] |
/kernel/linux/linux-6.6/tools/perf/dlfilters/ |
H A D | dlfilter-show-cycles.c | 29 __s32 tid; member 47 static struct entry *find_entry(__s32 tid) in find_entry() argument 49 __u32 pos = tid & MASK; in find_entry() 54 if (e->tid == tid) in find_entry() 68 e->tid = tid; in find_entry() 72 static void add_entry(__s32 tid, int pos, __u64 cnt) in add_entry() argument 74 struct entry *e = find_entry(tid); in add_entry() 83 __s32 tid in filter_event_early() local 109 __s32 tid = sample->tid; filter_event() local [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/ |
H A D | backtrace_local.cpp | 42 std::string GetThreadHead(int32_t tid) in GetThreadHead() argument 45 if (tid == BACKTRACE_CURRENT_THREAD) { in GetThreadHead() 46 tid = gettid(); in GetThreadHead() 48 ReadThreadName(tid, threadName); in GetThreadHead() 49 std::string threadHead = "Tid:" + std::to_string(tid) + ", Name:" + threadName + "\n"; in GetThreadHead() 54 bool GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool fast, in GetBacktraceFramesByTid() argument 59 if (fast || (tid != BACKTRACE_CURRENT_THREAD)) { in GetBacktraceFramesByTid() 66 BacktraceLocalThread thread(tid, unwinder); in GetBacktraceFramesByTid() 72 bool GetBacktraceStringByTid(std::string& out, int32_t tid, size_t skipFrameNum, bool fast, in GetBacktraceStringByTid() argument 76 bool ret = GetBacktraceFramesByTid(frames, tid, skipFrameNu in GetBacktraceStringByTid() [all...] |