Lines Matching defs:affinity

166  * irq_can_set_affinity - Check if the affinity of a given irq can be set
176 * irq_can_set_affinity_usr - Check if affinity of a irq can be set from user space
191 * irq_set_thread_affinity - Notify irq threads to adjust affinity
192 * @desc: irq descriptor which has affinity changed
194 * Just set IRQTF_AFFINITY and delegate the affinity setting to the
223 pr_warn_once("irq_chip %s did not update eff. affinity mask of irq %u\n",
245 * it check whether the requested affinity mask intersects with
248 * the affinity setter from routing the interrupt to an isolated
257 * If all housekeeping CPUs in the affinity mask are offline, the
259 * housekeeping CPU which belongs to the affinity mask comes
279 * unless we are being asked to force the affinity (in which
293 cpumask_copy(desc->irq_common_data.affinity, mask);
343 * Handle irq chips which can handle affinity only in activated
346 * If the interrupt is not yet activated, just store the affinity
355 cpumask_copy(desc->irq_common_data.affinity, mask);
362 * irq_affinity_schedule_notify_work - Schedule work to notify about affinity change
363 * @desc: Interrupt descriptor whose affinity changed
405 * irq_update_affinity_desc - Update affinity management for an interrupt
407 * @affinity: Pointer to the affinity descriptor
409 * This interface can be used to configure the affinity management of
419 int irq_update_affinity_desc(unsigned int irq, struct irq_affinity_desc *affinity)
447 if (affinity->is_managed) {
452 cpumask_copy(desc->irq_common_data.affinity, &affinity->mask);
475 * irq_set_affinity - Set the irq affinity of a given irq
476 * @irq: Interrupt to set affinity
488 * irq_force_affinity - Force the irq affinity of a given irq
489 * @irq: Interrupt to set affinity
532 cpumask_copy(cpumask, desc->irq_common_data.affinity);
543 * irq_set_affinity_notifier - control notification of IRQ affinity changes
590 * Generic version of the affinity autoselector.
606 * Preserve the managed affinity setting and a userspace affinity
611 if (cpumask_intersects(desc->irq_common_data.affinity,
613 set = desc->irq_common_data.affinity;
632 /* Wrapper for ALPHA specific affinity selector magic */
642 * irq_set_vcpu_affinity - Set vcpu affinity for the interrupt
643 * @irq: interrupt number to set affinity
647 * This function uses the vCPU specific data to set the vCPU affinity for
1020 * Check whether we need to change the affinity of the interrupt thread.
1425 * The affinity can not be established yet, but it will be once the
1435 * Ensure the thread adjusts the affinity once it reaches the
1446 if (cpumask_intersects(old->affinity, new->affinity) ||
2430 if (cpumask_intersects(desc->percpu_enabled, action->affinity)) {
2432 cpumask_first_and(desc->percpu_enabled, action->affinity));
2492 const char *devname, const cpumask_t *affinity,
2497 if (!affinity)
2498 affinity = cpu_possible_mask;
2508 action->affinity = affinity;
2511 * We allow some form of sharing for non-overlapping affinity
2515 if (!cpumask_equal(affinity, cpu_possible_mask))
2526 * @affinity: A cpumask describing the target CPUs for this interrupt
2538 const cpumask_t *affinity, void __percpu *dev_id)
2552 action = create_percpu_irqaction(handler, 0, devname, affinity, dev_id);
2578 * @affinity: A cpumask describing the target CPUs for this interrupt
2596 const struct cpumask *affinity, void __percpu *dev_id)
2615 (!affinity || cpumask_equal(affinity, cpu_possible_mask)))
2619 name, affinity, dev_id);