/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/jffs2/ |
H A D | os-linux.h | 116 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino); 117 int jffs2_flash_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, const u_char *buf); 118 int jffs2_flash_read(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, u_char *buf); 119 int jffs2_check_oob_empty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,int mode); 120 int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 121 int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 122 int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset); 125 int jffs2_flush_wbuf_gc(struct jffs2_sb_info *c, uint32_t ino); 126 int jffs2_flush_wbuf_pad(struct jffs2_sb_info *c); 127 int jffs2_nand_flash_setup(struct jffs2_sb_info * [all...] |
H A D | nodelist.h | 291 static inline int jffs2_blocks_use_vmalloc(struct jffs2_sb_info *c) 359 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full_dirent **list); 360 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state); 361 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino); 362 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new); 363 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old); 364 void jffs2_free_ino_caches(struct jffs2_sb_info *c); 365 void jffs2_free_raw_node_refs(struct jffs2_sb_info *c); 367 void jffs2_kill_fragtree(struct rb_root *root, struct jffs2_sb_info *c_delete); 368 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info * [all...] |
H A D | xattr.h | 73 extern void jffs2_init_xattr_subsystem(struct jffs2_sb_info *c); 74 extern void jffs2_build_xattr_subsystem(struct jffs2_sb_info *c); 75 extern void jffs2_clear_xattr_subsystem(struct jffs2_sb_info *c); 77 extern struct jffs2_xattr_datum *jffs2_setup_xattr_datum(struct jffs2_sb_info *c, 80 extern void jffs2_xattr_delete_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 81 extern void jffs2_xattr_free_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 83 extern int jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd, 85 extern int jffs2_garbage_collect_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref, 87 extern int jffs2_verify_xattr(struct jffs2_sb_info *c); 88 extern void jffs2_release_xattr_datum(struct jffs2_sb_info * [all...] |
H A D | debug.h | 189 __jffs2_dbg_acct_sanity_check_nolock(struct jffs2_sb_info *c, 192 __jffs2_dbg_acct_sanity_check(struct jffs2_sb_info *c, 201 __jffs2_dbg_acct_paranoia_check(struct jffs2_sb_info *c, 204 __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c, 207 __jffs2_dbg_prewrite_paranoia_check(struct jffs2_sb_info *c, 212 __jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 216 __jffs2_dbg_dump_block_lists(struct jffs2_sb_info *c); 218 __jffs2_dbg_dump_block_lists_nolock(struct jffs2_sb_info *c); 220 __jffs2_dbg_dump_node_refs(struct jffs2_sb_info *c, 223 __jffs2_dbg_dump_node_refs_nolock(struct jffs2_sb_info * [all...] |
H A D | summary.h | 175 int jffs2_sum_init(struct jffs2_sb_info *c); 176 void jffs2_sum_exit(struct jffs2_sb_info *c); 180 void jffs2_sum_move_collected(struct jffs2_sb_info *c, struct jffs2_summary *s); 181 int jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs, 183 int jffs2_sum_write_sumnode(struct jffs2_sb_info *c); 189 int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
|
H A D | background.c | 25 void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c) 33 int jffs2_start_garbage_collect_thread(struct jffs2_sb_info *c) 58 void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c) 74 struct jffs2_sb_info *c = _c;
|
H A D | compr.h | 71 uint16_t jffs2_compress(struct jffs2_sb_info *c, struct jffs2_inode_info *f, 75 int jffs2_decompress(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
|
H A D | build.c | 20 static void jffs2_build_remove_unlinked_inode(struct jffs2_sb_info *, 24 first_inode_chain(int *i, struct jffs2_sb_info *c) 34 next_inode(int *i, struct jffs2_inode_cache *ic, struct jffs2_sb_info *c) 49 static void jffs2_build_inode_pass1(struct jffs2_sb_info *c, 93 static int jffs2_build_filesystem(struct jffs2_sb_info *c) 193 static void jffs2_build_remove_unlinked_inode(struct jffs2_sb_info *c, 266 static void jffs2_calc_trigger_levels(struct jffs2_sb_info *c) 328 int jffs2_do_mount_fs(struct jffs2_sb_info *c)
|
H A D | writev.c | 40 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, 60 int jffs2_flash_direct_write(struct jffs2_sb_info *c, loff_t ofs, size_t len,
|
H A D | wbuf.c | 45 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) 66 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) 82 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) 105 static inline void jffs2_refile_wbuf_blocks(struct jffs2_sb_info *c) 137 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_empty) 176 static struct jffs2_raw_node_ref **jffs2_incore_replace_raw(struct jffs2_sb_info *c, 224 static int jffs2_verify_write(struct jffs2_sb_info *c, unsigned char *buf, 267 static void jffs2_wbuf_recover(struct jffs2_sb_info *c) 570 static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad) 690 int jffs2_flush_wbuf_gc(struct jffs2_sb_info * [all...] |
H A D | super.c | 59 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); 74 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); 148 struct jffs2_sb_info *c; 191 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); 225 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
|
H A D | erase.c | 24 struct jffs2_sb_info *c; 30 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset); 31 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 32 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 34 static void jffs2_erase_block(struct jffs2_sb_info *c, 107 int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count) 166 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) 179 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) 229 static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c, 310 void jffs2_free_jeb_node_refs(struct jffs2_sb_info * [all...] |
H A D | nodelist.c | 21 static void jffs2_obsolete_node_frag(struct jffs2_sb_info *c, 24 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full_dirent **list) 57 uint32_t jffs2_truncate_fragtree(struct jffs2_sb_info *c, struct rb_root *list, uint32_t size) 99 static void jffs2_obsolete_node_frag(struct jffs2_sb_info *c, 167 static int no_overlapping_node(struct jffs2_sb_info *c, struct rb_root *root, 213 static int jffs2_add_frag_to_fragtree(struct jffs2_sb_info *c, struct rb_root *root, struct jffs2_node_frag *newfrag) 361 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn) 406 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state) 419 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino) 434 void jffs2_add_ino_cache (struct jffs2_sb_info * [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/jffs2/ |
H A D | os-linux.h | 116 int jffs2_flash_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen, uint32_t ino); 117 int jffs2_flash_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, const u_char *buf); 118 int jffs2_flash_read(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, u_char *buf); 119 int jffs2_check_oob_empty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,int mode); 120 int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 121 int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 122 int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset); 125 int jffs2_flush_wbuf_gc(struct jffs2_sb_info *c, uint32_t ino); 126 int jffs2_flush_wbuf_pad(struct jffs2_sb_info *c); 127 int jffs2_nand_flash_setup(struct jffs2_sb_info * [all...] |
H A D | nodelist.h | 291 static inline int jffs2_blocks_use_vmalloc(struct jffs2_sb_info *c) 359 void jffs2_add_fd_to_list(struct jffs2_sb_info *c, struct jffs2_full_dirent *new, struct jffs2_full_dirent **list); 360 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state); 361 struct jffs2_inode_cache *jffs2_get_ino_cache(struct jffs2_sb_info *c, uint32_t ino); 362 void jffs2_add_ino_cache (struct jffs2_sb_info *c, struct jffs2_inode_cache *new); 363 void jffs2_del_ino_cache(struct jffs2_sb_info *c, struct jffs2_inode_cache *old); 364 void jffs2_free_ino_caches(struct jffs2_sb_info *c); 365 void jffs2_free_raw_node_refs(struct jffs2_sb_info *c); 367 void jffs2_kill_fragtree(struct rb_root *root, struct jffs2_sb_info *c_delete); 368 int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info * [all...] |
H A D | xattr.h | 73 extern void jffs2_init_xattr_subsystem(struct jffs2_sb_info *c); 74 extern void jffs2_build_xattr_subsystem(struct jffs2_sb_info *c); 75 extern void jffs2_clear_xattr_subsystem(struct jffs2_sb_info *c); 77 extern struct jffs2_xattr_datum *jffs2_setup_xattr_datum(struct jffs2_sb_info *c, 80 extern void jffs2_xattr_delete_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 81 extern void jffs2_xattr_free_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 83 extern int jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd, 85 extern int jffs2_garbage_collect_xattr_ref(struct jffs2_sb_info *c, struct jffs2_xattr_ref *ref, 87 extern int jffs2_verify_xattr(struct jffs2_sb_info *c); 88 extern void jffs2_release_xattr_datum(struct jffs2_sb_info * [all...] |
H A D | debug.h | 189 __jffs2_dbg_acct_sanity_check_nolock(struct jffs2_sb_info *c, 192 __jffs2_dbg_acct_sanity_check(struct jffs2_sb_info *c, 201 __jffs2_dbg_acct_paranoia_check(struct jffs2_sb_info *c, 204 __jffs2_dbg_acct_paranoia_check_nolock(struct jffs2_sb_info *c, 207 __jffs2_dbg_prewrite_paranoia_check(struct jffs2_sb_info *c, 212 __jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 216 __jffs2_dbg_dump_block_lists(struct jffs2_sb_info *c); 218 __jffs2_dbg_dump_block_lists_nolock(struct jffs2_sb_info *c); 220 __jffs2_dbg_dump_node_refs(struct jffs2_sb_info *c, 223 __jffs2_dbg_dump_node_refs_nolock(struct jffs2_sb_info * [all...] |
H A D | summary.h | 175 int jffs2_sum_init(struct jffs2_sb_info *c); 176 void jffs2_sum_exit(struct jffs2_sb_info *c); 180 void jffs2_sum_move_collected(struct jffs2_sb_info *c, struct jffs2_summary *s); 181 int jffs2_sum_add_kvec(struct jffs2_sb_info *c, const struct kvec *invecs, 183 int jffs2_sum_write_sumnode(struct jffs2_sb_info *c); 189 int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
|
H A D | background.c | 25 void jffs2_garbage_collect_trigger(struct jffs2_sb_info *c) 33 int jffs2_start_garbage_collect_thread(struct jffs2_sb_info *c) 58 void jffs2_stop_garbage_collect_thread(struct jffs2_sb_info *c) 74 struct jffs2_sb_info *c = _c;
|
H A D | compr.h | 71 uint16_t jffs2_compress(struct jffs2_sb_info *c, struct jffs2_inode_info *f, 75 int jffs2_decompress(struct jffs2_sb_info *c, struct jffs2_inode_info *f,
|
H A D | build.c | 20 static void jffs2_build_remove_unlinked_inode(struct jffs2_sb_info *, 24 first_inode_chain(int *i, struct jffs2_sb_info *c) 34 next_inode(int *i, struct jffs2_inode_cache *ic, struct jffs2_sb_info *c) 49 static void jffs2_build_inode_pass1(struct jffs2_sb_info *c, 93 static int jffs2_build_filesystem(struct jffs2_sb_info *c) 193 static void jffs2_build_remove_unlinked_inode(struct jffs2_sb_info *c, 266 static void jffs2_calc_trigger_levels(struct jffs2_sb_info *c) 328 int jffs2_do_mount_fs(struct jffs2_sb_info *c)
|
H A D | writev.c | 40 int jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, 60 int jffs2_flash_direct_write(struct jffs2_sb_info *c, loff_t ofs, size_t len,
|
H A D | wbuf.c | 45 static int jffs2_wbuf_pending_for_ino(struct jffs2_sb_info *c, uint32_t ino) 66 static void jffs2_clear_wbuf_ino_list(struct jffs2_sb_info *c) 82 static void jffs2_wbuf_dirties_inode(struct jffs2_sb_info *c, uint32_t ino) 105 static inline void jffs2_refile_wbuf_blocks(struct jffs2_sb_info *c) 137 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_empty) 176 static struct jffs2_raw_node_ref **jffs2_incore_replace_raw(struct jffs2_sb_info *c, 224 static int jffs2_verify_write(struct jffs2_sb_info *c, unsigned char *buf, 267 static void jffs2_wbuf_recover(struct jffs2_sb_info *c) 570 static int __jffs2_flush_wbuf(struct jffs2_sb_info *c, int pad) 690 int jffs2_flush_wbuf_gc(struct jffs2_sb_info * [all...] |
H A D | super.c | 59 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); 74 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); 148 struct jffs2_sb_info *c; 191 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); 225 struct jffs2_sb_info *c = JFFS2_SB_INFO(sb);
|
H A D | erase.c | 24 struct jffs2_sb_info *c; 30 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset); 31 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 32 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 34 static void jffs2_erase_block(struct jffs2_sb_info *c, 107 int jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count) 166 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) 179 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset) 229 static inline void jffs2_remove_node_refs_from_ino_list(struct jffs2_sb_info *c, 310 void jffs2_free_jeb_node_refs(struct jffs2_sb_info * [all...] |