Lines Matching refs:ubifs_info

33 static int dbg_populate_lsave(struct ubifs_info *c);
42 static struct ubifs_cnode *first_dirty_cnode(const struct ubifs_info *c, struct ubifs_nnode *nnode) in first_dirty_cnode()
73 static struct ubifs_cnode *next_dirty_cnode(const struct ubifs_info *c, struct ubifs_cnode *cnode) in next_dirty_cnode()
100 static int get_cnodes_to_commit(struct ubifs_info *c) in get_cnodes_to_commit()
141 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab()
161 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb()
194 static int layout_cnodes(struct ubifs_info *c) in layout_cnodes()
345 static int realloc_lpt_leb(struct ubifs_info *c, int *lnum) in realloc_lpt_leb()
372 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()
866 static struct ubifs_nnode *nnode_lookup(struct ubifs_info *c, int i) in nnode_lookup()
904 static int make_nnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_nnode_dirty()
953 static int make_pnode_dirty(struct ubifs_info *c, int node_num, int lnum, in make_pnode_dirty()
983 static int make_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in make_ltab_dirty()
1008 static int make_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in make_lsave_dirty()
1035 static int make_node_dirty(struct ubifs_info *c, int node_type, int node_num, in make_node_dirty()
1056 static int get_lpt_node_len(const struct ubifs_info *c, int node_type) in get_lpt_node_len()
1077 static int get_pad_len(const struct ubifs_info *c, uint8_t *buf, int len) in get_pad_len()
1094 static int get_lpt_node_type(const struct ubifs_info *c, uint8_t *buf, in get_lpt_node_type()
1113 static int is_a_node(const struct ubifs_info *c, uint8_t *buf, int len) in is_a_node()
1149 static int lpt_gc_lnum(struct ubifs_info *c, int lnum) in lpt_gc_lnum()
1194 static int lpt_gc(struct ubifs_info *c) in lpt_gc()
1225 int ubifs_lpt_start_commit(struct ubifs_info *c) in ubifs_lpt_start_commit()
1296 static void free_obsolete_cnodes(struct ubifs_info *c) in free_obsolete_cnodes()
1323 int ubifs_lpt_end_commit(struct ubifs_info *c) in ubifs_lpt_end_commit()
1350 int ubifs_lpt_post_commit(struct ubifs_info *c) in ubifs_lpt_post_commit()
1379 static struct ubifs_nnode *first_nnode(struct ubifs_info *c, int *hght) in first_nnode()
1413 static struct ubifs_nnode *next_nnode(struct ubifs_info *c, in next_nnode()
1456 void ubifs_lpt_free(struct ubifs_info *c, int wr_only) in ubifs_lpt_free()
1516 static int dbg_is_nnode_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_nnode_dirty()
1551 static int dbg_is_pnode_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_pnode_dirty()
1580 static int dbg_is_ltab_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_ltab_dirty()
1593 static int dbg_is_lsave_dirty(struct ubifs_info *c, int lnum, int offs) in dbg_is_lsave_dirty()
1607 static int dbg_is_node_dirty(struct ubifs_info *c, int node_type, int lnum, in dbg_is_node_dirty()
1630 static int dbg_check_ltab_lnum(struct ubifs_info *c, int lnum) in dbg_check_ltab_lnum()
1701 int dbg_check_ltab(struct ubifs_info *c) in dbg_check_ltab()
1743 int dbg_chk_lpt_free_spc(struct ubifs_info *c) in dbg_chk_lpt_free_spc()
1784 int dbg_chk_lpt_sz(struct ubifs_info *c, int action, int len) in dbg_chk_lpt_sz()
1882 static void dump_lpt_leb(const struct ubifs_info *c, int lnum) in dump_lpt_leb()
1986 void ubifs_dump_lpt_lebs(const struct ubifs_info *c) in ubifs_dump_lpt_lebs()
2005 static int dbg_populate_lsave(struct ubifs_info *c) in dbg_populate_lsave()