Home
last modified time | relevance | path

Searched refs:tids (Results 1 – 25 of 65) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c368 if (tid_out_of_range(&adapter->tids, fidx)) in get_filter_count()
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()
375 adapter->tids.nhpftids - 1)) && in get_filter_count()
376 fidx >= (adapter->tids.nftids + adapter->tids.nhpftids)) in get_filter_count()
379 if (fidx < adapter->tids.nhpftids) in get_filter_count()
380 f = &adapter->tids.hpftid_tab[fidx]; in get_filter_count()
382 f = &adapter->tids.ftid_tab[fidx - in get_filter_count()
383 adapter->tids.nhpftids]; in get_filter_count()
550 struct tid_info *t = &adap->tids; in cxgb4_get_free_ftid()
[all …]
H A Dcxgb4_tc_u32.c200 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()
373 if (filter_id < adapter->tids.nhpftids) { in cxgb4_delete_knode()
375 f = &adapter->tids.hpftid_tab[i]; in cxgb4_delete_knode()
381 i = find_next_bit(adapter->tids.hpftid_bmap, 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()
390 i = filter_id - adapter->tids.nhpftids; in cxgb4_delete_knode()
[all …]
H A Dcxgb4_tc_mqprio.c81 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()
H A Dcxgb4_main.c1747 struct adapter *adap = container_of(t, struct adapter, tids); in cxgb4_queue_tid_release()
1785 mk_tid_release(skb, chan, p - adap->tids.tid_tab); in process_tid_release_list()
1800 struct adapter *adap = container_of(t, struct adapter, tids); in cxgb4_remove_tid()
1803 WARN_ON(tid_out_of_range(&adap->tids, tid)); in cxgb4_remove_tid()
1805 if (t->tid_tab[tid - adap->tids.tid_base]) { in cxgb4_remove_tid()
1806 t->tid_tab[tid - adap->tids.tid_base] = NULL; in cxgb4_remove_tid()
1835 struct adapter *adap = container_of(t, struct adapter, tids); in tid_init()
2928 stid -= adap->tids.sftid_base; in cxgb4_create_server_filter()
2929 stid += adap->tids.nftids; in cxgb4_create_server_filter()
2933 f = &adap->tids.ftid_tab[stid]; in cxgb4_create_server_filter()
[all …]
H A Dcxgb4_ethtool.c1626 struct tid_info *t = &adap->tids; in cxgb4_get_filter_entry()
1842 filter_id -= adapter->tids.hpftid_base; in cxgb4_ntuple_del_filter()
1844 filter_id -= (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_del_filter()
1906 tid += adapter->tids.hpftid_base; in cxgb4_ntuple_set_filter()
1908 tid += (adapter->tids.ftid_base - adapter->tids.nhpftids); in cxgb4_ntuple_set_filter()
2225 struct tid_info *tids = &adap->tids; in cxgb4_init_ethtool_filters() local
2243 nentries = tids->nhpftids + tids->nftids; in cxgb4_init_ethtool_filters()
2245 nentries += tids->nhash + in cxgb4_init_ethtool_filters()
2246 (adap->tids.stid_base - adap->tids.tid_base); in cxgb4_init_ethtool_filters()
H A Dcxgb4_tc_flower.c799 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/math/
H A Dfpu_signal.c79 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()
H A Dfpu_preempt.c58 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()
H A Dvmx_signal.c97 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()
H A Dvmx_preempt.c58 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()
H A Dvsx_preempt.c93 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()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dswitch-tracking.c63 pid_t *tids; member
96 if (!switch_tracking->tids) { in check_cpu()
97 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()
98 if (!switch_tracking->tids) in check_cpu()
101 switch_tracking->tids[i] = -1; in check_cpu()
109 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu()
112 switch_tracking->tids = addr; in check_cpu()
114 switch_tracking->tids[i] = -1; in check_cpu()
150 if (switch_tracking->tids[cpu] != -1 && in process_sample_event()
151 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c679 stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx); in chtls_listen_start()
722 cxgb4_free_stid(cdev->tids, stid, sk->sk_family); in chtls_listen_start()
739 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_listen_stop()
766 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_pass_open_rpl()
779 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_pass_open_rpl()
795 data = lookup_stid(cdev->tids, stid); in chtls_close_listsrv_rpl()
802 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_close_listsrv_rpl()
823 struct tid_info *tids; in chtls_release_resources() local
828 tids = cdev->tids; in chtls_release_resources()
843 cxgb4_remove_tid(tids, csk->port_id, tid, sk->sk_family); in chtls_release_resources()
[all …]
H A Dchtls_main.c255 cdev->tids = lldi->tids; in chtls_uld_add()
258 cdev->tids = lldi->tids; in chtls_uld_add()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Duser_sdma.c428 req->tids = NULL; in hfi1_user_sdma_process_request()
548 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request()
563 ntids * sizeof(*req->tids)); in hfi1_user_sdma_process_request()
570 req->tids = tmp; in hfi1_user_sdma_process_request()
655 u32 tidlen = EXP_TID_GET(req->tids[req->tididx], LEN) * in compute_data_length()
664 req->tids[req->tididx]) { in compute_data_length()
665 tidlen = EXP_TID_GET(req->tids[req->tididx], in compute_data_length()
1112 u32 tidval = req->tids[req->tididx], in check_header_template()
1222 tidval = req->tids[req->tididx]; in set_txreq_header()
1235 !req->tids[req->tididx]) { in set_txreq_header()
[all …]
/OK3568_Linux_fs/external/rockit/mpi/example/common/
H A Dtest_comm_vgs.cpp230 pthread_t tids[VGS_MAX_JOB_NUM]; in TEST_VGS_MultiTest() local
238 …pthread_create(&tids[jobIndex], 0, TEST_VGS_MultiProc, reinterpret_cast<void *>(&tmpCtx[jobIndex])… in TEST_VGS_MultiTest()
244 s32Ret = pthread_join(tids[jobIndex], &retval); in TEST_VGS_MultiTest()
246 RK_LOGE("vgs multi test error test id:%d", tids[jobIndex]); in TEST_VGS_MultiTest()
H A Dtest_comm_tde.cpp313 pthread_t tids[TDE_MAX_JOB_NUM]; in TEST_TDE_MultiTest() local
321 …pthread_create(&tids[jobIndex], 0, TEST_TDE_MultiProc, reinterpret_cast<void *>(&tmpCtx[jobIndex])… in TEST_TDE_MultiTest()
326 s32Ret = pthread_join(tids[jobIndex], &retval); in TEST_TDE_MultiTest()
328 RK_LOGE("tde multi test error test id:%d", tids[jobIndex]); in TEST_TDE_MultiTest()
H A Dtest_mod_vpss.cpp146 pthread_t tids[VPSS_MAX_GRP_NUM]; in TEST_VPSS_ModTest() local
151 …pthread_create(&tids[grpIndex], 0, TEST_VPSS_ModSingleTest, reinterpret_cast<void *>(&tmpCtx[grpIn… in TEST_VPSS_ModTest()
157 pthread_join(tids[grpIndex], &retval); in TEST_VPSS_ModTest()
/OK3568_Linux_fs/kernel/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c884 cxgb4_free_atid(lldi->tids, csk->atid); in free_atid()
898 struct tid_info *t = lldi->tids; in do_act_establish()
921 cxgb4_insert_tid(lldi->tids, csk, tid, csk->csk_family); in do_act_establish()
1051 struct tid_info *t = lldi->tids; in do_act_open_rpl()
1071 cxgb4_remove_tid(lldi->tids, csk->port_id, GET_TID(rpl), 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()
[all …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dsta_info.c835 unsigned long tids; in __sta_info_recalc_tim() local
845 tids = ieee80211_tids_for_ac(ac); in __sta_info_recalc_tim()
848 sta->driver_buffered_tids & tids; in __sta_info_recalc_tim()
850 sta->txq_buffered_tids & tids; in __sta_info_recalc_tim()
1473 static int find_highest_prio_tid(unsigned long tids) in find_highest_prio_tid() argument
1476 if (tids & 0xF8) in find_highest_prio_tid()
1477 return fls(tids) - 1; in find_highest_prio_tid()
1479 if (tids & BIT(0)) in find_highest_prio_tid()
1481 return fls(tids) - 1; in find_highest_prio_tid()
1529 unsigned long tids; in ieee80211_sta_ps_get_frames() local
[all …]
H A Ddriver-ops.h794 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()
1380 struct ieee80211_sta *sta, u8 tids) in drv_reset_tid_config() argument
1385 ret = local->ops->reset_tid_config(&local->hw, &sdata->vif, sta, tids); in drv_reset_tid_config()
H A Dtrace.h1412 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)
/OK3568_Linux_fs/kernel/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c351 stid = cxgb4_alloc_stid(cdev->lldi.tids, ss_family, cnp); in __cxgbit_setup_cdev_np()
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()
1222 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_accept_req()
1581 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_open_rpl()
1603 struct tid_info *t = cdev->lldi.tids; in cxgbit_close_listsrv_rpl()
1625 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_establish()
1905 struct tid_info *t = lldi->tids; in cxgbit_set_tcb_rpl()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/
H A Dtx.c340 u16 tids, int nframes, in mt76_release_buffered_frames() argument
351 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
356 if (!(tids & 1)) in mt76_release_buffered_frames()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/
H A Drc.c201 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()

123