/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/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...] |
/third_party/musl/src/malloc/liteos_a/user_debug/ |
H A D | memory_check.c | 65 static inline void lock_stat_bin(int tid) in lock_stat_bin() argument 67 lock(mem_stat.bins[tid].lock); in lock_stat_bin() 68 if (!mem_stat.bins[tid].head.next) in lock_stat_bin() 69 mem_stat.bins[tid].head.next = mem_stat.bins[tid].head.prev = &mem_stat.bins[tid].head; in lock_stat_bin() 72 static inline void unlock_stat_bin(int tid) in unlock_stat_bin() argument 74 unlock(mem_stat.bins[tid].lock); in unlock_stat_bin() 88 static int try_delete_node(int tid, void *ptr) in try_delete_node() argument 93 lock_stat_bin(tid); in try_delete_node() 113 int tid = ((struct pthread *)pthread_self())->tid; delete_node() local 179 create_node(int tid, void *ptr, size_t size) create_node() argument 203 int tid = ((struct pthread *)pthread_self())->tid; insert_node() local 355 check_mem_integrity(int tid, void *ptr) check_mem_integrity() argument 396 int tid = ((struct pthread *)pthread_self())->tid; get_integrity_info() local 506 int tid = ((struct pthread *)pthread_self())->tid; get_free_trace() local 546 int tid, ret; watch_mem() local 686 int tid, nptr; check_leak() local [all...] |
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
H A D | memory_check.c | 50 static inline void lock_stat_bin(int tid) in lock_stat_bin() argument 52 lock(mem_stat.bins[tid].lock); in lock_stat_bin() 53 if (!mem_stat.bins[tid].head.next) in lock_stat_bin() 54 mem_stat.bins[tid].head.next = mem_stat.bins[tid].head.prev = &mem_stat.bins[tid].head; in lock_stat_bin() 57 static inline void unlock_stat_bin(int tid) in unlock_stat_bin() argument 59 unlock(mem_stat.bins[tid].lock); in unlock_stat_bin() 73 static int try_delete_node(int tid, void *ptr) in try_delete_node() argument 78 lock_stat_bin(tid); in try_delete_node() 98 int tid = ((struct pthread *)pthread_self())->tid; delete_node() local 164 create_node(int tid, void *ptr, size_t size) create_node() argument 188 int tid = ((struct pthread *)pthread_self())->tid; insert_node() local 340 check_mem_integrity(int tid, void *ptr) check_mem_integrity() argument 381 int tid = ((struct pthread *)pthread_self())->tid; get_integrity_info() local 491 int tid = ((struct pthread *)pthread_self())->tid; get_free_trace() local 531 int tid, ret; watch_mem() local 671 int tid, nptr; check_leak() local [all...] |
/third_party/musl/src/sched/ |
H A D | affinity.c | 7 int sched_setaffinity(pid_t tid, size_t size, const cpu_set_t *set) in sched_setaffinity() argument 14 return syscall(SYS_sched_setaffinity, tid, (unsigned short)(set->__bits[0]), MUSL_TYPE_PROCESS); in sched_setaffinity() 16 return syscall(SYS_sched_setaffinity, tid, size, set); in sched_setaffinity() 26 return -__syscall(SYS_sched_setaffinity, td->tid, (unsigned short)(set->__bits[0]), MUSL_TYPE_THREAD); in pthread_setaffinity_np() 28 return -__syscall(SYS_sched_setaffinity, td->tid, size, set); in pthread_setaffinity_np() 33 static int do_getaffinity(pid_t tid, size_t size, cpu_set_t *set, int flag) in do_getaffinity() argument 39 int ret = __syscall(SYS_sched_getaffinity, tid, &cpuset, flag); in do_getaffinity() 47 static int do_getaffinity(pid_t tid, size_t size, cpu_set_t *set) in do_getaffinity() argument 49 long ret = __syscall(SYS_sched_getaffinity, tid, size, set); in do_getaffinity() 56 int sched_getaffinity(pid_t tid, size_ argument [all...] |