/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...] |
/foundation/resourceschedule/qos_manager/qos/ |
H A D | qos.cpp | 36 int QosController::SetThreadQosForOtherThread(enum QosLevel level, int tid) in SetThreadQosForOtherThread() argument 41 CONCUR_LOGD("[Qos] qoslevel %{public}d apply for tid %{public}d disable", static_cast<int>(level), tid); in SetThreadQosForOtherThread() 50 int ret = QosApplyForOther(qos, tid); in SetThreadQosForOtherThread() 52 CONCUR_LOGD("[Qos] qoslevel %{public}d apply for tid %{public}d success", qos, tid); in SetThreadQosForOtherThread() 54 CONCUR_LOGD("[Qos] qoslevel %{public}d apply for tid %{public}d failure", qos, tid); in SetThreadQosForOtherThread() 60 int QosController::ResetThreadQosForOtherThread(int tid) in ResetThreadQosForOtherThread() argument 65 CONCUR_LOGD("[Qos] qoslevel reset disable for tid in ResetThreadQosForOtherThread() 79 GetThreadQosForOtherThread(enum QosLevel &level, int tid) GetThreadQosForOtherThread() argument 100 int tid = gettid(); SetThreadQos() local 104 SetQosForOtherThread(enum QosLevel level, int tid) SetQosForOtherThread() argument 111 int tid = gettid(); ResetThreadQos() local 115 ResetQosForOtherThread(int tid) ResetQosForOtherThread() argument 125 GetQosForOtherThread(enum QosLevel &level, int tid) GetQosForOtherThread() argument [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...] |
/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...] |
/foundation/resourceschedule/ffrt/src/sched/ |
H A D | multi_workgroup.cpp | 48 int FindThreadInWorkGroup(WorkGroup *workGroup, int tid) in FindThreadInWorkGroup() argument 51 FFRT_LOGE("[RSWorkGroup] find thread %{public}d in workGroup failed, workGroup is null", tid); in FindThreadInWorkGroup() 55 if (workGroup->tids[i] == tid) { in FindThreadInWorkGroup() 62 bool InsertThreadInWorkGroup(WorkGroup *workGroup, int tid) in InsertThreadInWorkGroup() argument 65 FFRT_LOGE("[RSWorkGroup] join thread %{public}d into workGroup failed, workGroup is null", tid); in InsertThreadInWorkGroup() 71 workGroup->tids[i] = tid; in InsertThreadInWorkGroup() 78 tid, MAX_WG_THREADS); in InsertThreadInWorkGroup() 88 rs.tid = -1; in CreateRSWorkGroup() 107 bool LeaveRSWorkGroup(int tid) in LeaveRSWorkGroup() argument 111 FFRT_LOGI("[RSWorkGroup] LeaveRSWorkGroup rsWorkGroup is null ,tid in LeaveRSWorkGroup() 122 JoinRSWorkGroup(int tid) JoinRSWorkGroup() argument 160 JoinWG(int tid) JoinWG() argument 182 LeaveWG(int tid) LeaveWG() argument 287 WorkgroupJoin(struct WorkGroup* wg, int tid) WorkgroupJoin() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/native/audioschedule/ |
H A D | audio_schedule.cpp | 51 void ConfigPayload(uint32_t pid, uint32_t tid, const char *bundleName, int32_t qosLevel,
in ConfigPayload() argument 56 std::string strTid = std::to_string(tid);
in ConfigPayload() 63 void ScheduleReportData(uint32_t pid, uint32_t tid, const char *bundleName)
in ScheduleReportData() argument 66 ", tid " + std::to_string(tid), REPORTDATA_TIMEOUT);
in ScheduleReportData() 68 AUDIO_INFO_LOG("Report tid %{public}u", tid);
in ScheduleReportData() 70 ConfigPayload(pid, tid, bundleName, AUDIO_QOS_LEVEL, mapPayload);
in ScheduleReportData() 74 void UnscheduleReportData(uint32_t pid, uint32_t tid, const char* bundleName)
in UnscheduleReportData() argument 77 ", tid " in UnscheduleReportData() 84 UnscheduleThreadInServer(uint32_t pid, uint32_t tid) UnscheduleThreadInServer() argument 94 ScheduleThreadInServer(uint32_t pid, uint32_t tid) ScheduleThreadInServer() argument 126 AudioScheduleGuard(uint32_t pid, uint32_t tid, const std::string &bundleName) AudioScheduleGuard() argument [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...] |
/third_party/musl/libc-test/src/functionalext/thread/ |
H A D | pthread_rwlock_rdlock.c | 48 pthread_t tid[2]; in pthread_rwlock_clockrdlock_0010() local 51 TEST(pthread_create(&tid[0], NULL, PthreadClockRdlockNoOutRealTimeW1, NULL) == 0); in pthread_rwlock_clockrdlock_0010() 52 TEST(pthread_create(&tid[1], NULL, PthreadClockRdlockNoOutRealTimeR2, NULL) == 0); in pthread_rwlock_clockrdlock_0010() 54 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_clockrdlock_0010() 55 TEST(pthread_join(tid[1], NULL) == 0); in pthread_rwlock_clockrdlock_0010() 92 pthread_t tid[2]; in pthread_rwlock_clockrdlock_0020() local 95 TEST(pthread_create(&tid[0], NULL, PthreadClockRdlockOutRealTimeW1, NULL) == 0); in pthread_rwlock_clockrdlock_0020() 96 TEST(pthread_create(&tid[1], NULL, PthreadClockRdlockOutRealTimeR2, NULL) == 0); in pthread_rwlock_clockrdlock_0020() 98 TEST(pthread_join(tid[0], NULL) == 0); in pthread_rwlock_clockrdlock_0020() 99 TEST(pthread_join(tid[ in pthread_rwlock_clockrdlock_0020() 133 pthread_t tid[2]; pthread_rwlock_clockrdlock_0030() local 177 pthread_t tid[2]; pthread_rwlock_clockrdlock_0040() local 217 pthread_t tid[2]; pthread_rwlock_timedrdlock_monotonic_np_0010() local 261 pthread_t tid[2]; pthread_rwlock_timedrdlock_monotonic_np_0020() local [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...] |
/third_party/alsa-lib/src/timer/ |
H A D | timer_query.c | 215 * \param tid timer identification 218 * if tid->dev_class is -1, then the first device is returned 219 * if result tid->dev_class is -1, no more devices are left 221 int snd_timer_query_next_device(snd_timer_query_t *timer, snd_timer_id_t *tid) in snd_timer_query_next_device() argument 224 assert(tid); in snd_timer_query_next_device() 225 return timer->ops->next_device(timer, tid); in snd_timer_query_next_device() 281 * \param tid pointer to #snd_timer_id_t structure 284 int snd_timer_ginfo_set_tid(snd_timer_ginfo_t *obj, snd_timer_id_t *tid) in snd_timer_ginfo_set_tid() argument 286 obj->tid = *((snd_timer_id_t *)tid); in snd_timer_ginfo_set_tid() 489 snd_timer_id_set_class(snd_timer_id_t * tid, int dev_class) snd_timer_id_set_class() argument 500 snd_timer_id_get_class(snd_timer_id_t * tid) snd_timer_id_get_class() argument 511 snd_timer_id_set_sclass(snd_timer_id_t * tid, int dev_sclass) snd_timer_id_set_sclass() argument 522 snd_timer_id_get_sclass(snd_timer_id_t * tid) snd_timer_id_get_sclass() argument 533 snd_timer_id_set_card(snd_timer_id_t * tid, int card) snd_timer_id_set_card() argument 544 snd_timer_id_get_card(snd_timer_id_t * tid) snd_timer_id_get_card() argument 555 snd_timer_id_set_device(snd_timer_id_t * tid, int device) snd_timer_id_set_device() argument 566 snd_timer_id_get_device(snd_timer_id_t * tid) snd_timer_id_get_device() argument 577 snd_timer_id_set_subdevice(snd_timer_id_t * tid, int subdevice) snd_timer_id_set_subdevice() argument 588 snd_timer_id_get_subdevice(snd_timer_id_t * tid) snd_timer_id_get_subdevice() argument [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...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | sk_resource_manager.cpp | 31 auto tid = gettid(); in HoldResource() local 32 if (!RSTaskDispatcher::GetInstance().HasRegisteredTask(tid)) { in HoldResource() 36 if (images_.find(tid) != images_.end()) { in HoldResource() 37 images_[tid]->HoldResource(img); in HoldResource() 41 images_.emplace(tid, holder); in HoldResource() 49 auto tid = gettid(); in HoldResource() local 50 if (!RSTaskDispatcher::GetInstance().HasRegisteredTask(tid)) { in HoldResource() 54 if (std::any_of(skSurfaces_[tid].cbegin(), skSurfaces_[tid].cend(), in HoldResource() 58 skSurfaces_[tid] in HoldResource() [all...] |