Home
last modified time | relevance | path

Searched refs:jffs2_eraseblock (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/fs/jffs2/
Ddebug.c29 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 …]
Ddebug.h175 struct jffs2_eraseblock *jeb);
178 struct jffs2_eraseblock *jeb);
187 struct jffs2_eraseblock *jeb);
190 struct jffs2_eraseblock *jeb);
197 __jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
199 __jffs2_dbg_dump_jeb_nolock(struct jffs2_eraseblock *jeb);
206 struct jffs2_eraseblock *jeb);
209 struct jffs2_eraseblock *jeb);
Derase.c24 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()
101 struct jffs2_eraseblock *jeb; in jffs2_erase_pending_blocks()
112 jeb = list_entry(c->erase_complete_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks()
125 jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks()
159 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_erase_succeeded()
172 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_… in jffs2_erase_failed()
207 struct jffs2_raw_node_ref *ref, struct jffs2_eraseblock *jeb) in jffs2_remove_node_refs_from_ino_list()
[all …]
Dnodelist.h277 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);
Djffs2_fs_sb.h92 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 */
Dgc.c28 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 …]
Dos-linux.h119 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…
Dnodemgmt.c243 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()
Dscan.c39 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()
310 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_scan_classify_jeb()
330 static int jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xattr_node()
386 static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xref_node()
445 static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_eraseblock()
991 static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_inode_node()
[all …]
Dwbuf.c117 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()
Dsummary.c252 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()
Dnodelist.c586 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()
Dsummary.h189 int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
Dmalloc.c202 struct jffs2_eraseblock *jeb, int nr) in jffs2_prealloc_raw_node_refs()
Dbuild.c378 size = sizeof(struct jffs2_eraseblock) * c->nr_blocks; in jffs2_do_mount_fs()
Dwrite.c131 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()
Dreadinode.c35 struct jffs2_eraseblock *jeb; in check_node_data()
606 struct jffs2_eraseblock *jeb; in read_direntry()
816 struct jffs2_eraseblock *jeb; in read_dnode()
Dxattr.c135 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()