linux/fs/squashfs/lz4_wrapper.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2013, 2014
 * Phillip Lougher <[email protected]>
 */

#include <linux/bio.h>
#include <linux/mutex.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/lz4.h>

#include "squashfs_fs.h"
#include "squashfs_fs_sb.h"
#include "squashfs.h"
#include "decompressor.h"
#include "page_actor.h"

#define LZ4_LEGACY

struct lz4_comp_opts {};

struct squashfs_lz4 {};


static void *lz4_comp_opts(struct squashfs_sb_info *msblk,
	void *buff, int len)
{}


static void *lz4_init(struct squashfs_sb_info *msblk, void *buff)
{}


static void lz4_free(void *strm)
{}


static int lz4_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_lz4_comp_ops =;