Searched refs:r5conf (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/md/ |
| H A D | raid5-log.h | 5 int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev); 6 void r5l_exit_log(struct r5conf *conf); 13 bool r5l_log_disk_error(struct r5conf *conf); 15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh, 17 void r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh, 22 void r5c_handle_cached_data_endio(struct r5conf *conf, 26 void r5c_flush_cache(struct r5conf *conf, int num); 27 void r5c_check_stripe_cache_usage(struct r5conf *conf); 28 void r5c_check_cached_full_stripe(struct r5conf *conf); 31 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect); [all …]
|
| H A D | raid5.h | 204 struct r5conf *raid_conf; 513 struct r5conf *conf; 570 struct r5conf { struct 717 static inline struct bio *r5_next_bio(struct r5conf *conf, struct bio *bio, sector_t sector) in r5_next_bio() argument 808 sector_t raid5_compute_sector(struct r5conf *conf, sector_t r_sector, 818 struct stripe_head *raid5_get_active_stripe(struct r5conf *conf, 822 int raid5_calc_degraded(struct r5conf *conf);
|
| H A D | raid5.c | 78 static inline struct hlist_head *stripe_hash(struct r5conf *conf, sector_t sect) in stripe_hash() 84 static inline int stripe_hash_locks_hash(struct r5conf *conf, sector_t sect) in stripe_hash_locks_hash() 89 static inline void lock_device_hash_lock(struct r5conf *conf, int hash) in lock_device_hash_lock() 96 static inline void unlock_device_hash_lock(struct r5conf *conf, int hash) in unlock_device_hash_lock() 103 static inline void lock_all_device_hash_locks_irq(struct r5conf *conf) in lock_all_device_hash_locks_irq() 113 static inline void unlock_all_device_hash_locks_irq(struct r5conf *conf) in unlock_all_device_hash_locks_irq() 162 static void print_raid5_conf(struct r5conf *conf); 181 struct r5conf *conf = sh->raid_conf; in raid5_wakeup_stripe_thread() 225 static void do_release_stripe(struct r5conf *conf, struct stripe_head *sh, in do_release_stripe() 311 static void __release_stripe(struct r5conf *conf, struct stripe_head *sh, in __release_stripe() [all …]
|
| H A D | raid5-ppl.c | 275 struct r5conf *conf = sh->raid_conf; in ppl_log_stripe() 361 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh) in ppl_write_stripe() 532 void ppl_write_stripe_run(struct r5conf *conf) in ppl_write_stripe_run() 551 struct r5conf *conf = ppl_conf->mddev->private; in ppl_io_unit_finished() 586 struct r5conf *conf = ppl_conf->mddev->private; in ppl_flush_endio() 612 struct r5conf *conf = ppl_conf->mddev->private; in ppl_do_flush() 653 static inline bool ppl_no_io_unit_submitted(struct r5conf *conf, in ppl_no_io_unit_submitted() 664 void ppl_quiesce(struct r5conf *conf, int quiesce) in ppl_quiesce() 791 struct r5conf *conf = mddev->private; in ppl_recover_entry() 1241 void ppl_exit_log(struct r5conf *conf) in ppl_exit_log() [all …]
|