Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
misc.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include "../../../lib/inflate.c"

Go to the source code of this file.

Macros

#define memzero(s, n)   memset ((s),0,(n))
 
#define puts   srm_printk
 
#define OF(args)   args
 
#define STATIC   static
 
#define WSIZE   0x8000 /* Window size must be at least 32k, */
 
#define ASCII_FLAG   0x01 /* bit 0 set: file probably ascii text */
 
#define CONTINUATION   0x02 /* bit 1 set: continuation of multi-part gzip file */
 
#define EXTRA_FIELD   0x04 /* bit 2 set: extra field present */
 
#define ORIG_NAME   0x08 /* bit 3 set: original file name present */
 
#define COMMENT   0x10 /* bit 4 set: file comment present */
 
#define ENCRYPTED   0x20 /* bit 5 set: file is encrypted */
 
#define RESERVED   0xC0 /* bit 6,7: reserved */
 
#define get_byte()   (inptr < insize ? inbuf[inptr++] : fill_inbuf())
 
#define Assert(cond, msg)
 
#define Trace(x)
 
#define Tracev(x)
 
#define Tracevv(x)
 
#define Tracec(c, x)
 
#define Tracecv(c, x)
 
#define HEAP_SIZE   0x3000
 

Functions

long srm_printk (const char *,...)
 
void flush_window (void)
 
unsigned int decompress_kernel (void *output_start, void *input_start, size_t ksize, size_t kzsize)
 

Macro Definition Documentation

#define ASCII_FLAG   0x01 /* bit 0 set: file probably ascii text */
#define Assert (   cond,
  msg 
)
#define COMMENT   0x10 /* bit 4 set: file comment present */
#define CONTINUATION   0x02 /* bit 1 set: continuation of multi-part gzip file */
#define ENCRYPTED   0x20 /* bit 5 set: file is encrypted */
#define EXTRA_FIELD   0x04 /* bit 2 set: extra field present */
#define get_byte ( )    (inptr < insize ? inbuf[inptr++] : fill_inbuf())
#define HEAP_SIZE   0x3000
#define memzero (   s,
  n 
)    memset ((s),0,(n))

Definition at line 26 of file misc.c.

#define OF (   args)    args
#define ORIG_NAME   0x08 /* bit 3 set: original file name present */
#define puts   srm_printk

Definition at line 27 of file misc.c.

#define RESERVED   0xC0 /* bit 6,7: reserved */
#define STATIC   static
#define Trace (   x)
#define Tracec (   c,
  x 
)
#define Tracecv (   c,
  x 
)
#define Tracev (   x)
#define Tracevv (   x)
#define WSIZE   0x8000 /* Window size must be at least 32k, */

Function Documentation

unsigned int decompress_kernel ( void output_start,
void input_start,
size_t  ksize,
size_t  kzsize 
)

Definition at line 151 of file misc.c.

static void flush_window ( void  )

Definition at line 122 of file misc.c.

long srm_printk ( const char ,
  ... 
)

Definition at line 28 of file misc.c.