---
name: "struct_irqaction"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_irqaction"
---

# struct\_irqaction(9)

per interrupt action descriptor

## NAME

struct\_irqaction - per interrupt action descriptor

## SYNOPSIS

```
struct irqaction {
  irq_handler_t handler;
  void * dev_id;
  void __percpu * percpu_dev_id;
  struct irqaction * next;
  irq_handler_t thread_fn;
  struct task_struct * thread;
  struct irqaction * secondary;
  unsigned int irq;
  unsigned int flags;
  unsigned long thread_flags;
  unsigned long thread_mask;
  const char * name;
  struct proc_dir_entry * dir;
};
```

## MEMBERS

handler

interrupt handler function

dev\_id

cookie to identify the device

percpu\_dev\_id

cookie to identify the device

next

pointer to the next irqaction for shared interrupts

thread\_fn

interrupt handler function for threaded interrupts

thread

thread pointer for threaded interrupts

secondary

pointer to secondary irqaction (force threading)

irq

interrupt number

flags

flags (see IRQF\_\* above)

thread\_flags

flags related to *thread*

thread\_mask

bitmask for keeping track of *thread* activity

name

name of the device

dir

pointer to the proc/irq/NN/name entry

## AUTHORS

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

**Ingo Molnar** \<mingo@elte.hu\>

Author.

## COPYRIGHT
