#include <linux/mutex.h>
#include <linux/bio.h>
#include <linux/slab.h>
#include <linux/zstd.h>
#include <linux/vmalloc.h>
#include "squashfs_fs.h"
#include "squashfs_fs_sb.h"
#include "squashfs.h"
#include "decompressor.h"
#include "page_actor.h"
struct workspace { … };
static void *zstd_init(struct squashfs_sb_info *msblk, void *buff)
{ … }
static void zstd_free(void *strm)
{ … }
static int zstd_uncompress(struct squashfs_sb_info *msblk, void *strm,
struct bio *bio, int offset, int length,
struct squashfs_page_actor *output)
{ … }
const struct squashfs_decompressor squashfs_zstd_comp_ops = …;