Go to the documentation of this file.
13 #ifndef JFFS2_SUMMARY_H
14 #define JFFS2_SUMMARY_H
20 #define MAX_SUMMARY_SIZE 65536
22 #include <linux/uio.h>
25 #define BLK_STATE_ALLFF 0
26 #define BLK_STATE_CLEAN 1
27 #define BLK_STATE_PARTDIRTY 2
28 #define BLK_STATE_CLEANMARKER 3
29 #define BLK_STATE_ALLDIRTY 4
30 #define BLK_STATE_BADBLOCK 5
32 #define JFFS2_SUMMARY_NOSUM_SIZE 0xffffffff
33 #define JFFS2_SUMMARY_INODE_SIZE (sizeof(struct jffs2_sum_inode_flash))
34 #define JFFS2_SUMMARY_DIRENT_SIZE(x) (sizeof(struct jffs2_sum_dirent_flash) + (x))
35 #define JFFS2_SUMMARY_XATTR_SIZE (sizeof(struct jffs2_sum_xattr_flash))
36 #define JFFS2_SUMMARY_XREF_SIZE (sizeof(struct jffs2_sum_xref_flash))
170 #define JFFS2_SUMMARY_FRAME_SIZE (sizeof(struct jffs2_raw_summary) + sizeof(struct jffs2_sum_marker))
172 #ifdef CONFIG_JFFS2_SUMMARY
174 #define jffs2_sum_active() (1)
195 #define jffs2_sum_active() (0)
196 #define jffs2_sum_init(a) (0)
197 #define jffs2_sum_exit(a)
198 #define jffs2_sum_disable_collecting(a)
199 #define jffs2_sum_is_disabled(a) (0)
200 #define jffs2_sum_reset_collected(a)
201 #define jffs2_sum_add_kvec(a,b,c,d) (0)
202 #define jffs2_sum_move_collected(a,b)
203 #define jffs2_sum_write_sumnode(a) (0)
204 #define jffs2_sum_add_padding_mem(a,b)
205 #define jffs2_sum_add_inode_mem(a,b,c)
206 #define jffs2_sum_add_dirent_mem(a,b,c)
207 #define jffs2_sum_add_xattr_mem(a,b,c)
208 #define jffs2_sum_add_xref_mem(a,b,c)
209 #define jffs2_sum_scan_sumnode(a,b,c,d,e) (0)