Lines Matching refs:ubifs_info
21 static int dbg_populate_lsave(struct ubifs_info *c);
30 static struct ubifs_cnode *first_dirty_cnode(const struct ubifs_info *c, struct ubifs_nnode *nnode) in first_dirty_cnode()
61 static struct ubifs_cnode *next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) in next_dirty_cnode()
88 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit()
129 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab()
149 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb()
182 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes()
333 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb()
360 static int write_cnodes(struct ubifs_info *c) in write_cnodes()
552 static struct ubifs_pnode *next_pnode_to_dirty(struct ubifs_info *c, in next_pnode_to_dirty()
614 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt()
625 static void do_make_pnode_dirty(struct ubifs_info *c, struct ubifs_pnode *pnode) in do_make_pnode_dirty()
657 static int make_tree_dirty(struct ubifs_info *c) in make_tree_dirty()
681 static int need_write_all(struct ubifs_info *c) in need_write_all()
708 static void lpt_tgc_start(struct ubifs_info *c) in lpt_tgc_start()
734 static int lpt_tgc_end(struct ubifs_info *c) in lpt_tgc_end()
761 static void populate_lsave(struct ubifs_info *c) in populate_lsave()
822 static struct ubifs_nnode *nnode_lookup(struct ubifs_info *c, int i) in nnode_lookup()
860 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_nnode_dirty()
909 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_pnode_dirty()
939 static int make_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in make_ltab_dirty()
964 static int make_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in make_lsave_dirty()
991 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty()
1012 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len()
1033 static int get_pad_len(const struct ubifs_info *c, uint8_t *buf, int len) in get_pad_len()
1050 static int get_lpt_node_type(const struct ubifs_info *c, uint8_t *buf, in get_lpt_node_type()
1069 static int is_a_node(const struct ubifs_info *c, uint8_t *buf, int len) in is_a_node()
1105 static int lpt_gc_lnum(struct ubifs_info *c, int lnum) in lpt_gc_lnum()
1150 static int lpt_gc(struct ubifs_info *c) in lpt_gc()
1181 int ubifs_lpt_start_commit(struct ubifs_info *c) in ubifs_lpt_start_commit()
1256 static void free_obsolete_cnodes(struct ubifs_info *c) in free_obsolete_cnodes()
1283 int ubifs_lpt_end_commit(struct ubifs_info *c) in ubifs_lpt_end_commit()
1310 int ubifs_lpt_post_commit(struct ubifs_info *c) in ubifs_lpt_post_commit()
1339 static struct ubifs_nnode *first_nnode(struct ubifs_info *c, int *hght) in first_nnode()
1373 static struct ubifs_nnode *next_nnode(struct ubifs_info *c, in next_nnode()
1416 void ubifs_lpt_free(struct ubifs_info *c, int wr_only) in ubifs_lpt_free()
1476 static int dbg_is_nnode_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_nnode_dirty()
1511 static int dbg_is_pnode_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_pnode_dirty()
1540 static int dbg_is_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_ltab_dirty()
1553 static int dbg_is_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_lsave_dirty()
1567 static int dbg_is_node_dirty(struct ubifs_info *c, int node_type, int lnum, in dbg_is_node_dirty()
1590 static int dbg_check_ltab_lnum(struct ubifs_info *c, int lnum) in dbg_check_ltab_lnum()
1661 int dbg_check_ltab(struct ubifs_info *c) in dbg_check_ltab()
1703 int dbg_chk_lpt_free_spc(struct ubifs_info *c) in dbg_chk_lpt_free_spc()
1744 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) in dbg_chk_lpt_sz()
1842 static void dump_lpt_leb(const struct ubifs_info *c, int lnum) in dump_lpt_leb()
1946 void ubifs_dump_lpt_lebs(const struct ubifs_info *c) in ubifs_dump_lpt_lebs()
1965 static int dbg_populate_lsave(struct ubifs_info *c) in dbg_populate_lsave()