Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
memweight.c File Reference
#include <linux/export.h>
#include <linux/bug.h>
#include <linux/bitmap.h>

Go to the source code of this file.

Functions

size_t memweight (const void *ptr, size_t bytes)
 
 EXPORT_SYMBOL (memweight)
 

Function Documentation

EXPORT_SYMBOL ( memweight  )
size_t memweight ( const void ptr,
size_t  bytes 
)

memweight - count the total number of bits set in memory area : pointer to the start of the area : the size of the area

Definition at line 10 of file memweight.c.