Lines Matching refs:ubifs_info

55 static void do_calc_lpt_geom(struct ubifs_info *c)  in do_calc_lpt_geom()
134 int ubifs_calc_lpt_geom(struct ubifs_info *c) in ubifs_calc_lpt_geom()
171 static int calc_dflt_lpt_geom(struct ubifs_info *c, int *main_lebs, in calc_dflt_lpt_geom()
347 void ubifs_pack_pnode(struct ubifs_info *c, void *buf, in ubifs_pack_pnode()
380 void ubifs_pack_nnode(struct ubifs_info *c, void *buf, in ubifs_pack_nnode()
412 void ubifs_pack_ltab(struct ubifs_info *c, void *buf, in ubifs_pack_ltab()
437 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave()
459 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt()
476 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab()
491 void ubifs_add_nnode_dirt(struct ubifs_info *c, struct ubifs_nnode *nnode) in ubifs_add_nnode_dirt()
512 static void add_pnode_dirt(struct ubifs_info *c, struct ubifs_pnode *pnode) in add_pnode_dirt()
555 static int calc_nnode_num_from_parent(const struct ubifs_info *c, in calc_nnode_num_from_parent()
580 static int calc_pnode_num_from_parent(const struct ubifs_info *c, in calc_pnode_num_from_parent()
605 int ubifs_create_dflt_lpt(struct ubifs_info *c, int *main_lebs, int lpt_first, in ubifs_create_dflt_lpt()
866 static void update_cats(struct ubifs_info *c, struct ubifs_pnode *pnode) in update_cats()
890 static void replace_cats(struct ubifs_info *c, struct ubifs_pnode *old_pnode, in replace_cats()
911 static int check_lpt_crc(const struct ubifs_info *c, void *buf, int len) in check_lpt_crc()
938 static int check_lpt_type(const struct ubifs_info *c, uint8_t **addr, in check_lpt_type()
961 static int unpack_pnode(const struct ubifs_info *c, void *buf, in unpack_pnode()
998 int ubifs_unpack_nnode(const struct ubifs_info *c, void *buf, in ubifs_unpack_nnode()
1031 static int unpack_ltab(const struct ubifs_info *c, void *buf) in unpack_ltab()
1064 static int unpack_lsave(const struct ubifs_info *c, void *buf) in unpack_lsave()
1093 static int validate_nnode(const struct ubifs_info *c, struct ubifs_nnode *nnode, in validate_nnode()
1137 static int validate_pnode(const struct ubifs_info *c, struct ubifs_pnode *pnode, in validate_pnode()
1171 static void set_pnode_lnum(const struct ubifs_info *c, in set_pnode_lnum()
1192 int ubifs_read_nnode(struct ubifs_info *c, struct ubifs_nnode *parent, int iip) in ubifs_read_nnode()
1260 static int read_pnode(struct ubifs_info *c, struct ubifs_nnode *parent, int iip) in read_pnode()
1325 static int read_ltab(struct ubifs_info *c) in read_ltab()
1349 static int read_lsave(struct ubifs_info *c) in read_lsave()
1395 struct ubifs_nnode *ubifs_get_nnode(struct ubifs_info *c, in ubifs_get_nnode()
1421 struct ubifs_pnode *ubifs_get_pnode(struct ubifs_info *c, in ubifs_get_pnode()
1447 struct ubifs_lprops *ubifs_lpt_lookup(struct ubifs_info *c, int lnum) in ubifs_lpt_lookup()
1486 static struct ubifs_nnode *dirty_cow_nnode(struct ubifs_info *c, in dirty_cow_nnode()
1538 static struct ubifs_pnode *dirty_cow_pnode(struct ubifs_info *c, in dirty_cow_pnode()
1580 struct ubifs_lprops *ubifs_lpt_lookup_dirty(struct ubifs_info *c, int lnum) in ubifs_lpt_lookup_dirty()
1628 static int lpt_init_rd(struct ubifs_info *c) in lpt_init_rd()
1691 static int lpt_init_wr(struct ubifs_info *c) in lpt_init_wr()
1735 int ubifs_lpt_init(struct ubifs_info *c, int rd, int wr) in ubifs_lpt_init()
1800 static struct ubifs_nnode *scan_get_nnode(struct ubifs_info *c, in scan_get_nnode()
1859 static struct ubifs_pnode *scan_get_pnode(struct ubifs_info *c, in scan_get_pnode()
1928 int ubifs_lpt_scan_nolock(struct ubifs_info *c, int start_lnum, int end_lnum, in ubifs_lpt_scan_nolock()
2100 static int dbg_chk_pnode(struct ubifs_info *c, struct ubifs_pnode *pnode, in dbg_chk_pnode()
2230 int dbg_check_lpt_nodes(struct ubifs_info *c, struct ubifs_cnode *cnode, in dbg_check_lpt_nodes()