Lines Matching refs:last_checkpoint
92 sector_t last_checkpoint; /* log tail. where recovery scan member
277 used_size = r5l_ring_distance(log, log->last_checkpoint, in r5l_has_free_space()
430 log->last_checkpoint); in r5c_update_log_state()
1070 if (sh->log_start == log->last_checkpoint) in r5l_write_stripe()
1180 return r5l_ring_distance(log, log->last_checkpoint, in r5l_reclaimable_space()
1345 if (log->last_checkpoint < end) { in r5l_write_super_and_discard_space()
1347 log->last_checkpoint + log->rdev->data_offset, in r5l_write_super_and_discard_space()
1348 end - log->last_checkpoint, GFP_NOIO); in r5l_write_super_and_discard_space()
1351 log->last_checkpoint + log->rdev->data_offset, in r5l_write_super_and_discard_space()
1352 log->device_size - log->last_checkpoint, in r5l_write_super_and_discard_space()
1543 log->last_checkpoint = next_checkpoint; in r5l_do_reclaim()
2459 ctx->pos = log->last_checkpoint; in r5l_recovery_log()
2503 log->last_checkpoint = pos; in r5l_recovery_log()
2914 if (sh->log_start == log->last_checkpoint) in r5c_cache_data()
3003 log->last_checkpoint = cp; in r5l_load_log()