Searched refs:ohead_lnum (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/fs/ubifs/ |
H A D | orphan.c | 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() [all …]
|
H A D | ubifs.h | 1974 int ohead_lnum; member
|
/openbmc/linux/fs/ubifs/ |
H A D | orphan.c | 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() [all …]
|
H A D | ubifs.h | 1426 int ohead_lnum; member
|