Home
last modified time | relevance | path

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

/linux-3.4.99/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.h174 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);
Derase.c25 struct jffs2_eraseblock *jeb;
32 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_…
33 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
34 static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
37 struct jffs2_eraseblock *jeb) in jffs2_erase_block()
114 struct jffs2_eraseblock *jeb; in jffs2_erase_pending_blocks()
125 jeb = list_entry(c->erase_complete_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks()
138 jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks()
172 static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_erase_succeeded()
185 static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_… in jffs2_erase_failed()
[all …]
Dnodelist.h273 struct jffs2_eraseblock struct
294 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc() argument
372 struct jffs2_eraseblock *jeb,
376 struct jffs2_eraseblock *jeb,
432 struct jffs2_eraseblock *jeb, int nr);
460 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
461 int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t size);
468 void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
474 int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
475 int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
Djffs2_fs_sb.h84 struct jffs2_eraseblock *blocks; /* The whole array of blocks. Used for getting blocks
86 struct jffs2_eraseblock *nextblock; /* The block we're currently filling */
88 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.h117 int jffs2_check_oob_empty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,int mode);
118 int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
119 int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
120 int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_o…
Dnodemgmt.c201 static void jffs2_close_nextblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_close_nextblock()
248 struct jffs2_eraseblock *ejeb; in jffs2_find_nextblock()
250 ejeb = list_entry(c->erasable_list.next, struct jffs2_eraseblock, list); in jffs2_find_nextblock()
294 c->nextblock = list_entry(next, struct jffs2_eraseblock, list); in jffs2_find_nextblock()
315 struct jffs2_eraseblock *jeb = c->nextblock; in jffs2_do_reserve_space()
462 struct jffs2_eraseblock *jeb; in jffs2_add_physical_node_ref()
539 struct jffs2_eraseblock *jeb; in jffs2_mark_node_obsolete()
800 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()
307 int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb) in jffs2_scan_classify_jeb()
327 static int jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xattr_node()
383 static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_xref_node()
442 static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_eraseblock()
980 static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_inode_node()
[all …]
Dwbuf.c116 struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list); in jffs2_refile_wbuf_blocks()
140 static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_emp… in jffs2_block_refile()
276 struct jffs2_eraseblock *jeb, *new_jeb; in jffs2_wbuf_recover()
581 struct jffs2_eraseblock *wbuf_jeb; in __jffs2_flush_wbuf()
797 struct jffs2_eraseblock *jeb; in jffs2_flash_writev()
1033 struct jffs2_eraseblock *jeb, int mode) in jffs2_check_oob_empty()
1076 struct jffs2_eraseblock *jeb) in jffs2_check_nand_cleanmarker()
1100 struct jffs2_eraseblock *jeb) in jffs2_write_nand_cleanmarker()
1132 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()
849 struct jffs2_eraseblock *jeb; in jffs2_sum_write_sumnode()
Dnodelist.c610 struct jffs2_eraseblock *jeb, in jffs2_link_node_ref()
686 int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, in jffs2_scan_dirty_space()
717 struct jffs2_eraseblock *jeb, in __ref_totlen()
742 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.c211 struct jffs2_eraseblock *jeb, int nr) in jffs2_prealloc_raw_node_refs()
Dbuild.c338 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()
623 struct jffs2_eraseblock *jeb; in read_direntry()
813 struct jffs2_eraseblock *jeb; in read_dnode()
Dxattr.c132 struct jffs2_eraseblock *jeb; in do_verify_xattr_datum()
441 struct jffs2_eraseblock *jeb; in verify_xattr_ref()
1277 struct jffs2_eraseblock *jeb; in jffs2_verify_xattr()