Lines Matching defs:log
99 struct r5l_log *log; member
126 static sector_t r5l_ring_add(struct r5l_log *log, sector_t start, sector_t inc) in r5l_ring_add()
134 static sector_t r5l_ring_distance(struct r5l_log *log, sector_t start, in r5l_ring_distance()
143 static bool r5l_has_free_space(struct r5l_log *log, sector_t size) in r5l_has_free_space()
153 static void r5l_free_io_unit(struct r5l_log *log, struct r5l_io_unit *io) in r5l_free_io_unit()
193 static void r5l_log_run_stripes(struct r5l_log *log) in r5l_log_run_stripes()
212 struct r5l_log *log = io->log; in r5l_log_endio() local
233 static void r5l_submit_current_io(struct r5l_log *log) in r5l_submit_current_io()
256 static struct bio *r5l_bio_alloc(struct r5l_log *log) in r5l_bio_alloc()
267 static void r5_reserve_log_entry(struct r5l_log *log, struct r5l_io_unit *io) in r5_reserve_log_entry()
284 static struct r5l_io_unit *r5l_new_meta(struct r5l_log *log) in r5l_new_meta()
321 static int r5l_get_meta(struct r5l_log *log, unsigned int payload_size) in r5l_get_meta()
332 static void r5l_append_payload_meta(struct r5l_log *log, u16 type, in r5l_append_payload_meta()
354 static void r5l_append_payload_page(struct r5l_log *log, struct page *page) in r5l_append_payload_page()
373 static void r5l_log_stripe(struct r5l_log *log, struct stripe_head *sh, in r5l_log_stripe()
423 int r5l_write_stripe(struct r5l_log *log, struct stripe_head *sh) in r5l_write_stripe()
492 void r5l_write_stripe_run(struct r5l_log *log) in r5l_write_stripe_run()
501 int r5l_handle_flush_request(struct r5l_log *log, struct bio *bio) in r5l_handle_flush_request()
520 static void r5l_run_no_space_stripes(struct r5l_log *log) in r5l_run_no_space_stripes()
535 static sector_t r5l_reclaimable_space(struct r5l_log *log) in r5l_reclaimable_space()
541 static bool r5l_complete_finished_ios(struct r5l_log *log) in r5l_complete_finished_ios()
567 struct r5l_log *log = io->log; in __r5l_stripe_write_finished() local
598 struct r5l_log *log = container_of(bio, struct r5l_log, in r5l_log_flush_endio() local
627 void r5l_flush_stripe_to_raid(struct r5l_log *log) in r5l_flush_stripe_to_raid()
653 static void r5l_write_super_and_discard_space(struct r5l_log *log, in r5l_write_super_and_discard_space()
708 static void r5l_do_reclaim(struct r5l_log *log) in r5l_do_reclaim()
763 struct r5l_log *log = conf->log; in r5l_reclaim_thread() local
770 static void r5l_wake_reclaim(struct r5l_log *log, sector_t space) in r5l_wake_reclaim()
783 void r5l_quiesce(struct r5l_log *log, int state) in r5l_quiesce()
822 static int r5l_read_meta_block(struct r5l_log *log, in r5l_read_meta_block()
854 static int r5l_recovery_flush_one_stripe(struct r5l_log *log, in r5l_recovery_flush_one_stripe()
950 static int r5l_recovery_flush_one_meta(struct r5l_log *log, in r5l_recovery_flush_one_meta()
978 static void r5l_recovery_flush_log(struct r5l_log *log, in r5l_recovery_flush_log()
991 static int r5l_log_write_empty_meta_block(struct r5l_log *log, sector_t pos, in r5l_log_write_empty_meta_block()
1018 static int r5l_recovery_log(struct r5l_log *log) in r5l_recovery_log()
1060 static void r5l_write_super(struct r5l_log *log, sector_t cp) in r5l_write_super()
1068 static int r5l_load_log(struct r5l_log *log) in r5l_load_log()
1136 struct r5l_log *log; in r5l_init_log() local
1186 void r5l_exit_log(struct r5l_log *log) in r5l_exit_log()