Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
bitops.c File Reference
#include <linux/bitops.h>
#include <linux/irqflags.h>
#include <linux/export.h>

Go to the source code of this file.

Functions

void __mips_set_bit (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_set_bit)
 
void __mips_clear_bit (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_clear_bit)
 
void __mips_change_bit (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_change_bit)
 
int __mips_test_and_set_bit (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_test_and_set_bit)
 
int __mips_test_and_set_bit_lock (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_test_and_set_bit_lock)
 
int __mips_test_and_clear_bit (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_test_and_clear_bit)
 
int __mips_test_and_change_bit (unsigned long nr, volatile unsigned long *addr)
 
 EXPORT_SYMBOL (__mips_test_and_change_bit)
 

Function Documentation

void __mips_change_bit ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_change_bit - Toggle a bit in memory. This is called by change_bit() if it cannot find a faster solution. : Bit to change : Address to start counting from

Definition at line 64 of file bitops.c.

void __mips_clear_bit ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_clear_bit - Clears a bit in memory. This is called by clear_bit() if it cannot find a faster solution. : Bit to clear : Address to start counting from

Definition at line 42 of file bitops.c.

void __mips_set_bit ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_set_bit - Atomically set a bit in memory. This is called by set_bit() if it cannot find a faster solution. : the bit to set : the address to start counting from

Definition at line 20 of file bitops.c.

int __mips_test_and_change_bit ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_test_and_change_bit - Change a bit and return its old value. This is called by test_and_change_bit() if it cannot find a faster solution. : Bit to change : Address to count from

Definition at line 163 of file bitops.c.

int __mips_test_and_clear_bit ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_test_and_clear_bit - Clear a bit and return its old value. This is called by test_and_clear_bit() if it cannot find a faster solution. : Bit to clear : Address to count from

Definition at line 138 of file bitops.c.

int __mips_test_and_set_bit ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_test_and_set_bit - Set a bit and return its old value. This is called by test_and_set_bit() if it cannot find a faster solution. : Bit to set : Address to count from

Definition at line 86 of file bitops.c.

int __mips_test_and_set_bit_lock ( unsigned long  nr,
volatile unsigned long addr 
)

__mips_test_and_set_bit_lock - Set a bit and return its old value. This is called by test_and_set_bit_lock() if it cannot find a faster solution. : Bit to set : Address to count from

Definition at line 112 of file bitops.c.

EXPORT_SYMBOL ( __mips_set_bit  )
EXPORT_SYMBOL ( __mips_clear_bit  )
EXPORT_SYMBOL ( __mips_change_bit  )
EXPORT_SYMBOL ( __mips_test_and_set_bit  )
EXPORT_SYMBOL ( __mips_test_and_set_bit_lock  )
EXPORT_SYMBOL ( __mips_test_and_clear_bit  )
EXPORT_SYMBOL ( __mips_test_and_change_bit  )