aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs/squashfs/squashfs.h')
-rw-r--r--fs/squashfs/squashfs.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h
index 887d6d270080..6093579c6c5d 100644
--- a/fs/squashfs/squashfs.h
+++ b/fs/squashfs/squashfs.h
@@ -28,8 +28,14 @@
28#define WARNING(s, args...) pr_warn("SQUASHFS: "s, ## args) 28#define WARNING(s, args...) pr_warn("SQUASHFS: "s, ## args)
29 29
30/* block.c */ 30/* block.c */
31extern int squashfs_init_read_wq(void);
32extern void squashfs_destroy_read_wq(void);
31extern int squashfs_read_data(struct super_block *, u64, int, u64 *, 33extern int squashfs_read_data(struct super_block *, u64, int, u64 *,
32 struct squashfs_page_actor *); 34 struct squashfs_page_actor *);
35extern int squashfs_read_data(struct super_block *, u64, int, u64 *,
36 struct squashfs_page_actor *);
37extern int squashfs_read_data_async(struct super_block *, u64, int, u64 *,
38 struct squashfs_page_actor *);
33 39
34/* cache.c */ 40/* cache.c */
35extern struct squashfs_cache *squashfs_cache_init(char *, int, int); 41extern struct squashfs_cache *squashfs_cache_init(char *, int, int);
@@ -70,8 +76,9 @@ extern __le64 *squashfs_read_fragment_index_table(struct super_block *,
70void squashfs_copy_cache(struct page *, struct squashfs_cache_entry *, int, 76void squashfs_copy_cache(struct page *, struct squashfs_cache_entry *, int,
71 int); 77 int);
72 78
73/* file_xxx.c */ 79/* file_direct.c */
74extern int squashfs_readpage_block(struct page *, u64, int); 80extern int squashfs_readpages_block(struct page *, struct list_head *,
81 unsigned int *, struct address_space *, int, u64, int);
75 82
76/* id.c */ 83/* id.c */
77extern int squashfs_get_id(struct super_block *, unsigned int, unsigned int *); 84extern int squashfs_get_id(struct super_block *, unsigned int, unsigned int *);