Home
last modified time | relevance | path

Searched refs:jffs2_tmp_dnode_info (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/jffs2/
Dnodelist.h228 struct jffs2_tmp_dnode_info struct
243 struct jffs2_tmp_dnode_info *mdata_tn; argument
354 #define tn_next(tn) rb_entry(rb_next(&(tn)->rb), struct jffs2_tmp_dnode_info, rb)
355 #define tn_prev(tn) rb_entry(rb_prev(&(tn)->rb), struct jffs2_tmp_dnode_info, rb)
356 #define tn_parent(tn) rb_entry(rb_parent(&(tn)->rb), struct jffs2_tmp_dnode_info, rb)
357 #define tn_left(tn) rb_entry((tn)->rb.rb_left, struct jffs2_tmp_dnode_info, rb)
358 #define tn_right(tn) rb_entry((tn)->rb.rb_right, struct jffs2_tmp_dnode_info, rb)
360 #define tn_last(list) rb_entry(rb_last(list), struct jffs2_tmp_dnode_info, rb)
361 #define tn_first(list) rb_entry(rb_first(list), struct jffs2_tmp_dnode_info, rb)
433 struct jffs2_tmp_dnode_info *jffs2_alloc_tmp_dnode_info(void);
[all …]
Dreadinode.c31 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_node_data()
150 static int check_tn_node(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in check_tn_node()
175 static struct jffs2_tmp_dnode_info *jffs2_lookup_tn(struct rb_root *tn_root, uint32_t offset) in jffs2_lookup_tn()
178 struct jffs2_tmp_dnode_info *tn = NULL; in jffs2_lookup_tn()
185 tn = rb_entry(next, struct jffs2_tmp_dnode_info, rb); in jffs2_lookup_tn()
199 static void jffs2_kill_tn(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn) in jffs2_kill_tn()
220 struct jffs2_tmp_dnode_info *tn) in jffs2_add_tn_to_tree()
223 struct jffs2_tmp_dnode_info *this, *ptn; in jffs2_add_tn_to_tree()
303 struct jffs2_tmp_dnode_info *next = tn_next(this); in jffs2_add_tn_to_tree()
340 struct jffs2_tmp_dnode_info *insert_point = NULL; in jffs2_add_tn_to_tree()
[all …]
Dmalloc.c55 sizeof(struct jffs2_tmp_dnode_info), in jffs2_create_slab_caches()
169 struct jffs2_tmp_dnode_info *jffs2_alloc_tmp_dnode_info(void) in jffs2_alloc_tmp_dnode_info()
171 struct jffs2_tmp_dnode_info *ret; in jffs2_alloc_tmp_dnode_info()
178 void jffs2_free_tmp_dnode_info(struct jffs2_tmp_dnode_info *x) in jffs2_free_tmp_dnode_info()
/kernel/liteos_a/fs/jffs2/
Djffs2.patch4224 - sizeof(struct jffs2_tmp_dnode_info),
4342 struct jffs2_tmp_dnode_info *jffs2_alloc_tmp_dnode_info(void)
4344 struct jffs2_tmp_dnode_info *ret;
4346 + ret = zalloc(sizeof(struct jffs2_tmp_dnode_info));
4350 @@ -178,14 +98,14 @@ struct jffs2_tmp_dnode_info *jffs2_alloc
4351 void jffs2_free_tmp_dnode_info(struct jffs2_tmp_dnode_info *x)
5303 static int check_node_data(struct jffs2_sb_info *c, struct jffs2_tmp_dnode_info *tn)
5423 - struct jffs2_tmp_dnode_info *tn, *next;
5424 + struct jffs2_tmp_dnode_info *tn;
5431 + tn = (struct jffs2_tmp_dnode_info *)rbn;