Home
last modified time | relevance | path

Searched refs:qmap (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/block/
Dblk-mq-cpumap.c18 void blk_mq_map_queues(struct blk_mq_queue_map *qmap) in blk_mq_map_queues() argument
23 masks = group_cpus_evenly(qmap->nr_queues); in blk_mq_map_queues()
26 qmap->mq_map[cpu] = qmap->queue_offset; in blk_mq_map_queues()
30 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_map_queues()
32 qmap->mq_map[cpu] = qmap->queue_offset + queue; in blk_mq_map_queues()
46 int blk_mq_hw_queue_to_node(struct blk_mq_queue_map *qmap, unsigned int index) in blk_mq_hw_queue_to_node() argument
51 if (index == qmap->mq_map[i]) in blk_mq_hw_queue_to_node()
Dblk-mq-pci.c25 void blk_mq_pci_map_queues(struct blk_mq_queue_map *qmap, struct pci_dev *pdev, in blk_mq_pci_map_queues() argument
31 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_pci_map_queues()
37 qmap->mq_map[cpu] = qmap->queue_offset + queue; in blk_mq_pci_map_queues()
43 WARN_ON_ONCE(qmap->nr_queues > 1); in blk_mq_pci_map_queues()
44 blk_mq_clear_mq_map(qmap); in blk_mq_pci_map_queues()
Dblk-mq-virtio.c23 void blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap, in blk_mq_virtio_map_queues() argument
32 for (queue = 0; queue < qmap->nr_queues; queue++) { in blk_mq_virtio_map_queues()
38 qmap->mq_map[cpu] = qmap->queue_offset + queue; in blk_mq_virtio_map_queues()
44 blk_mq_map_queues(qmap); in blk_mq_virtio_map_queues()
Dblk-mq.h70 extern int blk_mq_hw_queue_to_node(struct blk_mq_queue_map *qmap, unsigned int);
337 static inline void blk_mq_clear_mq_map(struct blk_mq_queue_map *qmap) in blk_mq_clear_mq_map() argument
342 qmap->mq_map[cpu] = 0; in blk_mq_clear_mq_map()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-net-qmi32 Write a number ranging from 1 to 254 to add a qmap mux
50 created qmap mux based network device.
52 What: /sys/class/net/<qmimux iface>/qmap/mux_id
/linux-6.6.21/include/linux/
Dblk-mq-pci.h8 void blk_mq_pci_map_queues(struct blk_mq_queue_map *qmap, struct pci_dev *pdev,
Dblk-mq-virtio.h8 void blk_mq_virtio_map_queues(struct blk_mq_queue_map *qmap,
/linux-6.6.21/drivers/net/ipa/data/
Dipa_data-v4.2.c107 .qmap = true,
132 .qmap = true,
Dipa_data-v4.11.c111 .qmap = true,
135 .qmap = true,
Dipa_data-v4.7.c108 .qmap = true,
131 .qmap = true,
Dipa_data-v3.5.1.c117 .qmap = true,
142 .qmap = true,
Dipa_data-v4.5.c120 .qmap = true,
144 .qmap = true,
Dipa_data-v4.9.c112 .qmap = true,
136 .qmap = true,
Dipa_data-v5.0.c124 .qmap = true,
148 .qmap = true,
Dipa_data-v3.1.c126 .qmap = true,
150 .qmap = true,
/linux-6.6.21/drivers/net/ipa/
Dipa_endpoint.h113 bool qmap; member
Dipa_modem.c132 if (endpoint->config.qmap && skb->protocol != htons(ETH_P_MAP)) in ipa_start_xmit()
Dipa_endpoint.c790 if (endpoint->config.qmap) { in ipa_endpoint_init_hdr()
835 if (endpoint->config.qmap) { in ipa_endpoint_init_hdr_ext()
863 if (endpoint->config.qmap && !endpoint->toward_ipa) { in ipa_endpoint_init_hdr_ext()
893 if (endpoint->config.qmap) in ipa_endpoint_init_hdr_metadata_mask()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dcb.c195 unsigned long qmap = 0; in bnxt_queue_remap() local
204 __set_bit(j, &qmap); in bnxt_queue_remap()
216 j = find_next_zero_bit(&qmap, max, j); in bnxt_queue_remap()
218 __set_bit(j, &qmap); in bnxt_queue_remap()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_xive.h132 u8 qmap; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_lib.c1019 u16 offset = 0, qmap = 0, tx_count = 0, rx_count = 0, pow = 0; in ice_vsi_setup_q_map() local
1070 qmap = ((offset << ICE_AQ_VSI_TC_Q_OFFSET_S) & in ice_vsi_setup_q_map()
1076 ctxt->info.tc_mapping[i] = cpu_to_le16(qmap); in ice_vsi_setup_q_map()
1212 u16 qcount, qmap; in ice_chnl_vsi_setup_q_map() local
1219 qmap = ((offset << ICE_AQ_VSI_TC_Q_OFFSET_S) & in ice_chnl_vsi_setup_q_map()
1224 ctxt->info.tc_mapping[0] = cpu_to_le16(qmap); in ice_chnl_vsi_setup_q_map()
3322 u16 pow, offset = 0, qcount_tx = 0, qcount_rx = 0, qmap; in ice_vsi_setup_q_map_mqprio() local
3332 qmap = ((tc0_offset << ICE_AQ_VSI_TC_Q_OFFSET_S) & in ice_vsi_setup_q_map_mqprio()
3385 ctxt->info.tc_mapping[0] = cpu_to_le16(qmap); in ice_vsi_setup_q_map_mqprio()
Dice_virtchnl.c1472 unsigned long qmap; in ice_cfg_interrupt() local
1477 qmap = map->rxq_map; in ice_cfg_interrupt()
1478 for_each_set_bit(vsi_q_id_idx, &qmap, ICE_MAX_RSS_QS_PER_VF) { in ice_cfg_interrupt()
1491 qmap = map->txq_map; in ice_cfg_interrupt()
1492 for_each_set_bit(vsi_q_id_idx, &qmap, ICE_MAX_RSS_QS_PER_VF) { in ice_cfg_interrupt()
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c3291 struct blk_mq_queue_map *qmap; in hisi_sas_map_queues() local
3295 qmap = &shost->tag_set.map[i]; in hisi_sas_map_queues()
3297 qmap->nr_queues = hisi_hba->cq_nvecs; in hisi_sas_map_queues()
3299 qmap->nr_queues = hisi_hba->iopoll_q_cnt; in hisi_sas_map_queues()
3301 qmap->nr_queues = 0; in hisi_sas_map_queues()
3306 if (!qmap->nr_queues) in hisi_sas_map_queues()
3308 qmap->queue_offset = qoff; in hisi_sas_map_queues()
3310 blk_mq_map_queues(qmap); in hisi_sas_map_queues()
3312 blk_mq_pci_map_queues(qmap, hisi_hba->pci_dev, in hisi_sas_map_queues()
3314 qoff += qmap->nr_queues; in hisi_sas_map_queues()
/linux-6.6.21/drivers/scsi/pm8001/
Dpm8001_init.c89 struct blk_mq_queue_map *qmap = &shost->tag_set.map[HCTX_TYPE_DEFAULT]; in pm8001_map_queues() local
92 blk_mq_pci_map_queues(qmap, pm8001_ha->pdev, 1); in pm8001_map_queues()
94 return blk_mq_map_queues(qmap); in pm8001_map_queues()
/linux-6.6.21/drivers/scsi/
Dvirtio_scsi.c725 struct blk_mq_queue_map *qmap = &shost->tag_set.map[HCTX_TYPE_DEFAULT]; in virtscsi_map_queues() local
727 blk_mq_virtio_map_queues(qmap, vscsi->vdev, 2); in virtscsi_map_queues()

12