Lines Matching full:affinity

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()
370 free_cpumask_var(desc->irq_common_data.affinity); in free_masks()
390 const struct cpumask *affinity, in alloc_desc() argument
412 desc_set_defaults(irq, desc, node, affinity, owner); in alloc_desc()
470 const struct irq_affinity_desc *affinity, in alloc_descs() argument
476 /* Validate affinity mask(s) */ in alloc_descs()
477 if (affinity) { in alloc_descs()
479 if (cpumask_empty(&affinity[i].mask)) in alloc_descs()
488 if (affinity) { in alloc_descs()
489 if (affinity->is_managed) { in alloc_descs()
493 mask = &affinity->mask; in alloc_descs()
495 affinity++; in alloc_descs()
602 const struct irq_affinity_desc *affinity, in alloc_descs() argument
780 * @affinity: Optional pointer to an affinity mask array of size @cnt which
788 struct module *owner, const struct irq_affinity_desc *affinity) in __irq_alloc_descs() argument
821 ret = alloc_descs(start, cnt, node, affinity, owner); in __irq_alloc_descs()
872 const struct cpumask *affinity) in irq_set_percpu_devid_partition() argument
887 if (affinity) in irq_set_percpu_devid_partition()
888 desc->percpu_affinity = affinity; in irq_set_percpu_devid_partition()
901 int irq_get_percpu_devid_partition(unsigned int irq, struct cpumask *affinity) in irq_get_percpu_devid_partition() argument
908 if (affinity) in irq_get_percpu_devid_partition()
909 cpumask_copy(affinity, desc->percpu_affinity); in irq_get_percpu_devid_partition()