/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | agg-rx.c | 16 mt76_aggr_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames, int idx) argument 20 tid->head = ieee80211_sn_inc(tid->head); 22 skb = tid->reorder_buf[idx]; 26 tid->reorder_buf[idx] = NULL; 27 tid->nframes--; 32 mt76_rx_aggr_release_frames(struct mt76_rx_tid *tid, argument 38 while (ieee80211_sn_less(tid->head, head)) { 39 idx = tid->head % tid 45 mt76_rx_aggr_release_head(struct mt76_rx_tid *tid, struct sk_buff_head *frames) argument 56 mt76_rx_aggr_check_release(struct mt76_rx_tid *tid, struct sk_buff_head *frames) argument 93 struct mt76_rx_tid *tid = container_of(work, struct mt76_rx_tid, local 124 struct mt76_rx_tid *tid; local 153 struct mt76_rx_tid *tid; local 245 struct mt76_rx_tid *tid; local 266 mt76_rx_aggr_shutdown(struct mt76_dev *dev, struct mt76_rx_tid *tid) argument 292 struct mt76_rx_tid *tid = NULL; local [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | futex-contention.py | 25 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time 29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 35 process_names[tid] = comm 36 thread_thislock[tid] = uaddr 37 thread_blocktime[tid] = nsecs(s, ns) 40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 42 if tid in thread_blocktime: 43 elapsed = nsecs(s, ns) - thread_blocktime[tid] 44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapse [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | cxgb3_defs.h | 63 unsigned int tid) 65 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? 66 &(t->tid_tab[tid]) : NULL; 75 unsigned int tid) 79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) 82 e = stid2entry(t, tid); 94 unsigned int tid) 98 if (tid < t->atid_base || tid > 62 lookup_tid(const struct tid_info *t, unsigned int tid) argument 74 lookup_stid(const struct tid_info *t, unsigned int tid) argument 93 lookup_atid(const struct tid_info *t, unsigned int tid) argument [all...] |
/linux-master/tools/perf/dlfilters/ |
H A D | dlfilter-show-cycles.c | 29 __s32 tid; member in struct:entry 47 static struct entry *find_entry(__s32 tid) argument 49 __u32 pos = tid & MASK; 54 if (e->tid == tid) 68 e->tid = tid; 72 static void add_entry(__s32 tid, int pos, __u64 cnt) argument 74 struct entry *e = find_entry(tid); 83 __s32 tid local 109 __s32 tid = sample->tid; local [all...] |
/linux-master/net/mac80211/ |
H A D | agg-tx.c | 62 const u8 *da, u16 tid, 100 capab |= u16_encode_bits(tid, IEEE80211_ADDBA_PARAM_TID_MASK); 109 ieee80211_tx_skb_tid(sdata, skb, tid, -1); 112 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) argument 132 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); 138 ieee80211_tx_skb_tid(sdata, skb, tid, -1); 142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, argument 147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); 162 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) 164 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; 61 ieee80211_send_addba_request(struct ieee80211_sub_if_data *sdata, const u8 *da, u16 tid, u8 dialog_token, u16 start_seq_num, u16 agg_size, u16 timeout) argument 190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) argument 211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) argument 270 ieee80211_remove_tid_tx(struct sta_info *sta, int tid) argument 299 __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, enum ieee80211_agg_stop_reason reason) argument 436 u8 tid = tid_tx->tid; local 457 u8 tid = tid_tx->tid; local 496 ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid) argument 559 ieee80211_refresh_tx_agg_session_timer(struct ieee80211_sta *pubsta, u16 tid) argument 584 u8 tid = tid_tx->tid; local 603 ieee80211_start_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid, u16 timeout) argument 751 ieee80211_agg_tx_operational(struct ieee80211_local *local, struct sta_info *sta, u16 tid) argument 794 ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) argument 820 ieee80211_lookup_tid_tx(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid, struct sta_info **sta) argument 845 ieee80211_start_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) argument 867 ieee80211_stop_tx_ba_session(struct ieee80211_sta *pubsta, u16 tid) argument 909 ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid, struct tid_ampdu_tx *tid_tx) argument 945 ieee80211_stop_tx_ba_cb_irqsafe(struct ieee80211_vif *vif, const u8 *ra, u16 tid) argument 975 u16 capab, tid, buf_size; local [all...] |
H A D | agg-rx.c | 58 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, argument 66 .tid = tid, 74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], 77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) 80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); 81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); 84 "Rx BA session stop requested for %pM tid %u %s reason: %d\n", 85 sta->sta.addr, tid, 91 "HW problem - can not stop rx aggregation for %pM tid 148 u8 tid = tid_rx->tid; local 191 ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, u8 dialog_token, u16 status, u16 policy, u16 buf_size, u16 timeout, const struct ieee80211_addba_ext_ie *addbaext) argument 245 __ieee80211_start_rx_ba_session(struct sta_info *sta, u8 dialog_token, u16 timeout, u16 start_seq_num, u16 ba_policy, u16 tid, u16 buf_size, bool tx, bool auto_seq, const struct ieee80211_addba_ext_ie *addbaext) argument 443 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num; local 483 ieee80211_manage_rx_ba_offl(struct ieee80211_vif *vif, const u8 *addr, unsigned int tid) argument 501 ieee80211_rx_ba_timer_expired(struct ieee80211_vif *vif, const u8 *addr, unsigned int tid) argument [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n.h | 35 *priv, int tid, 37 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid, 39 int mwifiex_send_addba(struct mwifiex_private *priv, int tid, u8 *peer_mac); 40 int mwifiex_send_delba(struct mwifiex_private *priv, int tid, u8 *peer_mac, 58 struct mwifiex_ra_list_tbl *ptr, int tid) 65 return (node->ampdu_sta[tid] != BA_STREAM_NOT_ALLOWED) ? true : false; 71 struct mwifiex_ra_list_tbl *ptr, int tid) 76 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); 79 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); 81 return (priv->aggr_prio_tbl[tid] 57 mwifiex_is_station_ampdu_allowed(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ptr, int tid) argument 70 mwifiex_is_ampdu_allowed(struct mwifiex_private *priv, struct mwifiex_ra_list_tbl *ptr, int tid) argument 90 mwifiex_is_amsdu_allowed(struct mwifiex_private *priv, int tid) argument 135 int tid; local [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | hal_tx.c | 58 le32_encode_bits(ti->tid, HAL_TCL_DATA_CMD_INFO3_TID) | 73 u8 hw_map_val[HAL_DSCP_TID_TBL_SIZE], dscp, tid; local 91 tid = dscp2tid(dscp); 92 value = u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP0); 95 tid = dscp2tid(dscp); 96 value |= u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP1); 99 tid = dscp2tid(dscp); 100 value |= u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP2); 103 tid = dscp2tid(dscp); 104 value |= u32_encode_bits(tid, HAL_TCL1_RING_FIELD_DSCP_TID_MAP [all...] |
/linux-master/fs/smb/client/ |
H A D | trace.h | 26 __u32 tid, 31 TP_ARGS(xid, fid, tid, sesid, offset, len, rc), 35 __field(__u32, tid) 44 __entry->tid = tid; 50 TP_printk("\txid=%u sid=0x%llx tid=0x%x fid=0x%llx offset=0x%llx len=0x%x rc=%d", 51 __entry->xid, __entry->sesid, __entry->tid, __entry->fid, 59 __u32 tid, \ 64 TP_ARGS(xid, fid, tid, sesid, offset, len, rc)) 77 __u32 tid, [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | trace.h | 49 TP_PROTO(unsigned int victim, unsigned int tid, unsigned int word0, 51 TP_ARGS(victim, tid, word0, word1, word2), 55 __field( unsigned int, tid ) 63 __entry->tid = tid; 69 TP_printk("victim %u tid %u w0 %u w1 %u w2 %u", 70 __entry->victim, __entry->tid, __entry->word0, 75 TP_PROTO(unsigned int gtlb_index, unsigned int tid, unsigned int word0, 77 TP_ARGS(gtlb_index, tid, word0, word1, word2), 81 __field( unsigned int, tid ) [all...] |
/linux-master/tools/perf/util/ |
H A D | jit.h | 8 struct machine *machine, char *filename, pid_t pid, pid_t tid, u64 *nbytes);
|
H A D | thread_map.h | 13 struct perf_thread_map *thread_map__new_by_tid(pid_t tid); 16 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 20 const char *tid, uid_t uid, bool all_threads);
|
H A D | values.h | 10 u32 *pid, *tid; member in struct:perf_read_values 22 u32 pid, u32 tid,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | preempted_bpf_ma_op.c | 47 pthread_t tid[ALLOC_THREAD_NR]; local 72 memset(tid, 0, sizeof(tid)); 73 for (i = 0; i < ARRAY_SIZE(tid); i++) { 74 err = pthread_create(&tid[i], NULL, run_alloc_prog, &ctx[i]); 79 for (i = 0; i < ARRAY_SIZE(tid); i++) { 80 if (!tid[i]) 82 pthread_join(tid[i], NULL);
|
/linux-master/kernel/trace/ |
H A D | trace_btf.c | 58 u32 tid; member in struct:btf_anon_stack 77 u32 tid, cur_offset = 0; local 94 if (btf_type_skip_modifiers(btf, member->type, &tid) && 96 anon_stack[top].tid = tid; 111 tid = anon_stack[--top].tid; 113 type = btf_type_by_id(btf, tid);
|
/linux-master/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.h | 89 cxgb_mk_tid_release(struct sk_buff *skb, u32 len, u32 tid, u16 chan) argument 95 INIT_TP_WR(req, tid); 96 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_TID_RELEASE, tid)); 101 cxgb_mk_close_con_req(struct sk_buff *skb, u32 len, u32 tid, u16 chan, argument 108 INIT_TP_WR(req, tid); 109 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_CLOSE_CON_REQ, tid)); 115 cxgb_mk_abort_req(struct sk_buff *skb, u32 len, u32 tid, u16 chan, argument 122 INIT_TP_WR(req, tid); 123 OPCODE_TID(req) = cpu_to_be32(MK_OPCODE_TID(CPL_ABORT_REQ, tid)); 130 cxgb_mk_abort_rpl(struct sk_buff *skb, u32 len, u32 tid, u1 argument 143 cxgb_mk_rx_data_ack(struct sk_buff *skb, u32 len, u32 tid, u16 chan, u32 credit_dack) argument [all...] |
/linux-master/sound/core/ |
H A D | pcm_timer.c | 100 struct snd_timer_id tid; local 103 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; 104 tid.dev_class = SNDRV_TIMER_CLASS_PCM; 105 tid.card = substream->pcm->card->number; 106 tid.device = substream->pcm->device; 107 tid.subdevice = (substream->number << 1) | (substream->stream & 1); 108 if (snd_timer_new(substream->pcm->card, "PCM", &tid, &timer) < 0) 113 tid.card, tid.device, tid [all...] |
/linux-master/sound/pci/emu10k1/ |
H A D | timer.c | 73 struct snd_timer_id tid; local 76 tid.dev_class = SNDRV_TIMER_CLASS_CARD; 77 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; 78 tid.card = emu->card->number; 79 tid.device = device; 80 tid.subdevice = 0; 81 err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer);
|
/linux-master/tools/testing/selftests/net/ |
H A D | srv6_end_dt46_l3vpn_test.sh | 279 local tid=$3 280 eval local hsname=\${hs_t${tid}_${hid}} 282 local rtveth=veth-t${tid} 302 ip -netns ${rtname} link add vrf-${tid} type vrf table ${tid} 303 ip -netns ${rtname} link set vrf-${tid} up 309 ip -netns ${rtname} link set ${rtveth} master vrf-${tid} 326 local tid=$5 330 local rtveth=veth-t${tid} 331 local vpn_sid=${VPN_LOCATOR_SERVICE}:${hssrc}${hsdst}:${tid} [all...] |
H A D | srv6_end_dt6_l3vpn_test.sh | 248 local tid=$3 249 eval local hsname=\${hs_t${tid}_${hid}} 251 local rtveth=veth-t${tid} 265 ip -netns ${rtname} link add vrf-${tid} type vrf table ${tid} 266 ip -netns ${rtname} link set vrf-${tid} up 272 ip -netns ${rtname} link set ${rtveth} master vrf-${tid} 287 local tid=$5 291 local rtveth=veth-t${tid} 292 local vpn_sid=${VPN_LOCATOR_SERVICE}:${hssrc}${hsdst}:${tid} [all...] |
H A D | srv6_end_dt4_l3vpn_test.sh | 248 local tid=$3 249 eval local hsname=\${hs_t${tid}_${hid}} 251 local rtveth=veth-t${tid} 266 ip -netns ${rtname} link add vrf-${tid} type vrf table ${tid} 267 ip -netns ${rtname} link set vrf-${tid} up 270 ip -netns ${rtname} link set ${rtveth} master vrf-${tid} 285 local tid=$5 289 local vpn_sid=${VPN_LOCATOR_SERVICE}:${hssrc}${hsdst}:${tid}::6004 293 ip -netns ${rtsrc_name} -4 route add ${IPv4_HS_NETWORK}.${hsdst}/32 vrf vrf-${tid} \ [all...] |
/linux-master/fs/jfs/ |
H A D | namei.c | 66 tid_t tid; /* transaction id */ local 98 tid = txBegin(dip->i_sb, 0); 103 rc = jfs_init_acl(tid, ip, dip); 107 rc = jfs_init_security(tid, ip, dip, &dentry->d_name); 109 txAbort(tid, 0); 115 txAbort(tid, 0); 119 tblk = tid_to_tblock(tid); 130 xtInitRoot(tid, ip); 137 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { 140 txAbort(tid, 199 tid_t tid; /* transaction id */ local 336 tid_t tid; /* transaction id */ local 466 tid_t tid; /* transaction id */ local 623 commitZeroLink(tid_t tid, struct inode *ip) argument 790 tid_t tid; local 882 tid_t tid; local 1079 tid_t tid; local 1365 tid_t tid; local [all...] |
/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_prs.c | 47 int tid) 51 if (tid > MVPP2_PRS_TCAM_SRAM_SIZE - 1) 55 pe->index = tid; 367 int tid; local 370 for (tid = MVPP2_PRS_TCAM_SRAM_SIZE - 1; tid >= 0; tid--) { 373 if (!priv->prs_shadow[tid].valid || 374 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_FLOWS) 377 mvpp2_prs_init_from_hw(priv, &pe, tid); 46 mvpp2_prs_init_from_hw(struct mvpp2 *priv, struct mvpp2_prs_entry *pe, int tid) argument 392 int tid; local 478 int tid; local 530 int tid, shift; local 597 int tid, shift, port_mask; local 664 int tid; local 706 int tid_aux, tid; local 791 int tid; local 824 int tid_aux, tid, ai, ret = 0; local 898 int tid; local 968 int mask, tid; local 1025 int tid; local 1065 int tid; local 1334 int tid, ihl; local 1610 int tid, ihl; local 1798 int tid, err; local 1935 int tid; local 1969 int tid; local 2029 int tid; local 2046 int tid; local 2060 unsigned int tid = MVPP2_PRS_VID_PORT_DFLT(port->id); local 2072 unsigned int tid = MVPP2_PRS_VID_PORT_DFLT(port->id); local 2208 int tid; local 2238 int tid; local 2346 int index, tid; local 2436 int tid, i; local 2471 int tid; local [all...] |
/linux-master/tools/testing/selftests/proc/ |
H A D | thread-self.c | 30 pid_t pid, tid; local 34 tid = sys_gettid(); 35 snprintf(buf1, sizeof(buf1), "%u/task/%u", pid, tid);
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | tlbie_test.c | 198 * Compute the store pattern for a given thread with id @tid, at 201 static inline unsigned int compute_store_pattern(unsigned int tid, argument 206 char *start = compute_chunk_start_addr(tid); 209 ret += (tid & THREAD_ID_MASK) << THREAD_ID_SHIFT; 256 static inline void start_verification_log(unsigned int tid, argument 265 char *chunk_start = compute_chunk_start_addr(tid); 268 sprintf(logfile, logfilename, tid); 278 fp[tid] = f; 282 fprintf(f, "Thread id = %02d\n", tid); 291 static inline void log_anamoly(unsigned int tid, unsigne argument 307 end_verification_log(unsigned int tid, unsigned nr_anamolies) argument 357 verify_chunk(unsigned int tid, unsigned int *next_store_addr, unsigned int cur_sweep_id, unsigned int prev_sweep_id) argument 460 unsigned int tid = *((unsigned int *)arg); local [all...] |