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()
330 struct r5l_log *log = READ_ONCE(conf->log); in r5c_check_stripe_cache_usage() local
357 struct r5l_log *log = READ_ONCE(conf->log); in r5c_check_cached_full_stripe() local
402 struct r5l_log *log = READ_ONCE(conf->log); in r5c_log_required_to_flush_cache() local
419 static inline void r5c_update_log_state(struct r5l_log *log) in r5c_update_log_state()
455 struct r5l_log *log = READ_ONCE(conf->log); in r5c_make_stripe_write_out() local
497 struct r5l_log *log = READ_ONCE(sh->raid_conf->log); in r5c_finish_cache_stripe() local
530 static void r5l_log_run_stripes(struct r5l_log *log) in r5l_log_run_stripes()
546 static void r5l_move_to_end_ios(struct r5l_log *log) in r5l_move_to_end_ios()
565 struct r5l_log *log = io->log; in r5l_log_endio() local
627 static void r5l_do_submit_io(struct r5l_log *log, struct r5l_io_unit *io) in r5l_do_submit_io()
664 struct r5l_log *log = container_of(work, struct r5l_log, in r5l_submit_io_async() local
685 struct r5l_log *log = container_of(work, struct r5l_log, in r5c_disable_writeback_async() local
708 static void r5l_submit_current_io(struct r5l_log *log) in r5l_submit_current_io()
738 static struct bio *r5l_bio_alloc(struct r5l_log *log) in r5l_bio_alloc()
748 static void r5_reserve_log_entry(struct r5l_log *log, struct r5l_io_unit *io) in r5_reserve_log_entry()
766 static struct r5l_io_unit *r5l_new_meta(struct r5l_log *log) in r5l_new_meta()
808 static int r5l_get_meta(struct r5l_log *log, unsigned int payload_size) in r5l_get_meta()
823 static void r5l_append_payload_meta(struct r5l_log *log, u16 type, in r5l_append_payload_meta()
845 static void r5l_append_payload_page(struct r5l_log *log, struct page *page) in r5l_append_payload_page()
863 static void r5l_append_flush_payload(struct r5l_log *log, sector_t sect) in r5l_append_flush_payload()
903 static int r5l_log_stripe(struct r5l_log *log, struct stripe_head *sh, in r5l_log_stripe()
981 static inline void r5l_add_no_space_stripe(struct r5l_log *log, in r5l_add_no_space_stripe()
993 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *sh) in r5l_write_stripe()
1091 void r5l_write_stripe_run(struct r5l_log *log) in r5l_write_stripe_run()
1100 int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio) in r5l_handle_flush_request()
1133 static void r5l_run_no_space_stripes(struct r5l_log *log) in r5l_run_no_space_stripes()
1156 struct r5l_log *log = READ_ONCE(conf->log); in r5c_calculate_new_cp() local
1176 static sector_t r5l_reclaimable_space(struct r5l_log *log) in r5l_reclaimable_space()
1184 static void r5l_run_no_mem_stripe(struct r5l_log *log) in r5l_run_no_mem_stripe()
1199 static bool r5l_complete_finished_ios(struct r5l_log *log) in r5l_complete_finished_ios()
1225 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local
1258 struct r5l_log *log = container_of(bio, struct r5l_log, in r5l_log_flush_endio() local
1288 void r5l_flush_stripe_to_raid(struct r5l_log *log) in r5l_flush_stripe_to_raid()
1314 static void r5l_write_super_and_discard_space(struct r5l_log *log, in r5l_write_super_and_discard_space()
1425 struct r5l_log *log = READ_ONCE(conf->log); in r5c_do_reclaim() local
1498 static void r5l_do_reclaim(struct r5l_log *log) in r5l_do_reclaim()
1554 struct r5l_log *log = READ_ONCE(conf->log); in r5l_reclaim_thread() local
1562 void r5l_wake_reclaim(struct r5l_log *log, sector_t space) in r5l_wake_reclaim()
1578 void r5l_quiesce(struct r5l_log *log, int quiesce) in r5l_quiesce()
1596 struct r5l_log *log = READ_ONCE(conf->log); in r5l_log_disk_error() local
1630 static int r5l_recovery_allocate_ra_pool(struct r5l_log *log, in r5l_recovery_allocate_ra_pool()
1653 static void r5l_recovery_free_ra_pool(struct r5l_log *log, in r5l_recovery_free_ra_pool()
1668 static int r5l_recovery_fetch_ra_pool(struct r5l_log *log, in r5l_recovery_fetch_ra_pool()
1702 static int r5l_recovery_read_page(struct r5l_log *log, in r5l_recovery_read_page()
1726 static int r5l_recovery_read_meta_block(struct r5l_log *log, in r5l_recovery_read_meta_block()
1761 r5l_recovery_create_empty_meta_block(struct r5l_log *log, in r5l_recovery_create_empty_meta_block()
1776 static int r5l_log_write_empty_meta_block(struct r5l_log *log, sector_t pos, in r5l_log_write_empty_meta_block()
1805 static void r5l_recovery_load_data(struct r5l_log *log, in r5l_recovery_load_data()
1827 static void r5l_recovery_load_parity(struct r5l_log *log, in r5l_recovery_load_parity()
1973 r5l_recovery_verify_data_checksum(struct r5l_log *log, in r5l_recovery_verify_data_checksum()
1993 r5l_recovery_verify_data_checksum_for_mb(struct r5l_log *log, in r5l_recovery_verify_data_checksum_for_mb()
2066 r5c_recovery_analyze_meta_block(struct r5l_log *log, in r5c_recovery_analyze_meta_block()
2200 static void r5c_recovery_load_one_stripe(struct r5l_log *log, in r5c_recovery_load_one_stripe()
2231 static int r5c_recovery_flush_log(struct r5l_log *log, in r5c_recovery_flush_log()
2342 r5c_recovery_rewrite_data_only_stripes(struct r5l_log *log, in r5c_recovery_rewrite_data_only_stripes()
2415 static void r5c_recovery_flush_data_only_stripes(struct r5l_log *log, in r5c_recovery_flush_data_only_stripes()
2448 static int r5l_recovery_log(struct r5l_log *log) in r5l_recovery_log()
2517 static void r5l_write_super(struct r5l_log *log, sector_t cp) in r5l_write_super()
2632 struct r5l_log *log = READ_ONCE(conf->log); in r5c_try_caching_write() local
2799 struct r5l_log *log = READ_ONCE(conf->log); in r5c_finish_stripe_write_out() local
2876 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh) in r5c_cache_data()
2934 struct r5l_log *log = READ_ONCE(conf->log); in r5c_big_stripe_cached() local
2946 static int r5l_load_log(struct r5l_log *log) in r5l_load_log()
3021 int r5l_start(struct r5l_log *log) in r5l_start()
3041 struct r5l_log *log = READ_ONCE(conf->log); in r5c_update_on_rdev_error() local
3054 struct r5l_log *log; in r5l_init_log() local
3157 struct r5l_log *log = conf->log; in r5l_exit_log() local