Searched refs:affinity (Results 1 – 9 of 9) sorted by relevance
/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 542 struct hfi1_affinity_node_list *affinity) in find_hw_thread_mask() argument 546 affinity->num_core_siblings / in find_hw_thread_mask() 549 cpumask_copy(hw_thread_mask, &affinity->proc.mask); in find_hw_thread_mask() 550 if (affinity->num_core_siblings > 0) { in find_hw_thread_mask() 579 struct hfi1_affinity_node_list *affinity = &node_affinity; in hfi1_get_proc_affinity() local 580 struct cpu_mask_set *set = &affinity->proc; in hfi1_get_proc_affinity() 638 mutex_lock(&affinity->lock); in hfi1_get_proc_affinity() 671 if (affinity->num_core_siblings > 0) { in hfi1_get_proc_affinity() 672 for (i = 0; i < affinity->num_core_siblings; i++) { in hfi1_get_proc_affinity() 673 find_hw_thread_mask(i, hw_thread_mask, affinity); in hfi1_get_proc_affinity() [all …]
|
D | Makefile | 10 hfi1-y := affinity.o chip.o device.o driver.o efivar.o \
|
D | hfi.h | 1159 struct hfi1_affinity *affinity; member
|
/drivers/pci/ |
D | msi.c | 554 msi_setup_entry(struct pci_dev *dev, int nvec, bool affinity) in msi_setup_entry() argument 560 if (affinity) { in msi_setup_entry() 621 static int msi_capability_init(struct pci_dev *dev, int nvec, bool affinity) in msi_capability_init() argument 629 entry = msi_setup_entry(dev, nvec, affinity); in msi_capability_init() 693 bool affinity) in msix_setup_entries() argument 699 if (affinity) { in msix_setup_entries() 763 int nvec, bool affinity) in msix_capability_init() argument 778 ret = msix_setup_entries(dev, base, entries, nvec, affinity); in msix_capability_init() 959 int nvec, bool affinity) in __pci_enable_msix() argument 991 return msix_capability_init(dev, entries, nvec, affinity); in __pci_enable_msix() [all …]
|
/drivers/irqchip/ |
D | irq-bcm7038-l1.c | 45 u8 affinity[MAX_WORDS * IRQS_PER_WORD]; member 179 __bcm7038_l1_unmask(d, intc->affinity[d->hwirq]); in bcm7038_l1_unmask() 189 __bcm7038_l1_mask(d, intc->affinity[d->hwirq]); in bcm7038_l1_mask() 207 was_disabled = !!(intc->cpus[intc->affinity[hw]]->mask_cache[word] & in bcm7038_l1_set_affinity() 209 __bcm7038_l1_mask(d, intc->affinity[hw]); in bcm7038_l1_set_affinity() 210 intc->affinity[hw] = first_cpu; in bcm7038_l1_set_affinity()
|
D | irq-gic-v3.c | 394 u64 affinity; in gic_dist_init() local 420 affinity = gic_mpidr_to_affinity(cpu_logical_map(smp_processor_id())); in gic_dist_init() 422 gic_write_irouter(affinity, base + GICD_IROUTER + i * 8); in gic_dist_init()
|
/drivers/scsi/ |
D | virtio_scsi.c | 845 static void __virtscsi_set_affinity(struct virtio_scsi *vscsi, bool affinity) in __virtscsi_set_affinity() argument 856 vscsi->num_queues != num_online_cpus()) && affinity) { in __virtscsi_set_affinity() 858 affinity = false; in __virtscsi_set_affinity() 863 if (affinity) { in __virtscsi_set_affinity() 883 static void virtscsi_set_affinity(struct virtio_scsi *vscsi, bool affinity) in virtscsi_set_affinity() argument 886 __virtscsi_set_affinity(vscsi, affinity); in virtscsi_set_affinity()
|
/drivers/pci/host/ |
D | pci-hyperv.c | 851 struct cpumask *affinity; in hv_compose_msi_msg() local 893 affinity = irq_data_get_affinity_mask(data); in hv_compose_msi_msg() 894 if (cpumask_weight(affinity) >= 32) { in hv_compose_msi_msg() 897 for_each_cpu_and(cpu, affinity, cpu_online_mask) { in hv_compose_msi_msg()
|
/drivers/scsi/qla2xxx/ |
D | qla_iocb.c | 1772 int affinity = cmd->request->cpu; in qla25xx_set_que() local 1774 if (ha->flags.cpu_affinity_enabled && affinity >= 0 && in qla25xx_set_que() 1775 affinity < ha->max_rsp_queues - 1) in qla25xx_set_que() 1776 *rsp = ha->rsp_q_map[affinity + 1]; in qla25xx_set_que()
|