Home
last modified time | relevance | path

Searched refs:q_id (Results 1 – 25 of 55) sorted by relevance

123

/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c33 HINIC_CSR_AEQ_CONS_IDX_ADDR((eq)->q_id) : \
34 HINIC_CSR_CEQ_CONS_IDX_ADDR((eq)->q_id))
37 HINIC_CSR_AEQ_PROD_IDX_ADDR((eq)->q_id) : \
38 HINIC_CSR_CEQ_PROD_IDX_ADDR((eq)->q_id))
41 HINIC_CSR_AEQ_HI_PHYS_ADDR_REG((eq)->q_id, pg_num) : \
42 HINIC_CSR_CEQ_HI_PHYS_ADDR_REG((eq)->q_id, pg_num))
45 HINIC_CSR_AEQ_LO_PHYS_ADDR_REG((eq)->q_id, pg_num) : \
46 HINIC_CSR_CEQ_LO_PHYS_ADDR_REG((eq)->q_id, pg_num))
80 container_of((eq) - (eq)->q_id, struct hinic_aeqs, aeq[0])
83 container_of((eq) - (eq)->q_id, struct hinic_ceqs, ceq[0])
[all …]
Dhinic_hw_csr.h88 #define HINIC_CSR_AEQ_HI_PHYS_ADDR_REG(q_id, pg_num) \ argument
89 (HINIC_CSR_AEQ_MTT_OFF(q_id) + \
92 #define HINIC_CSR_CEQ_HI_PHYS_ADDR_REG(q_id, pg_num) \ argument
93 (HINIC_CSR_CEQ_MTT_OFF(q_id) + \
96 #define HINIC_CSR_AEQ_LO_PHYS_ADDR_REG(q_id, pg_num) \ argument
97 (HINIC_CSR_AEQ_MTT_OFF(q_id) + \
100 #define HINIC_CSR_CEQ_LO_PHYS_ADDR_REG(q_id, pg_num) \ argument
101 (HINIC_CSR_CEQ_MTT_OFF(q_id) + \
Dhinic_hw_io.c30 #define CI_ADDR(base_addr, q_id) ((base_addr) + \ argument
31 (q_id) * CI_Q_ADDR_SIZE)
132 base_qpn + qp->q_id); in write_sq_ctxts()
176 base_qpn + qp->q_id); in write_rq_ctxts()
272 struct hinic_qp *qp, int q_id, in init_qp() argument
281 qp->q_id = q_id; in init_qp()
283 err = hinic_wq_allocate(&func_to_io->wqs, &func_to_io->sq_wq[q_id], in init_qp()
291 err = hinic_wq_allocate(&func_to_io->wqs, &func_to_io->rq_wq[q_id], in init_qp()
306 func_to_io->sq_db[q_id] = db_base; in init_qp()
308 qp->sq.qid = q_id; in init_qp()
[all …]
Dhinic_tx.c495 u16 prod_idx, q_id = skb->queue_mapping; in hinic_lb_xmit_frame() local
503 txq = &nic_dev->txqs[q_id]; in hinic_lb_xmit_frame()
515 netif_stop_subqueue(netdev, qp->q_id); in hinic_lb_xmit_frame()
519 netif_wake_subqueue(nic_dev->netdev, qp->q_id); in hinic_lb_xmit_frame()
538 netdev_txq = netdev_get_tx_queue(netdev, q_id); in hinic_lb_xmit_frame()
556 u16 prod_idx, q_id = skb->queue_mapping; in hinic_xmit_frame() local
564 txq = &nic_dev->txqs[q_id]; in hinic_xmit_frame()
596 netif_stop_subqueue(netdev, qp->q_id); in hinic_xmit_frame()
603 netif_wake_subqueue(nic_dev->netdev, qp->q_id); in hinic_xmit_frame()
627 netdev_txq = netdev_get_tx_queue(netdev, q_id); in hinic_xmit_frame()
[all …]
Dhinic_hw_cmdq.h118 u32 q_id; member
181 enum hinic_set_arm_qtype q_type, u32 q_id);
Dhinic_rx.c423 skb_record_rx_queue(skb, qp->q_id); in rxq_recv()
533 intr_coal = &nic_dev->rx_intr_coalesce[qp->q_id]; in rx_request_irq()
550 cpumask_set_cpu(qp->q_id % num_online_cpus(), &rq->affinity_mask); in rx_request_irq()
595 "%s_rxq%d", netdev->name, qp->q_id); in hinic_init_rxq()
Dhinic_main.c836 u16 num_sqs, q_id; in hinic_tx_timeout() local
842 for (q_id = 0; q_id < num_sqs; q_id++) { in hinic_tx_timeout()
843 if (!netif_xmit_stopped(netdev_get_tx_queue(netdev, q_id))) in hinic_tx_timeout()
846 sq = hinic_hwdev_get_sq(nic_dev->hwdev, q_id); in hinic_tx_timeout()
851 q_id, sw_pi, hw_ci, sw_ci, in hinic_tx_timeout()
852 nic_dev->txqs[q_id].napi.state); in hinic_tx_timeout()
Dhinic_hw_qp.c42 #define SQ_CTXT_OFFSET(max_sqs, max_rqs, q_id) \ argument
43 (((max_rqs) + (max_sqs)) * CTXT_RSVD + (q_id) * Q_CTXT_SIZE)
45 #define RQ_CTXT_OFFSET(max_sqs, max_rqs, q_id) \ argument
47 (max_sqs + (q_id)) * Q_CTXT_SIZE)
628 HINIC_SQ_DB_INFO_SET(qp->q_id, QID)); in sq_prepare_db()
Dhinic_hw_cmdq.c513 enum hinic_set_arm_qtype q_type, u32 q_id) in hinic_set_arm_bit() argument
522 arm_bit.q_id = q_id; in hinic_set_arm_bit()
526 dev_err(&pdev->dev, "Failed to set arm for qid %d\n", q_id); in hinic_set_arm_bit()
Dhinic_ethtool.c676 static int set_queue_coalesce(struct hinic_dev *nic_dev, u16 q_id, in set_queue_coalesce() argument
686 intr_coal = set_rx_coal ? &nic_dev->rx_intr_coalesce[q_id] : in set_queue_coalesce()
687 &nic_dev->tx_intr_coalesce[q_id]; in set_queue_coalesce()
696 q_id >= nic_dev->num_qps) in set_queue_coalesce()
699 msix_idx = set_rx_coal ? nic_dev->rxqs[q_id].rq->msix_entry : in set_queue_coalesce()
700 nic_dev->txqs[q_id].sq->msix_entry; in set_queue_coalesce()
710 set_rx_coal ? "rx" : "tx", q_id); in set_queue_coalesce()
/Linux-v5.15/tools/cgroup/
Diocost_monitor.py67 def walk(self, blkcg, q_id, parent_path): argument
75 address=radix_tree_lookup(blkcg.blkg_tree.address_of_(), q_id))
83 self.walk(c, q_id, path)
85 def __init__(self, root_blkcg, q_id, include_dying=False): argument
88 self.walk(root_blkcg, q_id, '')
217 q_id = None variable
225 q_id = blkg.q.id.value_() variable
251 for path, blkg in BlkgIterator(blkcg_root, q_id):
/Linux-v5.15/fs/xfs/scrub/
Dquota.c93 offset = dq->q_id / qi->qi_dqperchunk; in xchk_quota_item()
94 if (dq->q_id && dq->q_id <= sqi->last_id) in xchk_quota_item()
97 sqi->last_id = dq->q_id; in xchk_quota_item()
147 if (dq->q_id == 0) in xchk_quota_item()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_base.c657 u16 q_id, q_base; in ice_vsi_map_rings_to_vectors() local
667 for (q_id = q_base; q_id < (q_base + tx_rings_per_v); q_id++) { in ice_vsi_map_rings_to_vectors()
668 struct ice_ring *tx_ring = vsi->tx_rings[q_id]; in ice_vsi_map_rings_to_vectors()
684 for (q_id = q_base; q_id < (q_base + rx_rings_per_v); q_id++) { in ice_vsi_map_rings_to_vectors()
685 struct ice_ring *rx_ring = vsi->rx_rings[q_id]; in ice_vsi_map_rings_to_vectors()
899 &txq_meta->q_id, &txq_meta->q_teid, rst_src, in ice_vsi_stop_tx_ring()
940 txq_meta->q_id = ring->reg_idx; in ice_fill_txq_meta()
Dice_idc.c126 u16 q_id; in ice_del_rdma_qset() local
137 q_id = qset->qs_handle; in ice_del_rdma_qset()
142 return ice_dis_vsi_rdma_qset(vsi->port_info, 1, &teid, &q_id); in ice_del_rdma_qset()
/Linux-v5.15/fs/xfs/
Dxfs_dquot.c77 ASSERT(dq->q_id); in xfs_qm_adjust_dqlimits()
167 ASSERT(dq->q_id); in xfs_qm_adjust_dqtimers()
351 xfs_qm_init_dquot_blk(tp, mp, dqp->q_id, qtype, bp); in xfs_dquot_disk_alloc()
464 dqp->q_id = id; in xfs_dquot_alloc()
521 if (be32_to_cpu(ddqp->d_id) != dqp->q_id) in xfs_dquot_check_type()
530 dqp_type == XFS_DQTYPE_USER || dqp->q_id != 0) in xfs_dquot_check_type()
560 __this_address, dqp->q_id); in xfs_dquot_from_disk()
608 ddqp->d_id = cpu_to_be32(dqp->q_id); in xfs_dquot_to_disk()
1205 if (dqp->q_id == 0) in xfs_qm_dqflush_check()
1224 if (dqp->q_id == 0) in xfs_qm_dqflush_check()
[all …]
Dxfs_trans_dquot.c60 if (dqp->q_id != 0 && in xfs_trans_log_dquot()
424 if (dqp->q_id) { in xfs_trans_apply_dquot_deltas()
556 quota_send_warning(make_kqid(&init_user_ns, qtype, dqp->q_id), in xfs_quota_warn()
645 if ((flags & XFS_QMOPT_FORCE_RES) == 0 && dqp->q_id && in xfs_trans_dqresv()
Dxfs_qm.c84 next_index = dqp->q_id + 1; in xfs_qm_dquot_walk()
166 radix_tree_delete(xfs_dquot_tree(qi, xfs_dquot_type(dqp)), dqp->q_id); in xfs_qm_dqpurge()
1117 if (dqp->q_id) { in xfs_qm_quotacheck_dqadjust()
1601 radix_tree_delete(xfs_dquot_tree(qi, xfs_dquot_type(dqp)), dqp->q_id); in xfs_qm_dqfree_one()
1864 ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id); in xfs_qm_vop_create_dqattach()
1871 ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id); in xfs_qm_vop_create_dqattach()
1878 ASSERT(ip->i_projid == pdqp->q_id); in xfs_qm_vop_create_dqattach()
Dxfs_dquot_item.c56 qlf->qlf_id = qlip->qli_dquot->q_id; in xfs_qm_dquot_logitem_format()
Dxfs_dquot.h75 xfs_dqid_t q_id; member
Dxfs_qm_syscalls.c460 if (xfs_dquot_is_enforced(dqp) && dqp->q_id != 0) { in xfs_qm_scall_getquota_fill_qc()
535 *id = dqp->q_id; in xfs_qm_scall_getquota_next()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c87 txq_id != trans->txqs.cmd.q_id && in iwl_pcie_txq_inc_wr_ptr()
217 if (txq_id != trans->txqs.cmd.q_id) { in iwl_pcie_txq_unmap()
229 txq_id == trans->txqs.cmd.q_id) in iwl_pcie_txq_unmap()
265 if (txq_id == trans->txqs.cmd.q_id) in iwl_pcie_txq_free()
328 iwl_trans_ac_txq_enable(trans, trans->txqs.cmd.q_id, in iwl_pcie_tx_start()
536 bool cmd_queue = (txq_id == trans->txqs.cmd.q_id); in iwl_pcie_tx_alloc()
590 bool cmd_queue = (txq_id == trans->txqs.cmd.q_id); in iwl_pcie_tx_init()
752 if (txq_id == trans->txqs.cmd.q_id && in iwl_trans_pcie_txq_enable()
760 if (txq_id != trans->txqs.cmd.q_id) in iwl_trans_pcie_txq_enable()
830 if (txq_id == trans->txqs.cmd.q_id && in iwl_trans_pcie_txq_enable()
[all …]
Dtx-gen2.c31 struct iwl_txq *txq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_pcie_gen2_enqueue_hcmd()
143 cpu_to_le16(QUEUE_TO_SEQ(trans->txqs.cmd.q_id) | in iwl_pcie_gen2_enqueue_hcmd()
191 cmd_size, txq->write_ptr, idx, trans->txqs.cmd.q_id); in iwl_pcie_gen2_enqueue_hcmd()
/Linux-v5.15/drivers/crypto/hisilicon/sec/
Dsec_drv.c688 int q_id; in sec_isr_handle() local
693 q_id = outorder_msg->data & SEC_OUT_BD_INFO_Q_ID_M; in sec_isr_handle()
694 msg = msg_ring->vaddr + q_id; in sec_isr_handle()
701 set_bit(q_id, queue->unprocessed); in sec_isr_handle()
702 if (q_id == queue->expected) in sec_isr_handle()
719 q_id = outorder_msg->data & SEC_OUT_BD_INFO_Q_ID_M; in sec_isr_handle()
720 msg = msg_ring->vaddr + q_id; in sec_isr_handle()
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h247 int hclge_tm_get_q_to_qs_map(struct hclge_dev *hdev, u16 q_id, u16 *qset_id);
248 int hclge_tm_get_q_to_tc(struct hclge_dev *hdev, u16 q_id, u8 *tc_id);
/Linux-v5.15/drivers/net/hyperv/
Dhyperv_net.h728 u16 q_id; member
739 u16 q_id; member
745 u16 q_id; member
790 u16 q_id; member

123