Lines Matching refs:affinity

154  * irq_can_set_affinity - Check if the affinity of a given irq can be set
164 * irq_can_set_affinity_usr - Check if affinity of a irq can be set from user space
179 * irq_set_thread_affinity - Notify irq threads to adjust affinity
180 * @desc: irq descriptor which has affinity changed
182 * Just set IRQTF_AFFINITY and delegate the affinity setting to the
211 pr_warn_once("irq_chip %s did not update eff. affinity mask of irq %u\n",
234 * it check whether the requested affinity mask intersects with
237 * the affinity setter from routing the interrupt to an isolated
246 * If all housekeeping CPUs in the affinity mask are offline, the
248 * housekeeping CPU which belongs to the affinity mask comes
268 * unless we are being asked to force the affinity (in which
282 cpumask_copy(desc->irq_common_data.affinity, mask);
332 * Handle irq chips which can handle affinity only in activated
335 * If the interrupt is not yet activated, just store the affinity
344 cpumask_copy(desc->irq_common_data.affinity, mask);
384 * irq_update_affinity_desc - Update affinity management for an interrupt
386 * @affinity: Pointer to the affinity descriptor
388 * This interface can be used to configure the affinity management of
398 int irq_update_affinity_desc(unsigned int irq, struct irq_affinity_desc *affinity)
426 if (affinity->is_managed) {
431 cpumask_copy(desc->irq_common_data.affinity, &affinity->mask);
454 * irq_set_affinity - Set the irq affinity of a given irq
455 * @irq: Interrupt to set affinity
467 * irq_force_affinity - Force the irq affinity of a given irq
468 * @irq: Interrupt to set affinity
511 cpumask_copy(cpumask, desc->irq_common_data.affinity);
522 * irq_set_affinity_notifier - control notification of IRQ affinity changes
569 * Generic version of the affinity autoselector.
585 * Preserve the managed affinity setting and a userspace affinity
590 if (cpumask_intersects(desc->irq_common_data.affinity,
592 set = desc->irq_common_data.affinity;
611 /* Wrapper for ALPHA specific affinity selector magic */
621 * irq_set_vcpu_affinity - Set vcpu affinity for the interrupt
622 * @irq: interrupt number to set affinity
626 * This function uses the vCPU specific data to set the vCPU affinity for
999 * Check whether we need to change the affinity of the interrupt thread.
1404 * The affinity can not be established yet, but it will be once the
1414 * Ensure the thread adjusts the affinity once it reaches the
1425 if (cpumask_intersects(old->affinity, new->affinity) ||
2396 if (cpumask_intersects(desc->percpu_enabled, action->affinity)) {
2398 cpumask_first_and(desc->percpu_enabled, action->affinity));
2473 if (!act->affinity)
2474 act->affinity = cpu_online_mask;
2486 const char *devname, const cpumask_t *affinity,
2491 if (!affinity)
2492 affinity = cpu_possible_mask;
2502 action->affinity = affinity;
2505 * We allow some form of sharing for non-overlapping affinity
2509 if (!cpumask_equal(affinity, cpu_possible_mask))
2521 * @affinity: A cpumask describing the target CPUs for this interrupt
2534 const cpumask_t *affinity, void __percpu *dev_id)
2551 action = create_percpu_irqaction(handler, flags, devname, affinity, dev_id);
2577 * @affinity: A cpumask describing the target CPUs for this interrupt
2595 const struct cpumask *affinity, void __percpu *dev_id)
2614 (!affinity || cpumask_equal(affinity, cpu_possible_mask)))
2618 name, affinity, dev_id);