Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
irq_work.c File Reference
#include <linux/bug.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/irq_work.h>
#include <linux/percpu.h>
#include <linux/hardirq.h>
#include <linux/irqflags.h>
#include <asm/processor.h>

Go to the source code of this file.

Macros

#define IRQ_WORK_PENDING   1UL
 
#define IRQ_WORK_BUSY   2UL
 
#define IRQ_WORK_FLAGS   3UL
 

Functions

void __weak arch_irq_work_raise (void)
 
bool irq_work_queue (struct irq_work *work)
 
 EXPORT_SYMBOL_GPL (irq_work_queue)
 
void irq_work_run (void)
 
 EXPORT_SYMBOL_GPL (irq_work_run)
 
void irq_work_sync (struct irq_work *work)
 
 EXPORT_SYMBOL_GPL (irq_work_sync)
 

Macro Definition Documentation

#define IRQ_WORK_BUSY   2UL

Definition at line 27 of file irq_work.c.

#define IRQ_WORK_FLAGS   3UL

Definition at line 28 of file irq_work.c.

#define IRQ_WORK_PENDING   1UL

Definition at line 26 of file irq_work.c.

Function Documentation

void __weak arch_irq_work_raise ( void  )

Definition at line 52 of file irq_work.c.

EXPORT_SYMBOL_GPL ( irq_work_queue  )
EXPORT_SYMBOL_GPL ( irq_work_run  )
EXPORT_SYMBOL_GPL ( irq_work_sync  )
bool irq_work_queue ( struct irq_work work)

Definition at line 82 of file irq_work.c.

void irq_work_run ( void  )

Definition at line 100 of file irq_work.c.

void irq_work_sync ( struct irq_work work)

Definition at line 138 of file irq_work.c.