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()
427 log->last_checkpoint); in r5c_update_log_state()
1068 if (sh->log_start == log->last_checkpoint) in r5l_write_stripe()
1178 return r5l_ring_distance(log, log->last_checkpoint, in r5l_reclaimable_space()
1344 if (log->last_checkpoint < end) { in r5l_write_super_and_discard_space()
1346 log->last_checkpoint + log->rdev->data_offset, in r5l_write_super_and_discard_space()
1347 end - log->last_checkpoint, GFP_NOIO); in r5l_write_super_and_discard_space()
1350 log->last_checkpoint + log->rdev->data_offset, in r5l_write_super_and_discard_space()
1351 log->device_size - log->last_checkpoint, in r5l_write_super_and_discard_space()
1542 log->last_checkpoint = next_checkpoint; in r5l_do_reclaim()
2462 ctx->pos = log->last_checkpoint; in r5l_recovery_log()
2506 log->last_checkpoint = pos; in r5l_recovery_log()
2923 if (sh->log_start == log->last_checkpoint) in r5c_cache_data()
3013 log->last_checkpoint = cp; in r5l_load_log()