Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bitops.h File Reference
#include <asm/byteorder.h>
#include <asm-generic/bitops/non-atomic.h>
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/sched.h>
#include <asm-generic/bitops/hweight.h>
#include <asm-generic/bitops/lock.h>
#include <asm-generic/bitops/le.h>
#include <asm-generic/bitops/ext2-atomic.h>

Go to the source code of this file.

Macros

#define smp_mb__before_clear_bit()   barrier()
 
#define smp_mb__after_clear_bit()   barrier()
 
#define find_first_zero_bit   find_first_zero_bit
 
#define find_next_zero_bit   find_next_zero_bit
 
#define find_first_bit   find_first_bit
 
#define find_next_bit   find_next_bit
 
#define find_next_zero_bit_le   find_next_zero_bit_le
 
#define find_next_bit_le   find_next_bit_le
 

Functions

unsigned long find_first_zero_bit (const unsigned long *addr, unsigned long size)
 
unsigned long find_next_zero_bit (const unsigned long *addr, unsigned long size, unsigned long offset)
 
unsigned long find_first_bit (const unsigned long *addr, unsigned long size)
 
unsigned long find_next_bit (const unsigned long *addr, unsigned long size, unsigned long offset)
 
unsigned long find_next_zero_bit_le (const void *addr, unsigned long size, unsigned long offset)
 
unsigned long find_next_bit_le (const void *addr, unsigned long size, unsigned long offset)
 

Macro Definition Documentation

#define find_first_bit   find_first_bit

Definition at line 281 of file bitops.h.

#define find_first_zero_bit   find_first_zero_bit

Definition at line 272 of file bitops.h.

#define find_next_bit   find_next_bit

Definition at line 286 of file bitops.h.

#define find_next_bit_le   find_next_bit_le

Definition at line 314 of file bitops.h.

#define find_next_zero_bit   find_next_zero_bit

Definition at line 277 of file bitops.h.

#define find_next_zero_bit_le   find_next_zero_bit_le

Definition at line 310 of file bitops.h.

#define smp_mb__after_clear_bit ( )    barrier()

Definition at line 21 of file bitops.h.

#define smp_mb__before_clear_bit ( )    barrier()

Definition at line 20 of file bitops.h.

Function Documentation

unsigned long find_first_bit ( const unsigned long addr,
unsigned long  size 
)

Definition at line 114 of file find_next_bit.c.

unsigned long find_first_zero_bit ( const unsigned long addr,
unsigned long  size 
)

Definition at line 142 of file find_next_bit.c.

unsigned long find_next_bit ( const unsigned long addr,
unsigned long  size,
unsigned long  offset 
)

Definition at line 23 of file find_next_bit.c.

unsigned long find_next_bit_le ( const void addr,
unsigned long  size,
unsigned long  offset 
)
unsigned long find_next_zero_bit ( const unsigned long addr,
unsigned long  size,
unsigned long  offset 
)

Definition at line 69 of file find_next_bit.c.

unsigned long find_next_zero_bit_le ( const void addr,
unsigned long  size,
unsigned long  offset 
)