Lines Matching defs:log

210 	struct r5l_log *log;  member
250 bool r5c_is_writeback(struct r5l_log *log) in r5c_is_writeback()
256 static sector_t r5l_ring_add(struct r5l_log *log, sector_t start, sector_t inc) in r5l_ring_add()
264 static sector_t r5l_ring_distance(struct r5l_log *log, sector_t start, in r5l_ring_distance()
273 static bool r5l_has_free_space(struct r5l_log *log, sector_t size) in r5l_has_free_space()
326 struct r5l_log *log = READ_ONCE(conf->log); in r5c_check_stripe_cache_usage() local
353 struct r5l_log *log = READ_ONCE(conf->log); in r5c_check_cached_full_stripe() local
398 struct r5l_log *log = READ_ONCE(conf->log); in r5c_log_required_to_flush_cache() local
415 static inline void r5c_update_log_state(struct r5l_log *log) in r5c_update_log_state()
451 struct r5l_log *log = READ_ONCE(conf->log); in r5c_make_stripe_write_out() local
493 struct r5l_log *log = READ_ONCE(sh->raid_conf->log); in r5c_finish_cache_stripe() local
526 static void r5l_log_run_stripes(struct r5l_log *log) in r5l_log_run_stripes()
542 static void r5l_move_to_end_ios(struct r5l_log *log) in r5l_move_to_end_ios()
561 struct r5l_log *log = io->log; in r5l_log_endio() local
623 static void r5l_do_submit_io(struct r5l_log *log, struct r5l_io_unit *io) in r5l_do_submit_io()
660 struct r5l_log *log = container_of(work, struct r5l_log, in r5l_submit_io_async() local
681 struct r5l_log *log = container_of(work, struct r5l_log, in r5c_disable_writeback_async() local
704 static void r5l_submit_current_io(struct r5l_log *log) in r5l_submit_current_io()
734 static struct bio *r5l_bio_alloc(struct r5l_log *log) in r5l_bio_alloc()
744 static void r5_reserve_log_entry(struct r5l_log *log, struct r5l_io_unit *io) in r5_reserve_log_entry()
762 static struct r5l_io_unit *r5l_new_meta(struct r5l_log *log) in r5l_new_meta()
804 static int r5l_get_meta(struct r5l_log *log, unsigned int payload_size) in r5l_get_meta()
819 static void r5l_append_payload_meta(struct r5l_log *log, u16 type, in r5l_append_payload_meta()
841 static void r5l_append_payload_page(struct r5l_log *log, struct page *page) in r5l_append_payload_page()
859 static void r5l_append_flush_payload(struct r5l_log *log, sector_t sect) in r5l_append_flush_payload()
899 static int r5l_log_stripe(struct r5l_log *log, struct stripe_head *sh, in r5l_log_stripe()
977 static inline void r5l_add_no_space_stripe(struct r5l_log *log, in r5l_add_no_space_stripe()
989 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *sh) in r5l_write_stripe()
1087 void r5l_write_stripe_run(struct r5l_log *log) in r5l_write_stripe_run()
1096 int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio) in r5l_handle_flush_request()
1129 static void r5l_run_no_space_stripes(struct r5l_log *log) in r5l_run_no_space_stripes()
1152 struct r5l_log *log = READ_ONCE(conf->log); in r5c_calculate_new_cp() local
1172 static sector_t r5l_reclaimable_space(struct r5l_log *log) in r5l_reclaimable_space()
1180 static void r5l_run_no_mem_stripe(struct r5l_log *log) in r5l_run_no_mem_stripe()
1195 static bool r5l_complete_finished_ios(struct r5l_log *log) in r5l_complete_finished_ios()
1221 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local
1254 struct r5l_log *log = container_of(bio, struct r5l_log, in r5l_log_flush_endio() local
1284 void r5l_flush_stripe_to_raid(struct r5l_log *log) in r5l_flush_stripe_to_raid()
1310 static void r5l_write_super_and_discard_space(struct r5l_log *log, in r5l_write_super_and_discard_space()
1421 struct r5l_log *log = READ_ONCE(conf->log); in r5c_do_reclaim() local
1494 static void r5l_do_reclaim(struct r5l_log *log) in r5l_do_reclaim()
1550 struct r5l_log *log = READ_ONCE(conf->log); in r5l_reclaim_thread() local
1558 void r5l_wake_reclaim(struct r5l_log *log, sector_t space) in r5l_wake_reclaim()
1574 void r5l_quiesce(struct r5l_log *log, int quiesce) in r5l_quiesce()
1592 struct r5l_log *log = READ_ONCE(conf->log); in r5l_log_disk_error() local
1626 static int r5l_recovery_allocate_ra_pool(struct r5l_log *log, in r5l_recovery_allocate_ra_pool()
1649 static void r5l_recovery_free_ra_pool(struct r5l_log *log, in r5l_recovery_free_ra_pool()
1664 static int r5l_recovery_fetch_ra_pool(struct r5l_log *log, in r5l_recovery_fetch_ra_pool()
1698 static int r5l_recovery_read_page(struct r5l_log *log, in r5l_recovery_read_page()
1722 static int r5l_recovery_read_meta_block(struct r5l_log *log, in r5l_recovery_read_meta_block()
1757 r5l_recovery_create_empty_meta_block(struct r5l_log *log, in r5l_recovery_create_empty_meta_block()
1772 static int r5l_log_write_empty_meta_block(struct r5l_log *log, sector_t pos, in r5l_log_write_empty_meta_block()
1801 static void r5l_recovery_load_data(struct r5l_log *log, in r5l_recovery_load_data()
1823 static void r5l_recovery_load_parity(struct r5l_log *log, in r5l_recovery_load_parity()
1969 r5l_recovery_verify_data_checksum(struct r5l_log *log, in r5l_recovery_verify_data_checksum()
1989 r5l_recovery_verify_data_checksum_for_mb(struct r5l_log *log, in r5l_recovery_verify_data_checksum_for_mb()
2062 r5c_recovery_analyze_meta_block(struct r5l_log *log, in r5c_recovery_analyze_meta_block()
2196 static void r5c_recovery_load_one_stripe(struct r5l_log *log, in r5c_recovery_load_one_stripe()
2227 static int r5c_recovery_flush_log(struct r5l_log *log, in r5c_recovery_flush_log()
2338 r5c_recovery_rewrite_data_only_stripes(struct r5l_log *log, in r5c_recovery_rewrite_data_only_stripes()
2411 static void r5c_recovery_flush_data_only_stripes(struct r5l_log *log, in r5c_recovery_flush_data_only_stripes()
2444 static int r5l_recovery_log(struct r5l_log *log) in r5l_recovery_log()
2513 static void r5l_write_super(struct r5l_log *log, sector_t cp) in r5l_write_super()
2628 struct r5l_log *log = READ_ONCE(conf->log); in r5c_try_caching_write() local
2795 struct r5l_log *log = READ_ONCE(conf->log); in r5c_finish_stripe_write_out() local
2872 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh) in r5c_cache_data()
2930 struct r5l_log *log = READ_ONCE(conf->log); in r5c_big_stripe_cached() local
2942 static int r5l_load_log(struct r5l_log *log) in r5l_load_log()
3017 int r5l_start(struct r5l_log *log) in r5l_start()
3037 struct r5l_log *log = READ_ONCE(conf->log); in r5c_update_on_rdev_error() local
3050 struct r5l_log *log; in r5l_init_log() local
3153 struct r5l_log *log = conf->log; in r5l_exit_log() local