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 nr_free_blocks;
80 uint32_t nr_erasing_blocks;
83 uint8_t resv_blocks_write;
84 uint8_t resv_blocks_deletion;
85 uint8_t resv_blocks_gctrigger;
86 uint8_t resv_blocks_gcbad;
87 uint8_t resv_blocks_gcmerge;
89 uint8_t vdirty_blocks_gctrigger;
91 uint32_t nospc_dirty_size;
104 struct list_head erasable_pending_wbuf_list;
118 int inocache_hashsize;
125 struct mutex erase_free_sem;
127 uint32_t wbuf_pagesize;
129#ifdef CONFIG_JFFS2_FS_WBUF_VERIFY
130 unsigned char *wbuf_verify;
132#ifdef CONFIG_JFFS2_FS_WRITEBUFFER
141 unsigned char *oobbuf;
148#ifdef CONFIG_JFFS2_FS_XATTR
149#define XATTRINDEX_HASHSIZE (57)
150 uint32_t highest_xid;
151 uint32_t highest_xseqno;
152 struct list_head xattrindex[XATTRINDEX_HASHSIZE];
158 uint32_t xdatum_mem_usage;
159 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