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

Go to the source code of this file.

Macros

#define BITOP_WORD(nr)   ((nr) / BITS_PER_LONG)
 

Functions

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

Macro Definition Documentation

#define BITOP_WORD (   nr)    ((nr) / BITS_PER_LONG)

Definition at line 17 of file find_next_bit.c.

Function Documentation

EXPORT_SYMBOL ( find_next_bit  )
EXPORT_SYMBOL ( find_next_zero_bit  )
EXPORT_SYMBOL ( find_first_bit  )
EXPORT_SYMBOL ( find_first_zero_bit  )
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 
)

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.