Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bitops_64.h File Reference
#include <linux/compiler.h>
#include <asm/byteorder.h>
#include <asm-generic/bitops/non-atomic.h>
#include <asm-generic/bitops/fls.h>
#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/find.h>

Go to the source code of this file.

Macros

#define smp_mb__before_clear_bit()   barrier()
 
#define smp_mb__after_clear_bit()   barrier()
 

Functions

int test_and_set_bit (unsigned long nr, volatile unsigned long *addr)
 
int test_and_clear_bit (unsigned long nr, volatile unsigned long *addr)
 
int test_and_change_bit (unsigned long nr, volatile unsigned long *addr)
 
void set_bit (unsigned long nr, volatile unsigned long *addr)
 
void clear_bit (unsigned long nr, volatile unsigned long *addr)
 
void change_bit (unsigned long nr, volatile unsigned long *addr)
 

Macro Definition Documentation

#define smp_mb__after_clear_bit ( )    barrier()

Definition at line 27 of file bitops_64.h.

#define smp_mb__before_clear_bit ( )    barrier()

Definition at line 26 of file bitops_64.h.

Function Documentation

void change_bit ( unsigned long  nr,
volatile unsigned long addr 
)
void clear_bit ( unsigned long  nr,
volatile unsigned long addr 
)
void set_bit ( unsigned long  nr,
volatile unsigned long addr 
)
int test_and_change_bit ( unsigned long  nr,
volatile unsigned long addr 
)
int test_and_clear_bit ( unsigned long  nr,
volatile unsigned long addr 
)
int test_and_set_bit ( unsigned long  nr,
volatile unsigned long addr 
)