Home
last modified time | relevance | path

Searched refs:affinity_mask (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/linux/tools/perf/util/
H A Dmmap.c231 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 Dmmap.h40 struct mmap_cpu_mask affinity_mask; member
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptlf.c337 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 Daq_pci_func.h25 void *irq_arg, cpumask_t *affinity_mask);
H A Daq_pci_func.c149 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 Daq_vec.c117 &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 Daq_ring.h160 cpumask_t affinity_mask; member
/openbmc/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_txrx.h223 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 Dext_manifest4.h102 uint32_t affinity_mask; member
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf.h84 cpumask_var_t affinity_mask[OTX_CPT_VF_MSIX_VECTORS]; member
H A Dotx_cptvf_main.c342 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 Dcptvf_main.c359 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 Dcptvf.h107 cpumask_var_t affinity_mask[CPT_VF_MSIX_VECTORS]; member
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Denic_main.c121 (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 Denic.h40 cpumask_var_t affinity_mask; member
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_qp.h105 struct cpumask affinity_mask; member
H A Dhinic_rx.c549 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 Di40e_trace.h94 __assign_bitmask(irq_affinity, cpumask_bits(&q->affinity_mask),
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfdk/
H A Drings.c114 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 Den_cq.c107 cq->vector = cpumask_first(priv->rx_ring[cq->ring]->affinity_mask); in mlx4_en_activate_cq()
H A Deq.c243 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 Doctep_main.h128 cpumask_t affinity_mask; member
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfd3/
H A Drings.c149 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 Dotx2_vf.c597 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 Dnicvf_queues.h283 cpumask_t affinity_mask; member

123