Lines Matching refs:lhead_offs
94 h = (long long)c->lhead_lnum * c->leb_size + c->lhead_offs; in empty_log_bytes()
234 if (c->lhead_offs > c->leb_size - c->ref_node_alsz) { in ubifs_add_bud_to_log()
237 c->lhead_offs = 0; in ubifs_add_bud_to_log()
240 if (c->lhead_offs == 0) { in ubifs_add_bud_to_log()
261 c->lhead_lnum, c->lhead_offs); in ubifs_add_bud_to_log()
263 c->lhead_offs); in ubifs_add_bud_to_log()
275 c->lhead_offs += c->ref_node_alsz; in ubifs_add_bud_to_log()
421 if (c->lhead_offs) { in ubifs_log_start_commit()
424 c->lhead_offs = 0; in ubifs_log_start_commit()
440 c->lhead_offs += len; in ubifs_log_start_commit()
441 ubifs_assert(c, c->lhead_offs < c->leb_size); in ubifs_log_start_commit()
720 c->lhead_offs = offs; in ubifs_consolidate_log()
721 dbg_rcvry("new log head at %d:%d", c->lhead_lnum, c->lhead_offs); in ubifs_consolidate_log()