/Linux-v5.4/tools/testing/selftests/powerpc/math/ |
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()
|
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()
|
D | vmx_signal.c | 97 pthread_t *tids; in test_signal_vmx() local 100 tids = malloc(threads * sizeof(pthread_t)); in test_signal_vmx() 101 FAIL_IF(!tids); in test_signal_vmx() 106 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); in test_signal_vmx() 122 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx() 131 pthread_join(tids[i], &rc_p); in test_signal_vmx() 145 free(tids); in test_signal_vmx()
|
D | vmx_preempt.c | 58 pthread_t *tids; in test_preempt_vmx() local 61 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vmx() 62 FAIL_IF(!tids); in test_preempt_vmx() 67 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); in test_preempt_vmx() 90 pthread_join(tids[i], &rc_p); in test_preempt_vmx()
|
D | vsx_preempt.c | 93 pthread_t *tids; in test_preempt_vsx() local 96 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vsx() 97 FAIL_IF(!tids); in test_preempt_vsx() 102 rc = pthread_create(&tids[i], NULL, preempt_vsx_c, NULL); in test_preempt_vsx() 125 pthread_join(tids[i], &rc_p); in test_preempt_vsx()
|
/Linux-v5.4/tools/perf/tests/ |
D | switch-tracking.c | 62 pid_t *tids; member 95 if (!switch_tracking->tids) { in check_cpu() 96 switch_tracking->tids = calloc(nr, sizeof(pid_t)); in check_cpu() 97 if (!switch_tracking->tids) in check_cpu() 100 switch_tracking->tids[i] = -1; in check_cpu() 108 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu() 111 switch_tracking->tids = addr; in check_cpu() 113 switch_tracking->tids[i] = -1; in check_cpu() 149 if (switch_tracking->tids[cpu] != -1 && in process_sample_event() 150 switch_tracking->tids[cpu] != prev_tid) { in process_sample_event() [all …]
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_filter.c | 364 if (fidx < adapter->tids.ntids) { in get_filter_count() 365 f = adapter->tids.tid_tab[fidx]; in get_filter_count() 372 if ((fidx != (adapter->tids.nftids + in get_filter_count() 373 adapter->tids.nsftids - 1)) && in get_filter_count() 374 fidx >= adapter->tids.nftids) in get_filter_count() 377 f = &adapter->tids.ftid_tab[fidx]; in get_filter_count() 442 struct tid_info *t = &adap->tids; in cxgb4_get_free_ftid() 516 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 …]
|
D | cxgb4_tc_u32.c | 170 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()
|
D | cxgb4_main.c | 1369 struct adapter *adap = container_of(t, struct adapter, tids); in cxgb4_queue_tid_release() 1406 mk_tid_release(skb, chan, p - adap->tids.tid_tab); in process_tid_release_list() 1422 struct adapter *adap = container_of(t, struct adapter, tids); in cxgb4_remove_tid() 1456 struct adapter *adap = container_of(t, struct adapter, tids); in tid_init() 2489 stid -= adap->tids.sftid_base; in cxgb4_create_server_filter() 2490 stid += adap->tids.nftids; in cxgb4_create_server_filter() 2494 f = &adap->tids.ftid_tab[stid]; in cxgb4_create_server_filter() 2535 f->tid = stid + adap->tids.ftid_base; in cxgb4_create_server_filter() 2555 stid -= adap->tids.sftid_base; in cxgb4_remove_server_filter() 2556 stid += adap->tids.nftids; in cxgb4_remove_server_filter() [all …]
|
D | cudbg_lib.c | 1760 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 …]
|
D | cxgb4_uld.c | 325 ciq_size = 64 + adap->vres.cq.size + adap->tids.nftids; in cfg_queues_uld() 658 lld->tids = &adap->tids; in uld_init()
|
/Linux-v5.4/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.c | 632 stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx); in chtls_listen_start() 652 cxgb4_free_stid(cdev->tids, stid, sk->sk_family); in chtls_listen_start() 669 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_listen_stop() 683 listen_ctx = (struct listen_ctx *)lookup_stid(cdev->tids, stid); in chtls_pass_open_rpl() 697 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_pass_open_rpl() 713 data = lookup_stid(cdev->tids, stid); in chtls_close_listsrv_rpl() 722 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_close_listsrv_rpl() 735 struct tid_info *tids; in chtls_release_resources() local 740 tids = cdev->tids; in chtls_release_resources() 749 cxgb4_remove_tid(tids, csk->port_id, tid, sk->sk_family); in chtls_release_resources() [all …]
|
D | chtls_main.c | 248 cdev->tids = lldi->tids; in chtls_uld_add() 251 cdev->tids = lldi->tids; in chtls_uld_add()
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | user_sdma.c | 403 req->tids = NULL; in hfi1_user_sdma_process_request() 523 u16 ntids = iovec[idx].iov_len / sizeof(*req->tids); in hfi1_user_sdma_process_request() 538 ntids * sizeof(*req->tids)); in hfi1_user_sdma_process_request() 545 req->tids = tmp; in hfi1_user_sdma_process_request() 633 u32 tidlen = EXP_TID_GET(req->tids[req->tididx], LEN) * in compute_data_length() 642 req->tids[req->tididx]) { in compute_data_length() 643 tidlen = EXP_TID_GET(req->tids[req->tididx], in compute_data_length() 1089 u32 tidval = req->tids[req->tididx], in check_header_template() 1199 tidval = req->tids[req->tididx]; in set_txreq_header() 1212 !req->tids[req->tididx]) { in set_txreq_header() [all …]
|
D | user_sdma.h | 188 u32 *tids; member
|
/Linux-v5.4/net/mac80211/ |
D | sta_info.c | 803 unsigned long tids; in __sta_info_recalc_tim() local 813 tids = ieee80211_tids_for_ac(ac); in __sta_info_recalc_tim() 816 sta->driver_buffered_tids & tids; in __sta_info_recalc_tim() 818 sta->txq_buffered_tids & tids; in __sta_info_recalc_tim() 1453 static int find_highest_prio_tid(unsigned long tids) in find_highest_prio_tid() argument 1456 if (tids & 0xF8) in find_highest_prio_tid() 1457 return fls(tids) - 1; in find_highest_prio_tid() 1459 if (tids & BIT(0)) in find_highest_prio_tid() 1461 return fls(tids) - 1; in find_highest_prio_tid() 1509 unsigned long tids; in ieee80211_sta_ps_get_frames() local [all …]
|
D | driver-ops.h | 795 struct sta_info *sta, u16 tids, int num_frames, in drv_release_buffered_frames() argument 799 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames() 802 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames() 810 struct sta_info *sta, u16 tids, int num_frames, in drv_allow_buffered_frames() argument 814 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames() 818 tids, num_frames, reason, in drv_allow_buffered_frames()
|
D | trace.h | 1396 u16 tids, int num_frames, 1400 TP_ARGS(local, sta, tids, num_frames, reason, more_data), 1405 __field(u16, tids) 1414 __entry->tids = tids; 1423 LOCAL_PR_ARG, STA_PR_ARG, __entry->tids, __entry->num_frames, 1431 u16 tids, int num_frames, 1435 TP_ARGS(local, sta, tids, num_frames, reason, more_data) 1441 u16 tids, int num_frames, 1445 TP_ARGS(local, sta, tids, num_frames, reason, more_data)
|
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 803 cxgb4_free_atid(lldi->tids, csk->atid); in free_atid() 817 struct tid_info *t = lldi->tids; in do_act_establish() 840 cxgb4_insert_tid(lldi->tids, csk, tid, csk->csk_family); in do_act_establish() 970 struct tid_info *t = lldi->tids; in do_act_open_rpl() 990 cxgb4_remove_tid(lldi->tids, csk->port_id, GET_TID(rpl), in do_act_open_rpl() 1016 struct tid_info *t = lldi->tids; in do_peer_close() 1037 struct tid_info *t = lldi->tids; in do_close_con_rpl() 1076 struct tid_info *t = lldi->tids; in do_abort_req_rss() 1124 struct tid_info *t = lldi->tids; in do_abort_rpl_rss() 1149 struct tid_info *t = lldi->tids; in do_rx_data() [all …]
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/ |
D | tx.c | 334 u16 tids, int nframes, in mt76_release_buffered_frames() argument 344 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames() 349 if (!(tids & 1)) in mt76_release_buffered_frames()
|
/Linux-v5.4/drivers/target/iscsi/cxgbit/ |
D | cxgbit_cm.c | 351 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() 1566 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_open_rpl() 1588 struct tid_info *t = cdev->lldi.tids; in cxgbit_close_listsrv_rpl() 1610 struct tid_info *t = cdev->lldi.tids; in cxgbit_pass_establish() 1891 struct tid_info *t = lldi->tids; in cxgbit_set_tcb_rpl() [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/ |
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-v5.4/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 405 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in _c4iw_free_ep() 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() 2187 ep->atid = cxgb4_alloc_atid(ep->com.dev->rdev.lldi.tids, ep); in c4iw_reconnect() 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() 2365 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, GET_TID(rpl), in act_open_rpl() 2518 struct tid_info *t = dev->rdev.lldi.tids; in pass_accept_req() 2959 cxgb4_remove_tid(ep->com.dev->rdev.lldi.tids, 0, ep->hwtid, in peer_abort() 3352 ep->atid = cxgb4_alloc_atid(dev->rdev.lldi.tids, ep); in c4iw_connect() [all …]
|
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | main.c | 409 u16 tids, int nframes, in mt7603_release_buffered_frames() argument 427 if (!(tids & BIT(skb->priority))) in mt7603_release_buffered_frames() 444 mt76_release_buffered_frames(hw, sta, tids, nframes, reason, in mt7603_release_buffered_frames()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | sta.h | 568 u16 cnt, u16 tids, bool more_data,
|