Lines Matching refs:log_start
96 sector_t log_start; /* log head. where new data appends */ member
219 sector_t log_start; /* where the io_unit starts */ member
278 log->log_start); in r5l_has_free_space()
426 free_space = r5l_ring_distance(log, log->log_start, in r5c_update_log_state()
742 bio->bi_iter.bi_sector = log->rdev->data_offset + log->log_start; in r5l_bio_alloc()
749 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
759 if (log->log_start == 0) in r5_reserve_log_entry()
762 io->log_end = log->log_start; in r5_reserve_log_entry()
787 block->position = cpu_to_le64(log->log_start); in r5l_new_meta()
789 io->log_start = log->log_start; in r5l_new_meta()
967 if (sh->log_start == MaxSector) { in r5l_log_stripe()
969 sh->log_start = io->log_start; in r5l_log_stripe()
1064 sh->log_start == MaxSector) { in r5l_write_stripe()
1069 if (sh->log_start == log->last_checkpoint) in r5l_write_stripe()
1170 new_cp = sh->log_start; in r5c_calculate_new_cp()
1210 log->next_checkpoint = io->log_start; in r5l_complete_finished_ios()
1863 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()
2413 sh->log_start = ctx->pos; in r5c_recovery_rewrite_data_only_stripes()
2418 next_checkpoint = sh->log_start; in r5c_recovery_rewrite_data_only_stripes()
2511 log->log_start = ctx->pos; in r5l_recovery_log()
2846 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()
2924 sh->log_start == MaxSector) in r5c_cache_data()
2927 if (sh->log_start == log->last_checkpoint) in r5c_cache_data()
3022 log->log_start = r5l_ring_add(log, cp, BLOCK_SECTORS); in r5l_load_log()