Lines Matching defs:last_checkpoint
92 sector_t last_checkpoint; /* log tail. where recovery scan
277 used_size = r5l_ring_distance(log, log->last_checkpoint,
374 * last_checkpoint). This function helps check how much log space is
427 log->last_checkpoint);
1068 if (sh->log_start == log->last_checkpoint)
1147 * calculate new last_checkpoint
1178 return r5l_ring_distance(log, log->last_checkpoint,
1343 if (log->last_checkpoint < end) {
1345 log->last_checkpoint + log->rdev->data_offset,
1346 end - log->last_checkpoint, GFP_NOIO);
1349 log->last_checkpoint + log->rdev->data_offset,
1350 log->device_size - log->last_checkpoint,
1541 log->last_checkpoint = next_checkpoint;
2297 * |- log->last_checkpoint
2306 * |- log->last_checkpoint |- ctx->pos
2316 * |- log->last_checkpoint |- ctx->pos+1
2327 * |- log->last_checkpoint |- ctx->pos+n
2331 * again from log->last_checkpoint.
2339 * |- log->last_checkpoint |- ctx->pos+n
2343 * point on, the recovery will start from new log->last_checkpoint.
2463 ctx->pos = log->last_checkpoint;
2507 log->last_checkpoint = pos;
2924 if (sh->log_start == log->last_checkpoint)
3014 log->last_checkpoint = cp;