Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
lzodefs.h File Reference

Go to the source code of this file.

Macros

#define LZO_VERSION   0x2020
 
#define LZO_VERSION_STRING   "2.02"
 
#define LZO_VERSION_DATE   "Oct 17 2005"
 
#define M1_MAX_OFFSET   0x0400
 
#define M2_MAX_OFFSET   0x0800
 
#define M3_MAX_OFFSET   0x4000
 
#define M4_MAX_OFFSET   0xbfff
 
#define M1_MIN_LEN   2
 
#define M1_MAX_LEN   2
 
#define M2_MIN_LEN   3
 
#define M2_MAX_LEN   8
 
#define M3_MIN_LEN   3
 
#define M3_MAX_LEN   33
 
#define M4_MIN_LEN   3
 
#define M4_MAX_LEN   9
 
#define M1_MARKER   0
 
#define M2_MARKER   64
 
#define M3_MARKER   32
 
#define M4_MARKER   16
 
#define D_BITS   14
 
#define D_MASK   ((1u << D_BITS) - 1)
 
#define D_HIGH   ((D_MASK >> 1) + 1)
 
#define DX2(p, s1, s2)
 
#define DX3(p, s1, s2, s3)   ((DX2((p)+1, s2, s3) << (s1)) ^ (p)[0])
 

Macro Definition Documentation

#define D_BITS   14

Definition at line 37 of file lzodefs.h.

#define D_HIGH   ((D_MASK >> 1) + 1)

Definition at line 39 of file lzodefs.h.

#define D_MASK   ((1u << D_BITS) - 1)

Definition at line 38 of file lzodefs.h.

#define DX2 (   p,
  s1,
  s2 
)
Value:
(((((size_t)((p)[2]) << (s2)) ^ (p)[1]) \
<< (s1)) ^ (p)[0])

Definition at line 41 of file lzodefs.h.

#define DX3 (   p,
  s1,
  s2,
  s3 
)    ((DX2((p)+1, s2, s3) << (s1)) ^ (p)[0])

Definition at line 43 of file lzodefs.h.

#define LZO_VERSION   0x2020

Definition at line 14 of file lzodefs.h.

#define LZO_VERSION_DATE   "Oct 17 2005"

Definition at line 16 of file lzodefs.h.

#define LZO_VERSION_STRING   "2.02"

Definition at line 15 of file lzodefs.h.

#define M1_MARKER   0

Definition at line 32 of file lzodefs.h.

#define M1_MAX_LEN   2

Definition at line 24 of file lzodefs.h.

#define M1_MAX_OFFSET   0x0400

Definition at line 18 of file lzodefs.h.

#define M1_MIN_LEN   2

Definition at line 23 of file lzodefs.h.

#define M2_MARKER   64

Definition at line 33 of file lzodefs.h.

#define M2_MAX_LEN   8

Definition at line 26 of file lzodefs.h.

#define M2_MAX_OFFSET   0x0800

Definition at line 19 of file lzodefs.h.

#define M2_MIN_LEN   3

Definition at line 25 of file lzodefs.h.

#define M3_MARKER   32

Definition at line 34 of file lzodefs.h.

#define M3_MAX_LEN   33

Definition at line 28 of file lzodefs.h.

#define M3_MAX_OFFSET   0x4000

Definition at line 20 of file lzodefs.h.

#define M3_MIN_LEN   3

Definition at line 27 of file lzodefs.h.

#define M4_MARKER   16

Definition at line 35 of file lzodefs.h.

#define M4_MAX_LEN   9

Definition at line 30 of file lzodefs.h.

#define M4_MAX_OFFSET   0xbfff

Definition at line 21 of file lzodefs.h.

#define M4_MIN_LEN   3

Definition at line 29 of file lzodefs.h.