/kernel/linux/linux-5.10/fs/jffs2/ |
D | debug.c | 29 struct jffs2_eraseblock *jeb) in __jffs2_dbg_acct_sanity_check_nolock() 53 struct jffs2_eraseblock *jeb) in __jffs2_dbg_acct_sanity_check() 162 struct jffs2_eraseblock *jeb; in __jffs2_dbg_superblock_counts() 302 struct jffs2_eraseblock *jeb) in __jffs2_dbg_acct_paranoia_check() 311 struct jffs2_eraseblock *jeb) in __jffs2_dbg_acct_paranoia_check_nolock() 393 struct jffs2_eraseblock *jeb) in __jffs2_dbg_dump_node_refs() 402 struct jffs2_eraseblock *jeb) in __jffs2_dbg_dump_node_refs_nolock() 435 __jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in __jffs2_dbg_dump_jeb() 443 __jffs2_dbg_dump_jeb_nolock(struct jffs2_eraseblock *jeb) in __jffs2_dbg_dump_jeb_nolock() 506 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in __jffs2_dbg_dump_block_lists_nolock() [all …]
|
D | debug.h | 174 struct jffs2_eraseblock *jeb); 177 struct jffs2_eraseblock *jeb); 186 struct jffs2_eraseblock *jeb); 189 struct jffs2_eraseblock *jeb); 196 __jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 198 __jffs2_dbg_dump_jeb_nolock(struct jffs2_eraseblock *jeb); 205 struct jffs2_eraseblock *jeb); 208 struct jffs2_eraseblock *jeb);
|
D | erase.c | 24 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_… 25 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 26 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 29 struct jffs2_eraseblock *jeb) in jffs2_erase_block() 103 struct jffs2_eraseblock *jeb; in jffs2_erase_pending_blocks() 114 jeb = list_entry(c->erase_complete_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks() 127 jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks() 161 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_erase_succeeded() 174 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_… in jffs2_erase_failed() 209 struct jffs2_raw_node_ref *ref, struct jffs2_eraseblock *jeb) in jffs2_remove_node_refs_from_ino_list() [all …]
|
D | nodelist.h | 277 struct jffs2_eraseblock struct 298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc() argument 376 struct jffs2_eraseblock *jeb, 380 struct jffs2_eraseblock *jeb, 436 struct jffs2_eraseblock *jeb, int nr); 464 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 465 int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t size); 472 void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 478 int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 479 int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
|
D | jffs2_fs_sb.h | 92 struct jffs2_eraseblock *blocks; /* The whole array of blocks. Used for getting blocks 94 struct jffs2_eraseblock *nextblock; /* The block we're currently filling */ 96 struct jffs2_eraseblock *gcblock; /* The block we're currently garbage-collecting */
|
D | gc.c | 28 static int jffs2_garbage_collect_metadata(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 30 static int jffs2_garbage_collect_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 32 static int jffs2_garbage_collect_deletion_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *… 34 static int jffs2_garbage_collect_hole(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 37 static int jffs2_garbage_collect_dnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 40 static int jffs2_garbage_collect_live(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 44 static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c) in jffs2_find_gc_block() 46 struct jffs2_eraseblock *ret; in jffs2_find_gc_block() 97 ret = list_entry(nextlist->next, struct jffs2_eraseblock, list); in jffs2_find_gc_block() 128 struct jffs2_eraseblock *jeb; in jffs2_garbage_collect_pass() [all …]
|
D | os-linux.h | 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_o…
|
D | nodemgmt.c | 243 static void jffs2_close_nextblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_close_nextblock() 290 struct jffs2_eraseblock *ejeb; in jffs2_find_nextblock() 292 ejeb = list_entry(c->erasable_list.next, struct jffs2_eraseblock, list); in jffs2_find_nextblock() 336 c->nextblock = list_entry(next, struct jffs2_eraseblock, list); in jffs2_find_nextblock() 357 struct jffs2_eraseblock *jeb = c->nextblock; in jffs2_do_reserve_space() 504 struct jffs2_eraseblock *jeb; in jffs2_add_physical_node_ref() 581 struct jffs2_eraseblock *jeb; in jffs2_mark_node_obsolete() 842 struct jffs2_eraseblock *jeb; in jffs2_thread_should_wake()
|
D | scan.c | 39 static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 46 static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 48 static int jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, 69 static int file_dirty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in file_dirty() 144 struct jffs2_eraseblock *jeb = &c->blocks[i]; in jffs2_scan_medium() 308 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_scan_classify_jeb() 328 static int jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xattr_node() 384 static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xref_node() 443 static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_eraseblock() 989 static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_inode_node() [all …]
|
D | wbuf.c | 117 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_refile_wbuf_blocks() 141 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_emp… in jffs2_block_refile() 277 struct jffs2_eraseblock *jeb, *new_jeb; in jffs2_wbuf_recover() 582 struct jffs2_eraseblock *wbuf_jeb; in __jffs2_flush_wbuf() 798 struct jffs2_eraseblock *jeb; in jffs2_flash_writev() 1034 struct jffs2_eraseblock *jeb, int mode) in jffs2_check_oob_empty() 1077 struct jffs2_eraseblock *jeb) in jffs2_check_nand_cleanmarker() 1101 struct jffs2_eraseblock *jeb) in jffs2_write_nand_cleanmarker() 1133 int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_o… in jffs2_write_nand_badblock()
|
D | summary.c | 252 struct jffs2_eraseblock *jeb; in jffs2_sum_add_kvec() 371 struct jffs2_eraseblock *jeb, in sum_link_node_ref() 386 static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_sum_process_sum_data() 572 int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_sum_scan_sumnode() 674 static int jffs2_sum_write_data(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_sum_write_data() 853 struct jffs2_eraseblock *jeb; in jffs2_sum_write_sumnode()
|
D | nodelist.c | 586 struct jffs2_eraseblock *jeb, in jffs2_link_node_ref() 662 int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_dirty_space() 693 struct jffs2_eraseblock *jeb, in __ref_totlen() 718 uint32_t __jffs2_ref_totlen(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in __jffs2_ref_totlen()
|
D | summary.h | 189 int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
|
D | malloc.c | 202 struct jffs2_eraseblock *jeb, int nr) in jffs2_prealloc_raw_node_refs()
|
D | build.c | 378 size = sizeof(struct jffs2_eraseblock) * c->nr_blocks; in jffs2_do_mount_fs()
|
D | write.c | 131 struct jffs2_eraseblock *jeb = &c->blocks[flash_ofs / c->sector_size]; in jffs2_write_dnode() 283 struct jffs2_eraseblock *jeb = &c->blocks[flash_ofs / c->sector_size]; in jffs2_write_dirent()
|
D | readinode.c | 35 struct jffs2_eraseblock *jeb; in check_node_data() 606 struct jffs2_eraseblock *jeb; in read_direntry() 816 struct jffs2_eraseblock *jeb; in read_dnode()
|
D | xattr.c | 135 struct jffs2_eraseblock *jeb; in do_verify_xattr_datum() 446 struct jffs2_eraseblock *jeb; in verify_xattr_ref() 1292 struct jffs2_eraseblock *jeb; in jffs2_verify_xattr()
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 622 - size = sizeof(struct jffs2_eraseblock) * c->nr_blocks; 625 + size = sizeof(struct jffs2_eraseblock) *(c->nr_blocks + device->blockStart); 2146 + struct jffs2_eraseblock *jeb; 2150 …static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad… 2151 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb); 2153 struct jffs2_eraseblock *jeb) 2212 …static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad… 3578 static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c) 3580 - struct jffs2_eraseblock *ret; 3581 + struct jffs2_eraseblock *ret = NULL; [all …]
|