Lines Matching refs:ubifs_info
25 static int try_read_node(const struct ubifs_info *c, void *buf, int type,
27 static int fallible_read_node(struct ubifs_info *c, const union ubifs_key *key,
47 static void do_insert_old_idx(struct ubifs_info *c,
98 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs)
119 int insert_old_idx_znode(struct ubifs_info *c, struct ubifs_znode *znode)
141 static int ins_clr_old_idx_znode(struct ubifs_info *c,
180 void destroy_old_idx(struct ubifs_info *c)
197 static struct ubifs_znode *copy_znode(struct ubifs_info *c,
221 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt)
236 static void replace_znode(struct ubifs_info *c, struct ubifs_znode *new_zn,
270 static struct ubifs_znode *dirty_cow_znode(struct ubifs_info *c,
343 static int lnc_add(struct ubifs_info *c, struct ubifs_zbranch *zbr,
379 static int lnc_add_directly(struct ubifs_info *c, struct ubifs_zbranch *zbr,
421 static int tnc_read_hashed_node(struct ubifs_info *c, struct ubifs_zbranch *zbr,
478 static int try_read_node(const struct ubifs_info *c, void *buf, int type,
534 static int fallible_read_node(struct ubifs_info *c, const union ubifs_key *key,
568 static int matches_name(struct ubifs_info *c, struct ubifs_zbranch *zbr,
618 static struct ubifs_znode *get_znode(struct ubifs_info *c,
640 static int tnc_next(struct ubifs_info *c, struct ubifs_znode **zn, int *n)
685 static int tnc_prev(struct ubifs_info *c, struct ubifs_znode **zn, int *n)
737 static int resolve_collision(struct ubifs_info *c, const union ubifs_key *key,
855 static int fallible_matches_name(struct ubifs_info *c,
925 static int fallible_resolve_collision(struct ubifs_info *c,
1070 static int resolve_collision_directly(struct ubifs_info *c,
1127 static struct ubifs_znode *dirty_cow_bottom_up(struct ubifs_info *c,
1207 int ubifs_lookup_level0(struct ubifs_info *c, const union ubifs_key *key,
1343 static int lookup_level0_dirty(struct ubifs_info *c, const union ubifs_key *key,
1439 static int maybe_leb_gced(struct ubifs_info *c, int lnum, int gc_seq1)
1478 int ubifs_tnc_locate(struct ubifs_info *c, const union ubifs_key *key,
1552 int ubifs_tnc_get_bu_keys(struct ubifs_info *c, struct bu_info *bu)
1687 const struct ubifs_info *c = wbuf->c;
1727 static int validate_data_node(struct ubifs_info *c, void *buf,
1789 int ubifs_tnc_bulk_read(struct ubifs_info *c, struct bu_info *bu)
1846 static int do_lookup_nm(struct ubifs_info *c, const union ubifs_key *key,
1894 int ubifs_tnc_lookup_nm(struct ubifs_info *c, const union ubifs_key *key,
1920 static int search_dh_cookie(struct ubifs_info *c, const union ubifs_key *key,
1960 static int do_lookup_dh(struct ubifs_info *c, const union ubifs_key *key,
1997 int ubifs_tnc_lookup_dh(struct ubifs_info *c, const union ubifs_key *key,
2033 static void correct_parent_keys(const struct ubifs_info *c,
2066 static void insert_zbranch(struct ubifs_info *c, struct ubifs_znode *znode,
2118 static int tnc_insert(struct ubifs_info *c, struct ubifs_znode *znode,
2311 int ubifs_tnc_add(struct ubifs_info *c, const union ubifs_key *key, int lnum,
2362 int ubifs_tnc_replace(struct ubifs_info *c, const union ubifs_key *key,
2446 int ubifs_tnc_add_nm(struct ubifs_info *c, const union ubifs_key *key,
2540 static int tnc_delete(struct ubifs_info *c, struct ubifs_znode *znode, int n)
2653 int ubifs_tnc_remove(struct ubifs_info *c, const union ubifs_key *key)
2683 int ubifs_tnc_remove_nm(struct ubifs_info *c, const union ubifs_key *key,
2732 int ubifs_tnc_remove_dh(struct ubifs_info *c, const union ubifs_key *key,
2801 static int key_in_range(struct ubifs_info *c, union ubifs_key *key,
2821 int ubifs_tnc_remove_range(struct ubifs_info *c, union ubifs_key *from_key,
2903 int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum)
2988 struct ubifs_dent_node *ubifs_tnc_next_ent(struct ubifs_info *c,
3080 static void tnc_destroy_cnext(struct ubifs_info *c)
3116 void ubifs_tnc_close(struct ubifs_info *c)
3140 static struct ubifs_znode *left_znode(struct ubifs_info *c,
3177 static struct ubifs_znode *right_znode(struct ubifs_info *c,
3230 static struct ubifs_znode *lookup_znode(struct ubifs_info *c,
3359 int is_idx_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int level,
3386 static int is_leaf_node_in_tnc(struct ubifs_info *c, union ubifs_key *key,
3456 int ubifs_tnc_has_node(struct ubifs_info *c, union ubifs_key *key, int level,
3496 int ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level,
3532 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode,