Lines Matching refs:frag
109 struct jffs2_node_frag *frag; in jffs2_garbage_collect_pass() local
229 for (frag = f->fraglist; frag; frag = frag->next) { in jffs2_garbage_collect_pass()
230 if (frag->node && frag->node->raw == raw) { in jffs2_garbage_collect_pass()
231 fn = frag->node; in jffs2_garbage_collect_pass()
232 end = frag->ofs + frag->size; in jffs2_garbage_collect_pass()
234 start = frag->ofs; in jffs2_garbage_collect_pass()
235 if (nrfrags == frag->node->frags) in jffs2_garbage_collect_pass()
447 struct jffs2_node_frag *frag; in jffs2_garbage_collect_hole() local
549 for (frag = f->fraglist; frag; frag = frag->next) { in jffs2_garbage_collect_hole()
550 if (frag->ofs > fn->size + fn->ofs) in jffs2_garbage_collect_hole()
552 if (frag->node == fn) { in jffs2_garbage_collect_hole()
553 frag->node = new_fn; in jffs2_garbage_collect_hole()