Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

linux/bitops.h File Reference

#include <asm/bitops.h>

Include dependency graph for linux/bitops.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

__inline__ int generic_ffs (int x)
__inline__ unsigned int generic_hweight32 (unsigned int w)
__inline__ unsigned int generic_hweight16 (unsigned int w)
__inline__ unsigned int generic_hweight8 (unsigned int w)


Function Documentation

__inline__ int generic_ffs int  x  ) 
 

Definition at line 11 of file linux/bitops.h.

References r, xf, xff, and xffff.

__inline__ unsigned int generic_hweight16 unsigned int  w  ) 
 

Definition at line 54 of file linux/bitops.h.

References res.

__inline__ unsigned int generic_hweight32 unsigned int  w  ) 
 

Definition at line 45 of file linux/bitops.h.

References res.

__inline__ unsigned int generic_hweight8 unsigned int  w  ) 
 

Definition at line 62 of file linux/bitops.h.

References res, and x0F.