Lines Matching refs:ohead_lnum
195 avail_lebs = c->orph_lebs - (c->ohead_lnum - c->orph_first) - 1; in avail_orphs()
239 err = ubifs_leb_change(c, c->ohead_lnum, c->orph_buf, len); in do_write_orph_node()
243 err = ubifs_leb_unmap(c, c->ohead_lnum); in do_write_orph_node()
247 err = ubifs_write_node(c, c->orph_buf, len, c->ohead_lnum, in do_write_orph_node()
271 c->ohead_lnum += 1; in write_orph_node()
274 if (c->ohead_lnum > c->orph_last) { in write_orph_node()
309 ubifs_assert(c->ohead_lnum >= c->orph_first); in write_orph_node()
310 ubifs_assert(c->ohead_lnum <= c->orph_last); in write_orph_node()
338 for (lnum = c->ohead_lnum + 1; lnum <= c->orph_last; lnum++) { in write_orph_nodes()
382 c->ohead_lnum = c->orph_first; in consolidate()
487 c->ohead_lnum = c->orph_first; in ubifs_clear_orphans()
641 c->ohead_lnum = c->orph_first; in kill_orphans()
680 c->ohead_lnum = lnum; in kill_orphans()