Linux Kernel
3.7.1
|
#include <linux/compiler.h>
#include <linux/types.h>
#include <asm/barrier.h>
#include <asm/byteorder.h>
#include <asm/cpu-features.h>
#include <asm/sgidefs.h>
#include <asm/war.h>
#include <asm-generic/bitops/non-atomic.h>
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/ffz.h>
#include <asm-generic/bitops/find.h>
Go to the source code of this file.
Macros | |
#define | smp_mb__before_clear_bit() smp_mb__before_llsc() |
#define | smp_mb__after_clear_bit() smp_llsc_mb() |
Functions | |
void | __mips_set_bit (unsigned long nr, volatile unsigned long *addr) |
void | __mips_clear_bit (unsigned long nr, volatile unsigned long *addr) |
void | __mips_change_bit (unsigned long nr, volatile unsigned long *addr) |
int | __mips_test_and_set_bit (unsigned long nr, volatile unsigned long *addr) |
int | __mips_test_and_set_bit_lock (unsigned long nr, volatile unsigned long *addr) |
int | __mips_test_and_clear_bit (unsigned long nr, volatile unsigned long *addr) |
int | __mips_test_and_change_bit (unsigned long nr, volatile unsigned long *addr) |
#define smp_mb__after_clear_bit | ( | ) | smp_llsc_mb() |
#define smp_mb__before_clear_bit | ( | ) | smp_mb__before_llsc() |
__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
__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
__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
__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
__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
__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