/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_filter.c | 370 f = adapter->tids.tid_tab[fidx - adapter->tids.tid_base]; in get_filter_count() 374 if ((fidx != (adapter->tids.nftids + adapter->tids.nsftids + in get_filter_count() 376 fidx >= (adapter->tids.nftids + adapter->tids.nhpftids)) in get_filter_count() 768 f = &adapter->tids.ftid_tab[fidx - adapter->tids.nhpftids]; in del_filter_wr() 802 f = &adapter->tids.ftid_tab[fidx - adapter->tids.nhpftids]; in set_filter_wr() 958 if (fidx >= adapter->tids.nftids + adapter->tids.nsftids + in delete_filter() 965 f = &adapter->tids.ftid_tab[fidx - adapter->tids.nhpftids]; in delete_filter() 1163 (adap->tids.nhash + (adap->tids.stid_base - adap->tids.tid_base))) in is_filter_exact_match() 1547 max_fidx = adapter->tids.nftids + adapter->tids.nhpftids; in __cxgb4_set_filter() 1818 max_fidx = adapter->tids.nftids + adapter->tids.nhpftids; in __cxgb4_del_filter() [all …]
|
A D | cxgb4_tc_u32.c | 200 if (filter_id < adapter->tids.nhpftids) in cxgb4_config_knode() 368 max_tids = adapter->tids.nhpftids + adapter->tids.nftids; in cxgb4_delete_knode() 370 spin_lock_bh(&adapter->tids.ftid_lock); in cxgb4_delete_knode() 375 f = &adapter->tids.hpftid_tab[i]; in cxgb4_delete_knode() 382 adapter->tids.nhpftids, i + 1); in cxgb4_delete_knode() 383 if (i >= adapter->tids.nhpftids) { in cxgb4_delete_knode() 384 filter_id = adapter->tids.nhpftids; in cxgb4_delete_knode() 391 f = &adapter->tids.ftid_tab[i]; in cxgb4_delete_knode() 398 adapter->tids.nftids, i + 1); in cxgb4_delete_knode() 399 if (i >= adapter->tids.nftids) in cxgb4_delete_knode() [all …]
|
A D | cxgb4_tc_mqprio.c | 81 if (qoffset >= adap->tids.neotids || qcount > adap->tids.neotids) in cxgb4_mqprio_validate() 113 eosw_txq->hwtid = adap->tids.eotid_base + eosw_txq->eotid; in cxgb4_init_eosw_txq() 448 eotid = cxgb4_get_free_eotid(&adap->tids); in cxgb4_mqprio_enable_offload() 462 cxgb4_alloc_eotid(&adap->tids, eotid, eosw_txq); in cxgb4_mqprio_enable_offload() 522 cxgb4_free_eotid(&adap->tids, eosw_txq->eotid); in cxgb4_mqprio_enable_offload() 557 cxgb4_free_eotid(&adap->tids, eosw_txq->eotid); in cxgb4_mqprio_disable_offload() 676 eosw_txq = kcalloc(adap->tids.neotids, sizeof(*eosw_txq), in cxgb4_init_tc_mqprio()
|
A D | cxgb4_main.c | 2928 stid -= adap->tids.sftid_base; in cxgb4_create_server_filter() 2929 stid += adap->tids.nftids; in cxgb4_create_server_filter() 2994 stid -= adap->tids.sftid_base; in cxgb4_remove_server_filter() 2995 stid += adap->tids.nftids; in cxgb4_remove_server_filter() 5015 adap->tids.tid_base = in adap_init0() 5191 adap->tids.ntids = val[0]; in adap_init0() 5192 adap->tids.natids = min(adap->tids.ntids / 2, MAX_ATIDS); in adap_init0() 5205 adap->tids.sftid_base = adap->tids.ftid_base + in adap_init0() 5207 adap->tids.nsftids = adap->tids.nftids - in adap_init0() 5209 adap->tids.nftids = adap->tids.sftid_base - in adap_init0() [all …]
|
A D | cxgb4_ethtool.c | 1630 struct tid_info *t = &adap->tids; in cxgb4_get_filter_entry() 1846 filter_id -= adapter->tids.hpftid_base; in cxgb4_ntuple_del_filter() 1848 filter_id -= (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_del_filter() 1910 tid += adapter->tids.hpftid_base; in cxgb4_ntuple_set_filter() 1912 tid += (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_set_filter() 2229 struct tid_info *tids = &adap->tids; in cxgb4_init_ethtool_filters() local 2247 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters() 2249 nentries += tids->nhash + in cxgb4_init_ethtool_filters() 2250 (adap->tids.stid_base - adap->tids.tid_base); in cxgb4_init_ethtool_filters()
|
A D | cxgb4_tc_flower.c | 799 spin_lock_bh(&adap->tids.ftid_lock); in cxgb4_tc_flower_hash_prio_add() 800 if (adap->tids.tc_hash_tids_max_prio < tc_prio) in cxgb4_tc_flower_hash_prio_add() 801 adap->tids.tc_hash_tids_max_prio = tc_prio; in cxgb4_tc_flower_hash_prio_add() 802 spin_unlock_bh(&adap->tids.ftid_lock); in cxgb4_tc_flower_hash_prio_add() 807 struct tid_info *t = &adap->tids; in cxgb4_tc_flower_hash_prio_del() 888 if (fidx < adap->tids.nhpftids) { in cxgb4_flow_rule_replace()
|
A D | cxgb4_uld.c | 294 ciq_size = 64 + adap->vres.cq.size + adap->tids.nftids; in cfg_queues_uld() 604 lld->tids = &adap->tids; in uld_init() 672 const struct tid_info *t = &adap->tids; in cxgb4_uld_in_use()
|
/linux/tools/testing/selftests/powerpc/math/ |
A D | fpu_signal.c | 79 pthread_t *tids; in test_signal_fpu() local 82 tids = malloc(threads * sizeof(pthread_t)); in test_signal_fpu() 83 FAIL_IF(!tids); in test_signal_fpu() 88 rc = pthread_create(&tids[i], NULL, signal_fpu_c, NULL); in test_signal_fpu() 101 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu() 110 pthread_join(tids[i], &rc_p); in test_signal_fpu() 124 free(tids); in test_signal_fpu()
|
A D | fpu_preempt.c | 58 pthread_t *tids; in test_preempt_fpu() local 61 tids = malloc((threads) * sizeof(pthread_t)); in test_preempt_fpu() 62 FAIL_IF(!tids); in test_preempt_fpu() 67 rc = pthread_create(&tids[i], NULL, preempt_fpu_c, NULL); in test_preempt_fpu() 90 pthread_join(tids[i], &rc_p); in test_preempt_fpu() 102 free(tids); in test_preempt_fpu()
|
A D | vmx_signal.c | 97 pthread_t *tids; in test_signal_vmx() local 103 tids = malloc(threads * sizeof(pthread_t)); in test_signal_vmx() 104 FAIL_IF(!tids); in test_signal_vmx() 109 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); in test_signal_vmx() 125 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx() 134 pthread_join(tids[i], &rc_p); in test_signal_vmx() 148 free(tids); in test_signal_vmx()
|
A D | vmx_preempt.c | 58 pthread_t *tids; in test_preempt_vmx() local 64 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vmx() 65 FAIL_IF(!tids); in test_preempt_vmx() 70 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); in test_preempt_vmx() 93 pthread_join(tids[i], &rc_p); in test_preempt_vmx()
|
A D | vsx_preempt.c | 93 pthread_t *tids; in test_preempt_vsx() local 98 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vsx() 99 FAIL_IF(!tids); in test_preempt_vsx() 104 rc = pthread_create(&tids[i], NULL, preempt_vsx_c, NULL); in test_preempt_vsx() 127 pthread_join(tids[i], &rc_p); in test_preempt_vsx()
|
/linux/tools/perf/tests/ |
A D | switch-tracking.c | 64 pid_t *tids; member 97 if (!switch_tracking->tids) { in check_cpu() 98 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu() 99 if (!switch_tracking->tids) in check_cpu() 102 switch_tracking->tids[i] = -1; in check_cpu() 113 switch_tracking->tids = addr; in check_cpu() 115 switch_tracking->tids[i] = -1; in check_cpu() 151 if (switch_tracking->tids[cpu] != -1 && in process_sample_event() 152 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event() 156 switch_tracking->tids[cpu] = next_tid; in process_sample_event() [all …]
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A D | chtls_cm.c | 823 struct tid_info *tids; in chtls_release_resources() local 828 tids = cdev->tids; in chtls_release_resources() 1316 newsk = lookup_tid(cdev->tids, tid); in chtls_pass_accept_request() 1580 sk = lookup_tid(cdev->tids, hwtid); in chtls_pass_establish() 1733 sk = lookup_tid(cdev->tids, hwtid); in chtls_rx_data() 1785 sk = lookup_tid(cdev->tids, hwtid); in chtls_rx_pdu() 1854 sk = lookup_tid(cdev->tids, hwtid); in chtls_rx_cmp() 2163 cxgb4_remove_tid(cdev->tids, in chtls_abort_rpl_rss() 2187 sk = lookup_tid(cdev->tids, hwtid); in chtls_conn_cpl() 2289 sk = lookup_tid(cdev->tids, hwtid); in chtls_wr_ack() [all …]
|
A D | chtls_main.c | 255 cdev->tids = lldi->tids; in chtls_uld_add() 258 cdev->tids = lldi->tids; in chtls_uld_add()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | user_sdma.c | 389 req->tids = NULL; in hfi1_user_sdma_process_request() 524 ntids * sizeof(*req->tids)); in hfi1_user_sdma_process_request() 531 req->tids = tmp; in hfi1_user_sdma_process_request() 629 req->tids[req->tididx]) { in compute_data_length() 1187 tidval = req->tids[req->tididx]; in set_txreq_header() 1200 !req->tids[req->tididx]) { in set_txreq_header() 1203 tidval = req->tids[req->tididx]; in set_txreq_header() 1289 tidval = req->tids[req->tididx]; in set_txreq_header_ahg() 1303 !req->tids[req->tididx]) in set_txreq_header_ahg() 1305 tidval = req->tids[req->tididx]; in set_txreq_header_ahg() [all …]
|
A D | user_sdma.h | 148 u32 *tids; member
|
/linux/drivers/scsi/cxgbi/cxgb4i/ |
A D | cxgb4i.c | 898 struct tid_info *t = lldi->tids; in do_act_establish() 1051 struct tid_info *t = lldi->tids; in do_act_open_rpl() 1097 struct tid_info *t = lldi->tids; in do_peer_close() 1118 struct tid_info *t = lldi->tids; in do_close_con_rpl() 1157 struct tid_info *t = lldi->tids; in do_abort_req_rss() 1205 struct tid_info *t = lldi->tids; in do_abort_rpl_rss() 1229 struct tid_info *t = lldi->tids; in do_rx_data() 1251 struct tid_info *t = lldi->tids; in do_rx_iscsi_hdr() 1354 struct tid_info *t = lldi->tids; in do_rx_iscsi_data() 1452 struct tid_info *t = lldi->tids; in do_rx_data_ddp() [all …]
|
/linux/net/mac80211/ |
A D | sta_info.c | 837 unsigned long tids; in __sta_info_recalc_tim() local 847 tids = ieee80211_tids_for_ac(ac); in __sta_info_recalc_tim() 852 sta->txq_buffered_tids & tids; in __sta_info_recalc_tim() 1478 if (tids & 0xF8) in find_highest_prio_tid() 1479 return fls(tids) - 1; in find_highest_prio_tid() 1481 if (tids & BIT(0)) in find_highest_prio_tid() 1483 return fls(tids) - 1; in find_highest_prio_tid() 1531 unsigned long tids; in ieee80211_sta_ps_get_frames() local 1536 tids = ieee80211_tids_for_ac(ac); in ieee80211_sta_ps_get_frames() 1629 u16 tids = 0; in ieee80211_sta_ps_deliver_response() local [all …]
|
A D | driver-ops.h | 794 struct sta_info *sta, u16 tids, int num_frames, in drv_release_buffered_frames() argument 798 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames() 801 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames() 809 struct sta_info *sta, u16 tids, int num_frames, in drv_allow_buffered_frames() argument 813 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames() 817 tids, num_frames, reason, in drv_allow_buffered_frames() 1398 struct ieee80211_sta *sta, u8 tids) in drv_reset_tid_config() argument 1403 ret = local->ops->reset_tid_config(&local->hw, &sdata->vif, sta, tids); in drv_reset_tid_config()
|
A D | trace.h | 1412 u16 tids, int num_frames, 1416 TP_ARGS(local, sta, tids, num_frames, reason, more_data), 1421 __field(u16, tids) 1430 __entry->tids = tids; 1439 LOCAL_PR_ARG, STA_PR_ARG, __entry->tids, __entry->num_frames, 1447 u16 tids, int num_frames, 1451 TP_ARGS(local, sta, tids, num_frames, reason, more_data) 1457 u16 tids, int num_frames, 1461 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
|
/linux/drivers/target/iscsi/cxgbit/ |
A D | cxgbit_cm.c | 356 cxgb4_free_stid(cdev->lldi.tids, stid, ss_family); in __cxgbit_setup_cdev_np() 367 cxgb4_free_stid(cdev->lldi.tids, stid, in __cxgbit_setup_cdev_np() 559 cxgb4_free_stid(cdev->lldi.tids, stid, in __cxgbit_free_cdev_np() 810 cxgb4_remove_tid(csk->com.cdev->lldi.tids, 0, csk->tid, in _cxgbit_free_csk() 1223 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_accept_req() 1582 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_open_rpl() 1604 struct tid_info *t = cdev->lldi.tids; in cxgbit_close_listsrv_rpl() 1626 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_establish() 1903 struct tid_info *t = lldi->tids; in cxgbit_set_tcb_rpl() 1924 struct tid_info *t = lldi->tids; in cxgbit_rx_data() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
A D | rc.c | 201 if (sta_entry->tids[tid].agg.agg_state == RTL_AGG_STOP) in _rtl_tx_aggr_check() 239 sta_entry->tids[tid].agg.agg_state = in rtl_tx_status()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | tx.c | 387 u16 tids, int nframes, in mt76_release_buffered_frames() argument 398 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames() 403 if (!(tids & 1)) in mt76_release_buffered_frames()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | cm.c | 562 cxgb4_free_atid(ep->com.dev->rdev.lldi.tids, ep->atid); in act_open_req_arp_failure() 1221 struct tid_info *t = dev->rdev.lldi.tids; in act_establish() 2249 cxgb4_free_atid(ep->com.dev->rdev.lldi.tids, ep->atid); in c4iw_reconnect() 2270 struct tid_info *t = dev->rdev.lldi.tids; in act_open_rpl() 2518 struct tid_info *t = dev->rdev.lldi.tids; in pass_accept_req() 3355 ep->atid = cxgb4_alloc_atid(dev->rdev.lldi.tids, ep); in c4iw_connect() 3564 ep->stid = cxgb4_alloc_sftid(dev->rdev.lldi.tids, in c4iw_create_listen() 3567 ep->stid = cxgb4_alloc_stid(dev->rdev.lldi.tids, in c4iw_create_listen() 3590 cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid, in c4iw_create_listen() 3630 cxgb4_free_stid(ep->com.dev->rdev.lldi.tids, ep->stid, in c4iw_destroy_listen() [all …]
|