1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
8 * Phillip Lougher <phillip@squashfs.org.uk>
13 #include "squashfs_fs.h"
15 struct squashfs_cache {
25 wait_queue_head_t wait_queue;
26 struct squashfs_cache_entry *entry;
29 struct squashfs_cache_entry {
37 wait_queue_head_t wait_queue;
38 struct squashfs_cache *cache;
40 struct squashfs_page_actor *actor;
43 struct squashfs_sb_info {
44 const struct squashfs_decompressor *decompressor;
47 struct squashfs_cache *block_cache;
48 struct squashfs_cache *fragment_cache;
49 struct squashfs_cache *read_page;
52 __le64 *fragment_index;
53 __le64 *xattr_id_table;
54 struct mutex meta_index_mutex;
55 struct meta_index *meta_index;
56 struct squashfs_stream *stream;
57 __le64 *inode_lookup_table;
61 unsigned int block_size;
62 unsigned short block_log;
65 unsigned int fragments;