ReactOS 0.4.16-dev-197-g92996da
|
#include "btrfs_drv.h"
#include "zlib/zlib.h"
#include "zlib/inftrees.h"
#include "zlib/inflate.h"
#include "zstd/zstd.h"
Go to the source code of this file.
Classes | |
struct | lzo_stream |
struct | comp_part |
Variables | |
ZSTD_customMem | zstd_mem = { .customAlloc = zstd_malloc, .customFree = zstd_free, .opaque = NULL } |
Definition at line 77 of file compress.c.
Definition at line 73 of file compress.c.
Definition at line 78 of file compress.c.
Definition at line 74 of file compress.c.
Definition at line 59 of file compress.c.
Definition at line 82 of file compress.c.
#define LZO_PAGE_SIZE 4096 |
Definition at line 46 of file compress.c.
#define M1_MARKER 0 |
Definition at line 68 of file compress.c.
#define M1_MAX_OFFSET 0x0400 |
Definition at line 61 of file compress.c.
#define M2_MARKER 64 |
Definition at line 69 of file compress.c.
#define M2_MAX_OFFSET 0x0800 |
Definition at line 62 of file compress.c.
#define M3_MARKER 32 |
Definition at line 70 of file compress.c.
#define M3_MAX_OFFSET 0x4000 |
Definition at line 63 of file compress.c.
#define M4_MARKER 16 |
Definition at line 71 of file compress.c.
#define M4_MAX_OFFSET 0xbfff |
Definition at line 64 of file compress.c.
#define MX_MAX_OFFSET (M1_MAX_OFFSET + M2_MAX_OFFSET) |
Definition at line 66 of file compress.c.
Definition at line 79 of file compress.c.
Definition at line 80 of file compress.c.
#define Z_SOLO |
Definition at line 31 of file compress.c.
#define ZLIB_INTERNAL |
Definition at line 32 of file compress.c.
#define ZSTD_ALLOC_TAG 0x6474737a |
Definition at line 89 of file compress.c.
#define ZSTD_BTRFS_MAX_WINDOWLOG 17 |
Definition at line 92 of file compress.c.
#define ZSTD_STATIC_LINKING_ONLY |
Definition at line 42 of file compress.c.
|
static |
Definition at line 170 of file compress.c.
Referenced by lzo_decompress().
|
static |
Definition at line 631 of file compress.c.
Referenced by lzo_compress().
NTSTATUS lzo_compress | ( | uint8_t * | inbuf, |
uint32_t | inlen, | ||
uint8_t * | outbuf, | ||
uint32_t | outlen, | ||
unsigned int * | space_left | ||
) |
Definition at line 727 of file compress.c.
Referenced by calc_thread_main().
|
static |
Definition at line 133 of file compress.c.
Referenced by do_lzo_decompress().
|
static |
Definition at line 152 of file compress.c.
Referenced by do_lzo_decompress().
NTSTATUS lzo_decompress | ( | uint8_t * | inbuf, |
uint32_t | inlen, | ||
uint8_t * | outbuf, | ||
uint32_t | outlen, | ||
uint32_t | inpageoff | ||
) |
Definition at line 278 of file compress.c.
Referenced by calc_thread_main(), and flush_extents().
|
static |
Definition at line 423 of file compress.c.
Referenced by lzo1x_1_compress().
|
static |
Definition at line 117 of file compress.c.
Referenced by do_lzo_decompress().
Definition at line 660 of file compress.c.
Referenced by lzo_compress().
|
static |
Definition at line 103 of file compress.c.
Referenced by do_lzo_decompress(), and lzo_len().
NTSTATUS write_compressed | ( | fcb * | fcb, |
uint64_t | start_data, | ||
uint64_t | end_data, | ||
void * | data, | ||
PIRP | Irp, | ||
LIST_ENTRY * | rollback | ||
) |
Definition at line 875 of file compress.c.
Referenced by __attribute__(), and zero_data().
Definition at line 324 of file compress.c.
Referenced by zlib_compress(), and zlib_decompress().
NTSTATUS zlib_compress | ( | uint8_t * | inbuf, |
uint32_t | inlen, | ||
uint8_t * | outbuf, | ||
uint32_t | outlen, | ||
unsigned int | level, | ||
unsigned int * | space_left | ||
) |
Definition at line 336 of file compress.c.
Referenced by calc_thread_main().
Definition at line 377 of file compress.c.
Referenced by calc_thread_main(), and flush_extents().
Definition at line 330 of file compress.c.
Referenced by zlib_compress(), and zlib_decompress().
NTSTATUS zstd_compress | ( | uint8_t * | inbuf, |
uint32_t | inlen, | ||
uint8_t * | outbuf, | ||
uint32_t | outlen, | ||
uint32_t | level, | ||
unsigned int * | space_left | ||
) |
Definition at line 805 of file compress.c.
Referenced by calc_thread_main().
Definition at line 676 of file compress.c.
Referenced by calc_thread_main(), and flush_extents().
Definition at line 670 of file compress.c.
Definition at line 664 of file compress.c.
ZSTD_customMem zstd_mem = { .customAlloc = zstd_malloc, .customFree = zstd_free, .opaque = NULL } |
Definition at line 98 of file compress.c.
Referenced by zstd_compress(), and zstd_decompress().