Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 641) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dagg-rx.c16 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->size; in mt76_rx_aggr_release_frames()
40 mt76_aggr_release(tid, frames, idx); in mt76_rx_aggr_release_frames()
45 mt76_rx_aggr_release_head(struct mt76_rx_tid *tid, struct sk_buff_head *frames) in mt76_rx_aggr_release_head() argument
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Dagg-tx.c62 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument
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()
[all …]
Dagg-rx.c58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument
66 .tid = tid, in ___ieee80211_stop_rx_ba_session()
74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session()
77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in ___ieee80211_stop_rx_ba_session()
80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session()
81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in ___ieee80211_stop_rx_ba_session()
85 sta->sta.addr, tid, in ___ieee80211_stop_rx_ba_session()
92 sta->sta.addr, tid); in ___ieee80211_stop_rx_ba_session()
97 tid, WLAN_BACK_RECIPIENT, reason); in ___ieee80211_stop_rx_ba_session()
117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument
[all …]
/kernel/linux/linux-5.10/fs/cifs/
Dtrace.h19 __u32 tid,
24 TP_ARGS(xid, fid, tid, sesid, offset, len, rc),
28 __field(__u32, tid)
37 __entry->tid = tid;
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,
74 TP_ARGS(xid, fid, tid, sesid, offset, len),
78 __field(__u32, tid)
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_prs.c47 int tid) in mvpp2_prs_init_from_hw() argument
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()
382 return tid; in mvpp2_prs_flow_find()
392 int tid; in mvpp2_prs_tcam_first_free() local
[all …]
Dmvpp2_debugfs.c17 int tid; member
251 int tid; in mvpp2_dbgfs_port_vid_show() local
253 for (tid = MVPP2_PRS_VID_PORT_FIRST(port->id); in mvpp2_dbgfs_port_vid_show()
254 tid <= MVPP2_PRS_VID_PORT_LAST(port->id); tid++) { in mvpp2_dbgfs_port_vid_show()
255 mvpp2_prs_init_from_hw(priv, &pe, tid); in mvpp2_dbgfs_port_vid_show()
259 if (!priv->prs_shadow[tid].valid) in mvpp2_dbgfs_port_vid_show()
305 int index, tid; in mvpp2_dbgfs_filter_show() local
307 for (tid = MVPP2_PE_MAC_RANGE_START; in mvpp2_dbgfs_filter_show()
308 tid <= MVPP2_PE_MAC_RANGE_END; tid++) { in mvpp2_dbgfs_filter_show()
311 if (!priv->prs_shadow[tid].valid || in mvpp2_dbgfs_filter_show()
[all …]
/kernel/liteos_m/testsuites/unittest/xts/process/
Dpthread_basic_api_test.c60 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
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dfutex-contention.py29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
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, argument
42 if tid in thread_blocktime:
43 elapsed = nsecs(s, ns) - thread_blocktime[tid]
44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
45 del thread_blocktime[tid]
46 del thread_thislock[tid]
[all …]
/kernel/linux/linux-5.10/fs/jfs/
Dnamei.c66 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, 1); /* Marks Filesystem dirty */ in jfs_create()
[all …]
Djfs_xtree.h93 extern void xtInitRoot(tid_t tid, struct inode *ip);
94 extern int xtInsert(tid_t tid, struct inode *ip,
96 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
99 extern int xtTailgate(tid_t tid, struct inode *ip,
102 extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad);
103 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
105 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
106 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
107 extern int xtRelocate(tid_t tid, struct inode *ip,
109 extern int xtAppend(tid_t tid,
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
D11n.h47 *priv, int tid,
49 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid,
51 int mwifiex_send_addba(struct mwifiex_private *priv, int tid, u8 *peer_mac);
52 int mwifiex_send_delba(struct mwifiex_private *priv, int tid, u8 *peer_mac,
70 struct mwifiex_ra_list_tbl *ptr, int tid) in mwifiex_is_station_ampdu_allowed() argument
77 return (node->ampdu_sta[tid] != BA_STREAM_NOT_ALLOWED) ? true : false; in mwifiex_is_station_ampdu_allowed()
83 struct mwifiex_ra_list_tbl *ptr, int tid) in mwifiex_is_ampdu_allowed() argument
88 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); in mwifiex_is_ampdu_allowed()
91 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); in mwifiex_is_ampdu_allowed()
93 return (priv->aggr_prio_tbl[tid].ampdu_ap != in mwifiex_is_ampdu_allowed()
[all …]
D11n.c111 int tid; in mwifiex_ret_11n_delba() local
116 tid = del_ba_param_set >> DELBA_TID_POS; in mwifiex_ret_11n_delba()
118 mwifiex_del_ba_tbl(priv, tid, del_ba->peer_mac_addr, in mwifiex_ret_11n_delba()
124 mwifiex_send_addba(priv, tx_ba_tbl->tid, in mwifiex_ret_11n_delba()
133 mwifiex_create_ba_tbl(priv, del_ba->peer_mac_addr, tid, in mwifiex_ret_11n_delba()
139 mwifiex_del_ba_tbl(priv, tx_ba_tbl->tid, tx_ba_tbl->ra, in mwifiex_ret_11n_delba()
157 int tid, tid_down; in mwifiex_ret_11n_addba_req() local
166 tid = (block_ack_param_set & IEEE80211_ADDBA_PARAM_TID_MASK) in mwifiex_ret_11n_addba_req()
169 tid_down = mwifiex_wmm_downgrade_tid(priv, tid); in mwifiex_ret_11n_addba_req()
177 mwifiex_del_ba_tbl(priv, tid, add_ba_rsp->peer_mac_addr, in mwifiex_ret_11n_addba_req()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c202 static inline unsigned int compute_store_pattern(unsigned int tid, in compute_store_pattern() argument
207 char *start = compute_chunk_start_addr(tid); in compute_store_pattern()
210 ret += (tid & THREAD_ID_MASK) << THREAD_ID_SHIFT; in compute_store_pattern()
257 static inline void start_verification_log(unsigned int tid, in start_verification_log() argument
266 char *chunk_start = compute_chunk_start_addr(tid); in start_verification_log()
269 sprintf(logfile, logfilename, tid); in start_verification_log()
279 fp[tid] = f; in start_verification_log()
283 fprintf(f, "Thread id = %02d\n", tid); in start_verification_log()
292 static inline void log_anamoly(unsigned int tid, unsigned int *addr, in log_anamoly() argument
295 FILE *f = fp[tid]; in log_anamoly()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h63 unsigned int tid) in lookup_tid() argument
65 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid()
66 &(t->tid_tab[tid]) : NULL; in lookup_tid()
75 unsigned int tid) in lookup_stid() argument
79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
82 e = stid2entry(t, tid); in lookup_stid()
94 unsigned int tid) in lookup_atid() argument
98 if (tid < t->atid_base || tid >= t->atid_base + t->natids) in lookup_atid()
101 e = atid2entry(t, tid); in lookup_atid()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.h89 cxgb_mk_tid_release(struct sk_buff *skb, u32 len, u32 tid, u16 chan) in cxgb_mk_tid_release() argument
95 INIT_TP_WR(req, tid); in cxgb_mk_tid_release()
96 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_TID_RELEASE, tid)); in cxgb_mk_tid_release()
101 cxgb_mk_close_con_req(struct sk_buff *skb, u32 len, u32 tid, u16 chan, in cxgb_mk_close_con_req() argument
108 INIT_TP_WR(req, tid); in cxgb_mk_close_con_req()
109 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); in cxgb_mk_close_con_req()
115 cxgb_mk_abort_req(struct sk_buff *skb, u32 len, u32 tid, u16 chan, in cxgb_mk_abort_req() argument
122 INIT_TP_WR(req, tid); in cxgb_mk_abort_req()
123 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_REQ, tid)); in cxgb_mk_abort_req()
130 cxgb_mk_abort_rpl(struct sk_buff *skb, u32 len, u32 tid, u16 chan) in cxgb_mk_abort_rpl() argument
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Djbd2.h137 TP_PROTO(dev_t dev, tid_t tid, unsigned int type,
140 TP_ARGS(dev, tid, type, line_no, requested_blocks),
144 __field( tid_t, tid )
152 __entry->tid = tid;
160 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid,
165 TP_PROTO(dev_t dev, tid_t tid, unsigned int type,
168 TP_ARGS(dev, tid, type, line_no, requested_blocks)
172 TP_PROTO(dev_t dev, tid_t tid, unsigned int type,
175 TP_ARGS(dev, tid, type, line_no, requested_blocks)
179 TP_PROTO(dev_t dev, tid_t tid, unsigned int type,
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dxmit.c51 struct ath_atx_tid *tid, struct sk_buff *skb);
64 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid,
68 struct ath_atx_tid *tid,
116 void ath_tx_queue_tid(struct ath_softc *sc, struct ath_atx_tid *tid) in ath_tx_queue_tid() argument
119 container_of((void *)tid, struct ieee80211_txq, drv_priv); in ath_tx_queue_tid()
128 struct ath_atx_tid *tid = (struct ath_atx_tid *) queue->drv_priv; in ath9k_wake_tx_queue() local
129 struct ath_txq *txq = tid->txq; in ath9k_wake_tx_queue()
133 tid->tidno); in ath9k_wake_tx_queue()
148 static void ath_send_bar(struct ath_atx_tid *tid, u16 seqno) in ath_send_bar() argument
150 if (!tid->an->sta) in ath_send_bar()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dtrace.h49 TP_PROTO(unsigned int victim, unsigned int tid, unsigned int word0,
51 TP_ARGS(victim, tid, word0, word1, word2),
55 __field( unsigned int, tid )
63 __entry->tid = tid;
70 __entry->victim, __entry->tid, __entry->word0,
75 TP_PROTO(unsigned int gtlb_index, unsigned int tid, unsigned int word0,
77 TP_ARGS(gtlb_index, tid, word0, word1, word2),
81 __field( unsigned int, tid )
89 __entry->tid = tid;
96 __entry->gtlb_index, __entry->tid, __entry->word0,
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/
Dpthread_mutex_test_004.cpp50 int tid = Gettid(); in ThreadFuncTest3() local
56 g_testInfo[2][g_testToCount003] = tid; // 2, max indx in ThreadFuncTest3()
62 ICUNIT_GOTO_EQUAL(g_testInfo[2][g_testBackCount003], tid, tid, EXIT); // 2, max indx in ThreadFuncTest3()
75 int tid = Gettid(); in ThreadFuncTest2() local
81 g_testInfo[1][g_testToCount002] = tid; in ThreadFuncTest2()
87 ICUNIT_GOTO_EQUAL(g_testInfo[1][g_testBackCount002], tid, tid, EXIT); in ThreadFuncTest2()
100 int tid = Gettid(); in ThreadFuncTest1() local
107 g_testInfo[0][g_testToCount001] = tid; in ThreadFuncTest1()
113 ICUNIT_GOTO_EQUAL(g_testInfo[0][g_testBackCount001], tid, tid, EXIT); in ThreadFuncTest1()
Dpthread_mutex_test_005.cpp50 int tid; in ThreadFuncTest3() local
62 tid = Gettid(); in ThreadFuncTest3()
63 ICUNIT_GOTO_EQUAL(g_testInfo[2][g_testBackCount003], tid, tid, EXIT); // 2, max indx in ThreadFuncTest3()
76 int tid; in ThreadFuncTest2() local
88 tid = Gettid(); in ThreadFuncTest2()
89 ICUNIT_GOTO_EQUAL(g_testInfo[1][g_testBackCount002], tid, tid, EXIT); in ThreadFuncTest2()
102 int tid; in ThreadFuncTest1() local
114 tid = Gettid(); in ThreadFuncTest1()
115 ICUNIT_GOTO_EQUAL(g_testInfo[0][g_testBackCount001], tid, tid, EXIT); in ThreadFuncTest1()
Dpthread_mutex_test_006.cpp50 int tid = Gettid(); in ThreadFuncTest3() local
56 g_testInfo[2][g_testToCount003] = tid; // 2, max indx in ThreadFuncTest3()
62 ICUNIT_GOTO_EQUAL(g_testInfo[2][g_testBackCount003], tid, tid, EXIT); // 2, max indx in ThreadFuncTest3()
75 int tid = Gettid(); in ThreadFuncTest2() local
81 g_testInfo[1][g_testToCount002] = tid; in ThreadFuncTest2()
87 ICUNIT_GOTO_EQUAL(g_testInfo[1][g_testBackCount002], tid, tid, EXIT); in ThreadFuncTest2()
100 int tid = Gettid(); in ThreadFuncTest1() local
106 g_testInfo[0][g_testToCount001] = tid; in ThreadFuncTest1()
112 ICUNIT_GOTO_EQUAL(g_testInfo[0][g_testBackCount001], tid, tid, EXIT); in ThreadFuncTest1()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dtx.c275 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
379 tid = qc[0] & IEEE80211_QOS_CTL_TID_MASK; in iwlagn_tx_skb()
380 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwlagn_tx_skb()
382 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_skb()
391 sta_id, tid, in iwlagn_tx_skb()
421 txq_id = priv->tid_data[sta_id][tid].agg.txq_id; in iwlagn_tx_skb()
434 IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d - seq: 0x%x\n", sta_id, tid, in iwlagn_tx_skb()
441 priv->tid_data[sta_id][tid].seq_number = seq_number; in iwlagn_tx_skb()
487 struct ieee80211_sta *sta, u16 tid) in iwlagn_tx_agg_stop() argument
496 IWL_ERR(priv, "Invalid station for AGG tid %d\n", tid); in iwlagn_tx_agg_stop()
[all …]
/kernel/liteos_m/components/security/syscall/
Dpthread_syscall.c68 int SysSchedSetScheduler(unsigned int tid, int policy, int priority) in SysSchedSetScheduler() argument
70 if ((tid == 0) || (tid > LOSCFG_BASE_CORE_TSK_LIMIT)) { in SysSchedSetScheduler()
82 UINT32 ret = LOS_TaskPriSet((UINT32)tid, (UINT16)priority); in SysSchedSetScheduler()
90 int *SysSchedGetArea(unsigned int tid) in SysSchedGetArea() argument
95 if ((tid == 0) || (tid > LOSCFG_BASE_CORE_TSK_LIMIT)) { in SysSchedGetArea()
100 area = (int *)OsGetUserTaskCB(tid)->userArea; in SysSchedGetArea()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c310 sta->addr, ba_data->tid); in iwl_mvm_rx_agg_session_expired()
365 u16 *queueptr, u8 tid, u8 flags) in iwl_mvm_disable_txq() argument
384 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_disable_txq()
401 cmd.tid = mvm->queue_info[queue].txq_tid; in iwl_mvm_disable_txq()
413 iwl_mvm_txq_from_tid(sta, tid); in iwl_mvm_disable_txq()
438 int tid; in iwl_mvm_get_queue_agg_tids() local
457 for_each_set_bit(tid, &tid_bitmap, IWL_MAX_TID_COUNT + 1) { in iwl_mvm_get_queue_agg_tids()
458 if (mvmsta->tid_data[tid].state == IWL_AGG_ON) in iwl_mvm_get_queue_agg_tids()
459 agg_tids |= BIT(tid); in iwl_mvm_get_queue_agg_tids()
478 int tid; in iwl_mvm_remove_sta_queue_marking() local
[all …]
/kernel/linux/linux-5.10/sound/core/
Dpcm_timer.c100 struct snd_timer_id tid; in snd_pcm_timer_init() local
103 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_pcm_timer_init()
104 tid.dev_class = SNDRV_TIMER_CLASS_PCM; in snd_pcm_timer_init()
105 tid.card = substream->pcm->card->number; in snd_pcm_timer_init()
106 tid.device = substream->pcm->device; in snd_pcm_timer_init()
107 tid.subdevice = (substream->number << 1) | (substream->stream & 1); in snd_pcm_timer_init()
108 if (snd_timer_new(substream->pcm->card, "PCM", &tid, &timer) < 0) in snd_pcm_timer_init()
113 tid.card, tid.device, tid.subdevice); in snd_pcm_timer_init()

12345678910>>...26