Lines Matching refs:ohead_lnum
206 avail_lebs = c->orph_lebs - (c->ohead_lnum - c->orph_first) - 1; in avail_orphs()
250 err = ubifs_leb_change(c, c->ohead_lnum, c->orph_buf, len); in do_write_orph_node()
254 err = ubifs_leb_unmap(c, c->ohead_lnum); in do_write_orph_node()
258 err = ubifs_write_node(c, c->orph_buf, len, c->ohead_lnum, in do_write_orph_node()
282 c->ohead_lnum += 1; in write_orph_node()
285 if (c->ohead_lnum > c->orph_last) { in write_orph_node()
320 ubifs_assert(c, c->ohead_lnum >= c->orph_first); in write_orph_node()
321 ubifs_assert(c, c->ohead_lnum <= c->orph_last); in write_orph_node()
349 for (lnum = c->ohead_lnum + 1; lnum <= c->orph_last; lnum++) { in write_orph_nodes()
393 c->ohead_lnum = c->orph_first; in consolidate()
498 c->ohead_lnum = c->orph_first; in ubifs_clear_orphans()
652 c->ohead_lnum = c->orph_first; in kill_orphans()
691 c->ohead_lnum = lnum; in kill_orphans()