Home
last modified time | relevance | path

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

/fs/jffs2/
Dnodelist.c122 static void jffs2_fragtree_insert(struct jffs2_node_frag *newfrag, struct jffs2_node_frag *base) in jffs2_fragtree_insert() argument
127 dbg_fragtree2("insert frag (0x%04x-0x%04x)\n", newfrag->ofs, newfrag->ofs + newfrag->size); in jffs2_fragtree_insert()
133 if (newfrag->ofs > base->ofs) in jffs2_fragtree_insert()
135 else if (newfrag->ofs < base->ofs) in jffs2_fragtree_insert()
138 JFFS2_ERROR("duplicate frag at %08x (%p,%p)\n", newfrag->ofs, newfrag, base); in jffs2_fragtree_insert()
143 rb_link_node(&newfrag->rb, &base->rb, link); in jffs2_fragtree_insert()
151 struct jffs2_node_frag *newfrag; in new_fragment() local
153 newfrag = jffs2_alloc_node_frag(); in new_fragment()
154 if (likely(newfrag)) { in new_fragment()
155 newfrag->ofs = ofs; in new_fragment()
[all …]