Lines Matching refs:ubifs_info

31 static int dbg_populate_lsave(struct ubifs_info *c);
98 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit()
139 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab()
159 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb()
192 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes()
344 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb()
371 static int write_cnodes(struct ubifs_info *c) in write_cnodes()
564 static struct ubifs_pnode *next_pnode_to_dirty(struct ubifs_info *c, in next_pnode_to_dirty()
629 static struct ubifs_pnode *pnode_lookup(struct ubifs_info *c, int i) in pnode_lookup()
658 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt()
669 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty()
701 static int make_tree_dirty(struct ubifs_info *c) in make_tree_dirty()
725 static int need_write_all(struct ubifs_info *c) in need_write_all()
752 static void lpt_tgc_start(struct ubifs_info *c) in lpt_tgc_start()
778 static int lpt_tgc_end(struct ubifs_info *c) in lpt_tgc_end()
805 static void populate_lsave(struct ubifs_info *c) in populate_lsave()
868 static struct ubifs_nnode *nnode_lookup(struct ubifs_info *c, int i) in nnode_lookup()
906 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_nnode_dirty()
955 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_pnode_dirty()
985 static int make_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in make_ltab_dirty()
1010 static int make_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in make_lsave_dirty()
1037 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty()
1058 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len()
1079 static int get_pad_len(const struct ubifs_info *c, uint8_t *buf, int len) in get_pad_len()
1096 static int get_lpt_node_type(const struct ubifs_info *c, uint8_t *buf, in get_lpt_node_type()
1115 static int is_a_node(const struct ubifs_info *c, uint8_t *buf, int len) in is_a_node()
1151 static int lpt_gc_lnum(struct ubifs_info *c, int lnum) in lpt_gc_lnum()
1196 static int lpt_gc(struct ubifs_info *c) in lpt_gc()
1227 int ubifs_lpt_start_commit(struct ubifs_info *c) in ubifs_lpt_start_commit()
1298 static void free_obsolete_cnodes(struct ubifs_info *c) in free_obsolete_cnodes()
1326 int ubifs_lpt_end_commit(struct ubifs_info *c) in ubifs_lpt_end_commit()
1354 int ubifs_lpt_post_commit(struct ubifs_info *c) in ubifs_lpt_post_commit()
1383 static struct ubifs_nnode *first_nnode(struct ubifs_info *c, int *hght) in first_nnode()
1417 static struct ubifs_nnode *next_nnode(struct ubifs_info *c, in next_nnode()
1460 void ubifs_lpt_free(struct ubifs_info *c, int wr_only) in ubifs_lpt_free()
1521 static int dbg_is_nnode_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_nnode_dirty()
1556 static int dbg_is_pnode_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_pnode_dirty()
1585 static int dbg_is_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_ltab_dirty()
1598 static int dbg_is_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_lsave_dirty()
1612 static int dbg_is_node_dirty(struct ubifs_info *c, int node_type, int lnum, in dbg_is_node_dirty()
1636 static int dbg_check_ltab_lnum(struct ubifs_info *c, int lnum) in dbg_check_ltab_lnum()
1707 int dbg_check_ltab(struct ubifs_info *c) in dbg_check_ltab()
1749 int dbg_chk_lpt_free_spc(struct ubifs_info *c) in dbg_chk_lpt_free_spc()
1790 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) in dbg_chk_lpt_sz()
1888 static void dump_lpt_leb(const struct ubifs_info *c, int lnum) in dump_lpt_leb()
1992 void ubifs_dump_lpt_lebs(const struct ubifs_info *c) in ubifs_dump_lpt_lebs()
2011 static int dbg_populate_lsave(struct ubifs_info *c) in dbg_populate_lsave()