#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include "squashfs_fs_sb.h"
#include "decompressor.h"
#include "page_actor.h"
static void *cache_first_page(struct squashfs_page_actor *actor)
{ … }
static void *cache_next_page(struct squashfs_page_actor *actor)
{ … }
static void cache_finish_page(struct squashfs_page_actor *actor)
{ … }
struct squashfs_page_actor *squashfs_page_actor_init(void **buffer,
int pages, int length)
{ … }
static void *handle_next_page(struct squashfs_page_actor *actor)
{ … }
static void *direct_first_page(struct squashfs_page_actor *actor)
{ … }
static void *direct_next_page(struct squashfs_page_actor *actor)
{ … }
static void direct_finish_page(struct squashfs_page_actor *actor)
{ … }
struct squashfs_page_actor *squashfs_page_actor_init_special(struct squashfs_sb_info *msblk,
struct page **page, int pages, int length)
{ … }