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()
741 bio->bi_iter.bi_sector = log->rdev->data_offset + log->log_start; in r5l_bio_alloc()
748 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
758 if (log->log_start == 0) in r5_reserve_log_entry()
761 io->log_end = log->log_start; in r5_reserve_log_entry()
786 block->position = cpu_to_le64(log->log_start); in r5l_new_meta()
788 io->log_start = log->log_start; in r5l_new_meta()
966 if (sh->log_start == MaxSector) { in r5l_log_stripe()
968 sh->log_start = io->log_start; in r5l_log_stripe()
1063 sh->log_start == MaxSector) { in r5l_write_stripe()
1068 if (sh->log_start == log->last_checkpoint) in r5l_write_stripe()
1169 new_cp = sh->log_start; in r5c_calculate_new_cp()
1209 log->next_checkpoint = io->log_start; in r5l_complete_finished_ios()
1856 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()
2407 sh->log_start = ctx->pos; in r5c_recovery_rewrite_data_only_stripes()
2412 next_checkpoint = sh->log_start; in r5c_recovery_rewrite_data_only_stripes()
2505 log->log_start = ctx->pos; in r5l_recovery_log()
2843 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()
2921 sh->log_start == MaxSector) in r5c_cache_data()
2924 if (sh->log_start == log->last_checkpoint) in r5c_cache_data()
3019 log->log_start = r5l_ring_add(log, cp, BLOCK_SECTORS); in r5l_load_log()