Name

struct irq_affinity_notify — context for notification of IRQ affinity changes

Synopsis

struct irq_affinity_notify {
  unsigned int irq;
  struct kref kref;
  struct work_struct work;
  void (* notify) (struct irq_affinity_notify *, const cpumask_t *mask);
  void (* release) (struct kref *ref);
};  

Members

unsigned int irq

Interrupt to which notification applies

struct kref kref

Reference count, for internal use

struct work_struct work

Work item, for internal use

void (*)(struct irq_affinity_notify *, const cpumask_t *mask) notify

Function to be called on change. This will be called in process context.

void (*)(struct kref *ref) release

Function to be called on release. This will be called in process context. Once registered, the structure must only be freed when this function is called or later.