/openbmc/linux/tools/perf/util/ |
H A D | mmap.c | 231 bitmap_free(map->affinity_mask.bits); in mmap__munmap() 265 map->affinity_mask.nbits = cpu__max_cpu().cpu; in perf_mmap__setup_affinity_mask() 266 map->affinity_mask.bits = bitmap_zalloc(map->affinity_mask.nbits); in perf_mmap__setup_affinity_mask() 267 if (!map->affinity_mask.bits) in perf_mmap__setup_affinity_mask() 271 build_node_mask(cpu__get_node(map->core.cpu), &map->affinity_mask); in perf_mmap__setup_affinity_mask() 273 __set_bit(map->core.cpu.cpu, map->affinity_mask.bits); in perf_mmap__setup_affinity_mask() 294 mmap_cpu_mask__scnprintf(&map->affinity_mask, "mmap"); in mmap__mmap()
|
H A D | mmap.h | 40 struct mmap_cpu_mask affinity_mask; member
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptlf.c | 337 free_cpumask_var(lfs->lf[slot].affinity_mask); in otx2_cptlf_free_irqs_affinity() 348 if (!zalloc_cpumask_var(&lf[slot].affinity_mask, GFP_KERNEL)) { in otx2_cptlf_set_irqs_affinity() 357 lf[slot].affinity_mask); in otx2_cptlf_set_irqs_affinity() 362 lf[slot].affinity_mask); in otx2_cptlf_set_irqs_affinity()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_pci_func.h | 25 void *irq_arg, cpumask_t *affinity_mask);
|
H A D | aq_pci_func.c | 149 void *irq_arg, cpumask_t *affinity_mask) in aq_pci_func_alloc_irq() argument 164 if (pdev->msix_enabled && affinity_mask) in aq_pci_func_alloc_irq() 166 affinity_mask); in aq_pci_func_alloc_irq()
|
H A D | aq_vec.c | 117 &self->aq_ring_param.affinity_mask); in aq_vec_alloc() 360 return &self->aq_ring_param.affinity_mask; in aq_vec_get_affinity_mask()
|
H A D | aq_ring.h | 160 cpumask_t affinity_mask; member
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_txrx.h | 223 cpumask_t affinity_mask; /* IRQ affinity */ member 244 return cpu_to_mem(cpumask_first(&p->affinity_mask)); in fun_irq_node()
|
/openbmc/linux/include/sound/sof/ |
H A D | ext_manifest4.h | 102 uint32_t affinity_mask; member
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf.h | 84 cpumask_var_t affinity_mask[OTX_CPT_VF_MSIX_VECTORS]; member
|
H A D | otx_cptvf_main.c | 342 free_cpumask_var(cptvf->affinity_mask[vec]); in cptvf_free_irq_affinity() 599 if (!zalloc_cpumask_var(&cptvf->affinity_mask[vec], in cptvf_set_irq_affinity() 609 cptvf->affinity_mask[vec]); in cptvf_set_irq_affinity() 611 cptvf->affinity_mask[vec]); in cptvf_set_irq_affinity()
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_main.c | 359 free_cpumask_var(cptvf->affinity_mask[vec]); in cptvf_free_irq_affinity() 616 if (!zalloc_cpumask_var(&cptvf->affinity_mask[vec], in cptvf_set_irq_affinity() 625 cptvf->affinity_mask[vec]); in cptvf_set_irq_affinity() 627 cptvf->affinity_mask[vec]); in cptvf_set_irq_affinity()
|
H A D | cptvf.h | 107 cpumask_var_t affinity_mask[CPT_VF_MSIX_VECTORS]; member
|
/openbmc/linux/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 121 (cpumask_available(enic->msix[i].affinity_mask) && in enic_init_affinity_hint() 122 !cpumask_empty(enic->msix[i].affinity_mask))) in enic_init_affinity_hint() 124 if (zalloc_cpumask_var(&enic->msix[i].affinity_mask, in enic_init_affinity_hint() 127 enic->msix[i].affinity_mask); in enic_init_affinity_hint() 138 free_cpumask_var(enic->msix[i].affinity_mask); in enic_free_affinity_hint() 150 !cpumask_available(enic->msix[i].affinity_mask) || in enic_set_affinity_hint() 151 cpumask_empty(enic->msix[i].affinity_mask)) in enic_set_affinity_hint() 154 enic->msix[i].affinity_mask); in enic_set_affinity_hint() 163 if (cpumask_available(enic->msix[wq_intr].affinity_mask) && in enic_set_affinity_hint() 164 !cpumask_empty(enic->msix[wq_intr].affinity_mask)) in enic_set_affinity_hint() [all …]
|
H A D | enic.h | 40 cpumask_var_t affinity_mask; member
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_qp.h | 105 struct cpumask affinity_mask; member
|
H A D | hinic_rx.c | 549 cpumask_set_cpu(qp->q_id % num_online_cpus(), &rq->affinity_mask); in rx_request_irq() 550 err = irq_set_affinity_and_hint(rq->irq, &rq->affinity_mask); in rx_request_irq()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_trace.h | 94 __assign_bitmask(irq_affinity, cpumask_bits(&q->affinity_mask),
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | rings.c | 114 netif_set_xps_queue(dp->netdev, &r_vec->affinity_mask, in nfp_nfdk_tx_ring_alloc()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_cq.c | 107 cq->vector = cpumask_first(priv->rx_ring[cq->ring]->affinity_mask); in mlx4_en_activate_cq()
|
H A D | eq.c | 243 if (!cpumask_available(eq->affinity_mask) || in mlx4_set_eq_affinity_hint() 244 cpumask_empty(eq->affinity_mask)) in mlx4_set_eq_affinity_hint() 247 hint_err = irq_update_affinity_hint(eq->irq, eq->affinity_mask); in mlx4_set_eq_affinity_hint() 1126 free_cpumask_var(eq_table->eq[i].affinity_mask); in mlx4_free_irqs()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_main.h | 128 cpumask_t affinity_mask; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | rings.c | 149 netif_set_xps_queue(dp->netdev, &r_vec->affinity_mask, in nfp_nfd3_tx_ring_alloc()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_vf.c | 597 hw->affinity_mask = devm_kcalloc(&hw->pdev->dev, num_vec, in otx2vf_probe() 599 if (!hw->affinity_mask) { in otx2vf_probe()
|
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_queues.h | 283 cpumask_t affinity_mask; member
|