16 #include <linux/types.h> 17 #include <linux/spinlock.h> 18 #include <linux/workqueue.h> 19 #include <linux/completion.h> 20 #include <linux/mutex.h> 21 #include <linux/timer.h> 22 #include <linux/wait.h> 23 #include <linux/list.h> 24 #include <linux/rwsem.h> 26 #define JFFS2_SB_FLAG_RO 1 27 #define JFFS2_SB_FLAG_SCANNING 2 28 #define JFFS2_SB_FLAG_BUILDING 4 30 struct jffs2_inodirty;
56 struct task_struct *gc_task;
60 struct mutex alloc_sem;
63 uint32_t cleanmarker_size;
71 uint32_t erasing_size;
74 uint32_t unchecked_size;
76 uint32_t nr_free_blocks;
77 uint32_t nr_erasing_blocks;
80 uint8_t resv_blocks_write;
81 uint8_t resv_blocks_deletion;
82 uint8_t resv_blocks_gctrigger;
83 uint8_t resv_blocks_gcbad;
84 uint8_t resv_blocks_gcmerge;
86 uint8_t vdirty_blocks_gctrigger;
88 uint32_t nospc_dirty_size;
101 struct list_head erasable_pending_wbuf_list;
115 int inocache_hashsize;
122 struct mutex erase_free_sem;
124 uint32_t wbuf_pagesize;
126 #ifdef CONFIG_JFFS2_FS_WBUF_VERIFY 127 unsigned char *wbuf_verify;
129 #ifdef CONFIG_JFFS2_FS_WRITEBUFFER 133 struct jffs2_inodirty *wbuf_inodes;
134 struct rw_semaphore wbuf_sem;
136 struct delayed_work wbuf_dwork;
138 unsigned char *oobbuf;
145 #ifdef CONFIG_JFFS2_FS_XATTR 146 #define XATTRINDEX_HASHSIZE (57) 147 uint32_t highest_xid;
148 uint32_t highest_xseqno;
149 struct list_head xattrindex[XATTRINDEX_HASHSIZE];
154 struct rw_semaphore xattr_sem;
155 uint32_t xdatum_mem_usage;
156 uint32_t xdatum_mem_threshold;
Definition: nodelist.h:158
Definition: nodelist.h:277
Definition: intercom.c:58
Definition: summary.h:151
Definition: jffs2_fs_sb.h:48
Definition: jffs2_fs_sb.h:32
Definition: completion.h:4