• Home
  • Raw
  • Download

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
705 static void r5l_submit_current_io(struct r5l_log *log) in r5l_submit_current_io()
735 static struct bio *r5l_bio_alloc(struct r5l_log *log) in r5l_bio_alloc()
745 static void r5_reserve_log_entry(struct r5l_log *log, struct r5l_io_unit *io) in r5_reserve_log_entry()
763 static struct r5l_io_unit *r5l_new_meta(struct r5l_log *log) in r5l_new_meta()
805 static int r5l_get_meta(struct r5l_log *log, unsigned int payload_size) in r5l_get_meta()
820 static void r5l_append_payload_meta(struct r5l_log *log, u16 type, in r5l_append_payload_meta()
842 static void r5l_append_payload_page(struct r5l_log *log, struct page *page) in r5l_append_payload_page()
860 static void r5l_append_flush_payload(struct r5l_log *log, sector_t sect) in r5l_append_flush_payload()
900 static int r5l_log_stripe(struct r5l_log *log, struct stripe_head *sh, in r5l_log_stripe()
978 static inline void r5l_add_no_space_stripe(struct r5l_log *log, in r5l_add_no_space_stripe()
990 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *sh) in r5l_write_stripe()
1088 void r5l_write_stripe_run(struct r5l_log *log) in r5l_write_stripe_run()
1097 int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio) in r5l_handle_flush_request()
1130 static void r5l_run_no_space_stripes(struct r5l_log *log) in r5l_run_no_space_stripes()
1153 struct r5l_log *log = READ_ONCE(conf->log); in r5c_calculate_new_cp() local
1173 static sector_t r5l_reclaimable_space(struct r5l_log *log) in r5l_reclaimable_space()
1181 static void r5l_run_no_mem_stripe(struct r5l_log *log) in r5l_run_no_mem_stripe()
1196 static bool r5l_complete_finished_ios(struct r5l_log *log) in r5l_complete_finished_ios()
1222 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local
1255 struct r5l_log *log = container_of(bio, struct r5l_log, in r5l_log_flush_endio() local
1285 void r5l_flush_stripe_to_raid(struct r5l_log *log) in r5l_flush_stripe_to_raid()
1311 static void r5l_write_super_and_discard_space(struct r5l_log *log, in r5l_write_super_and_discard_space()
1422 struct r5l_log *log = READ_ONCE(conf->log); in r5c_do_reclaim() local
1495 static void r5l_do_reclaim(struct r5l_log *log) in r5l_do_reclaim()
1551 struct r5l_log *log = READ_ONCE(conf->log); in r5l_reclaim_thread() local
1559 void r5l_wake_reclaim(struct r5l_log *log, sector_t space) in r5l_wake_reclaim()
1575 void r5l_quiesce(struct r5l_log *log, int quiesce) in r5l_quiesce()
1593 struct r5l_log *log = READ_ONCE(conf->log); in r5l_log_disk_error() local
1627 static int r5l_recovery_allocate_ra_pool(struct r5l_log *log, in r5l_recovery_allocate_ra_pool()
1650 static void r5l_recovery_free_ra_pool(struct r5l_log *log, in r5l_recovery_free_ra_pool()
1665 static int r5l_recovery_fetch_ra_pool(struct r5l_log *log, in r5l_recovery_fetch_ra_pool()
1699 static int r5l_recovery_read_page(struct r5l_log *log, in r5l_recovery_read_page()
1723 static int r5l_recovery_read_meta_block(struct r5l_log *log, in r5l_recovery_read_meta_block()
1758 r5l_recovery_create_empty_meta_block(struct r5l_log *log, in r5l_recovery_create_empty_meta_block()
1773 static int r5l_log_write_empty_meta_block(struct r5l_log *log, sector_t pos, in r5l_log_write_empty_meta_block()
1802 static void r5l_recovery_load_data(struct r5l_log *log, in r5l_recovery_load_data()
1824 static void r5l_recovery_load_parity(struct r5l_log *log, in r5l_recovery_load_parity()
1976 r5l_recovery_verify_data_checksum(struct r5l_log *log, in r5l_recovery_verify_data_checksum()
1996 r5l_recovery_verify_data_checksum_for_mb(struct r5l_log *log, in r5l_recovery_verify_data_checksum_for_mb()
2069 r5c_recovery_analyze_meta_block(struct r5l_log *log, in r5c_recovery_analyze_meta_block()
2203 static void r5c_recovery_load_one_stripe(struct r5l_log *log, in r5c_recovery_load_one_stripe()
2234 static int r5c_recovery_flush_log(struct r5l_log *log, in r5c_recovery_flush_log()
2345 r5c_recovery_rewrite_data_only_stripes(struct r5l_log *log, in r5c_recovery_rewrite_data_only_stripes()
2418 static void r5c_recovery_flush_data_only_stripes(struct r5l_log *log, in r5c_recovery_flush_data_only_stripes()
2451 static int r5l_recovery_log(struct r5l_log *log) in r5l_recovery_log()
2520 static void r5l_write_super(struct r5l_log *log, sector_t cp) in r5l_write_super()
2637 struct r5l_log *log = READ_ONCE(conf->log); in r5c_try_caching_write() local
2804 struct r5l_log *log = READ_ONCE(conf->log); in r5c_finish_stripe_write_out() local
2885 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh) in r5c_cache_data()
2943 struct r5l_log *log = READ_ONCE(conf->log); in r5c_big_stripe_cached() local
2956 static int r5l_load_log(struct r5l_log *log) in r5l_load_log()
3031 int r5l_start(struct r5l_log *log) in r5l_start()
3051 struct r5l_log *log = READ_ONCE(conf->log); in r5c_update_on_rdev_error() local
3064 struct r5l_log *log; in r5l_init_log() local
3167 struct r5l_log *log = conf->log; in r5l_exit_log() local