Lines Matching refs:ohead_lnum
276 avail_lebs = c->orph_lebs - (c->ohead_lnum - c->orph_first) - 1; in avail_orphs()
320 err = ubifs_leb_change(c, c->ohead_lnum, c->orph_buf, len); in do_write_orph_node()
324 err = ubifs_leb_unmap(c, c->ohead_lnum); in do_write_orph_node()
328 err = ubifs_write_node(c, c->orph_buf, len, c->ohead_lnum, in do_write_orph_node()
352 c->ohead_lnum += 1; in write_orph_node()
355 if (c->ohead_lnum > c->orph_last) { in write_orph_node()
390 ubifs_assert(c, c->ohead_lnum >= c->orph_first); in write_orph_node()
391 ubifs_assert(c, c->ohead_lnum <= c->orph_last); in write_orph_node()
419 for (lnum = c->ohead_lnum + 1; lnum <= c->orph_last; lnum++) { in write_orph_nodes()
463 c->ohead_lnum = c->orph_first; in consolidate()
568 c->ohead_lnum = c->orph_first; in ubifs_clear_orphans()
759 c->ohead_lnum = c->orph_first; in kill_orphans()
798 c->ohead_lnum = lnum; in kill_orphans()