#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/zstd.h>
#include "common/zstd_deps.h"
#include "common/zstd_internal.h"
#define ZSTD_FORWARD_IF_ERR(ret) …
static size_t zstd_cctx_init(zstd_cctx *cctx, const zstd_parameters *parameters,
unsigned long long pledged_src_size)
{ … }
int zstd_min_clevel(void)
{ … }
EXPORT_SYMBOL(…);
int zstd_max_clevel(void)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_compress_bound(size_t src_size)
{ … }
EXPORT_SYMBOL(…);
zstd_parameters zstd_get_params(int level,
unsigned long long estimated_src_size)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_cctx_workspace_bound(const zstd_compression_parameters *cparams)
{ … }
EXPORT_SYMBOL(…);
zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity,
const void *src, size_t src_size, const zstd_parameters *parameters)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_cstream_workspace_bound(const zstd_compression_parameters *cparams)
{ … }
EXPORT_SYMBOL(…);
zstd_cstream *zstd_init_cstream(const zstd_parameters *parameters,
unsigned long long pledged_src_size, void *workspace, size_t workspace_size)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_reset_cstream(zstd_cstream *cstream,
unsigned long long pledged_src_size)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_compress_stream(zstd_cstream *cstream, zstd_out_buffer *output,
zstd_in_buffer *input)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_flush_stream(zstd_cstream *cstream, zstd_out_buffer *output)
{ … }
EXPORT_SYMBOL(…);
size_t zstd_end_stream(zstd_cstream *cstream, zstd_out_buffer *output)
{ … }
EXPORT_SYMBOL(…);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;