Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 200 of 401) sorted by relevance

123

/linux-4.1.27/net/mac80211/
Dagg-tx.c63 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument
101 capab |= (u16)(tid << 2); /* bit 5:2 TID number */ in ieee80211_send_addba_request()
113 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument
134 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); in ieee80211_send_bar()
140 ieee80211_tx_skb_tid(sdata, skb, tid); in ieee80211_send_bar()
144 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument
149 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
164 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __acquires()
166 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; in __acquires()
179 ieee80211_wake_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __releases()
[all …]
Dagg-rx.c59 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument
67 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session()
73 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session()
77 sta->sta.addr, tid, in ___ieee80211_stop_rx_ba_session()
82 &sta->sta, tid, NULL, 0)) in ___ieee80211_stop_rx_ba_session()
85 sta->sta.addr, tid); in ___ieee80211_stop_rx_ba_session()
90 tid, WLAN_BACK_RECIPIENT, reason); in ___ieee80211_stop_rx_ba_session()
103 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument
107 ___ieee80211_stop_rx_ba_session(sta, tid, initiator, reason, tx); in __ieee80211_stop_rx_ba_session()
185 static void ieee80211_send_addba_resp(struct ieee80211_sub_if_data *sdata, u8 *da, u16 tid, in ieee80211_send_addba_resp() argument
[all …]
Dht.c303 int tid; in ieee80211_ba_session_work() local
315 for (tid = 0; tid < IEEE80211_NUM_TIDS; tid++) { in ieee80211_ba_session_work()
316 if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired)) in ieee80211_ba_session_work()
318 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
321 if (test_and_clear_bit(tid, in ieee80211_ba_session_work()
324 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
329 tid_tx = sta->ampdu_mlme.tid_start_tx[tid]; in ieee80211_ba_session_work()
336 sta->ampdu_mlme.tid_start_tx[tid] = NULL; in ieee80211_ba_session_work()
338 if (sta->ampdu_mlme.tid_tx[tid]) in ieee80211_ba_session_work()
341 ieee80211_assign_tid_tx(sta, tid, tid_tx); in ieee80211_ba_session_work()
[all …]
Dkey.c947 int tid, struct ieee80211_key_seq *seq) in ieee80211_get_key_rx_seq() argument
956 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
958 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq()
959 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq()
963 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
965 if (tid < 0) in ieee80211_get_key_rx_seq()
968 pn = key->u.ccmp.rx_pn[tid]; in ieee80211_get_key_rx_seq()
973 if (WARN_ON(tid != 0)) in ieee80211_get_key_rx_seq()
980 if (WARN_ON(tid != 0)) in ieee80211_get_key_rx_seq()
987 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
[all …]
Dwme.c62 static inline u8 ieee80211_fix_reserved_tid(u8 tid) in ieee80211_fix_reserved_tid() argument
64 switch (tid) { in ieee80211_fix_reserved_tid()
240 u8 ack_policy, tid; in ieee80211_set_qos_hdr() local
246 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK; in ieee80211_set_qos_hdr()
252 sdata->noack_map & BIT(tid)) { in ieee80211_set_qos_hdr()
258 *p++ = ack_policy | tid; in ieee80211_set_qos_hdr()
Dmichael.c33 u8 *da, *sa, tid; in michael_mic_hdr() local
38 tid = *ieee80211_get_qos_ctl(hdr) & IEEE80211_QOS_CTL_TID_MASK; in michael_mic_hdr()
40 tid = 0; in michael_mic_hdr()
53 michael_block(mctx, tid); in michael_mic_hdr()
Dtrace.h944 struct ieee80211_sta *sta, u16 tid,
947 TP_ARGS(local, sdata, action, sta, tid, ssn, buf_size),
953 __field(u16, tid)
964 __entry->tid = tid;
972 __entry->tid, __entry->buf_size
1661 TP_PROTO(struct ieee80211_sta *sta, u16 tid),
1663 TP_ARGS(sta, tid),
1667 __field(u16, tid)
1672 __entry->tid = tid;
1677 STA_PR_ARG, __entry->tid
[all …]
Dstatus.c84 int tid = *p & IEEE80211_QOS_CTL_TID_MASK; in ieee80211_handle_filtered_frame() local
93 ac = ieee802_1d_to_ac[tid & 7]; in ieee80211_handle_filtered_frame()
166 static void ieee80211_check_pending_bar(struct sta_info *sta, u8 *addr, u8 tid) in ieee80211_check_pending_bar() argument
170 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_check_pending_bar()
175 ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn); in ieee80211_check_pending_bar()
190 u16 tid = qc[0] & 0xf; in ieee80211_frame_acked() local
192 ieee80211_check_pending_bar(sta, hdr->addr1, tid); in ieee80211_frame_acked()
231 static void ieee80211_set_bar_pending(struct sta_info *sta, u8 tid, u16 ssn) in ieee80211_set_bar_pending() argument
235 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_set_bar_pending()
666 int tid = IEEE80211_NUM_TIDS; in ieee80211_tx_status() local
[all …]
Dieee80211_i.h1009 u16 tid; member
1383 u16 tid; member
1659 const u8 *da, u16 tid,
1669 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
1671 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
1675 u16 start_seq_num, u16 ba_policy, u16 tid,
1691 int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
1693 int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
1695 void ieee80211_start_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u16 tid);
1696 void ieee80211_stop_tx_ba_cb(struct ieee80211_vif *vif, u8 *ra, u8 tid);
[all …]
Dsta_info.c1226 struct sta_info *sta, int tid, in ieee80211_send_null_response() argument
1264 skb->priority = tid; in ieee80211_send_null_response()
1265 skb_set_queue_mapping(skb, ieee802_1d_to_ac[tid]); in ieee80211_send_null_response()
1267 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response()
1289 drv_allow_buffered_frames(local, sta, BIT(tid), 1, in ieee80211_send_null_response()
1396 int tid; in ieee80211_sta_ps_deliver_response() local
1414 tid = 7 - ((ffs(~ignored_acs) - 1) << 1); in ieee80211_sta_ps_deliver_response()
1416 ieee80211_send_null_response(sdata, sta, tid, reason, true); in ieee80211_sta_ps_deliver_response()
1522 int tid; in ieee80211_sta_ps_deliver_response() local
1550 for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) { in ieee80211_sta_ps_deliver_response()
[all …]
Dtx.c767 static __le16 ieee80211_tx_next_seq(struct sta_info *sta, int tid) in ieee80211_tx_next_seq() argument
769 u16 *seq = &sta->tid_seq[tid]; in ieee80211_tx_next_seq()
784 int tid; in ieee80211_tx_h_sequence() local
832 tid = *qc & IEEE80211_QOS_CTL_TID_MASK; in ieee80211_tx_h_sequence()
833 tx->sta->tx_msdu[tid]++; in ieee80211_tx_h_sequence()
836 hdr->seq_ctrl = ieee80211_tx_next_seq(tx->sta, tid); in ieee80211_tx_h_sequence()
1063 int tid) in ieee80211_tx_prep_agg() argument
1077 } else if (!tx->sta->sta.txq[tid]) { in ieee80211_tx_prep_agg()
1097 tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid); in ieee80211_tx_prep_agg()
1139 int tid; in ieee80211_tx_prepare() local
[all …]
Ddebugfs_sta.c197 unsigned long tid; in sta_agg_status_write() local
228 ret = kstrtoul(buf, 0, &tid); in sta_agg_status_write()
232 if (tid >= IEEE80211_NUM_TIDS) in sta_agg_status_write()
237 ret = ieee80211_start_tx_ba_session(&sta->sta, tid, 5000); in sta_agg_status_write()
239 ret = ieee80211_stop_tx_ba_session(&sta->sta, tid); in sta_agg_status_write()
241 __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, in sta_agg_status_write()
Drx.c549 int tid, seqno_idx, security_idx; in ieee80211_parse_qos() local
555 tid = *qc & IEEE80211_QOS_CTL_TID_MASK; in ieee80211_parse_qos()
559 seqno_idx = tid; in ieee80211_parse_qos()
560 security_idx = tid; in ieee80211_parse_qos()
577 tid = 0; in ieee80211_parse_qos()
584 rx->skb->priority = (tid > 7) ? 0 : tid; in ieee80211_parse_qos()
988 u8 tid, ack_policy; in ieee80211_rx_reorder_ampdu() local
1004 tid = *ieee80211_get_qos_ctl(hdr) & IEEE80211_QOS_CTL_TID_MASK; in ieee80211_rx_reorder_ampdu()
1006 tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ieee80211_rx_reorder_ampdu()
1188 int tid; in sta_ps_start() local
[all …]
Dsta_info.h532 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
536 rcu_dereference_protected_tid_tx(struct sta_info *sta, int tid) in rcu_dereference_protected_tid_tx() argument
538 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
/linux-4.1.27/tools/perf/scripts/python/
Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
30 process_names[tid] = comm
31 thread_thislock[tid] = uaddr
32 thread_blocktime[tid] = nsecs(s, ns)
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
36 if thread_blocktime.has_key(tid):
37 elapsed = nsecs(s, ns) - thread_blocktime[tid]
38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
39 del thread_blocktime[tid]
40 del thread_thislock[tid]
[all …]
/linux-4.1.27/fs/jfs/
Dnamei.c79 tid_t tid; /* transaction id */ in jfs_create() local
109 tid = txBegin(dip->i_sb, 0); in jfs_create()
114 rc = jfs_init_acl(tid, ip, dip); in jfs_create()
118 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); in jfs_create()
120 txAbort(tid, 0); in jfs_create()
126 txAbort(tid, 0); in jfs_create()
130 tblk = tid_to_tblock(tid); in jfs_create()
141 xtInitRoot(tid, ip); in jfs_create()
148 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create()
151 txAbort(tid, 1); /* Marks Filesystem dirty */ in jfs_create()
[all …]
Djfs_xtree.h106 extern void xtInitRoot(tid_t tid, struct inode *ip);
107 extern int xtInsert(tid_t tid, struct inode *ip,
109 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
112 extern int xtTailgate(tid_t tid, struct inode *ip,
115 extern int xtUpdate(tid_t tid, struct inode *ip, struct xad *nxad);
116 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
118 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
119 extern s64 xtTruncate_pmap(tid_t tid, struct inode *ip, s64 committed_size);
120 extern int xtRelocate(tid_t tid, struct inode *ip,
122 extern int xtAppend(tid_t tid,
Dacl.c75 static int __jfs_set_acl(tid_t tid, struct inode *inode, int type, in __jfs_set_acl() argument
112 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); in __jfs_set_acl()
125 tid_t tid; in jfs_set_acl() local
127 tid = txBegin(inode->i_sb, 0); in jfs_set_acl()
129 rc = __jfs_set_acl(tid, inode, type, acl); in jfs_set_acl()
131 rc = txCommit(tid, 1, &inode, 0); in jfs_set_acl()
132 txEnd(tid); in jfs_set_acl()
137 int jfs_init_acl(tid_t tid, struct inode *inode, struct inode *dir) in jfs_init_acl() argument
147 rc = __jfs_set_acl(tid, inode, ACL_TYPE_DEFAULT, default_acl); in jfs_init_acl()
153 rc = __jfs_set_acl(tid, inode, ACL_TYPE_ACCESS, acl); in jfs_init_acl()
Dinode.c86 tid_t tid; in jfs_commit_inode() local
111 tid = txBegin(inode->i_sb, COMMIT_INODE); in jfs_commit_inode()
118 rc = txCommit(tid, 1, &inode, wait ? COMMIT_SYNC : 0); in jfs_commit_inode()
120 txEnd(tid); in jfs_commit_inode()
377 tid_t tid; in jfs_truncate_nolock() local
387 tid = txBegin(ip->i_sb, 0); in jfs_truncate_nolock()
397 newsize = xtTruncate(tid, ip, length, in jfs_truncate_nolock()
400 txEnd(tid); in jfs_truncate_nolock()
408 txCommit(tid, 1, &ip, 0); in jfs_truncate_nolock()
409 txEnd(tid); in jfs_truncate_nolock()
Djfs_xtree.c120 static int xtSplitUp(tid_t tid,
124 static int xtSplitPage(tid_t tid, struct inode *ip, struct xtsplit * split,
127 static int xtSplitRoot(tid_t tid, struct inode *ip,
131 static int xtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp,
138 static int xtRelink(tid_t tid, struct inode *ip, xtpage_t * fp);
537 int xtInsert(tid_t tid, /* transaction id */ in xtInsert() argument
617 if ((rc = xtSplitUp(tid, ip, &split, &btstack))) { in xtInsert()
654 tlck = txLock(tid, ip, mp, tlckXTREE | tlckGROW); in xtInsert()
688 xtSplitUp(tid_t tid, in xtSplitUp() argument
745 tlck = txLock(tid, ip, smp, tlckXTREE | tlckGROW); in xtSplitUp()
[all …]
Djfs_dtree.c152 static int dtSplitUp(tid_t tid, struct inode *ip,
155 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split,
158 static int dtExtendPage(tid_t tid, struct inode *ip,
161 static int dtSplitRoot(tid_t tid, struct inode *ip,
164 static int dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp,
167 static int dtRelink(tid_t tid, struct inode *ip, dtpage_t * p);
304 static inline void lock_index(tid_t tid, struct inode *ip, struct metapage * mp, in lock_index() argument
311 tlck = txLock(tid, ip, mp, tlckDATA); in lock_index()
334 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument
401 xtInitRoot(tid, ip); in add_index()
[all …]
Djfs_txnmgr.c217 TxLock[lid].tid = 0; in txLockFree()
500 void txEnd(tid_t tid) in txEnd() argument
502 struct tblock *tblk = tid_to_tblock(tid); in txEnd()
505 jfs_info("txEnd: tid = %d", tid); in txEnd()
525 jfs_info("txEnd called w/lazy tid: %d, tblk = 0x%p", tid, tblk); in txEnd()
534 jfs_info("txEnd: tid: %d, tblk = 0x%p", tid, tblk); in txEnd()
542 TxAnchor.freetid = tid; in txEnd()
590 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp, in txLock() argument
620 jfs_info("txLock: tid:%d ip:0x%p mp:0x%p lid:%d", tid, ip, mp, lid); in txLock()
624 if ((xtid = tlck->tid) == tid) { in txLock()
[all …]
Dxattr.c605 static int ea_put(tid_t tid, struct inode *inode, struct ea_buffer *ea_buf, in ea_put() argument
644 txEA(tid, inode, &ji->ea, &ea_buf->new_ea); in ea_put()
652 txEA(tid, inode, &ji->ea, NULL); in ea_put()
697 int __jfs_setxattr(tid_t tid, struct inode *inode, const char *name, in __jfs_setxattr() argument
836 rc = ea_put(tid, inode, &ea_buf, new_size); in __jfs_setxattr()
855 tid_t tid; in jfs_setxattr() local
873 tid = txBegin(inode->i_sb, 0); in jfs_setxattr()
875 rc = __jfs_setxattr(tid, d_inode(dentry), name, value, value_len, in jfs_setxattr()
878 rc = txCommit(tid, 1, &inode, 0); in jfs_setxattr()
879 txEnd(tid); in jfs_setxattr()
[all …]
Djfs_dtree.h29 tid_t tid; member
254 extern void dtInitRoot(tid_t tid, struct inode *ip, u32 idotdot);
259 extern int dtInsert(tid_t tid, struct inode *ip, struct component_name * key,
262 extern int dtDelete(tid_t tid, struct inode *ip, struct component_name * key,
265 extern int dtModify(tid_t tid, struct inode *ip, struct component_name * key,
Djfs_txnmgr.h26 #define tid_to_tblock(tid) (&TxBlock[tid]) argument
99 tid_t tid; /* 2: transaction id holding lock */ member
274 tid_t tid; /* tid = index of tblock */ member
Dresize.c79 int tid; in jfs_extendfs() local
392 tid = txBegin(sb, COMMIT_FORCE); in jfs_extendfs()
394 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
395 txEnd(tid); in jfs_extendfs()
403 rc = txCommit(tid, 1, &iplist[0], COMMIT_FORCE); in jfs_extendfs()
405 txEnd(tid); in jfs_extendfs()
Djfs_imap.c599 int diWrite(tid_t tid, struct inode *ip) in diWrite() argument
672 txLock(tid, ipimap, mp, tlckINODE | tlckENTRY)) == NULL) in diWrite()
875 tid_t tid; in diFree() local
1249 tid = txBegin(ipimap->i_sb, COMMIT_FORCE); in diFree()
1259 tlck = txLock(tid, ipimap, mp, tlckINODE | tlckFREE); in diFree()
1280 rc = txCommit(tid, 1, &iplist[0], COMMIT_FORCE); in diFree()
1282 txEnd(tid); in diFree()
2463 tid_t tid; in diNewIAG() local
2533 tid = txBegin(sb, COMMIT_FORCE); in diNewIAG()
2538 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG()
[all …]
Djfs_acl.h29 static inline int jfs_init_acl(tid_t tid, struct inode *inode, in jfs_init_acl() argument
Djfs_xattr.h70 static inline int jfs_init_security(tid_t tid, struct inode *inode, in jfs_init_security() argument
/linux-4.1.27/drivers/net/wireless/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.c113 int tid; in mwifiex_ret_11n_delba() local
118 tid = del_ba_param_set >> DELBA_TID_POS; in mwifiex_ret_11n_delba()
120 mwifiex_del_ba_tbl(priv, tid, del_ba->peer_mac_addr, in mwifiex_ret_11n_delba()
126 mwifiex_send_addba(priv, tx_ba_tbl->tid, in mwifiex_ret_11n_delba()
135 mwifiex_create_ba_tbl(priv, del_ba->peer_mac_addr, tid, in mwifiex_ret_11n_delba()
141 mwifiex_del_ba_tbl(priv, tx_ba_tbl->tid, tx_ba_tbl->ra, in mwifiex_ret_11n_delba()
159 int tid; in mwifiex_ret_11n_addba_req() local
168 tid = (block_ack_param_set & IEEE80211_ADDBA_PARAM_TID_MASK) in mwifiex_ret_11n_addba_req()
170 ra_list = mwifiex_wmm_get_ralist_node(priv, tid, add_ba_rsp-> 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 …]
D11n_rxreorder.c219 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta) in mwifiex_11n_get_rx_reorder_tbl() argument
226 if (!memcmp(tbl->ta, ta, ETH_ALEN) && tbl->tid == tid) { in mwifiex_11n_get_rx_reorder_tbl()
325 int tid, int win_size, int seq_num) in mwifiex_11n_create_rx_reorder_tbl() argument
337 tbl = mwifiex_11n_get_rx_reorder_tbl(priv, tid, ta); in mwifiex_11n_create_rx_reorder_tbl()
348 new_node->tid = tid; in mwifiex_11n_create_rx_reorder_tbl()
359 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
364 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
366 last_seq = priv->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
456 u8 tid; in mwifiex_cmd_11n_addba_rsp_gen() local
490 tid = (block_ack_param_set & IEEE80211_ADDBA_PARAM_TID_MASK) in mwifiex_cmd_11n_addba_rsp_gen()
[all …]
Dwmm.h104 struct mwifiex_ra_list_tbl *ra, int tid);
109 struct mwifiex_ra_list_tbl *ra_list, int tid);
126 mwifiex_wmm_get_queue_raptr(struct mwifiex_private *priv, u8 tid,
128 u8 mwifiex_wmm_downgrade_tid(struct mwifiex_private *priv, u32 tid);
131 *priv, u8 tid, const u8 *ra_addr);
Dwmm.c386 u8 mwifiex_wmm_downgrade_tid(struct mwifiex_private *priv, u32 tid) in mwifiex_wmm_downgrade_tid() argument
391 ac = mwifiex_wmm_convert_tos_to_ac(priv->adapter, tid); in mwifiex_wmm_downgrade_tid()
397 new_tid = ac_to_tid[ac_down][tid % 2]; in mwifiex_wmm_downgrade_tid()
580 mwifiex_wmm_get_ralist_node(struct mwifiex_private *priv, u8 tid, in mwifiex_wmm_get_ralist_node() argument
585 list_for_each_entry(ra_list, &priv->wmm.tid_tbl_ptr[tid].ra_list, in mwifiex_wmm_get_ralist_node()
602 mwifiex_wmm_get_queue_raptr(struct mwifiex_private *priv, u8 tid, in mwifiex_wmm_get_queue_raptr() argument
607 ra_list = mwifiex_wmm_get_ralist_node(priv, tid, ra_addr); in mwifiex_wmm_get_queue_raptr()
612 return mwifiex_wmm_get_ralist_node(priv, tid, ra_addr); in mwifiex_wmm_get_queue_raptr()
674 u32 tid; in mwifiex_wmm_add_buf_txqueue() local
700 tid = skb->priority; in mwifiex_wmm_add_buf_txqueue()
[all …]
D11n_rxreorder.h58 u16 tid, u8 *ta,
78 *priv, int tid,
81 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta);
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_defs.h66 unsigned int tid) in lookup_tid() argument
68 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid()
69 &(t->tid_tab[tid]) : NULL; in lookup_tid()
78 unsigned int tid) in lookup_stid() argument
82 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid()
85 e = stid2entry(t, tid); in lookup_stid()
97 unsigned int tid) in lookup_atid() argument
101 if (tid < t->atid_base || tid >= t->atid_base + t->natids) in lookup_atid()
104 e = atid2entry(t, tid); in lookup_atid()
Dcxgb3_offload.c376 struct tid_range *tid; in cxgb_offload_ctl() local
396 tid = data; in cxgb_offload_ctl()
397 tid->num = t3_mc5_size(&adapter->mc5) - in cxgb_offload_ctl()
400 tid->base = 0; in cxgb_offload_ctl()
403 tid = data; in cxgb_offload_ctl()
404 tid->num = adapter->params.mc5.nservers; in cxgb_offload_ctl()
405 tid->base = t3_mc5_size(&adapter->mc5) - tid->num - in cxgb_offload_ctl()
536 void *ctx, unsigned int tid) in cxgb3_insert_tid() argument
540 t->tid_tab[tid].client = client; in cxgb3_insert_tid()
541 t->tid_tab[tid].ctx = ctx; in cxgb3_insert_tid()
[all …]
Dcxgb3_offload.h103 void *ctx, unsigned int tid);
104 void cxgb3_queue_tid_release(struct t3cdev *dev, unsigned int tid);
105 void cxgb3_remove_tid(struct t3cdev *dev, void *ctx, unsigned int tid);
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dxmit.c51 struct ath_atx_tid *tid, struct sk_buff *skb);
62 static void ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid,
66 struct ath_atx_tid *tid,
107 struct ath_atx_tid *tid) in ath_tx_queue_tid() argument
109 struct ath_atx_ac *ac = tid->ac; in ath_tx_queue_tid()
111 struct ath_vif *avp = (struct ath_vif *) tid->an->vif->drv_priv; in ath_tx_queue_tid()
117 if (tid->sched) in ath_tx_queue_tid()
120 tid->sched = true; in ath_tx_queue_tid()
121 list_add_tail(&tid->list, &ac->tid_q); in ath_tx_queue_tid()
128 list = &ctx->acq[TID_TO_WME_AC(tid->tidno)]; in ath_tx_queue_tid()
[all …]
Ddebug_sta.c28 struct ath_atx_tid *tid; in read_file_node_aggr() local
69 for (tidno = 0, tid = &an->tid[tidno]; in read_file_node_aggr()
70 tidno < IEEE80211_NUM_TIDS; tidno++, tid++) { in read_file_node_aggr()
71 txq = tid->ac->txq; in read_file_node_aggr()
73 if (tid->active) { in read_file_node_aggr()
76 tid->tidno, in read_file_node_aggr()
77 tid->seq_start, in read_file_node_aggr()
78 tid->seq_next, in read_file_node_aggr()
79 tid->baw_size, in read_file_node_aggr()
80 tid->baw_head, in read_file_node_aggr()
[all …]
Dhtc_drv_main.c709 u16 tid) in ath9k_htc_tx_aggr_oper() argument
717 if (tid >= ATH9K_HTC_MAX_TID) in ath9k_htc_tx_aggr_oper()
724 aggr.tidno = tid & 0xf; in ath9k_htc_tx_aggr_oper()
731 (aggr.aggr_enable) ? "start" : "stop", sta->addr, tid); in ath9k_htc_tx_aggr_oper()
736 sta->addr, tid); in ath9k_htc_tx_aggr_oper()
739 ista->tid_state[tid] = (aggr.aggr_enable && !ret) ? AGGR_START : AGGR_STOP; in ath9k_htc_tx_aggr_oper()
1653 u16 tid, u16 *ssn, u8 buf_size) in ath9k_htc_ampdu_action() argument
1668 ret = ath9k_htc_tx_aggr_oper(priv, vif, sta, action, tid); in ath9k_htc_ampdu_action()
1670 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in ath9k_htc_ampdu_action()
1675 ath9k_htc_tx_aggr_oper(priv, vif, sta, action, tid); in ath9k_htc_ampdu_action()
[all …]
Dhtc_drv_txrx.c388 struct ath9k_htc_sta *ista, u8 tid) in __ath9k_htc_check_tx_aggr() argument
393 if ((tid < ATH9K_HTC_MAX_TID) && (ista->tid_state[tid] == AGGR_STOP)) in __ath9k_htc_check_tx_aggr()
422 u8 *qc, tid; in ath9k_htc_check_tx_aggr() local
426 tid = qc[0] & 0xf; in ath9k_htc_check_tx_aggr()
428 if (__ath9k_htc_check_tx_aggr(priv, ista, tid)) { in ath9k_htc_check_tx_aggr()
429 ieee80211_start_tx_ba_session(sta, tid, 0); in ath9k_htc_check_tx_aggr()
431 ista->tid_state[tid] = AGGR_PROGRESS; in ath9k_htc_check_tx_aggr()
Dath9k.h147 #define ATH_AN_2_TID(_an, _tidno) (&(_an)->tid[(_tidno)])
263 struct ath_atx_tid tid[IEEE80211_NUM_TIDS]; member
577 u16 tid, u16 *ssn);
578 void ath_tx_aggr_stop(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid);
579 void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid);
/linux-4.1.27/include/trace/events/
Djbd2.h136 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
139 TP_ARGS(dev, tid, type, line_no, requested_blocks),
143 __field( unsigned long, tid )
151 __entry->tid = tid;
159 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid,
164 TP_PROTO(dev_t dev, unsigned long tid, unsigned int type,
168 TP_ARGS(dev, tid, type, line_no, buffer_credits, requested_blocks),
172 __field( unsigned long, tid )
181 __entry->tid = tid;
190 MAJOR(__entry->dev), MINOR(__entry->dev), __entry->tid,
[all …]
/linux-4.1.27/arch/powerpc/kvm/
Dtrace.h50 TP_PROTO(unsigned int victim, unsigned int tid, unsigned int word0,
52 TP_ARGS(victim, tid, word0, word1, word2),
56 __field( unsigned int, tid )
64 __entry->tid = tid;
71 __entry->victim, __entry->tid, __entry->word0,
76 TP_PROTO(unsigned int gtlb_index, unsigned int tid, unsigned int word0,
78 TP_ARGS(gtlb_index, tid, word0, word1, word2),
82 __field( unsigned int, tid )
90 __entry->tid = tid;
97 __entry->gtlb_index, __entry->tid, __entry->word0,
De500.c240 unsigned int pr, tid, ts, pid; in kvmppc_e500_tlbil_one() local
245 tid = get_tlb_tid(gtlbe); in kvmppc_e500_tlbil_one()
260 pid = local_sid_lookup(&idt->id[ts][tid][pr]); in kvmppc_e500_tlbil_one()
262 kvmppc_e500_id_table_reset_one(vcpu_e500, ts, tid, pr); in kvmppc_e500_tlbil_one()
De500_mmu.c105 unsigned int tid; in kvmppc_e500_tlb_index() local
113 tid = get_tlb_tid(tlbe); in kvmppc_e500_tlb_index()
114 if (tid && (tid != pid)) in kvmppc_e500_tlb_index()
282 int tid, esel; in tlbilx_all() local
287 tid = get_tlb_tid(tlbe); in tlbilx_all()
288 if (type == 0 || tid == pid) { in tlbilx_all()
De500mc.c62 unsigned int tid, ts; in kvmppc_e500_tlbil_one() local
68 tid = get_tlb_tid(gtlbe); in kvmppc_e500_tlbil_one()
71 val = (tid << 16) | ts; in kvmppc_e500_tlbil_one()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtx.c292 u8 sta_id, tid = IWL_MAX_TID_COUNT; in iwlagn_tx_skb() local
397 tid = qc[0] & IEEE80211_QOS_CTL_TID_MASK; in iwlagn_tx_skb()
398 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwlagn_tx_skb()
400 tid_data = &priv->tid_data[sta_id][tid]; in iwlagn_tx_skb()
409 sta_id, tid, in iwlagn_tx_skb()
439 txq_id = priv->tid_data[sta_id][tid].agg.txq_id; in iwlagn_tx_skb()
452 IWL_DEBUG_TX(priv, "TX to [%d|%d] Q:%d - seq: 0x%x\n", sta_id, tid, in iwlagn_tx_skb()
459 priv->tid_data[sta_id][tid].seq_number = seq_number; in iwlagn_tx_skb()
505 struct ieee80211_sta *sta, u16 tid) in iwlagn_tx_agg_stop() argument
514 IWL_ERR(priv, "Invalid station for AGG tid %d\n", tid); in iwlagn_tx_agg_stop()
[all …]
Dsta.c508 u8 tid; in iwl_remove_station() local
547 for (tid = 0; tid < IWL_MAX_TID_COUNT; tid++) in iwl_remove_station()
548 memset(&priv->tid_data[sta_id][tid], 0, in iwl_remove_station()
549 sizeof(priv->tid_data[sta_id][tid])); in iwl_remove_station()
569 u8 tid; in iwl_deactivate_station() local
587 for (tid = 0; tid < IWL_MAX_TID_COUNT; tid++) in iwl_deactivate_station()
588 memset(&priv->tid_data[sta_id][tid], 0, in iwl_deactivate_station()
589 sizeof(priv->tid_data[sta_id][tid])); in iwl_deactivate_station()
1395 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) in iwl_sta_tx_modify_enable_tid() argument
1404 priv->stations[sta_id].sta.tid_disable_tx &= cpu_to_le16(~(1 << tid)); in iwl_sta_tx_modify_enable_tid()
[all …]
Dagn.h212 struct ieee80211_sta *sta, u16 tid, u16 *ssn);
214 struct ieee80211_sta *sta, u16 tid, u8 buf_size);
216 struct ieee80211_sta *sta, u16 tid);
218 struct ieee80211_sta *sta, u16 tid);
374 int iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid);
376 int tid, u16 ssn);
378 int tid);
Drs.c291 u8 tid; in rs_tl_add_packet() local
295 tid = qc[0] & 0xf; in rs_tl_add_packet()
299 if (unlikely(tid >= IWL_MAX_TID_COUNT)) in rs_tl_add_packet()
302 tl = &lq_data->load[tid]; in rs_tl_add_packet()
331 return tid; in rs_tl_add_packet()
367 static u32 rs_tl_get_load(struct iwl_lq_sta *lq_data, u8 tid) in rs_tl_get_load() argument
374 if (tid >= IWL_MAX_TID_COUNT) in rs_tl_get_load()
377 tl = &(lq_data->load[tid]); in rs_tl_get_load()
396 struct iwl_lq_sta *lq_data, u8 tid, in rs_tl_turn_on_agg_for_tid() argument
413 load = rs_tl_get_load(lq_data, tid); in rs_tl_turn_on_agg_for_tid()
[all …]
Dmac80211.c720 struct ieee80211_sta *sta, u16 tid, u16 *ssn, in iwlagn_mac_ampdu_action() argument
728 sta->addr, tid); in iwlagn_mac_ampdu_action()
741 ret = iwl_sta_rx_agg_start(priv, sta, tid, *ssn); in iwlagn_mac_ampdu_action()
745 ret = iwl_sta_rx_agg_stop(priv, sta, tid); in iwlagn_mac_ampdu_action()
753 ret = iwlagn_tx_agg_start(priv, vif, sta, tid, ssn); in iwlagn_mac_ampdu_action()
758 ret = iwlagn_tx_agg_flush(priv, vif, sta, tid); in iwlagn_mac_ampdu_action()
762 ret = iwlagn_tx_agg_stop(priv, vif, sta, tid); in iwlagn_mac_ampdu_action()
780 ret = iwlagn_tx_agg_oper(priv, vif, sta, tid, buf_size); in iwlagn_mac_ampdu_action()
/linux-4.1.27/tools/perf/util/
Dvalues.c10 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
12 if (!values->pid || !values->tid || !values->value) in perf_read_values_init()
37 zfree(&values->tid); in perf_read_values_destroy()
49 values->tid = realloc(values->tid, in perf_read_values__enlarge_threads()
50 values->threads_max * sizeof(*values->tid)); in perf_read_values__enlarge_threads()
53 if (!values->pid || !values->tid || !values->value) in perf_read_values__enlarge_threads()
58 u32 pid, u32 tid) in perf_read_values__findnew_thread() argument
63 if (values->pid[i] == pid && values->tid[i] == tid) in perf_read_values__findnew_thread()
71 values->tid[i] = tid; in perf_read_values__findnew_thread()
119 u32 pid, u32 tid, in perf_read_values_add_value() argument
[all …]
Dthread_map.c50 struct thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() argument
55 threads->map[0] = tid; in thread_map__new_by_tid()
146 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() argument
151 if (tid == -1 && uid != UINT_MAX) in thread_map__new()
154 return thread_map__new_by_tid(tid); in thread_map__new()
232 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str() local
246 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str()
248 if (tid == INT_MIN || tid == INT_MAX || in thread_map__new_by_tid_str()
252 if (tid == prev_tid) in thread_map__new_by_tid_str()
262 threads->map[ntasks - 1] = tid; in thread_map__new_by_tid_str()
[all …]
Dthread.c18 if (pid == thread->tid || pid == -1) { in thread__init_map_groups()
29 struct thread *thread__new(pid_t pid, pid_t tid) in thread__new() argument
37 thread->tid = tid; in thread__new()
49 snprintf(comm_str, 32, ":%d", tid); in thread__new()
171 return fprintf(fp, "Thread %d %s\n", thread->tid, thread__comm_str(thread)) + in thread__fprintf()
211 thread->ppid = parent->tid; in thread__fork()
Dthread_map.h14 struct thread_map *thread_map__new_by_tid(pid_t tid);
16 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
19 const char *tid, uid_t uid);
Dtarget.c21 target->tid = target->pid; in target__validate()
24 if (target->tid && target->cpu_list) { in target__validate()
31 if (target->tid && target->uid_str) { in target__validate()
45 if (target->tid && target->system_wide) { in target__validate()
Devent.h14 u32 pid, tid; member
23 u32 pid, tid; member
38 u32 pid, tid; member
45 u32 tid, ptid; member
60 u32 pid, tid; member
174 u32 pid, tid; member
274 u64 tid; member
Dvalues.h9 u32 *pid, *tid; member
21 u32 pid, u32 tid,
Dmachine.c303 if (th->pid_ == th->tid) in machine__update_thread_pid()
327 th->pid_, th->tid); in machine__update_thread_pid()
336 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid()
340 pid_t pid, pid_t tid, in __machine__findnew_thread() argument
354 if (th->tid == tid) { in __machine__findnew_thread()
366 if (th->tid == tid) { in __machine__findnew_thread()
372 if (tid < th->tid) in __machine__findnew_thread()
381 th = thread__new(pid, tid); in __machine__findnew_thread()
410 pid_t tid) in machine__findnew_thread() argument
412 return __machine__findnew_thread(machine, pid, tid, true); in machine__findnew_thread()
[all …]
Dthread.h21 pid_t tid; member
39 struct thread *thread__new(pid_t pid, pid_t tid);
110 !intlist__has_entry(symbol_conf.tid_list, thread->tid)) { in thread__is_filtered()
Dtop.c87 else if (target->tid) in perf_top__header_snprintf()
89 target->tid); in perf_top__header_snprintf()
101 if (target->tid) in perf_top__header_snprintf()
Dtarget.h9 const char *tid; member
53 return target->tid || target->pid || target->uid_str; in target__has_task()
Dpython.c57 sample_member_def(sample_tid, tid, T_INT, "event tid"), \
71 member_def(mmap_event, tid, T_UINT, "event tid"),
87 pevent->event.mmap.pid, pevent->event.mmap.tid, in pyrf_mmap_event__repr()
115 member_def(fork_event, tid, T_UINT, "event tid"),
128 pevent->event.fork.tid, in pyrf_task_event__repr()
149 member_def(comm_event, tid, T_UINT, "event tid"),
158 pevent->event.comm.tid, in pyrf_comm_event__repr()
243 member_def(read_event, tid, T_UINT, "event tid"),
251 pevent->event.read.tid); in pyrf_read_event__repr()
442 int pid = -1, tid = -1, uid = UINT_MAX; in pyrf_thread_map__init() local
[all …]
Devent.c45 .tid = -1,
157 event->comm.tid = pid; in perf_event__prepare_comm()
199 event->fork.tid = pid; in perf_event__synthesize_fork()
310 event->mmap2.tid = pid; in perf_event__synthesize_mmap_events()
676 return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid); in perf_event__fprintf_comm()
698 event->mmap.pid, event->mmap.tid, event->mmap.start, in perf_event__fprintf_mmap()
708 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
738 event->fork.pid, event->fork.tid, in perf_event__fprintf_task()
887 sample->tid); in perf_event__preprocess_sample()
892 dump_printf(" ... thread: %s:%d\n", thread__comm_str(thread), thread->tid); in perf_event__preprocess_sample()
Dsession.c322 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
336 event->mmap.tid = bswap_32(event->mmap.tid); in perf_event__mmap_swap()
353 event->mmap2.tid = bswap_32(event->mmap2.tid); in perf_event__mmap2_swap()
371 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
383 event->read.tid = bswap_32(event->read.tid); in perf_event__read_swap()
766 event->header.misc, sample->pid, sample->tid, sample->ip, in dump_sample()
1737 fprintf(stdout, " tid: %"PRId64"\n", e->tid); in perf_event__process_id_index()
1745 sid->tid = e->tid; in perf_event__process_id_index()
1805 e->tid = sid->tid; in perf_event__synthesize_id_index()
Dmachine.h72 pid_t tid);
151 pid_t tid);
225 pid_t tid);
Dunwind-libdw.c197 if (!dwfl_attach_state(ui.dwfl, EM_NONE, thread->tid, &callbacks, &ui)) in unwind__get_entries()
200 err = dwfl_getthread_frames(ui.dwfl, thread->tid, frame_callback, &ui); in unwind__get_entries()
/linux-4.1.27/sound/core/
Dpcm_timer.c113 struct snd_timer_id tid; in snd_pcm_timer_init() local
116 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_pcm_timer_init()
117 tid.dev_class = SNDRV_TIMER_CLASS_PCM; in snd_pcm_timer_init()
118 tid.card = substream->pcm->card->number; in snd_pcm_timer_init()
119 tid.device = substream->pcm->device; in snd_pcm_timer_init()
120 tid.subdevice = (substream->number << 1) | (substream->stream & 1); in snd_pcm_timer_init()
121 if (snd_timer_new(substream->pcm->card, "PCM", &tid, &timer) < 0) in snd_pcm_timer_init()
126 tid.card, tid.device, tid.subdevice); in snd_pcm_timer_init()
Dtimer.c133 static struct snd_timer *snd_timer_find(struct snd_timer_id *tid) in snd_timer_find() argument
138 if (timer->tmr_class != tid->dev_class) in snd_timer_find()
143 timer->card->number != tid->card)) in snd_timer_find()
145 if (timer->tmr_device != tid->device) in snd_timer_find()
147 if (timer->tmr_subdevice != tid->subdevice) in snd_timer_find()
156 static void snd_timer_request(struct snd_timer_id *tid) in snd_timer_request() argument
158 switch (tid->dev_class) { in snd_timer_request()
160 if (tid->device < timer_limit) in snd_timer_request()
161 request_module("snd-timer-%i", tid->device); in snd_timer_request()
165 if (tid->card < snd_ecards_limit) in snd_timer_request()
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Ddebugfs_sta.c90 u32 tid, buf_size; in ath10k_dbg_sta_write_addba() local
99 ret = sscanf(buf, "%u %u", &tid, &buf_size); in ath10k_dbg_sta_write_addba()
104 if (tid > HTT_DATA_TX_EXT_TID_MGMT - 2) in ath10k_dbg_sta_write_addba()
115 tid, buf_size); in ath10k_dbg_sta_write_addba()
118 arsta->arvif->vdev_id, sta->addr, tid, buf_size); in ath10k_dbg_sta_write_addba()
141 u32 tid, status; in ath10k_dbg_sta_write_addba_resp() local
150 ret = sscanf(buf, "%u %u", &tid, &status); in ath10k_dbg_sta_write_addba_resp()
155 if (tid > HTT_DATA_TX_EXT_TID_MGMT - 2) in ath10k_dbg_sta_write_addba_resp()
166 tid, status); in ath10k_dbg_sta_write_addba_resp()
169 arsta->arvif->vdev_id, sta->addr, tid, status); in ath10k_dbg_sta_write_addba_resp()
[all …]
Dhtt_rx.c876 int tid; in ath10k_get_tid() local
882 tid = *qc & IEEE80211_QOS_CTL_TID_MASK; in ath10k_get_tid()
883 if (tid < 8) in ath10k_get_tid()
884 snprintf(out, size, "tid %d (%s)", tid, tid_to_ac[tid]); in ath10k_get_tid()
886 snprintf(out, size, "tid %d", tid); in ath10k_get_tid()
897 char tid[32]; in ath10k_process_rx() local
907 ath10k_get_tid(hdr, tid, sizeof(tid)), in ath10k_process_rx()
1628 u16 info0, tid, peer_id; in ath10k_htt_rx_addba() local
1631 tid = MS(info0, HTT_RX_BA_INFO0_TID); in ath10k_htt_rx_addba()
1636 tid, peer_id, ev->window_size); in ath10k_htt_rx_addba()
[all …]
Dtrace.h296 u8 vdev_id, u8 tid),
298 TP_ARGS(ar, msdu_id, msdu_len, vdev_id, tid),
306 __field(u8, tid)
315 __entry->tid = tid;
325 __entry->tid
Dhtt_tx.c420 u8 tid = skb_cb->htt.tid; in ath10k_htt_tx() local
521 flags1 |= SM((u16)tid, HTT_DATA_TX_DESC_FLAGS1_EXT_TID); in ath10k_htt_tx()
542 trace_ath10k_htt_tx(ar, msdu_id, msdu->len, vdev_id, tid); in ath10k_htt_tx()
546 (u32)skb_cb->paddr, vdev_id, tid, skb_cb->htt.freq); in ath10k_htt_tx()
Dwmi-ops.h130 const u8 *mac, u32 tid, u32 buf_size);
132 const u8 *mac, u32 tid,
135 const u8 *mac, u32 tid, u32 initiator,
946 u32 tid, u32 buf_size) in ath10k_wmi_addba_send() argument
953 skb = ar->wmi.ops->gen_addba_send(ar, vdev_id, mac, tid, buf_size); in ath10k_wmi_addba_send()
963 u32 tid, u32 status) in ath10k_wmi_addba_set_resp() argument
970 skb = ar->wmi.ops->gen_addba_set_resp(ar, vdev_id, mac, tid, status); in ath10k_wmi_addba_set_resp()
980 u32 tid, u32 initiator, u32 reason) in ath10k_wmi_delba_send() argument
987 skb = ar->wmi.ops->gen_delba_send(ar, vdev_id, mac, tid, initiator, in ath10k_wmi_delba_send()
Dhtt.h518 u8 tid; member
609 tid:4, member
673 u8 tid; member
685 u8 tid; member
/linux-4.1.27/sound/pci/emu10k1/
Dtimer.c81 struct snd_timer_id tid; in snd_emu10k1_timer() local
84 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_emu10k1_timer()
85 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_emu10k1_timer()
86 tid.card = emu->card->number; in snd_emu10k1_timer()
87 tid.device = device; in snd_emu10k1_timer()
88 tid.subdevice = 0; in snd_emu10k1_timer()
89 if ((err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer)) >= 0) { in snd_emu10k1_timer()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c355 unsigned int tid = csk->tid; in send_close_req() local
359 csk, csk->state, csk->flags, csk->tid); in send_close_req()
362 INIT_TP_WR(req, tid); in send_close_req()
363 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); in send_close_req()
378 csk, csk->state, csk->flags, csk->tid); in abort_arp_failure()
406 INIT_TP_WR(req, csk->tid); in send_abort_req()
407 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_REQ, csk->tid)); in send_abort_req()
413 csk, csk->state, csk->flags, csk->tid, csk->snd_nxt, in send_abort_req()
426 csk, csk->state, csk->flags, csk->tid, rst_status); in send_abort_rpl()
430 INIT_TP_WR(rpl, csk->tid); in send_abort_rpl()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h54 #define INIT_TP_WR(w, tid) do { \ argument
58 FW_WR_FLOWID_V(tid)); \
62 #define INIT_TP_WR_CPL(w, cpl, tid) do { \ argument
63 INIT_TP_WR(w, tid); \
64 OPCODE_TID(w) = htonl(MK_OPCODE_TID(cpl, tid)); \
67 #define INIT_ULPTX_WR(w, wrlen, atomic, tid) do { \ argument
71 FW_WR_FLOWID_V(tid)); \
123 static inline void *lookup_tid(const struct tid_info *t, unsigned int tid) in lookup_tid() argument
125 return tid < t->ntids ? t->tid_tab[tid] : NULL; in lookup_tid()
147 unsigned int tid) in cxgb4_insert_tid() argument
[all …]
/linux-4.1.27/drivers/staging/i2o/
Ddevice.c46 cpu_to_le32(cmd << 24 | HOST_TID << 12 | dev->lct_data.tid); in i2o_device_issue_claim()
69 dev->lct_data.tid); in i2o_device_claim()
72 dev->lct_data.tid, rc); in i2o_device_claim()
114 dev->lct_data.tid); in i2o_device_claim_release()
117 dev->lct_data.tid, rc); in i2o_device_claim_release()
171 sprintf(buf, "0x%03x\n", i2o_dev->lct_data.tid); in tid_show()
174 static DEVICE_ATTR_RO(tid);
241 i2o_dev->lct_data.tid); in i2o_device_add()
263 if ((tmp->lct_data.user_tid == i2o_dev->lct_data.tid) in i2o_device_add()
282 if ((tmp->lct_data.parent_tid == i2o_dev->lct_data.tid) in i2o_device_add()
[all …]
Di2o_scsi.c187 osm_info("device removed (TID: %03x)\n", i2o_dev->lct_data.tid); in i2o_scsi_remove()
264 i2o_dev->lct_data.tid); in i2o_scsi_probe()
279 i2o_dev->lct_data.tid); in i2o_scsi_probe()
301 i2o_dev->lct_data.tid); in i2o_scsi_probe()
311 i2o_dev->lct_data.tid, channel, le32_to_cpu(id), in i2o_scsi_probe()
512 int tid; in i2o_scsi_queuecommand_lck() local
539 tid = i2o_dev->lct_data.tid; in i2o_scsi_queuecommand_lck()
541 osm_debug("qcmd: Tid = %03x\n", tid); in i2o_scsi_queuecommand_lck()
620 *mptr++ = cpu_to_le32(adpt_flags | tid); in i2o_scsi_queuecommand_lck()
625 msg->u.head[1] = cpu_to_le32(cmd | HOST_TID << 12 | tid); in i2o_scsi_queuecommand_lck()
[all …]
Di2o_block.c112 osm_info("device removed (TID: %03x): %s\n", i2o_dev->lct_data.tid, in i2o_block_remove()
147 lct_data.tid); in i2o_block_device_flush()
175 lct_data.tid); in i2o_block_device_mount()
204 lct_data.tid); in i2o_block_device_lock()
232 lct_data.tid); in i2o_block_device_unlock()
262 lct_data.tid); in i2o_block_device_power()
729 u32 tid; in i2o_block_transfer() local
745 tid = dev->i2o_dev->lct_data.tid; in i2o_block_transfer()
821 cpu_to_le32(I2O_CMD_PRIVATE << 24 | HOST_TID << 12 | tid); in i2o_block_transfer()
824 *mptr++ = cpu_to_le32(tid); in i2o_block_transfer()
[all …]
Dbus-osm.c51 tid); in i2o_bus_scan()
100 osm_info("device added (TID: %03x)\n", i2o_dev->lct_data.tid); in i2o_bus_probe()
123 osm_info("device removed (TID: %03x)\n", i2o_dev->lct_data.tid); in i2o_bus_remove()
Ddriver.c215 u16 tid = le32_to_cpu(msg->u.head[1]) & 0xfff; in i2o_driver_dispatch() local
217 osm_debug("event received from device %d\n", tid); in i2o_driver_dispatch()
235 if (dev->lct_data.tid == tid) { in i2o_driver_dispatch()
DREADME.ioctl122 u32 tid; /* Target device TID */
132 by ops->iop and ops->tid. The operation list for the message is
163 u32 tid; /* Target device TID */
173 by ops->iop and ops->tid. The operation list for the message is
341 u32 tid; /* Target device ID */
352 by htquery->iop and htquery->tid. The requested HTML page number is
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c398 u8 tid = IWL_MAX_TID_COUNT; in iwl_mvm_tx_skb() local
430 tid = qc[0] & IEEE80211_QOS_CTL_TID_MASK; in iwl_mvm_tx_skb()
431 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_tx_skb()
434 seq_number = mvmsta->tid_data[tid].seq_number; in iwl_mvm_tx_skb()
449 u8 tdls_tid = tid == IWL_MAX_TID_COUNT ? 0 : tid; in iwl_mvm_tx_skb()
455 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb()
457 txq_id = mvmsta->tid_data[tid].txq_id; in iwl_mvm_tx_skb()
461 tid, txq_id, IEEE80211_SEQ_TO_SN(seq_number)); in iwl_mvm_tx_skb()
467 mvmsta->tid_data[tid].seq_number = seq_number + 0x10; in iwl_mvm_tx_skb()
484 struct ieee80211_sta *sta, u8 tid) in iwl_mvm_check_ratid_empty() argument
[all …]
Dsta.c790 int tid, u16 ssn, bool start) in iwl_mvm_sta_rx_agg() argument
808 cmd.add_immediate_ba_tid = (u8) tid; in iwl_mvm_sta_rx_agg()
811 cmd.remove_immediate_ba_tid = (u8) tid; in iwl_mvm_sta_rx_agg()
850 int tid, u8 queue, bool start) in iwl_mvm_sta_tx_agg() argument
861 mvm_sta->tid_disable_agg &= ~BIT(tid); in iwl_mvm_sta_tx_agg()
864 mvm_sta->tid_disable_agg |= BIT(tid); in iwl_mvm_sta_tx_agg()
916 struct ieee80211_sta *sta, u16 tid, u16 *ssn) in iwl_mvm_sta_tx_agg_start() argument
922 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_sta_tx_agg_start()
925 if (mvmsta->tid_data[tid].state != IWL_AGG_OFF) { in iwl_mvm_sta_tx_agg_start()
927 mvmsta->tid_data[tid].state); in iwl_mvm_sta_tx_agg_start()
[all …]
Dsta.h387 int tid, u16 ssn, bool start);
389 struct ieee80211_sta *sta, u16 tid, u16 *ssn);
391 struct ieee80211_sta *sta, u16 tid, u8 buf_size);
393 struct ieee80211_sta *sta, u16 tid);
395 struct ieee80211_sta *sta, u16 tid);
Dfw-api-tx.h508 u8 tid; member
610 u8 tid; member
630 u8 tid; member
Drs.c404 int tid);
565 struct iwl_lq_sta *lq_data, u8 tid, in rs_tl_turn_on_agg_for_tid() argument
571 sta->addr, tid); in rs_tl_turn_on_agg_for_tid()
572 ret = ieee80211_start_tx_ba_session(sta, tid, 5000); in rs_tl_turn_on_agg_for_tid()
580 tid); in rs_tl_turn_on_agg_for_tid()
581 ieee80211_stop_tx_ba_session(sta, tid); in rs_tl_turn_on_agg_for_tid()
586 static void rs_tl_turn_on_agg(struct iwl_mvm *mvm, u8 tid, in rs_tl_turn_on_agg() argument
590 if (tid < IWL_MAX_TID_COUNT) in rs_tl_turn_on_agg()
591 rs_tl_turn_on_agg_for_tid(mvm, lq_data, tid, sta); in rs_tl_turn_on_agg()
594 tid, IWL_MAX_TID_COUNT); in rs_tl_turn_on_agg()
[all …]
Dd3.c1354 int tid; in iwl_mvm_set_aes_rx_seq() local
1358 for (tid = 0; tid < IWL_NUM_RSC; tid++) { in iwl_mvm_set_aes_rx_seq()
1361 iwl_mvm_aes_sc_to_seq(&scs[tid], &seq); in iwl_mvm_set_aes_rx_seq()
1362 ieee80211_set_key_rx_seq(key, tid, &seq); in iwl_mvm_set_aes_rx_seq()
1369 int tid; in iwl_mvm_set_tkip_rx_seq() local
1373 for (tid = 0; tid < IWL_NUM_RSC; tid++) { in iwl_mvm_set_tkip_rx_seq()
1376 iwl_mvm_tkip_sc_to_seq(&scs[tid], &seq); in iwl_mvm_set_tkip_rx_seq()
1377 ieee80211_set_key_rx_seq(key, tid, &seq); in iwl_mvm_set_tkip_rx_seq()
/linux-4.1.27/net/ceph/
Dmon_client.c416 struct ceph_mon_client *monc, u64 tid) in __lookup_generic_req() argument
423 if (tid < req->tid) in __lookup_generic_req()
425 else if (tid > req->tid) in __lookup_generic_req()
443 if (new->tid < req->tid) in __insert_generic_request()
445 else if (new->tid > req->tid) in __insert_generic_request()
484 u64 tid = le64_to_cpu(hdr->tid); in get_generic_reply() local
488 req = __lookup_generic_req(monc, tid); in get_generic_reply()
490 dout("get_generic_reply %lld dne\n", tid); in get_generic_reply()
494 dout("get_generic_reply %lld got %p\n", tid, req->reply); in get_generic_reply()
507 static int __do_generic_request(struct ceph_mon_client *monc, u64 tid, in __do_generic_request() argument
[all …]
Dosd_client.c842 u64 tid) in __lookup_request() argument
849 if (tid < req->r_tid) in __lookup_request()
851 else if (tid > req->r_tid) in __lookup_request()
861 u64 tid) in __lookup_request_ge() argument
868 if (tid < req->r_tid) { in __lookup_request_ge()
872 } else if (tid > req->r_tid) { in __lookup_request_ge()
1218 req->r_request->hdr.tid = cpu_to_le64(req->r_tid); in __register_request()
1746 u64 tid; in handle_reply() local
1761 tid = le64_to_cpu(msg->hdr.tid); in handle_reply()
1762 dout("handle_reply %p tid %llu\n", msg, tid); in handle_reply()
[all …]
Ddebugfs.c130 seq_printf(s, "%llu statfs\n", req->tid); in monc_show()
132 seq_printf(s, "%llu mon_get_version", req->tid); in monc_show()
134 seq_printf(s, "%llu unknown\n", req->tid); in monc_show()
/linux-4.1.27/kernel/locking/
Drtmutex-tester.c141 int tid, op, dat; in schedule_rt_mutex_test() local
145 for (tid = 0; tid < MAX_RT_TEST_THREADS; tid++) { in schedule_rt_mutex_test()
146 if (threads[tid] == current) in schedule_rt_mutex_test()
150 BUG_ON(tid == MAX_RT_TEST_THREADS); in schedule_rt_mutex_test()
152 td = &thread_data[tid]; in schedule_rt_mutex_test()
282 int op, dat, tid, ret; in sysfs_test_command() local
285 tid = td->dev.id; in sysfs_test_command()
306 ret = sched_setscheduler(threads[tid], SCHED_NORMAL, &schedpar); in sysfs_test_command()
314 ret = sched_setscheduler(threads[tid], SCHED_FIFO, &schedpar); in sysfs_test_command()
320 send_sig(SIGHUP, threads[tid], 0); in sysfs_test_command()
[all …]
/linux-4.1.27/sound/isa/gus/
Dgus_timer.c159 struct snd_timer_id tid; in snd_gf1_timers_init() local
167 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_gf1_timers_init()
168 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_gf1_timers_init()
169 tid.card = gus->card->number; in snd_gf1_timers_init()
170 tid.device = gus->timer_dev; in snd_gf1_timers_init()
171 tid.subdevice = 0; in snd_gf1_timers_init()
173 if (snd_timer_new(gus->card, "GF1 timer", &tid, &timer) >= 0) { in snd_gf1_timers_init()
181 tid.device++; in snd_gf1_timers_init()
183 if (snd_timer_new(gus->card, "GF1 timer", &tid, &timer) >= 0) { in snd_gf1_timers_init()
/linux-4.1.27/tools/perf/
Dbuiltin-lock.c112 u32 tid; member
118 static struct thread_stat *thread_stat_find(u32 tid) in thread_stat_find() argument
126 if (st->tid == tid) in thread_stat_find()
128 else if (tid < st->tid) in thread_stat_find()
147 if (new->tid < p->tid) in thread_stat_insert()
149 else if (new->tid > p->tid) in thread_stat_insert()
159 static struct thread_stat *thread_stat_findnew_after_first(u32 tid) in thread_stat_findnew_after_first() argument
163 st = thread_stat_find(tid); in thread_stat_findnew_after_first()
173 st->tid = tid; in thread_stat_findnew_after_first()
181 static struct thread_stat *thread_stat_findnew_first(u32 tid);
[all …]
Dbuiltin-inject.c37 u32 tid; member
220 thread = machine__findnew_thread(machine, sample->pid, sample->tid); in perf_event__inject_buildid()
263 if (sample->tid == ent->tid) { in perf_inject__sched_process_exit()
291 ent->tid = sample->tid; in perf_inject__sched_switch()
310 if (pid == ent->tid) in perf_inject__sched_stat()
Dbuiltin-script.c357 printf("%5d/%-5d ", sample->pid, sample->tid); in print_sample_start()
361 printf("%5d ", sample->tid); in print_sample_start()
627 thread = machine__findnew_thread(machine, event->comm.pid, event->comm.tid); in process_comm_event()
639 sample->tid = event->comm.tid; in process_comm_event()
663 thread = machine__findnew_thread(machine, event->fork.pid, event->fork.tid); in process_fork_event()
672 sample->tid = event->fork.tid; in process_fork_event()
690 thread = machine__findnew_thread(machine, event->fork.pid, event->fork.tid); in process_exit_event()
699 sample->tid = event->comm.tid; in process_exit_event()
724 thread = machine__findnew_thread(machine, event->mmap.pid, event->mmap.tid); in process_mmap_event()
733 sample->tid = event->mmap.tid; in process_mmap_event()
[all …]
Dbuiltin-sched.c703 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid); in replay_wakeup_event()
706 waker = register_pid(sched, sample->tid, "<unknown>"); in replay_wakeup_event()
766 event->fork.tid); in replay_fork_event()
778 printf("... parent: %s/%d\n", thread__comm_str(parent), parent->tid); in replay_fork_event()
779 printf("... child: %s/%d\n", thread__comm_str(child), child->tid); in replay_fork_event()
782 register_pid(sched, parent->tid, thread__comm_str(parent)); in replay_fork_event()
783 register_pid(sched, child->tid, thread__comm_str(child)); in replay_fork_event()
1119 register_pid(sched, migrant->tid, thread__comm_str(migrant)); in latency_migrate_task_event()
1159 ret = printf(" %s:%d ", thread__comm_str(work_list->thread), work_list->thread->tid); in output_lat_thread()
1175 if (l->thread->tid < r->thread->tid) in pid_cmp()
[all …]
Dbuiltin-timechart.c317 pid_set_comm(tchart, event->comm.tid, event->comm.comm); in process_comm_event()
848 return pid_begin_io_sample(tchart, sample->tid, IOTYPE_READ, in process_enter_read()
858 return pid_end_io_sample(tchart, sample->tid, IOTYPE_READ, in process_exit_read()
868 return pid_begin_io_sample(tchart, sample->tid, IOTYPE_WRITE, in process_enter_write()
878 return pid_end_io_sample(tchart, sample->tid, IOTYPE_WRITE, in process_exit_write()
888 return pid_begin_io_sample(tchart, sample->tid, IOTYPE_SYNC, in process_enter_sync()
898 return pid_end_io_sample(tchart, sample->tid, IOTYPE_SYNC, in process_exit_sync()
908 return pid_begin_io_sample(tchart, sample->tid, IOTYPE_TX, in process_enter_tx()
918 return pid_end_io_sample(tchart, sample->tid, IOTYPE_TX, in process_exit_tx()
928 return pid_begin_io_sample(tchart, sample->tid, IOTYPE_RX, in process_enter_rx()
[all …]
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvpp2.c1338 int tid; in mvpp2_prs_flow_find() local
1346 for (tid = MVPP2_PRS_TCAM_SRAM_SIZE - 1; tid >= 0; tid--) { in mvpp2_prs_flow_find()
1349 if (!priv->prs_shadow[tid].valid || in mvpp2_prs_flow_find()
1350 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_FLOWS) in mvpp2_prs_flow_find()
1353 pe->index = tid; in mvpp2_prs_flow_find()
1370 int tid; in mvpp2_prs_tcam_first_free() local
1378 for (tid = start; tid <= end; tid++) { in mvpp2_prs_tcam_first_free()
1379 if (!priv->prs_shadow[tid].valid) in mvpp2_prs_tcam_first_free()
1380 return tid; in mvpp2_prs_tcam_first_free()
1516 int tid, shift; in mvpp2_prs_dsa_tag_set() local
[all …]
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c265 pid_t tid = 0; in main() local
322 tid = atoi(optarg); in main()
323 if (!tid) in main()
328 tid = atoi(optarg); in main()
329 if (!tid) in main()
343 tid = fork(); in main()
344 if (tid < 0) in main()
346 if (tid == 0) in main()
401 if (tid && containerset) { in main()
410 if (tid && forking) { in main()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dbase.c168 u8 rtl_tid_to_ac(u8 tid) in rtl_tid_to_ac() argument
170 return tid_to_ac[tid]; in rtl_tid_to_ac()
1201 u8 *bssid, u16 tid);
1204 struct ieee80211_hdr *hdr, u16 tid) in process_agg_start() argument
1210 skb_delba = rtl_make_del_ba(hw, hdr->addr2, hdr->addr3, tid); in process_agg_start()
1259 u16 capab = 0, tid = 0; in rtl_action_proc() local
1278 tid = (capab & in rtl_action_proc()
1280 tid_data = &sta_entry->tids[tid]; in rtl_action_proc()
1283 process_agg_start(hw, hdr, tid); in rtl_action_proc()
1411 struct ieee80211_sta *sta, u16 tid, u16 *ssn) in rtl_tx_agg_start() argument
[all …]
Dbase.h128 struct ieee80211_sta *sta, u16 tid, u16 *ssn);
130 struct ieee80211_sta *sta, u16 tid);
132 struct ieee80211_sta *sta, u16 tid);
134 struct ieee80211_sta *sta, u16 tid);
136 struct ieee80211_sta *sta, u16 tid);
150 u8 rtl_tid_to_ac(u8 tid);
Drc.c173 struct rtl_sta_info *sta_entry, u16 tid) in _rtl_tx_aggr_check() argument
184 if (sta_entry->tids[tid].agg.agg_state == RTL_AGG_STOP) in _rtl_tx_aggr_check()
218 u8 tid = rtl_get_tid(skb); in rtl_tx_status() local
220 tid)) { in rtl_tx_status()
221 sta_entry->tids[tid].agg.agg_state = in rtl_tx_status()
223 ieee80211_start_tx_ba_session(sta, tid, in rtl_tx_status()
Dpci.c471 struct sk_buff *skb, struct rtl_tcb_desc *tcb_desc, u8 tid) in _rtl_update_earlymode_info() argument
486 skb_queue_walk(&rtlpriv->mac80211.skb_waitq[tid], next_skb) { in _rtl_update_earlymode_info()
498 if (skb_queue_is_last(&rtlpriv->mac80211.skb_waitq[tid], in _rtl_update_earlymode_info()
519 int tid; in _rtl_pci_tx_chk_waitq() local
530 for (tid = 7; tid >= 0; tid--) { in _rtl_pci_tx_chk_waitq()
531 u8 hw_queue = ac_to_hwq[rtl_tid_to_ac(tid)]; in _rtl_pci_tx_chk_waitq()
539 if (!skb_queue_empty(&mac->skb_waitq[tid]) && in _rtl_pci_tx_chk_waitq()
542 skb = skb_dequeue(&mac->skb_waitq[tid]); in _rtl_pci_tx_chk_waitq()
554 &tcb_desc, tid); in _rtl_pci_tx_chk_waitq()
573 u8 tid; in _rtl_pci_tx_isr() local
[all …]
Dcore.c1375 struct ieee80211_sta *sta, u16 tid, u16 *ssn, in rtl_op_ampdu_action() argument
1383 "IEEE80211_AMPDU_TX_START: TID:%d\n", tid); in rtl_op_ampdu_action()
1384 return rtl_tx_agg_start(hw, vif, sta, tid, ssn); in rtl_op_ampdu_action()
1389 "IEEE80211_AMPDU_TX_STOP: TID:%d\n", tid); in rtl_op_ampdu_action()
1390 return rtl_tx_agg_stop(hw, vif, sta, tid); in rtl_op_ampdu_action()
1393 "IEEE80211_AMPDU_TX_OPERATIONAL:TID:%d\n", tid); in rtl_op_ampdu_action()
1394 rtl_tx_agg_oper(hw, sta, tid); in rtl_op_ampdu_action()
1398 "IEEE80211_AMPDU_RX_START:TID:%d\n", tid); in rtl_op_ampdu_action()
1399 return rtl_rx_agg_start(hw, sta, tid); in rtl_op_ampdu_action()
1402 "IEEE80211_AMPDU_RX_STOP:TID:%d\n", tid); in rtl_op_ampdu_action()
[all …]
/linux-4.1.27/sound/drivers/opl3/
Dopl3_lib.c253 struct snd_timer_id tid; in snd_opl3_timer1_init() local
256 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_opl3_timer1_init()
257 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_opl3_timer1_init()
258 tid.card = opl3->card->number; in snd_opl3_timer1_init()
259 tid.device = timer_no; in snd_opl3_timer1_init()
260 tid.subdevice = 0; in snd_opl3_timer1_init()
261 if ((err = snd_timer_new(opl3->card, "AdLib timer #1", &tid, &timer)) >= 0) { in snd_opl3_timer1_init()
273 struct snd_timer_id tid; in snd_opl3_timer2_init() local
276 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_opl3_timer2_init()
277 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_opl3_timer2_init()
[all …]
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c202 unsigned int tid = csk->tid; in send_close_req() local
206 csk, csk->state, csk->flags, csk->tid); in send_close_req()
210 req->wr.wr_lo = htonl(V_WR_TID(tid)); in send_close_req()
211 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); in send_close_req()
254 req->wr.wr_lo = htonl(V_WR_TID(csk->tid)); in send_abort_req()
255 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_ABORT_REQ, csk->tid)); in send_abort_req()
262 csk, csk->state, csk->flags, csk->tid, csk->snd_nxt, in send_abort_req()
280 csk, csk->state, csk->flags, csk->tid, rst_status); in send_abort_rpl()
285 rpl->wr.wr_lo = htonl(V_WR_TID(csk->tid)); in send_abort_rpl()
286 OPCODE_TID(rpl) = htonl(MK_OPCODE_TID(CPL_ABORT_RPL, csk->tid)); in send_abort_rpl()
[all …]
/linux-4.1.27/net/netfilter/
Dxt_l2tp.c41 u32 tid; member
63 (info->tid != data->tid)) in l2tp_match()
120 data.tid = ntohl(lh->val32); in l2tp_udp_mt()
129 data.tid = (u32) ntohs(lh->val16[0]); in l2tp_udp_mt()
162 data.tid = ntohl(lh->val32); in l2tp_ip_mt()
243 (info->tid > 0xffff)) { in l2tp_mt_check()
244 pr_info("v2 tid > 0xffff: %u\n", info->tid); in l2tp_mt_check()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Dtxrx.c88 u16 tid) in wcn36xx_set_tx_pdu() argument
95 bd->pdu.tid = tid; in wcn36xx_set_tx_pdu()
121 u8 *qc, tid; in wcn36xx_tx_start_ampdu() local
135 tid = qc[0] & IEEE80211_QOS_CTL_TID_MASK; in wcn36xx_tx_start_ampdu()
138 if (sta_priv->ampdu_state[tid] != WCN36XX_AMPDU_NONE) in wcn36xx_tx_start_ampdu()
142 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_START; in wcn36xx_tx_start_ampdu()
144 ieee80211_start_tx_ba_session(sta, tid, 0); in wcn36xx_tx_start_ampdu()
207 skb->len, sta_priv ? sta_priv->tid : 0); in wcn36xx_set_tx_data()
Dmain.c861 struct ieee80211_sta *sta, u16 tid, u16 *ssn, in wcn36xx_ampdu_action() argument
868 action, tid); in wcn36xx_ampdu_action()
874 sta_priv->tid = tid; in wcn36xx_ampdu_action()
875 wcn36xx_smd_add_ba_session(wcn, sta, tid, ssn, 0, in wcn36xx_ampdu_action()
881 wcn36xx_smd_del_ba(wcn, tid, get_sta_index(vif, sta_priv)); in wcn36xx_ampdu_action()
885 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_START; in wcn36xx_ampdu_action()
888 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in wcn36xx_ampdu_action()
892 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_OPERATIONAL; in wcn36xx_ampdu_action()
895 wcn36xx_smd_add_ba_session(wcn, sta, tid, ssn, 1, in wcn36xx_ampdu_action()
902 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_NONE; in wcn36xx_ampdu_action()
[all …]
Dsmd.h121 u16 tid,
126 int wcn36xx_smd_del_ba(struct wcn36xx *wcn, u16 tid, u8 sta_index);
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
Dsw.c92 u8 tid; in rtl92d_init_sw_vars() local
171 for (tid = 0; tid < 8; tid++) in rtl92d_init_sw_vars()
172 skb_queue_head_init(&rtlpriv->mac80211.skb_waitq[tid]); in rtl92d_init_sw_vars()
202 u8 tid; in rtl92d_deinit_sw_vars() local
208 for (tid = 0; tid < 8; tid++) in rtl92d_deinit_sw_vars()
209 skb_queue_purge(&rtlpriv->mac80211.skb_waitq[tid]); in rtl92d_deinit_sw_vars()
/linux-4.1.27/arch/sparc/kernel/
Dirq_64.c315 unsigned int tid; in sun4u_compute_tid() local
318 tid = starfire_translate(imap, cpuid); in sun4u_compute_tid()
319 tid <<= IMAP_TID_SHIFT; in sun4u_compute_tid()
320 tid &= IMAP_TID_UPA; in sun4u_compute_tid()
328 tid = cpuid << IMAP_TID_SHIFT; in sun4u_compute_tid()
329 tid &= IMAP_TID_JBUS; in sun4u_compute_tid()
334 tid = ((a << IMAP_AID_SHIFT) | in sun4u_compute_tid()
336 tid &= (IMAP_AID_SAFARI | in sun4u_compute_tid()
340 tid = cpuid << IMAP_TID_SHIFT; in sun4u_compute_tid()
341 tid &= IMAP_TID_UPA; in sun4u_compute_tid()
[all …]
/linux-4.1.27/fs/jbd2/
Djournal.c540 int jbd2_log_start_commit(journal_t *journal, tid_t tid) in jbd2_log_start_commit() argument
545 ret = __jbd2_log_start_commit(journal, tid); in jbd2_log_start_commit()
560 tid_t tid; in __jbd2_journal_force_commit() local
576 tid = transaction->t_tid; in __jbd2_journal_force_commit()
579 jbd2_log_start_commit(journal, tid); in __jbd2_journal_force_commit()
580 ret = jbd2_log_wait_commit(journal, tid); in __jbd2_journal_force_commit()
632 tid_t tid = journal->j_running_transaction->t_tid; in jbd2_journal_start_commit() local
634 __jbd2_log_start_commit(journal, tid); in jbd2_journal_start_commit()
638 *ptid = tid; in jbd2_journal_start_commit()
659 int jbd2_trans_will_send_data_barrier(journal_t *journal, tid_t tid) in jbd2_trans_will_send_data_barrier() argument
[all …]
Dcheckpoint.c142 tid_t tid = 0; in __jbd2_log_wait_for_space() local
145 tid = journal->j_committing_transaction->t_tid; in __jbd2_log_wait_for_space()
153 } else if (tid) { in __jbd2_log_wait_for_space()
160 jbd2_log_wait_commit(journal, tid); in __jbd2_log_wait_for_space()
267 tid_t tid = t->t_tid; in jbd2_log_do_checkpoint() local
282 jbd2_log_start_commit(journal, tid); in jbd2_log_do_checkpoint()
283 jbd2_log_wait_commit(journal, tid); in jbd2_log_do_checkpoint()
Dtransaction.c154 tid_t tid = journal->j_running_transaction->t_tid; in wait_transaction_locked() local
158 need_to_start = !tid_geq(journal->j_commit_request, tid); in wait_transaction_locked()
161 jbd2_log_start_commit(journal, tid); in wait_transaction_locked()
626 tid_t tid; in jbd2__journal_restart() local
652 tid = transaction->t_tid; in jbd2__journal_restart()
658 need_to_start = !tid_geq(journal->j_commit_request, tid); in jbd2__journal_restart()
661 jbd2_log_start_commit(journal, tid); in jbd2__journal_restart()
1524 tid_t tid; in jbd2_journal_stop() local
1662 tid = transaction->t_tid; in jbd2_journal_stop()
1670 err = jbd2_log_wait_commit(journal, tid); in jbd2_journal_stop()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1051 static void aggr_deque_frms(struct aggr_info_conn *agg_conn, u8 tid, in aggr_deque_frms() argument
1060 rxtid = &agg_conn->rx_tid[tid]; in aggr_deque_frms()
1061 stats = &agg_conn->stat[tid]; in aggr_deque_frms()
1110 static bool aggr_process_recv_frm(struct aggr_info_conn *agg_conn, u8 tid, in aggr_process_recv_frm() argument
1122 rxtid = &agg_conn->rx_tid[tid]; in aggr_process_recv_frm()
1123 stats = &agg_conn->stat[tid]; in aggr_process_recv_frm()
1153 aggr_deque_frms(agg_conn, tid, 0, 0); in aggr_process_recv_frm()
1172 aggr_deque_frms(agg_conn, tid, st, 0); in aggr_process_recv_frm()
1211 aggr_deque_frms(agg_conn, tid, 0, 1); in aggr_process_recv_frm()
1325 u8 tid, if_idx; in ath6kl_rx() local
[all …]
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c67 unsigned int frag, u8 tid, u8 *src, u8 *dst) in ieee80211_frag_cache_find() argument
73 entry = &ieee->frag_cache[tid][i]; in ieee80211_frag_cache_find()
107 u8 tid; in ieee80211_frag_cache_get() local
111 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & IEEE80211_QCTL_TID; in ieee80211_frag_cache_get()
112 tid = UP2AC(tid); in ieee80211_frag_cache_get()
113 tid ++; in ieee80211_frag_cache_get()
116 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & IEEE80211_QCTL_TID; in ieee80211_frag_cache_get()
117 tid = UP2AC(tid); in ieee80211_frag_cache_get()
118 tid ++; in ieee80211_frag_cache_get()
120 tid = 0; in ieee80211_frag_cache_get()
[all …]
/linux-4.1.27/scripts/gdb/linux/
Dcpus.py26 tid = gdb.selected_thread().ptid[2]
27 if tid > (0x100000000 - MAX_CPUS - 2):
28 return 0x100000000 - tid - 2
30 return tasks.get_thread_info(tasks.get_task_by_pid(tid))['cpu']
/linux-4.1.27/include/linux/
Djbd2.h1037 int jbd2_journal_get_log_tail(journal_t *journal, tid_t *tid,
1039 int __jbd2_update_log_tail(journal_t *journal, tid_t tid, unsigned long block);
1040 void jbd2_update_log_tail(journal_t *journal, tid_t tid, unsigned long block);
1244 int jbd2_log_start_commit(journal_t *journal, tid_t tid);
1245 int __jbd2_log_start_commit(journal_t *journal, tid_t tid);
1246 int jbd2_journal_start_commit(journal_t *journal, tid_t *tid);
1247 int jbd2_log_wait_commit(journal_t *journal, tid_t tid);
1248 int jbd2_complete_transaction(journal_t *journal, tid_t tid);
1250 int jbd2_trans_will_send_data_barrier(journal_t *journal, tid_t tid);
1388 tid_t tid; in jbd2_get_latest_transaction() local
[all …]
Djbd.h947 int log_start_commit(journal_t *journal, tid_t tid);
948 int __log_start_commit(journal_t *journal, tid_t tid);
949 int journal_start_commit(journal_t *journal, tid_t *tid);
951 int log_wait_commit(journal_t *journal, tid_t tid);
953 int journal_trans_will_send_data_barrier(journal_t *journal, tid_t tid);
Dposix-timers.h55 #define MAKE_THREAD_CPUCLOCK(tid, clock) \ argument
56 MAKE_PROCESS_CPUCLOCK((tid), (clock) | CPUCLOCK_PERTHREAD_MASK)
Dslub_def.h42 unsigned long tid; /* Globally unique transaction id */ member
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_file_ops.c288 u32 tid, ctxttid, cnt, i, tidcnt, tidoff; in qib_tid_update() local
311 tid = rcd->tidcursor; in qib_tid_update()
318 tid = tidcursor_fp(fp); in qib_tid_update()
323 tid = tidcursor_fp(fp); in qib_tid_update()
367 for (; ntids--; tid++) { in qib_tid_update()
368 if (tid == tidcnt) in qib_tid_update()
369 tid = 0; in qib_tid_update()
370 if (!dd->pageshadow[ctxttid + tid]) in qib_tid_update()
383 tidlist[i] = tid + tidoff; in qib_tid_update()
385 dd->pageshadow[ctxttid + tid] = pagep[i]; in qib_tid_update()
[all …]
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_file_ops.c299 u32 tid, porttid, cnt, i, tidcnt, tidoff; in ipath_tid_update() local
327 tid = pd->port_tidcursor; in ipath_tid_update()
334 tid = tidcursor_fp(fp); in ipath_tid_update()
339 tid = tidcursor_fp(fp); in ipath_tid_update()
358 pd->port_port, cnt, tid, tidbase); in ipath_tid_update()
390 for (; ntids--; tid++) { in ipath_tid_update()
391 if (tid == tidcnt) in ipath_tid_update()
392 tid = 0; in ipath_tid_update()
393 if (!dd->ipath_pageshadow[porttid + tid]) in ipath_tid_update()
408 tidlist[i] = tid + tidoff; in ipath_tid_update()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965.h46 void il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid,
85 struct ieee80211_sta *sta, u16 tid, u16 * ssn);
87 struct ieee80211_sta *sta, u16 tid);
88 int il4965_txq_check_empty(struct il_priv *il, int sta_id, u8 tid, int txq_id);
146 int il4965_sta_tx_modify_enable_tid(struct il_priv *il, int sta_id, int tid);
148 int tid, u16 ssn);
150 int tid);
186 struct ieee80211_sta *sta, u16 tid, u16 * ssn,
D4965-mac.c1064 il4965_free_tfds_in_queue(struct il_priv *il, int sta_id, int tid, int freed) in il4965_free_tfds_in_queue() argument
1068 if (il->stations[sta_id].tid[tid].tfds_in_queue >= freed) in il4965_free_tfds_in_queue()
1069 il->stations[sta_id].tid[tid].tfds_in_queue -= freed; in il4965_free_tfds_in_queue()
1072 il->stations[sta_id].tid[tid].tfds_in_queue, freed); in il4965_free_tfds_in_queue()
1073 il->stations[sta_id].tid[tid].tfds_in_queue = 0; in il4965_free_tfds_in_queue()
1469 il4965_get_ac_from_tid(u16 tid) in il4965_get_ac_from_tid() argument
1471 if (likely(tid < ARRAY_SIZE(tid_to_ac))) in il4965_get_ac_from_tid()
1472 return tid_to_ac[tid]; in il4965_get_ac_from_tid()
1479 il4965_get_fifo_from_tid(u16 tid) in il4965_get_fifo_from_tid() argument
1488 if (likely(tid < ARRAY_SIZE(tid_to_ac))) in il4965_get_fifo_from_tid()
[all …]
D4965-rs.c277 u8 tid; in il4965_rs_tl_add_packet() local
281 tid = qc[0] & 0xf; in il4965_rs_tl_add_packet()
285 if (unlikely(tid >= TID_MAX_LOAD_COUNT)) in il4965_rs_tl_add_packet()
288 tl = &lq_data->load[tid]; in il4965_rs_tl_add_packet()
317 return tid; in il4965_rs_tl_add_packet()
324 il4965_rs_tl_get_load(struct il_lq_sta *lq_data, u8 tid) in il4965_rs_tl_get_load() argument
331 if (tid >= TID_MAX_LOAD_COUNT) in il4965_rs_tl_get_load()
334 tl = &(lq_data->load[tid]); in il4965_rs_tl_get_load()
354 u8 tid, struct ieee80211_sta *sta) in il4965_rs_tl_turn_on_agg_for_tid() argument
359 load = il4965_rs_tl_get_load(lq_data, tid); in il4965_rs_tl_turn_on_agg_for_tid()
[all …]
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_rx.c63 unsigned int frag, u8 tid, u8 *src, u8 *dst) in rtllib_frag_cache_find() argument
69 entry = &ieee->frag_cache[tid][i]; in rtllib_frag_cache_find()
102 u8 tid; in rtllib_frag_cache_get() local
106 tid = le16_to_cpu(hdr_4addrqos->qos_ctl) & RTLLIB_QCTL_TID; in rtllib_frag_cache_get()
107 tid = UP2AC(tid); in rtllib_frag_cache_get()
108 tid++; in rtllib_frag_cache_get()
111 tid = le16_to_cpu(hdr_3addrqos->qos_ctl) & RTLLIB_QCTL_TID; in rtllib_frag_cache_get()
112 tid = UP2AC(tid); in rtllib_frag_cache_get()
113 tid++; in rtllib_frag_cache_get()
115 tid = 0; in rtllib_frag_cache_get()
[all …]
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Dampdu.c149 u16 tid; member
478 brcms_c_ampdu_tx_operational(struct brcms_c_info *wlc, u8 tid, in brcms_c_ampdu_tx_operational() argument
488 if (!ampdu->ini_enable[tid]) { in brcms_c_ampdu_tx_operational()
490 __func__, tid); in brcms_c_ampdu_tx_operational()
494 ini = &scb_ampdu->ini[tid]; in brcms_c_ampdu_tx_operational()
495 ini->tid = tid; in brcms_c_ampdu_tx_operational()
528 u8 ndelim, tid; in brcms_c_ampdu_add_frame() local
570 tid = (u8)p->priority; in brcms_c_ampdu_add_frame()
573 if (txrate[0].count <= ampdu->rr_retry_limit_tid[tid]) { in brcms_c_ampdu_add_frame()
844 u8 bitmap[8], queue, tid; in brcms_c_ampdu_dotxstatus_complete() local
[all …]
Dpub.h288 bool brcms_c_aggregatable(struct brcms_c_info *wlc, u8 tid);
298 u16 tid);
299 void brcms_c_ampdu_tx_operational(struct brcms_c_info *wlc, u8 tid,
Dscb.h39 u8 tid; /* initiator tid for easy lookup */ member
/linux-4.1.27/tools/perf/tests/
Dmmap-thread-lookup.c21 pid_t tid; member
42 td->tid = syscall(SYS_gettid); in thread_init()
44 pr_debug("tid = %d, map = %p\n", td->tid, map); in thread_init()
186 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events()
Dperf-record.c201 if ((pid_t)sample.tid != evlist->workload.pid) { in test__PERF_RECORD()
203 name, evlist->workload.pid, sample.tid); in test__PERF_RECORD()
220 event->comm.pid != event->comm.tid) { in test__PERF_RECORD()
Dhists_common.c106 .tid = fake_mmap_info[i].pid, in setup_fake_machine()
200 i, thread__comm_str(he->thread), he->thread->tid, in print_hists_out()
Dsample-parsing.c39 COMP(tid); in samples_same()
175 .tid = 103, in do_test()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
Dcryptocop.h42 cryptocop_tfrm_id tid; /* Locally unique in session; assigned by user, checked by driver. */ member
60 cryptocop_tfrm_id tid; member
80 cryptocop_tfrm_id tid; member
/linux-4.1.27/fs/jbd/
Djournal.c490 int log_start_commit(journal_t *journal, tid_t tid) in log_start_commit() argument
495 ret = __log_start_commit(journal, tid); in log_start_commit()
513 tid_t tid; in journal_force_commit_nested() local
527 tid = transaction->t_tid; in journal_force_commit_nested()
529 log_wait_commit(journal, tid); in journal_force_commit_nested()
544 tid_t tid = journal->j_running_transaction->t_tid; in journal_start_commit() local
546 __log_start_commit(journal, tid); in journal_start_commit()
550 *ptid = tid; in journal_start_commit()
569 int log_wait_commit(journal_t *journal, tid_t tid) in log_wait_commit() argument
575 if (!tid_geq(journal->j_commit_request, tid)) { in log_wait_commit()
[all …]
Dcheckpoint.c151 tid_t tid = 0; in __log_wait_for_space() local
154 tid = journal->j_committing_transaction->t_tid; in __log_wait_for_space()
162 } else if (tid) { in __log_wait_for_space()
163 log_wait_commit(journal, tid); in __log_wait_for_space()
304 tid_t tid = t->t_tid; in __process_buffer() local
308 log_start_commit(journal, tid); in __process_buffer()
309 log_wait_commit(journal, tid); in __process_buffer()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Drx_reorder.c98 int tid = wil_rxdesc_tid(d); in wil_rx_reorder() local
109 mid, cid, tid, seq, mcast); in wil_rx_reorder()
118 r = sta->tid_rx[tid]; in wil_rx_reorder()
282 u8 cid, tid; in wil_back_rx_handle() local
299 parse_cidxtid(req->cidxtid, &cid, &tid); in wil_back_rx_handle()
315 cid, sta->addr, tid, req_agg_wsize, req->ba_timeout, in wil_back_rx_handle()
326 rc = wmi_addba_rx_resp(wil, cid, tid, req->dialog_token, status, in wil_back_rx_handle()
334 wil_tid_ampdu_rx_free(wil, sta->tid_rx[tid]); in wil_back_rx_handle()
335 sta->tid_rx[tid] = r; in wil_back_rx_handle()
Dtrace.h166 __field(u8, tid)
177 __entry->tid = wil_rxdesc_tid(d);
185 __entry->mid, __entry->cid, __entry->tid, __entry->mcs,
Dwil6210.h291 static inline u8 mk_cidxtid(u8 cid, u8 tid) in mk_cidxtid() argument
293 return ((tid & 0xf) << 4) | (cid & 0xf); in mk_cidxtid()
303 static inline void parse_cidxtid(u8 cidxtid, u8 *cid, u8 *tid) in parse_cidxtid() argument
306 *tid = (cidxtid >> 4) & 0xf; in parse_cidxtid()
717 int wmi_addba_rx_resp(struct wil6210_priv *wil, u8 cid, u8 tid, u8 token,
761 int cid, int tid);
Dwmi.c642 u8 cid, tid; in wmi_evt_delba() local
648 parse_cidxtid(evt->cidxtid, &cid, &tid); in wmi_evt_delba()
650 cid, tid, in wmi_evt_delba()
658 (wil->vring2cid_tid[i][1] == tid)) { in wmi_evt_delba()
679 r = sta->tid_rx[tid]; in wmi_evt_delba()
680 sta->tid_rx[tid] = NULL; in wmi_evt_delba()
1214 int wmi_addba_rx_resp(struct wil6210_priv *wil, u8 cid, u8 tid, u8 token, in wmi_addba_rx_resp() argument
1219 .cidxtid = mk_cidxtid(cid, tid), in wmi_addba_rx_resp()
1227 .ba_param_set = cpu_to_le16((amsdu ? 1 : 0) | (tid << 2) | in wmi_addba_rx_resp()
1238 cid, tid, agg_wsize, timeout, status, amsdu ? "+" : "-"); in wmi_addba_rx_resp()
Ddebugfs.c99 int tid = wil->vring2cid_tid[i][1]; in wil_vring_debugfs_show() local
127 wil->sta[cid].addr, cid, tid, in wil_vring_debugfs_show()
1278 int i, tid; in wil_sta_debugfs_show() local
1300 for (tid = 0; tid < WIL_STA_TID_NUM; tid++) { in wil_sta_debugfs_show()
1301 struct wil_tid_ampdu_rx *r = p->tid_rx[tid]; in wil_sta_debugfs_show()
1304 seq_printf(s, "[%2d] ", tid); in wil_sta_debugfs_show()
/linux-4.1.27/kernel/debug/
Dgdbstub.c432 static struct task_struct *getthread(struct pt_regs *regs, int tid) in getthread() argument
437 if (tid == 0 || tid == -1) in getthread()
438 tid = -atomic_read(&kgdb_active) - 2; in getthread()
439 if (tid < -1 && tid > -NR_CPUS - 2) { in getthread()
440 if (kgdb_info[-tid - 2].task) in getthread()
441 return kgdb_info[-tid - 2].task; in getthread()
443 return idle_task(-tid - 2); in getthread()
445 if (tid <= 0) { in getthread()
456 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
/linux-4.1.27/sound/core/seq/
Dseq_timer.c291 struct snd_timer_id tid; in snd_seq_timer_open() local
292 memset(&tid, 0, sizeof(tid)); in snd_seq_timer_open()
293 tid.dev_class = SNDRV_TIMER_CLASS_GLOBAL; in snd_seq_timer_open()
294 tid.dev_sclass = SNDRV_TIMER_SCLASS_SEQUENCER; in snd_seq_timer_open()
295 tid.card = -1; in snd_seq_timer_open()
296 tid.device = SNDRV_TIMER_GLOBAL_SYSTEM; in snd_seq_timer_open()
297 err = snd_timer_open(&t, str, &tid, q->queue); in snd_seq_timer_open()
/linux-4.1.27/drivers/net/wireless/rsi/
Drsi_91x_core.c327 u8 q_num, tid = 0; in rsi_core_xmit() local
350 tid = (skb->data[24] & IEEE80211_QOS_TID); in rsi_core_xmit()
351 skb->priority = TID_TO_WME_AC(tid); in rsi_core_xmit()
353 tid = IEEE80211_NONQOS_TID; in rsi_core_xmit()
357 tx_params->tid = tid; in rsi_core_xmit()
Drsi_91x_mac80211.c674 unsigned short tid, in rsi_mac80211_ampdu_action() argument
697 tid, in rsi_mac80211_ampdu_action()
705 tid, in rsi_mac80211_ampdu_action()
713 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rsi_mac80211_ampdu_action()
721 tid, in rsi_mac80211_ampdu_action()
726 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in rsi_mac80211_ampdu_action()
731 tid, in rsi_mac80211_ampdu_action()
/linux-4.1.27/arch/s390/kvm/
Ddiag.c153 int tid; in __diag_time_slice_end_directed() local
156 tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in __diag_time_slice_end_directed()
158 VCPU_EVENT(vcpu, 5, "diag time slice end directed to %d", tid); in __diag_time_slice_end_directed()
160 if (tid == vcpu->vcpu_id) in __diag_time_slice_end_directed()
164 if (tcpu->vcpu_id == tid) { in __diag_time_slice_end_directed()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_log_recover.h28 #define XLOG_RHASH(tid) \ argument
29 ((((__uint32_t)tid)>>XLOG_RHASH_SHIFT) & (XLOG_RHASH_SIZE-1))
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_event.h78 unsigned int tid; member
115 unsigned char tid; member
/linux-4.1.27/tools/perf/bench/
Dfutex-hash.c38 int tid; member
153 worker[i].tid = i; in bench_futex_hash()
199 worker[i].tid, &worker[i].futex[0], t); in bench_futex_hash()
202 worker[i].tid, &worker[i].futex[0], in bench_futex_hash()
/linux-4.1.27/drivers/scsi/
Ddpt_i2o.c579 unit = d->pI2o_dev->lct_data.tid; in adpt_show_info()
700 msg[1] = I2O_CMD_SCSI_ABORT<<24|HOST_TID<<12|dptdevice->tid; in adpt_abort()
742 msg[1] = (I2O_DEVICE_RESET<<24|HOST_TID<<12|d->tid); in adpt_device_reset()
778 …SCSI Bus %d: tid: %d\n",pHba->name, cmd->device->channel,pHba->channel[cmd->device->channel].tid ); in adpt_bus_reset()
780 msg[1] = (I2O_HBA_BUS_RESET<<24|HOST_TID<<12|pHba->channel[cmd->device->channel].tid); in adpt_bus_reset()
803 …: scsi id %d: tid: %d\n",pHba->name,cmd->device->channel,pHba->channel[cmd->device->channel].tid ); in __adpt_reset()
1176 if(!d || d->tid == 0) { in adpt_find_device()
1458 int tid; in adpt_i2o_parse_lct() local
1490 tid = lct->lct_entry[i].tid; in adpt_i2o_parse_lct()
1492 if(adpt_i2o_query_scalar(pHba, tid, 0x8000, -1, buf, 32)<0) { in adpt_i2o_parse_lct()
[all …]
Ddpti.h189 u16 tid; member
198 u16 tid; member
273 static int adpt_i2o_query_scalar(adpt_hba* pHba, int tid,
278 static int adpt_i2o_issue_params(int cmd, adpt_hba* pHba, int tid,
Dadvansys.c295 #define ASC_TIDLUN_TO_IX(tid, lun) (ASC_SCSI_TIX_TYPE)((tid) + ((lun)<<ASC_SCSI_ID_BITS)) argument
296 #define ASC_TID_TO_TARGET_ID(tid) (ASC_SCSI_BIT_ID_TYPE)(0x01 << (tid)) argument
299 #define ASC_TID_TO_TIX(tid) ((tid) & ASC_MAX_TID) argument
2115 #define ADV_TID_TO_TIDMASK(tid) (0x01 << ((tid) & ADV_MAX_TID)) argument
4557 uchar tid; in AdvInitAsc3550Driver() local
4609 for (tid = 0; tid <= ADV_MAX_TID; tid++) { in AdvInitAsc3550Driver()
4610 AdvReadByteLram(iop_base, ASC_MC_NUMBER_OF_MAX_CMD + tid, in AdvInitAsc3550Driver()
4611 max_cmd[tid]); in AdvInitAsc3550Driver()
4732 for (tid = 0; tid <= ADV_MAX_TID; tid++) { in AdvInitAsc3550Driver()
4733 if (ADV_TID_TO_TIDMASK(tid) & asc_dvc->ultra_able) { in AdvInitAsc3550Driver()
[all …]
/linux-4.1.27/scripts/rt-tester/
Drt-tester.py161 tid = parts[2].strip() variable
169 fname = "%s%s%s" %(sysfsprefix, tid, statusfile)
201 fname = "%s%s%s" %(sysfsprefix, tid, commandfile)
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dtx.c386 u8 tid; in carl9170_tx_status_process_ampdu() local
397 tid = get_tid_h(hdr); in carl9170_tx_status_process_ampdu()
400 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_tx_status_process_ampdu()
408 if (sta_info->stats[tid].clear) { in carl9170_tx_status_process_ampdu()
409 sta_info->stats[tid].clear = false; in carl9170_tx_status_process_ampdu()
410 sta_info->stats[tid].req = false; in carl9170_tx_status_process_ampdu()
411 sta_info->stats[tid].ampdu_len = 0; in carl9170_tx_status_process_ampdu()
412 sta_info->stats[tid].ampdu_ack_len = 0; in carl9170_tx_status_process_ampdu()
415 sta_info->stats[tid].ampdu_len++; in carl9170_tx_status_process_ampdu()
417 sta_info->stats[tid].ampdu_ack_len++; in carl9170_tx_status_process_ampdu()
[all …]
Dmain.c1419 u16 tid, u16 *ssn, u8 buf_size) in carl9170_op_ampdu_action() argument
1440 tid_info->tid = tid; in carl9170_op_ampdu_action()
1453 rcu_assign_pointer(sta_info->agg[tid], tid_info); in carl9170_op_ampdu_action()
1456 ieee80211_start_tx_ba_cb_irqsafe(vif, sta->addr, tid); in carl9170_op_ampdu_action()
1463 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1471 RCU_INIT_POINTER(sta_info->agg[tid], NULL); in carl9170_op_ampdu_action()
1474 ieee80211_stop_tx_ba_cb_irqsafe(vif, sta->addr, tid); in carl9170_op_ampdu_action()
1480 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_op_ampdu_action()
1482 sta_info->stats[tid].clear = true; in carl9170_op_ampdu_action()
1483 sta_info->stats[tid].req = false; in carl9170_op_ampdu_action()
/linux-4.1.27/drivers/net/can/usb/
Dkvaser_usb.c188 u8 tid; member
193 u8 tid; member
221 u8 tid; member
228 u8 tid; member
237 u8 tid; member
247 u8 tid; member
258 u8 tid; member
294 u8 tid; member
306 u8 tid; member
319 u8 tid; member
[all …]
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmcg.c261 mad.mad_hdr.tid = mlx4_ib_get_new_demux_tid(group->demux); in send_join_to_wire()
262 group->last_req_tid = mad.mad_hdr.tid; /* keep it for later validation */ in send_join_to_wire()
288 mad.mad_hdr.tid = mlx4_ib_get_new_demux_tid(group->demux); in send_leave_to_wire()
289 group->last_req_tid = mad.mad_hdr.tid; /* keep it for later validation */ in send_leave_to_wire()
329 mad.mad_hdr.tid = req_sa_mad->mad_hdr.tid; in send_reply_to_slave()
330 *(u8 *)&mad.mad_hdr.tid = 0; /* resetting tid to 0 */ in send_reply_to_slave()
661 if (group->last_req_tid != group->response_sa_mad.mad_hdr.tid) { in mlx4_ib_mcg_work_handler()
663 be64_to_cpu(group->response_sa_mad.mad_hdr.tid), in mlx4_ib_mcg_work_handler()
743 __be64 tid, in search_relocate_mgid0_group() argument
755 if (group->last_req_tid == tid) { in search_relocate_mgid0_group()
[all …]
/linux-4.1.27/include/uapi/linux/
Di2o-dev.h66 unsigned int tid; /* Target device TID */ member
86 unsigned int tid; /* Target device ID */ member
98 unsigned int tid; member
202 __u32 tid:12; member
/linux-4.1.27/net/nfc/
Dllcp_commands.c118 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdres_tlv(u8 tid, u8 sap) in nfc_llcp_build_sdres_tlv() argument
127 value[0] = tid; in nfc_llcp_build_sdres_tlv()
137 sdres->tid = tid; in nfc_llcp_build_sdres_tlv()
145 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, char *uri, in nfc_llcp_build_sdreq_tlv() argument
169 sdreq->tlv[2] = tid; in nfc_llcp_build_sdreq_tlv()
171 sdreq->tid = tid; in nfc_llcp_build_sdreq_tlv()
583 pr_debug("tid %d for %s\n", sdreq->tid, sdreq->uri); in nfc_llcp_send_snl_sdreq()
Dllcp.h55 u8 tid; member
243 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdres_tlv(u8 tid, u8 sap);
244 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, char *uri,
/linux-4.1.27/tools/perf/Documentation/
Dperf-script.txt118 comm, tid, pid, time, cpu, event, trace, ip, sym, dso, addr, symoff, srcline, period.
121 e.g., -f sw:comm,tid,time,ip,sym and -f trace:time,cpu,trace
135 -f trace: -f comm,tid,time,ip,sym
138 second invocation sets the fields to comm,tid,time,ip,sym. In this case a
145 -f comm,tid,time,ip,sym -f trace:
156 $ perf script -f comm,tid,trace
163 perf script -v -f sw:comm,tid,trace
199 --tid=::
Dperf-top.txt78 -t <tid>::
79 --tid=<tid>::
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dsw.c88 u8 tid; in rtl88e_init_sw_vars() local
187 for (tid = 0; tid < 8; tid++) in rtl88e_init_sw_vars()
188 skb_queue_head_init(&rtlpriv->mac80211.skb_waitq[tid]); in rtl88e_init_sw_vars()
/linux-4.1.27/drivers/net/fddi/skfp/
Dsmt.c70 int fc, u_long tid, int type, int local);
72 u_long tid, int type, int len);
75 u_long tid, int local);
77 u_long tid, int local);
934 int fc, u_long tid, int type, int local) in smt_send_nif() argument
953 nif->smt.smt_tid = tid ; /* transaction ID */ in smt_send_nif()
986 u_long tid ; in smt_echo_test() local
989 tid = smt_get_tid(smc) ; in smt_echo_test()
993 FC_SMT_INFO,tid, SMT_REQUEST, (SMT_TEST_ECHO_LEN & ~3)-8) ; in smt_echo_test()
1000 u_long tid, int type, int len) in smt_send_ecf() argument
[all …]
/linux-4.1.27/include/linux/ceph/
Dmsgr.h125 __le64 tid; /* transaction id */ member
143 __le64 tid; /* transaction id */ member
Dmon_client.h49 u64 tid; member
/linux-4.1.27/include/sound/
Dtimer.h127 int snd_timer_new(struct snd_card *card, char *id, struct snd_timer_id *tid, struct snd_timer **rti…
133 int snd_timer_open(struct snd_timer_instance **ti, char *owner, struct snd_timer_id *tid, unsigned …
/linux-4.1.27/include/net/
Dmac80211.h1679 u8 tid; member
3272 struct ieee80211_sta *sta, u16 tid, u16 *ssn,
3778 u8 tid, bool buffered);
4325 int tid, struct ieee80211_key_seq *seq);
4362 int tid, struct ieee80211_key_seq *seq);
4655 int ieee80211_start_tx_ba_session(struct ieee80211_sta *sta, u16 tid,
4669 u16 tid);
4682 int ieee80211_stop_tx_ba_session(struct ieee80211_sta *sta, u16 tid);
4695 u16 tid);
5003 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn);
[all …]
/linux-4.1.27/arch/cris/arch-v32/drivers/
Dcryptocop.c86 cryptocop_tfrm_id tid; member
238 … cryptocop_transform_ctx *get_transform_ctx(struct cryptocop_session *sess, cryptocop_tfrm_id tid);
832 tctx = get_transform_ctx(sess, tcfg->tid); in cryptocop_setup_dma_list()
834 DEBUG_API(printk("cryptocop_setup_dma_list: no transform id %d in session.\n", tcfg->tid)); in cryptocop_setup_dma_list()
839 …st: transform id %d inject_ix (%d) > operation->tfrm_op.outlen(%d)", tcfg->tid, tcfg->inject_ix, o… in cryptocop_setup_dma_list()
946 …yptocop_setup_dma_list: invalid algorithm %d specified in tfrm %d.\n", tctx->init.alg, tcfg->tid)); in cryptocop_setup_dma_list()
999 if (digest_ctx.tcfg && (digest_ctx.tcfg->tid == dcfg->tid)){ in cryptocop_setup_dma_list()
1001 } else if (cipher_ctx.tcfg && (cipher_ctx.tcfg->tid == dcfg->tid)){ in cryptocop_setup_dma_list()
1003 } else if (csum_ctx.tcfg && (csum_ctx.tcfg->tid == dcfg->tid)){ in cryptocop_setup_dma_list()
1007 …PI(printk("cryptocop_setup_dma_list: invalid transform %d specified in descriptor.\n", dcfg->tid)); in cryptocop_setup_dma_list()
[all …]
/linux-4.1.27/mm/
Dslub.c1762 static inline unsigned long next_tid(unsigned long tid) in next_tid() argument
1764 return tid + TID_STEP; in next_tid()
1767 static inline unsigned int tid_to_cpu(unsigned long tid) in tid_to_cpu() argument
1769 return tid % TID_STEP; in tid_to_cpu()
1772 static inline unsigned long tid_to_event(unsigned long tid) in tid_to_event() argument
1774 return tid / TID_STEP; in tid_to_event()
1783 const struct kmem_cache *s, unsigned long tid) in note_cmpxchg_failure() argument
1786 unsigned long actual_tid = __this_cpu_read(s->cpu_slab->tid); in note_cmpxchg_failure()
1791 if (tid_to_cpu(tid) != tid_to_cpu(actual_tid)) in note_cmpxchg_failure()
1793 tid_to_cpu(tid), tid_to_cpu(actual_tid)); in note_cmpxchg_failure()
[all …]
/linux-4.1.27/arch/mips/include/asm/netlogic/xlr/
Dpic.h243 unsigned int tid, pid; in nlm_pic_send_ipi() local
245 tid = hwt & 0x3; in nlm_pic_send_ipi()
248 (pid << 20) | (tid << 16) | (nmi << 8) | irq); in nlm_pic_send_ipi()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dtxrx.c496 t->txpriv.tid = qos[0] & IEEE80211_QOS_CTL_TID_MASK; in cw1200_tx_h_calc_tid()
498 t->txpriv.tid = 0; in cw1200_tx_h_calc_tid()
698 if (t->txpriv.raw_link_id && t->txpriv.tid < CW1200_MAX_TID) in cw1200_tx_h_pm_state()
699 was_buffered = priv->link_id_db[t->txpriv.raw_link_id - 1].buffered[t->txpriv.tid]++; in cw1200_tx_h_pm_state()
716 .txpriv.tid = CW1200_MAX_TID, in cw1200_tx()
780 ieee80211_sta_set_buffered(sta, t.txpriv.tid, true); in cw1200_tx()
966 struct sk_buff *skb, int link_id, int tid) in cw1200_notify_buffered_tx() argument
973 if (link_id && tid < CW1200_MAX_TID) { in cw1200_notify_buffered_tx()
978 if (!WARN_ON(!buffered[tid])) in cw1200_notify_buffered_tx()
979 still_buffered = --buffered[tid]; in cw1200_notify_buffered_tx()
[all …]
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_l2tp.h13 __u32 tid; /* tunnel id */ member
/linux-4.1.27/drivers/net/wireless/
Dmwl8k.c176 u8 tid; member
1626 static int mwl8k_tid_queue_mapping(u8 tid) in mwl8k_tid_queue_mapping() argument
1628 BUG_ON(tid > 7); in mwl8k_tid_queue_mapping()
1630 switch (tid) { in mwl8k_tid_queue_mapping()
1775 mwl8k_add_stream(struct ieee80211_hw *hw, struct ieee80211_sta *sta, u8 tid) in mwl8k_add_stream() argument
1786 stream->tid = tid; in mwl8k_add_stream()
1789 sta->addr, tid); in mwl8k_add_stream()
1804 ret = ieee80211_start_tx_ba_session(stream->sta, stream->tid, 0); in mwl8k_start_stream()
1807 "%d\n", stream->sta->addr, stream->tid, ret); in mwl8k_start_stream()
1810 stream->sta->addr, stream->tid); in mwl8k_start_stream()
[all …]
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c827 csk, (csk)->state, (csk)->flags, (csk)->tid); in cxgbi_sock_closed()
848 csk, (csk)->state, (csk)->flags, (csk)->tid); in need_active_close()
893 csk, (csk)->state, (csk)->flags, (csk)->tid); in cxgbi_sock_act_open_req_arp_failure()
914 csk, csk->state, csk->flags, csk->tid); in cxgbi_sock_rcv_abort_rpl()
926 csk, (csk)->state, (csk)->flags, (csk)->tid); in cxgbi_sock_rcv_peer_close()
947 csk, csk->state, csk->flags, csk->tid); in cxgbi_sock_rcv_peer_close()
959 csk, (csk)->state, (csk)->flags, (csk)->tid); in cxgbi_sock_rcv_close_conn_rpl()
979 csk, csk->state, csk->flags, csk->tid); in cxgbi_sock_rcv_close_conn_rpl()
992 csk, csk->state, csk->flags, csk->tid, credits, in cxgbi_sock_rcv_wr_ack()
1006 csk, csk->state, csk->flags, csk->tid, credits, in cxgbi_sock_rcv_wr_ack()
[all …]
/linux-4.1.27/drivers/staging/rtl8723au/include/
Drtw_event.h64 unsigned int tid; member
/linux-4.1.27/tools/testing/selftests/ptrace/
Dpeeksiginfo.c19 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo() argument
22 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); in sys_rt_tgsigqueueinfo()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-trans.h414 u8 tid; member
863 int fifo, int sta_id, int tid, in iwl_trans_txq_enable() argument
870 .tid = tid, in iwl_trans_txq_enable()
885 .tid = IWL_MAX_TID_COUNT, in iwl_trans_ac_txq_enable()
/linux-4.1.27/drivers/staging/rtl8188eu/include/
Drtw_event.h80 unsigned int tid; member
Drtw_cmd.h304 unsigned int tid; member
351 u8 rtw_addbareq_cmd(struct adapter *padapter, u8 tid, u8 *addr);
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel.c1907 int tid = cpuc->excl_thread_id; in intel_start_scheduling() local
1908 int o_tid = 1 - tid; /* sibling thread */ in intel_start_scheduling()
1923 xl = &excl_cntrs->states[tid]; in intel_start_scheduling()
1945 int tid = cpuc->excl_thread_id; in intel_stop_scheduling() local
1946 int o_tid = 1 - tid; /* sibling thread */ in intel_stop_scheduling()
1960 xl = &excl_cntrs->states[tid]; in intel_stop_scheduling()
1982 int tid = cpuc->excl_thread_id; in intel_get_excl_constraints() local
1983 int o_tid = 1 - tid; /* alternate */ in intel_get_excl_constraints()
2005 WRITE_ONCE(excl_cntrs->has_exclusive[tid], 1); in intel_get_excl_constraints()
2012 xl = &excl_cntrs->states[tid]; in intel_get_excl_constraints()
[all …]
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dsubcore.c278 int tid = cpu_thread_in_core(cpu); in update_subcore_sibling_mask() local
279 int offset = (tid / threads_per_subcore) * threads_per_subcore; in update_subcore_sibling_mask()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dsputrace.h21 __entry->owner_tid = ctx->tid;
/linux-4.1.27/fs/proc/
Dtask_nommu.c185 pid_t tid = pid_of_stack(priv, vma, is_pid); in nommu_vma_show() local
187 if (tid != 0) { in nommu_vma_show()
197 seq_printf(m, "[stack:%d]", tid); in nommu_vma_show()
/linux-4.1.27/drivers/infiniband/core/
Dmad_rmpp.c64 __be64 tid; member
313 rmpp_recv->tid = mad_hdr->tid; in create_rmpp_recv()
333 if (rmpp_recv->tid == mad_hdr->tid && in find_rmpp_recv()
849 if (rmpp_recv->tid != mad_hdr->tid || in init_newwin()
Duser_mad.c420 if ((hdr->tid != sent_hdr->tid) || in is_duplicate()
452 __be64 *tid; in ib_umad_write() local
557 tid = &((struct ib_mad_hdr *) packet->msg->mad)->tid; in ib_umad_write()
558 *tid = cpu_to_be64(((u64) agent->hi_tid) << 32 | in ib_umad_write()
559 (be64_to_cpup(tid) & 0xffffffff)); in ib_umad_write()
560 rmpp_mad->mad_hdr.tid = *tid; in ib_umad_write()
Dcm.c224 __be64 tid; member
998 __be16 attr_id, __be64 tid) in cm_format_mad_hdr() argument
1005 hdr->tid = tid; in cm_format_mad_hdr()
1171 cm_id_priv->tid = req_msg->hdr.tid; in ib_send_cm_req()
1213 cm_format_mad_hdr(&rej_msg->hdr, CM_REJ_ATTR_ID, rcv_msg->hdr.tid); in cm_issue_rej()
1348 cm_format_mad_hdr(&mra_msg->hdr, CM_MRA_ATTR_ID, cm_id_priv->tid); in cm_format_mra()
1366 cm_format_mad_hdr(&rej_msg->hdr, CM_REJ_ATTR_ID, cm_id_priv->tid); in cm_format_rej()
1588 cm_id_priv->tid = req_msg->hdr.tid; in cm_req_handler()
1619 cm_format_mad_hdr(&rep_msg->hdr, CM_REP_ATTR_ID, cm_id_priv->tid); in cm_format_rep()
1699 cm_format_mad_hdr(&rtu_msg->hdr, CM_RTU_ATTR_ID, cm_id_priv->tid); in cm_format_rtu()
[all …]
/linux-4.1.27/sound/isa/ad1816a/
Dad1816a_lib.c706 struct snd_timer_id tid; in snd_ad1816a_timer() local
709 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_ad1816a_timer()
710 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_ad1816a_timer()
711 tid.card = chip->card->number; in snd_ad1816a_timer()
712 tid.device = device; in snd_ad1816a_timer()
713 tid.subdevice = 0; in snd_ad1816a_timer()
714 if ((error = snd_timer_new(chip->card, "AD1816A", &tid, &timer)) < 0) in snd_ad1816a_timer()
/linux-4.1.27/drivers/staging/rtl8723au/core/
Drtw_mlme_ext.c2021 unsigned short tid, status, capab, params, reason_code = 0; in OnAction23a_back23a() local
2073 tid = (capab & IEEE80211_ADDBA_PARAM_TID_MASK) >> 2; in OnAction23a_back23a()
2075 DBG_8723A("agg_enable for TID =%d\n", tid); in OnAction23a_back23a()
2076 psta->htpriv.agg_enable_bitmap |= BIT(tid); in OnAction23a_back23a()
2077 psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); in OnAction23a_back23a()
2079 psta->htpriv.agg_enable_bitmap &= ~BIT(tid); in OnAction23a_back23a()
2085 tid = params >> 12; in OnAction23a_back23a()
2088 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction23a_back23a()
2092 psta->htpriv.agg_enable_bitmap &= ~BIT(tid); in OnAction23a_back23a()
2093 psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); in OnAction23a_back23a()
[all …]
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c1060 unsigned int tid = GET_TID(req); in act_establish() local
1066 PDBG("%s ep %p tid %u snd_isn %u rcv_isn %u\n", __func__, ep, tid, in act_establish()
1073 ep->hwtid = tid; in act_establish()
1074 cxgb4_insert_tid(t, ep, tid); in act_establish()
1677 unsigned int tid = GET_TID(hdr); in rx_data() local
1682 ep = lookup_tid(t, tid); in rx_data()
1730 unsigned int tid = GET_TID(rpl); in abort_rpl() local
1733 ep = lookup_tid(t, tid); in abort_rpl()
2451 unsigned int tid = GET_TID(req); in pass_establish() local
2453 ep = lookup_tid(t, tid); in pass_establish()
[all …]
/linux-4.1.27/fs/ceph/
Dmds_client.c570 u64 tid) in __lookup_request() argument
577 if (tid < req->r_tid) in __lookup_request()
579 else if (tid > req->r_tid) in __lookup_request()
1926 msg->hdr.tid = cpu_to_le64(req->r_tid); in create_request_message()
2343 u64 tid; in handle_reply() local
2354 tid = le64_to_cpu(msg->hdr.tid); in handle_reply()
2356 req = __lookup_request(mdsc, tid); in handle_reply()
2358 dout("handle_reply on unknown tid %llu\n", tid); in handle_reply()
2367 " not mds%d\n", tid, session->s_mds, in handle_reply()
2377 head->safe ? "safe" : "unsafe", tid, mds); in handle_reply()
[all …]
/linux-4.1.27/drivers/staging/rtl8188eu/core/
Drtw_mlme_ext.c1600 unsigned short tid, status, reason_code = 0; in OnAction_back() local
1642 tid = (frame_body[5] >> 2) & 0x7; in OnAction_back()
1644 DBG_88E("agg_enable for TID=%d\n", tid); in OnAction_back()
1645 psta->htpriv.agg_enable_bitmap |= 1 << tid; in OnAction_back()
1646 psta->htpriv.candidate_tid_bitmap &= ~BIT(tid); in OnAction_back()
1648 psta->htpriv.agg_enable_bitmap &= ~BIT(tid); in OnAction_back()
1657 tid = (frame_body[3] >> 4) & 0x0F; in OnAction_back()
1658 preorder_ctrl = &psta->recvreorder_ctrl[tid]; in OnAction_back()
2983 static int _issue_qos_nulldata(struct adapter *padapter, unsigned char *da, u16 tid, int wait_ack) in _issue_qos_nulldata() argument
3031 SetPriority(qc, tid); in _issue_qos_nulldata()
[all …]
/linux-4.1.27/include/rdma/
Dib_smi.h53 __be64 tid; member

123