Lines Matching refs:ohead_lnum
220 avail_lebs = c->orph_lebs - (c->ohead_lnum - c->orph_first) - 1; in avail_orphs()
264 err = ubifs_leb_change(c, c->ohead_lnum, c->orph_buf, len); in do_write_orph_node()
268 err = ubifs_leb_unmap(c, c->ohead_lnum); in do_write_orph_node()
272 err = ubifs_write_node(c, c->orph_buf, len, c->ohead_lnum, in do_write_orph_node()
296 c->ohead_lnum += 1; in write_orph_node()
299 if (c->ohead_lnum > c->orph_last) { in write_orph_node()
334 ubifs_assert(c, c->ohead_lnum >= c->orph_first); in write_orph_node()
335 ubifs_assert(c, c->ohead_lnum <= c->orph_last); in write_orph_node()
363 for (lnum = c->ohead_lnum + 1; lnum <= c->orph_last; lnum++) { in write_orph_nodes()
407 c->ohead_lnum = c->orph_first; in consolidate()
511 c->ohead_lnum = c->orph_first; in ubifs_clear_orphans()
650 c->ohead_lnum = c->orph_first; in kill_orphans()
689 c->ohead_lnum = lnum; in kill_orphans()