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,
70 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx()
111 int insert_old_idx_znode(struct ubifs_info *c, struct ubifs_znode *znode) in insert_old_idx_znode()
133 static int ins_clr_old_idx_znode(struct ubifs_info *c, in ins_clr_old_idx_znode()
172 void destroy_old_idx(struct ubifs_info *c) in destroy_old_idx()
189 static struct ubifs_znode *copy_znode(struct ubifs_info *c, in copy_znode()
230 static int add_idx_dirt(struct ubifs_info *c, int lnum, int dirt) in add_idx_dirt()
243 static struct ubifs_znode *dirty_cow_znode(struct ubifs_info *c, in dirty_cow_znode()
305 static int lnc_add(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add()
341 static int lnc_add_directly(struct ubifs_info *c, struct ubifs_zbranch *zbr, in lnc_add_directly()
383 static int tnc_read_hashed_node(struct ubifs_info *c, struct ubifs_zbranch *zbr, in tnc_read_hashed_node()
440 static int try_read_node(const struct ubifs_info *c, void *buf, int type, in try_read_node()
496 static int fallible_read_node(struct ubifs_info *c, const union ubifs_key *key, in fallible_read_node()
530 static int matches_name(struct ubifs_info *c, struct ubifs_zbranch *zbr, in matches_name()
580 static struct ubifs_znode *get_znode(struct ubifs_info *c, in get_znode()
602 static int tnc_next(struct ubifs_info *c, struct ubifs_znode **zn, int *n) in tnc_next()
647 static int tnc_prev(struct ubifs_info *c, struct ubifs_znode **zn, int *n) in tnc_prev()
699 static int resolve_collision(struct ubifs_info *c, const union ubifs_key *key, in resolve_collision()
817 static int fallible_matches_name(struct ubifs_info *c, in fallible_matches_name()
887 static int fallible_resolve_collision(struct ubifs_info *c, in fallible_resolve_collision()
1032 static int resolve_collision_directly(struct ubifs_info *c, in resolve_collision_directly()
1089 static struct ubifs_znode *dirty_cow_bottom_up(struct ubifs_info *c, in dirty_cow_bottom_up()
1169 int ubifs_lookup_level0(struct ubifs_info *c, const union ubifs_key *key, in ubifs_lookup_level0()
1305 static int lookup_level0_dirty(struct ubifs_info *c, const union ubifs_key *key, in lookup_level0_dirty()
1401 static int maybe_leb_gced(struct ubifs_info *c, int lnum, int gc_seq1) in maybe_leb_gced()
1440 int ubifs_tnc_locate(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_locate()
1514 int ubifs_tnc_get_bu_keys(struct ubifs_info *c, struct bu_info *bu) in ubifs_tnc_get_bu_keys()
1649 const struct ubifs_info *c = wbuf->c; in read_wbuf()
1689 static int validate_data_node(struct ubifs_info *c, void *buf, in validate_data_node()
1751 int ubifs_tnc_bulk_read(struct ubifs_info *c, struct bu_info *bu) in ubifs_tnc_bulk_read()
1808 static int do_lookup_nm(struct ubifs_info *c, const union ubifs_key *key, in do_lookup_nm()
1856 int ubifs_tnc_lookup_nm(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_lookup_nm()
1882 static int search_dh_cookie(struct ubifs_info *c, const union ubifs_key *key, in search_dh_cookie()
1922 static int do_lookup_dh(struct ubifs_info *c, const union ubifs_key *key, in do_lookup_dh()
1959 int ubifs_tnc_lookup_dh(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_lookup_dh()
1995 static void correct_parent_keys(const struct ubifs_info *c, in correct_parent_keys()
2028 static void insert_zbranch(struct ubifs_info *c, struct ubifs_znode *znode, in insert_zbranch()
2080 static int tnc_insert(struct ubifs_info *c, struct ubifs_znode *znode, in tnc_insert()
2273 int ubifs_tnc_add(struct ubifs_info *c, const union ubifs_key *key, int lnum, in ubifs_tnc_add()
2324 int ubifs_tnc_replace(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_replace()
2408 int ubifs_tnc_add_nm(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_add_nm()
2502 static int tnc_delete(struct ubifs_info *c, struct ubifs_znode *znode, int n) in tnc_delete()
2615 int ubifs_tnc_remove(struct ubifs_info *c, const union ubifs_key *key) in ubifs_tnc_remove()
2645 int ubifs_tnc_remove_nm(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_remove_nm()
2694 int ubifs_tnc_remove_dh(struct ubifs_info *c, const union ubifs_key *key, in ubifs_tnc_remove_dh()
2763 static int key_in_range(struct ubifs_info *c, union ubifs_key *key, in key_in_range()
2783 int ubifs_tnc_remove_range(struct ubifs_info *c, union ubifs_key *from_key, in ubifs_tnc_remove_range()
2865 int ubifs_tnc_remove_ino(struct ubifs_info *c, ino_t inum) in ubifs_tnc_remove_ino()
2950 struct ubifs_dent_node *ubifs_tnc_next_ent(struct ubifs_info *c, in ubifs_tnc_next_ent()
3042 static void tnc_destroy_cnext(struct ubifs_info *c) in tnc_destroy_cnext()
3063 void ubifs_tnc_close(struct ubifs_info *c) in ubifs_tnc_close()
3087 static struct ubifs_znode *left_znode(struct ubifs_info *c, in left_znode()
3124 static struct ubifs_znode *right_znode(struct ubifs_info *c, in right_znode()
3177 static struct ubifs_znode *lookup_znode(struct ubifs_info *c, in lookup_znode()
3306 int is_idx_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int level, in is_idx_node_in_tnc()
3333 static int is_leaf_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, in is_leaf_node_in_tnc()
3403 int ubifs_tnc_has_node(struct ubifs_info *c, union ubifs_key *key, int level, in ubifs_tnc_has_node()
3443 int ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level, in ubifs_dirty_idx_node()
3479 int dbg_check_inode_size(struct ubifs_info *c, const struct inode *inode, in dbg_check_inode_size()