Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c62 pthread_t *tids; in test_preempt_fpu() local
65 tids = malloc((threads) * sizeof(pthread_t)); in test_preempt_fpu()
66 FAIL_IF(!tids); in test_preempt_fpu()
71 rc = pthread_create(&tids[i], NULL, preempt_fpu_c, NULL); in test_preempt_fpu()
94 pthread_join(tids[i], &rc_p); in test_preempt_fpu()
106 free(tids); in test_preempt_fpu()
Dfpu_signal.c83 pthread_t *tids; in test_signal_fpu() local
86 tids = malloc(threads * sizeof(pthread_t)); in test_signal_fpu()
87 FAIL_IF(!tids); in test_signal_fpu()
92 rc = pthread_create(&tids[i], NULL, signal_fpu_c, NULL); in test_signal_fpu()
105 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu()
114 pthread_join(tids[i], &rc_p); in test_signal_fpu()
128 free(tids); in test_signal_fpu()
Dvmx_signal.c101 pthread_t *tids; in test_signal_vmx() local
104 tids = malloc(threads * sizeof(pthread_t)); in test_signal_vmx()
105 FAIL_IF(!tids); in test_signal_vmx()
110 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); in test_signal_vmx()
126 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx()
135 pthread_join(tids[i], &rc_p); in test_signal_vmx()
149 free(tids); in test_signal_vmx()
Dvmx_preempt.c62 pthread_t *tids; in test_preempt_vmx() local
65 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vmx()
66 FAIL_IF(!tids); in test_preempt_vmx()
71 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); in test_preempt_vmx()
94 pthread_join(tids[i], &rc_p); in test_preempt_vmx()
Dvsx_preempt.c97 pthread_t *tids; in test_preempt_vsx() local
100 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vsx()
101 FAIL_IF(!tids); in test_preempt_vsx()
106 rc = pthread_create(&tids[i], NULL, preempt_vsx_c, NULL); in test_preempt_vsx()
129 pthread_join(tids[i], &rc_p); in test_preempt_vsx()
/Linux-v4.19/tools/perf/tests/
Dswitch-tracking.c56 pid_t *tids; member
89 if (!switch_tracking->tids) { in check_cpu()
90 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu()
91 if (!switch_tracking->tids) in check_cpu()
94 switch_tracking->tids[i] = -1; in check_cpu()
102 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu()
105 switch_tracking->tids = addr; in check_cpu()
107 switch_tracking->tids[i] = -1; in check_cpu()
143 if (switch_tracking->tids[cpu] != -1 && in process_sample_event()
144 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event()
[all …]
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c363 if (fidx < adapter->tids.ntids) { in get_filter_count()
364 f = adapter->tids.tid_tab[fidx]; in get_filter_count()
371 if ((fidx != (adapter->tids.nftids + in get_filter_count()
372 adapter->tids.nsftids - 1)) && in get_filter_count()
373 fidx >= adapter->tids.nftids) in get_filter_count()
376 f = &adapter->tids.ftid_tab[fidx]; in get_filter_count()
441 struct tid_info *t = &adap->tids; in cxgb4_get_free_ftid()
515 struct filter_entry *f = &adapter->tids.ftid_tab[fidx]; in del_filter_wr()
546 struct filter_entry *f = &adapter->tids.ftid_tab[fidx]; in set_filter_wr()
699 if (fidx >= adapter->tids.nftids + adapter->tids.nsftids) in delete_filter()
[all …]
Dcxgb4_tc_u32.c170 if (filter_id > adapter->tids.nftids) { in cxgb4_config_knode()
173 filter_id, adapter->tids.nftids); in cxgb4_config_knode()
355 if (filter_id > adapter->tids.nftids) { in cxgb4_delete_knode()
358 filter_id, adapter->tids.nftids); in cxgb4_delete_knode()
392 max_tids = adapter->tids.nftids; in cxgb4_delete_knode()
440 unsigned int max_tids = adap->tids.nftids; in cxgb4_init_tc_u32()
Dcxgb4_main.c1240 struct adapter *adap = container_of(t, struct adapter, tids); in cxgb4_queue_tid_release()
1277 mk_tid_release(skb, chan, p - adap->tids.tid_tab); in process_tid_release_list()
1293 struct adapter *adap = container_of(t, struct adapter, tids); in cxgb4_remove_tid()
1327 struct adapter *adap = container_of(t, struct adapter, tids); in tid_init()
2370 stid -= adap->tids.sftid_base; in cxgb4_create_server_filter()
2371 stid += adap->tids.nftids; in cxgb4_create_server_filter()
2375 f = &adap->tids.ftid_tab[stid]; in cxgb4_create_server_filter()
2416 f->tid = stid + adap->tids.ftid_base; in cxgb4_create_server_filter()
2436 stid -= adap->tids.sftid_base; in cxgb4_remove_server_filter()
2437 stid += adap->tids.nftids; in cxgb4_remove_server_filter()
[all …]
Dcudbg_lib.c1760 tid->ntids = padap->tids.ntids; in cudbg_collect_tid()
1761 tid->nstids = padap->tids.nstids; in cudbg_collect_tid()
1762 tid->stid_base = padap->tids.stid_base; in cudbg_collect_tid()
1763 tid->hash_base = padap->tids.hash_base; in cudbg_collect_tid()
1765 tid->natids = padap->tids.natids; in cudbg_collect_tid()
1766 tid->nftids = padap->tids.nftids; in cudbg_collect_tid()
1767 tid->ftid_base = padap->tids.ftid_base; in cudbg_collect_tid()
1768 tid->aftid_base = padap->tids.aftid_base; in cudbg_collect_tid()
1769 tid->aftid_end = padap->tids.aftid_end; in cudbg_collect_tid()
1771 tid->sftid_base = padap->tids.sftid_base; in cudbg_collect_tid()
[all …]
Dcxgb4_uld.c322 ciq_size = 64 + adap->vres.cq.size + adap->tids.nftids; in cfg_queues_uld()
633 lld->tids = &adap->tids; in uld_init()
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_cm.c636 stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx); in chtls_listen_start()
656 cxgb4_free_stid(cdev->tids, stid, sk->sk_family); in chtls_listen_start()
673 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_listen_stop()
687 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_pass_open_rpl()
701 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_pass_open_rpl()
717 data = lookup_stid(cdev->tids, stid); in chtls_close_listsrv_rpl()
726 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_close_listsrv_rpl()
739 struct tid_info *tids; in chtls_release_resources() local
744 tids = cdev->tids; in chtls_release_resources()
753 cxgb4_remove_tid(tids, csk->port_id, tid, sk->sk_family); in chtls_release_resources()
[all …]
Dchtls_main.c219 cdev->tids = lldi->tids; in chtls_uld_add()
222 cdev->tids = lldi->tids; in chtls_uld_add()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Duser_sdma.c402 req->tids = NULL; in hfi1_user_sdma_process_request()
521 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request()
536 ntids * sizeof(*req->tids)); in hfi1_user_sdma_process_request()
543 req->tids = tmp; in hfi1_user_sdma_process_request()
640 u32 tidlen = EXP_TID_GET(req->tids[req->tididx], LEN) * in compute_data_length()
649 req->tids[req->tididx]) { in compute_data_length()
650 tidlen = EXP_TID_GET(req->tids[req->tididx], in compute_data_length()
1093 u32 tidval = req->tids[req->tididx], in check_header_template()
1202 tidval = req->tids[req->tididx]; in set_txreq_header()
1215 !req->tids[req->tididx]) { in set_txreq_header()
[all …]
Duser_sdma.h193 u32 *tids; member
/Linux-v4.19/net/mac80211/
Dsta_info.c750 unsigned long tids; in __sta_info_recalc_tim() local
760 tids = ieee80211_tids_for_ac(ac); in __sta_info_recalc_tim()
763 sta->driver_buffered_tids & tids; in __sta_info_recalc_tim()
765 sta->txq_buffered_tids & tids; in __sta_info_recalc_tim()
1403 static int find_highest_prio_tid(unsigned long tids) in find_highest_prio_tid() argument
1406 if (tids & 0xF8) in find_highest_prio_tid()
1407 return fls(tids) - 1; in find_highest_prio_tid()
1409 if (tids & BIT(0)) in find_highest_prio_tid()
1411 return fls(tids) - 1; in find_highest_prio_tid()
1459 unsigned long tids; in ieee80211_sta_ps_get_frames() local
[all …]
Ddriver-ops.h788 struct sta_info *sta, u16 tids, int num_frames, in drv_release_buffered_frames() argument
792 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames()
795 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames()
803 struct sta_info *sta, u16 tids, int num_frames, in drv_allow_buffered_frames() argument
807 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames()
811 tids, num_frames, reason, in drv_allow_buffered_frames()
Dtrace.h1365 u16 tids, int num_frames,
1369 TP_ARGS(local, sta, tids, num_frames, reason, more_data),
1374 __field(u16, tids)
1383 __entry->tids = tids;
1392 LOCAL_PR_ARG, STA_PR_ARG, __entry->tids, __entry->num_frames,
1400 u16 tids, int num_frames,
1404 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
1410 u16 tids, int num_frames,
1414 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c772 cxgb4_free_atid(lldi->tids, csk->atid); in free_atid()
786 struct tid_info *t = lldi->tids; in do_act_establish()
809 cxgb4_insert_tid(lldi->tids, csk, tid, csk->csk_family); in do_act_establish()
939 struct tid_info *t = lldi->tids; in do_act_open_rpl()
959 cxgb4_remove_tid(lldi->tids, csk->port_id, GET_TID(rpl), in do_act_open_rpl()
985 struct tid_info *t = lldi->tids; in do_peer_close()
1006 struct tid_info *t = lldi->tids; in do_close_con_rpl()
1045 struct tid_info *t = lldi->tids; in do_abort_req_rss()
1093 struct tid_info *t = lldi->tids; in do_abort_rpl_rss()
1118 struct tid_info *t = lldi->tids; in do_rx_data()
[all …]
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dtx.c175 u16 tids, int nframes, in mt76_release_buffered_frames() argument
185 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
190 if (!(tids & 1)) in mt76_release_buffered_frames()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c354 stid = cxgb4_alloc_stid(cdev->lldi.tids, ss_family, cnp); in __cxgbit_setup_cdev_np()
359 cxgb4_free_stid(cdev->lldi.tids, stid, ss_family); in __cxgbit_setup_cdev_np()
370 cxgb4_free_stid(cdev->lldi.tids, stid, in __cxgbit_setup_cdev_np()
562 cxgb4_free_stid(cdev->lldi.tids, stid, in __cxgbit_free_cdev_np()
795 cxgb4_remove_tid(csk->com.cdev->lldi.tids, 0, csk->tid, in _cxgbit_free_csk()
1204 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_accept_req()
1547 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_open_rpl()
1569 struct tid_info *t = cdev->lldi.tids; in cxgbit_close_listsrv_rpl()
1591 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_establish()
1871 struct tid_info *t = lldi->tids; in cxgbit_set_tcb_rpl()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Drc.c226 if (sta_entry->tids[tid].agg.agg_state == RTL_AGG_STOP) in _rtl_tx_aggr_check()
263 sta_entry->tids[tid].agg.agg_state = in rtl_tx_status()
/Linux-v4.19/drivers/staging/rtlwifi/
Drc.c193 if (sta_entry->tids[tid].agg.agg_state == RTL_AGG_STOP) in _rtl_tx_aggr_check()
231 sta_entry->tids[tid].agg.agg_state = in rtl_tx_status()
/Linux-v4.19/drivers/infiniband/hw/cxgb4/
Dcm.c402 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in _c4iw_free_ep()
560 cxgb4_free_atid(ep->com.dev->rdev.lldi.tids, ep->atid); in act_open_req_arp_failure()
1179 struct tid_info *t = dev->rdev.lldi.tids; in act_establish()
2144 ep->atid = cxgb4_alloc_atid(ep->com.dev->rdev.lldi.tids, ep); in c4iw_reconnect()
2202 cxgb4_free_atid(ep->com.dev->rdev.lldi.tids, ep->atid); in c4iw_reconnect()
2223 struct tid_info *t = dev->rdev.lldi.tids; in act_open_rpl()
2319 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, GET_TID(rpl), in act_open_rpl()
2472 struct tid_info *t = dev->rdev.lldi.tids; in pass_accept_req()
2876 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in peer_abort()
3261 ep->atid = cxgb4_alloc_atid(dev->rdev.lldi.tids, ep); in c4iw_connect()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.h560 u16 cnt, u16 tids, bool more_data,

12