Home
last modified time | relevance | path

Searched refs:fragtree (Results 1 – 10 of 10) sorted by relevance

/fs/jffs2/
Djffs2_fs_i.h32 struct rb_root fragtree; member
Dgc.c482 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) { in jffs2_garbage_collect_live()
738 last_frag = frag_last(&f->fragtree); in jffs2_garbage_collect_metadata()
1009 frag = frag_last(&f->fragtree); in jffs2_garbage_collect_hole()
1065 for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs); in jffs2_garbage_collect_hole()
1124 frag = jffs2_lookup_node_frag(&f->fragtree, start); in jffs2_garbage_collect_dnode()
1179 frag = jffs2_lookup_node_frag(&f->fragtree, end-1); in jffs2_garbage_collect_dnode()
1228 D1(BUG_ON(end > frag_last(&f->fragtree)->ofs + frag_last(&f->fragtree)->size)); in jffs2_garbage_collect_dnode()
Dreadinode.c1249 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); in jffs2_do_read_inode_internal()
1307 if (!frag_first(&f->fragtree)) { in jffs2_do_read_inode_internal()
1315 if (frag_next(frag_first(&f->fragtree))) { in jffs2_do_read_inode_internal()
1324 f->metadata = frag_first(&f->fragtree)->node; in jffs2_do_read_inode_internal()
1325 jffs2_free_node_frag(frag_first(&f->fragtree)); in jffs2_do_read_inode_internal()
1326 f->fragtree = RB_ROOT; in jffs2_do_read_inode_internal()
1441 jffs2_kill_fragtree(&f->fragtree, deleted?c:NULL); in jffs2_do_clear_inode()
Dnodelist.c378 ret = jffs2_add_frag_to_fragtree(c, &f->fragtree, newfrag); in jffs2_add_full_dnode_to_inode()
523 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset) in jffs2_lookup_node_frag() argument
531 dbg_fragtree2("root %p, offset %d\n", fragtree, offset); in jffs2_lookup_node_frag()
533 next = fragtree->rb_node; in jffs2_lookup_node_frag()
Dread.c163 frag = jffs2_lookup_node_frag(&f->fragtree, offset); in jffs2_read_inode_range()
Dos-linux.h53 f->fragtree = RB_ROOT; in jffs2_init_inode_info()
Ddebug.c76 for (frag = frag_first(&f->fragtree); frag; frag = frag_next(frag)) { in __jffs2_dbg_fragtree_paranoia_check_nolock()
697 struct jffs2_node_frag *this = frag_first(&f->fragtree); in __jffs2_dbg_dump_fragtree_nolock()
Dnodelist.h367 struct jffs2_node_frag *jffs2_lookup_node_frag(struct rb_root *fragtree, uint32_t offset);
Dfs.c152 jffs2_truncate_fragtree (c, &f->fragtree, iattr->ia_size); in jffs2_do_setattr()
Dwbuf.c196 frag = jffs2_lookup_node_frag(&f->fragtree, je32_to_cpu(node->i.offset)); in jffs2_incore_replace_raw()