Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hardirq.h File Reference
#include <linux/threads.h>
#include <linux/irq.h>

Go to the source code of this file.

Data Structures

struct  ____cacheline_aligned
 

Macros

#define MAX_HARDIRQS_PER_CPU   NR_VECTORS
 
#define __ARCH_IRQ_STAT
 
#define inc_irq_stat(member)   this_cpu_inc(irq_stat.member)
 
#define local_softirq_pending()   this_cpu_read(irq_stat.__softirq_pending)
 
#define __ARCH_SET_SOFTIRQ_PENDING
 
#define set_softirq_pending(x)   this_cpu_write(irq_stat.__softirq_pending, (x))
 
#define or_softirq_pending(x)   this_cpu_or(irq_stat.__softirq_pending, (x))
 
#define arch_irq_stat_cpu   arch_irq_stat_cpu
 
#define arch_irq_stat   arch_irq_stat
 

Functions

 DECLARE_PER_CPU_SHARED_ALIGNED (irq_cpustat_t, irq_stat)
 
void ack_bad_irq (unsigned int irq)
 
u64 arch_irq_stat_cpu (unsigned int cpu)
 
u64 arch_irq_stat (void)
 

Macro Definition Documentation

#define __ARCH_IRQ_STAT

Definition at line 40 of file hardirq.h.

#define __ARCH_SET_SOFTIRQ_PENDING

Definition at line 46 of file hardirq.h.

#define arch_irq_stat   arch_irq_stat

Definition at line 58 of file hardirq.h.

#define arch_irq_stat_cpu   arch_irq_stat_cpu

Definition at line 55 of file hardirq.h.

#define inc_irq_stat (   member)    this_cpu_inc(irq_stat.member)

Definition at line 42 of file hardirq.h.

#define local_softirq_pending ( )    this_cpu_read(irq_stat.__softirq_pending)

Definition at line 44 of file hardirq.h.

#define MAX_HARDIRQS_PER_CPU   NR_VECTORS

Definition at line 38 of file hardirq.h.

#define or_softirq_pending (   x)    this_cpu_or(irq_stat.__softirq_pending, (x))

Definition at line 50 of file hardirq.h.

#define set_softirq_pending (   x)    this_cpu_write(irq_stat.__softirq_pending, (x))

Definition at line 48 of file hardirq.h.

Function Documentation

void ack_bad_irq ( unsigned int  irq)

Definition at line 35 of file irq.c.

u64 arch_irq_stat ( void  )

Definition at line 165 of file irq.c.

u64 arch_irq_stat_cpu ( unsigned int  cpu)

Definition at line 376 of file irq.c.

DECLARE_PER_CPU_SHARED_ALIGNED ( irq_cpustat_t  ,
irq_stat   
)