FreeBSD ZFS
The Zettabyte File System
|
#include <sys/zio.h>
Go to the source code of this file.
Data Structures | |
struct | zio_compress_info |
Information about each compression function. More... | |
Typedefs | |
typedef size_t | zio_compress_func_t (void *src, void *dst, size_t s_len, size_t d_len, int) |
Common signature for all zio compress functions. | |
typedef int | zio_decompress_func_t (void *src, void *dst, size_t s_len, size_t d_len, int) |
Common signature for all zio decompress functions. | |
typedef struct zio_compress_info | zio_compress_info_t |
Information about each compression function. | |
Functions | |
size_t | lzjb_compress (void *src, void *dst, size_t s_len, size_t d_len, int level) |
int | lzjb_decompress (void *src, void *dst, size_t s_len, size_t d_len, int level) |
size_t | gzip_compress (void *src, void *dst, size_t s_len, size_t d_len, int level) |
int | gzip_decompress (void *src, void *dst, size_t s_len, size_t d_len, int level) |
size_t | zle_compress (void *src, void *dst, size_t s_len, size_t d_len, int level) |
int | zle_decompress (void *src, void *dst, size_t s_len, size_t d_len, int level) |
size_t | zio_compress_data (enum zio_compress c, void *src, void *dst, size_t s_len) |
int | zio_decompress_data (enum zio_compress c, void *src, void *dst, size_t s_len, size_t d_len) |
Variables | |
zio_compress_info_t | zio_compress_table [ZIO_COMPRESS_FUNCTIONS] |
typedef size_t zio_compress_func_t(void *src, void *dst, size_t s_len, size_t d_len, int) |
Common signature for all zio compress functions.
Definition at line 39 of file zio_compress.h.
typedef struct zio_compress_info zio_compress_info_t |
Information about each compression function.
typedef int zio_decompress_func_t(void *src, void *dst, size_t s_len, size_t d_len, int) |
Common signature for all zio decompress functions.
Definition at line 44 of file zio_compress.h.
size_t gzip_compress | ( | void * | src, |
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len, | ||
int | level | ||
) |
int gzip_decompress | ( | void * | src, |
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len, | ||
int | level | ||
) |
size_t lzjb_compress | ( | void * | src, |
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len, | ||
int | level | ||
) |
int lzjb_decompress | ( | void * | src, |
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len, | ||
int | level | ||
) |
size_t zio_compress_data | ( | enum zio_compress | c, |
void * | src, | ||
void * | dst, | ||
size_t | s_len | ||
) |
Definition at line 72 of file zio_compress.c.
int zio_decompress_data | ( | enum zio_compress | c, |
void * | src, | ||
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len | ||
) |
Definition at line 123 of file zio_compress.c.
size_t zle_compress | ( | void * | src, |
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len, | ||
int | level | ||
) |
int zle_decompress | ( | void * | src, |
void * | dst, | ||
size_t | s_len, | ||
size_t | d_len, | ||
int | level | ||
) |
zio_compress_info_t zio_compress_table[ZIO_COMPRESS_FUNCTIONS] |
Definition at line 37 of file zio_compress.c.