Lines Matching refs:log_start
96 sector_t log_start; /* log head. where new data appends */ member
221 sector_t log_start; /* where the io_unit starts */ member
280 log->log_start); in r5l_has_free_space()
428 free_space = r5l_ring_distance(log, log->log_start, in r5c_update_log_state()
744 bio->bi_iter.bi_sector = log->rdev->data_offset + log->log_start; in r5l_bio_alloc()
751 log->log_start = r5l_ring_add(log, log->log_start, BLOCK_SECTORS); in r5_reserve_log_entry()
761 if (log->log_start == 0) in r5_reserve_log_entry()
764 io->log_end = log->log_start; in r5_reserve_log_entry()
789 block->position = cpu_to_le64(log->log_start); in r5l_new_meta()
791 io->log_start = log->log_start; in r5l_new_meta()
969 if (sh->log_start == MaxSector) { in r5l_log_stripe()
971 sh->log_start = io->log_start; in r5l_log_stripe()
1066 sh->log_start == MaxSector) { in r5l_write_stripe()
1071 if (sh->log_start == log->last_checkpoint) in r5l_write_stripe()
1172 new_cp = sh->log_start; in r5c_calculate_new_cp()
1212 log->next_checkpoint = io->log_start; in r5l_complete_finished_ios()
1865 sh->log_start = MaxSector; in r5l_recovery_reset_stripe()
2415 sh->log_start = ctx->pos; in r5c_recovery_rewrite_data_only_stripes()
2420 next_checkpoint = sh->log_start; in r5c_recovery_rewrite_data_only_stripes()
2506 log->log_start = ctx->pos; in r5l_recovery_log()
2844 sh->log_start = MaxSector; in r5c_finish_stripe_write_out()
2922 sh->log_start == MaxSector) in r5c_cache_data()
2925 if (sh->log_start == log->last_checkpoint) in r5c_cache_data()
3020 log->log_start = r5l_ring_add(log, cp, BLOCK_SECTORS); in r5l_load_log()