Home
last modified time | relevance | path

Searched full:tid (Results 1 – 25 of 766) sorted by relevance

12345678910>>...31

/linux/drivers/net/wireless/mediatek/mt76/
H A 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 …]
/linux/fs/smb/client/
H A Dtrace.h253 __u32 tid,
259 xid, fid, tid, sesid, offset, len, rc),
265 __field(__u32, tid)
276 __entry->tid = tid;
282 TP_printk("R=%08x[%x] xid=%u sid=0x%llx tid=0x%x fid=0x%llx offset=0x%llx len=0x%x rc=%d",
284 __entry->xid, __entry->sesid, __entry->tid, __entry->fid,
294 __u32 tid, \
299 TP_ARGS(rreq_debug_id, rreq_debug_index, xid, fid, tid, sesid, offset, len, rc))
308 __u32 tid,
313 TP_ARGS(xid, fid, tid, sesid, offset, len, rc),
[all …]
/linux/net/mac80211/
H A Dagg-tx.c61 static void ieee80211_send_addba_request(struct sta_info *sta, u16 tid, in ieee80211_send_addba_request() argument
89 capab |= u16_encode_bits(tid, IEEE80211_ADDBA_PARAM_TID_MASK); in ieee80211_send_addba_request()
101 ieee80211_tx_skb_tid(sdata, skb, tid, -1); in ieee80211_send_addba_request()
104 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument
124 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); in ieee80211_send_bar()
130 ieee80211_tx_skb_tid(sdata, skb, tid, -1); in ieee80211_send_bar()
134 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument
139 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
154 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __acquires()
156 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; in __acquires()
[all …]
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_prs.c49 struct mvpp2_prs_entry *pe, int tid) in __mvpp2_prs_init_from_hw() argument
55 if (tid > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in __mvpp2_prs_init_from_hw()
59 pe->index = tid; in __mvpp2_prs_init_from_hw()
81 int tid) in mvpp2_prs_init_from_hw() argument
86 err = __mvpp2_prs_init_from_hw(priv, pe, tid); in mvpp2_prs_init_from_hw()
383 int tid; in mvpp2_prs_flow_find() local
386 for (tid = MVPP2_PRS_TCAM_SRAM_SIZE - 1; tid >= 0; tid--) { in mvpp2_prs_flow_find()
389 if (!priv->prs_shadow[tid].valid || in mvpp2_prs_flow_find()
390 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_FLOWS) in mvpp2_prs_flow_find()
393 __mvpp2_prs_init_from_hw(priv, &pe, tid); in mvpp2_prs_flow_find()
[all …]
H A 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 …]
/linux/include/trace/events/
H A 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;
158 TP_printk("dev %d,%d tid %u type %u line_no %u "
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)
[all …]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A D11n.c77 nxpwifi_get_ba_status(struct nxpwifi_private *priv, int tid, in nxpwifi_get_ba_status() argument
83 list_for_each_entry_rcu(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr[tid], list) { in nxpwifi_get_ba_status()
96 int tid; in nxpwifi_ret_11n_delba() local
101 tid = del_ba_param_set >> DELBA_TID_POS; in nxpwifi_ret_11n_delba()
103 nxpwifi_del_ba_tbl(priv, tid, del_ba->peer_mac_addr, in nxpwifi_ret_11n_delba()
107 tx_ba_tbl = nxpwifi_get_ba_status(priv, tid, BA_SETUP_INPROGRESS); in nxpwifi_ret_11n_delba()
109 nxpwifi_send_addba(priv, tx_ba_tbl->tid, in nxpwifi_ret_11n_delba()
119 nxpwifi_create_ba_tbl(priv, del_ba->peer_mac_addr, tid, in nxpwifi_ret_11n_delba()
122 tx_ba_tbl = nxpwifi_get_ba_status(priv, tid, BA_SETUP_INPROGRESS); in nxpwifi_ret_11n_delba()
125 nxpwifi_del_ba_tbl(priv, tx_ba_tbl->tid, tx_ba_tbl->ra, in nxpwifi_ret_11n_delba()
[all …]
H A D11n_rxreorder.c81 int pkt_to_send, i, tid; in nxpwifi_11n_dispatch_pkt_until_start_win() local
83 tid = tbl->tid; in nxpwifi_11n_dispatch_pkt_until_start_win()
85 spin_lock_bh(&priv->rx_reorder_tbl_lock[tid]); in nxpwifi_11n_dispatch_pkt_until_start_win()
106 spin_unlock_bh(&priv->rx_reorder_tbl_lock[tid]); in nxpwifi_11n_dispatch_pkt_until_start_win()
119 int i, j, xchg, tid; in nxpwifi_11n_scan_and_dispatch() local
121 tid = tbl->tid; in nxpwifi_11n_scan_and_dispatch()
123 spin_lock_bh(&priv->rx_reorder_tbl_lock[tid]); in nxpwifi_11n_scan_and_dispatch()
143 spin_unlock_bh(&priv->rx_reorder_tbl_lock[tid]); in nxpwifi_11n_scan_and_dispatch()
154 int start_win, tid; in nxpwifi_del_rx_reorder_entry() local
159 tid = tbl->tid; in nxpwifi_del_rx_reorder_entry()
[all …]
H A D11n.h34 *priv, int tid, u8 *ra);
35 void nxpwifi_create_ba_tbl(struct nxpwifi_private *priv, u8 *ra, int tid,
37 int nxpwifi_send_addba(struct nxpwifi_private *priv, int tid, u8 *peer_mac);
38 int nxpwifi_send_delba(struct nxpwifi_private *priv, int tid, u8 *peer_mac,
56 struct nxpwifi_ra_list_tbl *ptr, int tid) in nxpwifi_is_station_ampdu_allowed() argument
65 if (node->ampdu_sta[tid] == BA_STREAM_NOT_ALLOWED) in nxpwifi_is_station_ampdu_allowed()
71 /* Check if AMPDU is allowed for the given TID. */
74 struct nxpwifi_ra_list_tbl *ptr, int tid) in nxpwifi_is_ampdu_allowed() argument
80 return nxpwifi_is_station_ampdu_allowed(priv, ptr, tid); in nxpwifi_is_ampdu_allowed()
82 return priv->aggr_prio_tbl[tid].ampdu_ap != BA_STREAM_NOT_ALLOWED; in nxpwifi_is_ampdu_allowed()
[all …]
/linux/tools/perf/scripts/python/
H A Dfutex-contention.py25 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, 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]
[all …]
H A Dtask-analyzer.py129 help="filter out unneeded tasks by tid, pid or processname."
135 help="limit output to selected task by tid, pid, processname."
141 help="colorize special tasks by their pid/tid/comm."
148 help="rename task names by using tid (<tid>:<newname>,<tid>:<newname>)"
193 db["tid"] = dict()
200 db["task_info"]["tid"] = len("TID")
304 def __init__(self, pid, tid, comm, runs, acc, mean, argument
307 self.tid = tid
353 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["tid"] * fix_csv_align)
371 column_titles = ("PID", "TID", "Comm")
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A D11n.h35 *priv, int tid,
37 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid,
39 int mwifiex_send_addba(struct mwifiex_private *priv, int tid, u8 *peer_mac);
40 int mwifiex_send_delba(struct mwifiex_private *priv, int tid, u8 *peer_mac,
58 struct mwifiex_ra_list_tbl *ptr, int tid) in mwifiex_is_station_ampdu_allowed() argument
65 return (node->ampdu_sta[tid] != BA_STREAM_NOT_ALLOWED) ? true : false; in mwifiex_is_station_ampdu_allowed()
68 /* This function checks whether AMPDU is allowed or not for a particular TID. */
71 struct mwifiex_ra_list_tbl *ptr, int tid) in mwifiex_is_ampdu_allowed() argument
76 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); in mwifiex_is_ampdu_allowed()
79 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); in mwifiex_is_ampdu_allowed()
[all …]
H A D11n.c99 int tid; in mwifiex_ret_11n_delba() local
104 tid = del_ba_param_set >> DELBA_TID_POS; in mwifiex_ret_11n_delba()
106 mwifiex_del_ba_tbl(priv, tid, del_ba->peer_mac_addr, in mwifiex_ret_11n_delba()
112 mwifiex_send_addba(priv, tx_ba_tbl->tid, in mwifiex_ret_11n_delba()
121 mwifiex_create_ba_tbl(priv, del_ba->peer_mac_addr, tid, in mwifiex_ret_11n_delba()
127 mwifiex_del_ba_tbl(priv, tx_ba_tbl->tid, tx_ba_tbl->ra, in mwifiex_ret_11n_delba()
145 int tid, tid_down; in mwifiex_ret_11n_addba_req() local
154 tid = (block_ack_param_set & IEEE80211_ADDBA_PARAM_TID_MASK) in mwifiex_ret_11n_addba_req()
157 tid_down = mwifiex_wmm_downgrade_tid(priv, tid); in mwifiex_ret_11n_addba_req()
165 mwifiex_del_ba_tbl(priv, tid, add_ba_rsp->peer_mac_addr, in mwifiex_ret_11n_addba_req()
[all …]
H A D11n_rxreorder.c227 * table which matches the given TA/TID pair.
230 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta) in mwifiex_11n_get_rx_reorder_tbl() argument
236 if (!memcmp(tbl->ta, ta, ETH_ALEN) && tbl->tid == tid) { in mwifiex_11n_get_rx_reorder_tbl()
320 * given TA/TID.
325 * If the received TA/TID pair is already present, all the packets are
330 int tid, int win_size, int seq_num) in mwifiex_11n_create_rx_reorder_tbl() argument
338 * If we get a TID, ta pair which is already present dispatch all in mwifiex_11n_create_rx_reorder_tbl()
341 tbl = mwifiex_11n_get_rx_reorder_tbl(priv, tid, ta); in mwifiex_11n_create_rx_reorder_tbl()
352 new_node->tid = tid; in mwifiex_11n_create_rx_reorder_tbl()
363 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
[all …]
/linux/tools/perf/dlfilters/
H A Ddlfilter-show-cycles.c29 __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 = sample->tid; in filter_event_early() local
93 else if (tid != -1) in filter_event_early()
94 add_entry(tid, pos, sample->cyc_cnt); in filter_event_early()
[all …]
/linux/tools/testing/selftests/net/
H A Dsrv6_encap_lookup_l3vpn_test.sh264 local tid="$1"
267 echo "hs_t${tid}_${hsid}"
272 local tid="$1"
276 varname="$(get_hsname "${tid}" "${hsid}")"
303 local tid="$2"
305 echo "$((tid + rtid))"
312 local tid="$3"
314 echo "${VPN_LOCATOR_SERVICE}:${rtsrc}:${rtdst}:${tid}::${DT46_FUNC}"
332 local tid="$5"
345 "${IPv6_HS_NETWORK}::${dst6}/128" vrf "vrf-${tid}" \
[all …]
/linux/arch/powerpc/kvm/
H A 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;
69 TP_printk("victim %u tid %u w0 %u w1 %u w2 %u",
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;
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_defs.h45 * Map an ATID or STID to their entries in the corresponding TID tables.
60 * Find the connection corresponding to a TID.
63 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()
72 * Find the connection corresponding to a server 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()
91 * Find the connection corresponding to an active-open TID.
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.c297 sta->addr, ba_data->tid); in iwl_mvm_rx_agg_session_expired()
352 int sta_id, u16 *queueptr, u8 tid) in iwl_mvm_disable_txq() argument
372 if (tid == IWL_MAX_TID_COUNT) in iwl_mvm_disable_txq()
373 tid = IWL_MGMT_TID; in iwl_mvm_disable_txq()
375 remove_cmd.u.remove.tid = cpu_to_le32(tid); in iwl_mvm_disable_txq()
393 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_disable_txq()
410 cmd.tid = mvm->queue_info[queue].txq_tid; in iwl_mvm_disable_txq()
422 iwl_mvm_txq_from_tid(sta, tid); in iwl_mvm_disable_txq()
451 int tid; in iwl_mvm_get_queue_agg_tids() local
470 for_each_set_bit(tid, &tid_bitmap, IWL_MAX_TID_COUNT + 1) { in iwl_mvm_get_queue_agg_tids()
[all …]
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A 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 …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtx.c273 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
377 tid = qc[0] & IEEE80211_QOS_CTL_TID_MASK; in iwlagn_tx_skb()
378 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwlagn_tx_skb()
380 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_skb()
382 /* aggregation is on for this <sta,tid> */ in iwlagn_tx_skb()
388 IWL_ERR(priv, "sta_id = %d, tid = %d seq_num = %d\n", in iwlagn_tx_skb()
389 sta_id, tid, in iwlagn_tx_skb()
419 txq_id = priv->tid_data[sta_id][tid].agg.txq_id; in iwlagn_tx_skb()
432 IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d - seq: 0x%x\n", sta_id, tid, in iwlagn_tx_skb()
439 priv->tid_data[sta_id][tid].seq_number = seq_number; in iwlagn_tx_skb()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Drx.c19 u8 tid; member
28 u8 tid; member
128 .desc = "QoS data invalid tid",
133 .tid = IWL_MAX_TID_COUNT + 1,
141 .desc = "non-QoS data, same sequence, same tid, no retry",
143 /* Driver will use tid = IWL_MAX_TID_COUNT */
148 .tid = IWL_MAX_TID_COUNT,
158 .desc = "non-QoS data, same sequence, same tid, has retry",
160 /* Driver will use tid = IWL_MAX_TID_COUNT */
166 .tid = IWL_MAX_TID_COUNT,
[all …]
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c445 unsigned int tid = csk->tid; in send_close_req() local
448 "csk 0x%p,%u,0x%lx, tid %u.\n", in send_close_req()
449 csk, csk->state, csk->flags, csk->tid); in send_close_req()
452 INIT_TP_WR(req, tid); in send_close_req()
453 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); in send_close_req()
467 "csk 0x%p,%u,0x%lx, tid %u, abort.\n", in abort_arp_failure()
468 csk, csk->state, csk->flags, csk->tid); in abort_arp_failure()
496 INIT_TP_WR(req, csk->tid); in send_abort_req()
497 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_REQ, csk->tid)); in send_abort_req()
503 csk, csk->state, csk->flags, csk->tid, csk->snd_nxt, in send_abort_req()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dagg.c107 unsigned int baid, nssn, sta_id, tid; in iwl_mld_handle_bar_frame_release_notif() local
121 tid = le32_get_bits(release->sta_tid, in iwl_mld_handle_bar_frame_release_notif()
137 if (IWL_FW_CHECK(mld, tid != baid_data->tid || in iwl_mld_handle_bar_frame_release_notif()
140 "BAID 0x%x is mapped to sta_mask:0x%x tid:%d, but BAR release received for sta:%d tid:%d\n", in iwl_mld_handle_bar_frame_release_notif()
141 baid, baid_data->sta_mask, baid_data->tid, sta_id, in iwl_mld_handle_bar_frame_release_notif()
142 tid)) in iwl_mld_handle_bar_frame_release_notif()
206 u8 tid = ieee80211_get_tid(hdr); in iwl_mld_reorder() local
257 /* verify the BAID is correctly mapped to the sta and tid */ in iwl_mld_reorder()
259 tid != baid_data->tid || in iwl_mld_reorder()
261 "BAID 0x%x is mapped to sta_mask:0x%x tid:%d, but was received for sta_mask:0x%x tid:%d\n", in iwl_mld_reorder()
[all …]
/linux/kernel/locking/
H A Dlocktorture.c139 int (*nested_lock)(int tid, u32 lockset);
140 int (*writelock)(int tid);
143 void (*writeunlock)(int tid);
144 void (*nested_unlock)(int tid, u32 lockset);
145 int (*readlock)(int tid);
147 void (*readunlock)(int tid);
170 static int torture_lock_busted_write_lock(int tid __maybe_unused) in torture_lock_busted_write_lock()
184 static void torture_lock_busted_write_unlock(int tid __maybe_unused) in torture_lock_busted_write_unlock()
242 static int torture_spin_lock_write_lock(int tid __maybe_unused) in torture_spin_lock_write_lock()
268 static void torture_spin_lock_write_unlock(int tid __maybe_unused) in torture_spin_lock_write_unlock()
[all …]

12345678910>>...31