jffs2_eraseblock
size = sizeof(struct jffs2_eraseblock) * c->nr_blocks;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb)
__jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
__jffs2_dbg_dump_jeb_nolock(struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb);
struct jffs2_eraseblock *jeb);
struct jffs2_eraseblock *jeb);
struct jffs2_eraseblock *jeb);
__jffs2_dbg_dump_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
__jffs2_dbg_dump_jeb_nolock(struct jffs2_eraseblock *jeb);
struct jffs2_eraseblock *jeb);
struct jffs2_eraseblock *jeb);
struct jffs2_eraseblock *jeb;
jeb = list_entry(c->erase_complete_list.next, struct jffs2_eraseblock, list);
jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list);
static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset)
struct jffs2_raw_node_ref *ref, struct jffs2_eraseblock *jeb)
static void jffs2_erase_failed(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset);
static void jffs2_erase_succeeded(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb)
static int jffs2_block_check_erase(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t *bad_offset)
static void jffs2_mark_erased_block(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
static int jffs2_garbage_collect_hole(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_dnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *orig_jeb,
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
static int jffs2_garbage_collect_metadata(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_deletion_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_hole(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_dnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_live(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static struct jffs2_eraseblock *jffs2_find_gc_block(struct jffs2_sb_info *c)
struct jffs2_eraseblock *ret;
static int jffs2_garbage_collect_live(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb = &c->blocks[phys_ofs / c->sector_size];
static int jffs2_garbage_collect_metadata(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_garbage_collect_deletion_dirent(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
ret = list_entry(nextlist->next, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *blocks; /* The whole array of blocks. Used for getting blocks
struct jffs2_eraseblock *nextblock; /* The block we're currently filling */
struct jffs2_eraseblock *gcblock; /* The block we're currently garbage-collecting */
struct jffs2_eraseblock *jeb, int nr)
struct jffs2_eraseblock *jeb,
int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb,
uint32_t __jffs2_ref_totlen(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024);
struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb, int nr);
int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
int jffs2_scan_dirty_space(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t size);
void jffs2_free_jeb_node_refs(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
static void jffs2_close_nextblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *ejeb;
ejeb = list_entry(c->erasable_list.next, struct jffs2_eraseblock, list);
c->nextblock = list_entry(next, struct jffs2_eraseblock, list);
struct jffs2_eraseblock *jeb = c->nextblock;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
int jffs2_check_oob_empty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,int mode);
int jffs2_check_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
int jffs2_write_nand_cleanmarker(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb);
int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset);
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
static int jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb = &c->blocks[i];
int jffs2_scan_classify_jeb(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
static int jffs2_scan_xattr_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_scan_xref_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_scan_eraseblock (struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_scan_dirent_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int file_dirty(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb)
static int jffs2_scan_inode_node(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb,
static int jffs2_sum_process_sum_data(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
static int jffs2_sum_write_data(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb;
int jffs2_sum_scan_sumnode(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb,
struct jffs2_eraseblock *jeb, int mode)
struct jffs2_eraseblock *jeb)
struct jffs2_eraseblock *jeb)
int jffs2_write_nand_badblock(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, uint32_t bad_offset)
struct jffs2_eraseblock *jeb = list_entry(this, struct jffs2_eraseblock, list);
static void jffs2_block_refile(struct jffs2_sb_info *c, struct jffs2_eraseblock *jeb, int allow_empty)
struct jffs2_eraseblock *jeb, *new_jeb;
struct jffs2_eraseblock *wbuf_jeb;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb = &c->blocks[flash_ofs / c->sector_size];
struct jffs2_eraseblock *jeb = &c->blocks[flash_ofs / c->sector_size];
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;
struct jffs2_eraseblock *jeb;