Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
crc32c_glue.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/crc32.h>
#include <crypto/internal/hash.h>
#include <asm/pstate.h>
#include <asm/elf.h>
#include "opcodes.h"
#include "crop_devid.c"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define CHKSUM_BLOCK_SIZE   1
 
#define CHKSUM_DIGEST_SIZE   4
 

Functions

void crc32c_sparc64 (u32 *crcp, const u64 *data, unsigned int len)
 
 module_init (crc32c_sparc64_mod_init)
 
 module_exit (crc32c_sparc64_mod_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("CRC32c (Castagnoli), sparc64 crc32c opcode accelerated")
 
 MODULE_ALIAS ("crc32c")
 

Macro Definition Documentation

#define CHKSUM_BLOCK_SIZE   1

Definition at line 120 of file crc32c_glue.c.

#define CHKSUM_DIGEST_SIZE   4

Definition at line 121 of file crc32c_glue.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 10 of file crc32c_glue.c.

Function Documentation

void crc32c_sparc64 ( u32 crcp,
const u64 data,
unsigned int  len 
)
MODULE_ALIAS ( "crc32c"  )
MODULE_DESCRIPTION ( "CRC32c   Castagnoli,
sparc64 crc32c opcode accelerated"   
)
module_exit ( crc32c_sparc64_mod_fini  )
module_init ( crc32c_sparc64_mod_init  )
MODULE_LICENSE ( "GPL"  )