Searched refs:affinity (Results 1 – 11 of 11) sorted by relevance
/kernel/irq/ |
D | irqdesc.c | 57 if (!zalloc_cpumask_var_node(&desc->irq_common_data.affinity, in alloc_masks() 64 free_cpumask_var(desc->irq_common_data.affinity); in alloc_masks() 74 free_cpumask_var(desc->irq_common_data.affinity); in alloc_masks() 82 const struct cpumask *affinity) in desc_smp_init() argument 84 if (!affinity) in desc_smp_init() 85 affinity = irq_default_affinity; in desc_smp_init() 86 cpumask_copy(desc->irq_common_data.affinity, affinity); in desc_smp_init() 100 desc_smp_init(struct irq_desc *desc, int node, const struct cpumask *affinity) { } in desc_smp_init() argument 104 const struct cpumask *affinity, struct module *owner) in desc_set_defaults() argument 127 desc_smp_init(desc, node, affinity); in desc_set_defaults() [all …]
|
D | cpuhotplug.c | 57 const struct cpumask *affinity; in migrate_one_irq() local 104 affinity = irq_desc_get_pending_mask(desc); in migrate_one_irq() 106 affinity = irq_data_get_affinity_mask(d); in migrate_one_irq() 112 if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids) { in migrate_one_irq() 122 affinity = cpu_online_mask; in migrate_one_irq() 131 err = irq_do_set_affinity(d, affinity, false); in migrate_one_irq() 177 const struct cpumask *affinity = irq_data_get_affinity_mask(data); in irq_restore_affinity_of_irq() local 180 !irq_data_get_irq_chip(data) || !cpumask_test_cpu(cpu, affinity)) in irq_restore_affinity_of_irq() 194 irq_set_affinity_locked(data, affinity, false); in irq_restore_affinity_of_irq()
|
D | msi.c | 30 const struct irq_affinity_desc *affinity) in alloc_msi_entry() argument 41 if (affinity) { in alloc_msi_entry() 42 desc->affinity = kmemdup(affinity, in alloc_msi_entry() 43 nvec * sizeof(*desc->affinity), GFP_KERNEL); in alloc_msi_entry() 44 if (!desc->affinity) { in alloc_msi_entry() 55 kfree(entry->affinity); in free_msi_entry() 419 desc->affinity); in msi_domain_alloc_irqs()
|
D | devres.c | 180 const struct irq_affinity_desc *affinity) in __devm_irq_alloc_descs() argument 189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); in __devm_irq_alloc_descs()
|
D | Kconfig | 25 # Supports effective affinity mask 42 # Alpha specific irq affinity mechanism
|
D | irqdomain.c | 1011 int node, const struct irq_affinity_desc *affinity) in irq_domain_alloc_descs() argument 1017 affinity); in irq_domain_alloc_descs() 1023 affinity); in irq_domain_alloc_descs() 1026 affinity); in irq_domain_alloc_descs() 1323 bool realloc, const struct irq_affinity_desc *affinity) in __irq_domain_alloc_irqs() argument 1342 affinity); in __irq_domain_alloc_irqs()
|
D | Makefile | 18 obj-$(CONFIG_SMP) += affinity.o
|
D | manage.c | 224 cpumask_copy(desc->irq_common_data.affinity, mask); in irq_do_set_affinity() 340 cpumask_copy(cpumask, desc->irq_common_data.affinity); in irq_affinity_notify() 417 if (cpumask_intersects(desc->irq_common_data.affinity, in irq_setup_affinity() 419 set = desc->irq_common_data.affinity; in irq_setup_affinity() 968 if (cpumask_available(desc->irq_common_data.affinity)) { in irq_thread_check_affinity()
|
D | ipi.c | 94 cpumask_copy(data->common->affinity, dest); in irq_reserve_ipi()
|
D | proc.c | 54 mask = desc->irq_common_data.affinity; in show_irq_affinity()
|
/kernel/rcu/ |
D | Kconfig | 206 between each callback, and (2) affinity or cgroups can be used
|