Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
find.h File Reference

Go to the source code of this file.

Macros

#define find_first_bit(addr, size)   find_next_bit((addr), (size), 0)
 
#define find_first_zero_bit(addr, size)   find_next_zero_bit((addr), (size), 0)
 

Functions

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

Macro Definition Documentation

#define find_first_bit (   addr,
  size 
)    find_next_bit((addr), (size), 0)

Definition at line 49 of file find.h.

#define find_first_zero_bit (   addr,
  size 
)    find_next_zero_bit((addr), (size), 0)

Definition at line 50 of file find.h.

Function Documentation

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

find_next_bit - find the next set bit in a memory region : The address to base the search on : The bitnumber to start searching at : The bitmap size in bits

Definition at line 23 of file find_next_bit.c.

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

find_next_zero_bit - find the next cleared bit in a memory region : The address to base the search on : The bitnumber to start searching at : The bitmap size in bits

Definition at line 69 of file find_next_bit.c.