Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bitops_32.h File Reference
#include <linux/compiler.h>
#include <linux/atomic.h>
#include <asm-generic/bitops/ext2-atomic.h>

Go to the source code of this file.

Macros

#define smp_mb__before_clear_bit()   smp_mb()
 
#define smp_mb__after_clear_bit()   do {} while (0)
 

Functions

unsigned long _atomic_or (volatile unsigned long *p, unsigned long mask)
 
unsigned long _atomic_andn (volatile unsigned long *p, unsigned long mask)
 
unsigned long _atomic_xor (volatile unsigned long *p, unsigned long mask)
 

Macro Definition Documentation

#define smp_mb__after_clear_bit ( )    do {} while (0)

Definition at line 126 of file bitops_32.h.

#define smp_mb__before_clear_bit ( )    smp_mb()

Definition at line 125 of file bitops_32.h.

Function Documentation

unsigned long _atomic_andn ( volatile unsigned long p,
unsigned long  mask 
)

Definition at line 149 of file atomic_32.c.

unsigned long _atomic_or ( volatile unsigned long p,
unsigned long  mask 
)

Definition at line 143 of file atomic_32.c.

unsigned long _atomic_xor ( volatile unsigned long p,
unsigned long  mask 
)

Definition at line 155 of file atomic_32.c.