Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
decompress_unlzo.c File Reference
#include <linux/decompress/unlzo.h>
#include <linux/types.h>
#include <linux/lzo.h>
#include <linux/decompress/mm.h>
#include <linux/compiler.h>
#include <asm/unaligned.h>

Go to the source code of this file.

Macros

#define LZO_BLOCK_SIZE   (256*1024l)
 
#define HEADER_HAS_FILTER   0x00000800L
 
#define HEADER_SIZE_MIN   (9 + 7 + 4 + 8 + 1 + 4)
 
#define HEADER_SIZE_MAX   (9 + 7 + 1 + 8 + 8 + 4 + 1 + 255 + 4)
 
#define decompress   unlzo
 

Functions

STATIC int INIT parse_header (u8 *input, int *skip, int in_len)
 
STATIC int INIT unlzo (u8 *input, int in_len, int(*fill)(void *, unsigned int), int(*flush)(void *, unsigned int), u8 *output, int *posp, void(*error)(char *x))
 

Macro Definition Documentation

#define decompress   unlzo

Definition at line 290 of file decompress_unlzo.c.

#define HEADER_HAS_FILTER   0x00000800L

Definition at line 50 of file decompress_unlzo.c.

#define HEADER_SIZE_MAX   (9 + 7 + 1 + 8 + 8 + 4 + 1 + 255 + 4)

Definition at line 52 of file decompress_unlzo.c.

#define HEADER_SIZE_MIN   (9 + 7 + 4 + 8 + 1 + 4)

Definition at line 51 of file decompress_unlzo.c.

#define LZO_BLOCK_SIZE   (256*1024l)

Definition at line 49 of file decompress_unlzo.c.

Function Documentation

STATIC int INIT parse_header ( u8 input,
int skip,
int  in_len 
)
inline

Definition at line 54 of file decompress_unlzo.c.

STATIC int INIT unlzo ( u8 input,
int  in_len,
int(*)(void *, unsigned int fill,
int(*)(void *, unsigned int flush,
u8 output,
int posp,
void(*)(char *x error 
)
inline

Definition at line 111 of file decompress_unlzo.c.