18#include <linux/types.h>
19#include <linux/spinlock.h>
20#include <linux/workqueue.h>
21#include <linux/completion.h>
22#include <linux/mutex.h>
23#include <linux/timer.h>
24#include <linux/wait.h>
25#include <linux/list.h>
26#include <linux/rwsem.h>
28#define JFFS2_SB_FLAG_RO 1
29#define JFFS2_SB_FLAG_SCANNING 2
30#define JFFS2_SB_FLAG_BUILDING 4
59 struct task_struct *gc_task;
63 struct mutex alloc_sem;
66 uint32_t cleanmarker_size;
74 uint32_t erasing_size;
77 uint32_t unchecked_size;
79 uint32_t obsolete_size;
82 uint32_t nr_free_blocks;
83 uint32_t nr_erasing_blocks;
86 uint8_t resv_blocks_write;
87 uint8_t resv_blocks_deletion;
88 uint8_t resv_blocks_gctrigger;
89 uint8_t resv_blocks_gcbad;
90 uint8_t resv_blocks_gcmerge;
92 uint8_t vdirty_blocks_gctrigger;
94 uint32_t nospc_dirty_size;
107 struct list_head erasable_pending_wbuf_list;
121 int inocache_hashsize;
128 struct mutex erase_free_sem;
130 uint32_t wbuf_pagesize;
132#ifdef CONFIG_JFFS2_FS_WBUF_VERIFY
133 unsigned char *wbuf_verify;
135#ifdef CONFIG_JFFS2_FS_WRITEBUFFER
144 unsigned char *oobbuf;
151#ifdef CONFIG_JFFS2_FS_XATTR
152#define XATTRINDEX_HASHSIZE (57)
153 uint32_t highest_xid;
154 uint32_t highest_xseqno;
155 struct list_head xattrindex[XATTRINDEX_HASHSIZE];
161 uint32_t xdatum_mem_usage;
162 uint32_t xdatum_mem_threshold;
Definition: completion.h:4
Definition: workqueue.h:21
Definition: intercom.c:71
Definition: nodelist.h:278
Definition: nodelist.h:158
Definition: jffs2_fs_sb.h:34
Definition: jffs2_fs_sb.h:51
Definition: summary.h:152