Lines Matching refs:lhead_offs
97 h = (long long)c->lhead_lnum * c->leb_size + c->lhead_offs; in empty_log_bytes()
236 if (c->lhead_offs > c->leb_size - c->ref_node_alsz) { in ubifs_add_bud_to_log()
239 c->lhead_offs = 0; in ubifs_add_bud_to_log()
242 if (c->lhead_offs == 0) { in ubifs_add_bud_to_log()
263 c->lhead_lnum, c->lhead_offs); in ubifs_add_bud_to_log()
265 c->lhead_offs); in ubifs_add_bud_to_log()
269 c->lhead_offs += c->ref_node_alsz; in ubifs_add_bud_to_log()
401 if (c->lhead_offs) { in ubifs_log_start_commit()
404 c->lhead_offs = 0; in ubifs_log_start_commit()
420 c->lhead_offs += len; in ubifs_log_start_commit()
421 if (c->lhead_offs == c->leb_size) { in ubifs_log_start_commit()
423 c->lhead_offs = 0; in ubifs_log_start_commit()
702 c->lhead_offs = offs; in ubifs_consolidate_log()
703 dbg_rcvry("new log head at %d:%d", c->lhead_lnum, c->lhead_offs); in ubifs_consolidate_log()