Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mpicoder.c File Reference
#include <linux/bitops.h>
#include <asm-generic/bitops/count_zeros.h>
#include "mpi-internal.h"

Go to the source code of this file.

Macros

#define MAX_EXTERN_MPI_BITS   16384
 

Functions

MPI mpi_read_raw_data (const void *xbuffer, size_t nbytes)
 
 EXPORT_SYMBOL_GPL (mpi_read_raw_data)
 
MPI mpi_read_from_buffer (const void *xbuffer, unsigned *ret_nread)
 
 EXPORT_SYMBOL_GPL (mpi_read_from_buffer)
 
voidmpi_get_buffer (MPI a, unsigned *nbytes, int *sign)
 
 EXPORT_SYMBOL_GPL (mpi_get_buffer)
 
int mpi_set_buffer (MPI a, const void *xbuffer, unsigned nbytes, int sign)
 
 EXPORT_SYMBOL_GPL (mpi_set_buffer)
 

Macro Definition Documentation

#define MAX_EXTERN_MPI_BITS   16384

Definition at line 25 of file mpicoder.c.

Function Documentation

EXPORT_SYMBOL_GPL ( mpi_read_raw_data  )
EXPORT_SYMBOL_GPL ( mpi_read_from_buffer  )
EXPORT_SYMBOL_GPL ( mpi_get_buffer  )
EXPORT_SYMBOL_GPL ( mpi_set_buffer  )
void* mpi_get_buffer ( MPI  a,
unsigned *  nbytes,
int sign 
)

Definition at line 138 of file mpicoder.c.

MPI mpi_read_from_buffer ( const void xbuffer,
unsigned *  ret_nread 
)

Definition at line 80 of file mpicoder.c.

MPI mpi_read_raw_data ( const void xbuffer,
size_t  nbytes 
)

mpi_read_raw_data - Read a raw byte stream as a positive integer : The data to read : The amount of data to read

Definition at line 32 of file mpicoder.c.

int mpi_set_buffer ( MPI  a,
const void xbuffer,
unsigned  nbytes,
int  sign 
)

Definition at line 189 of file mpicoder.c.