Lines Matching refs:wait_barrier
291 wake_up(&conf->wait_barrier); in reschedule_retry()
798 wake_up(&conf->wait_barrier); in flush_bio_list()
880 wait_event_lock_irq(conf->wait_barrier, in raise_barrier()
903 wait_event_lock_irq(conf->wait_barrier, in raise_barrier()
913 wake_up(&conf->wait_barrier); in raise_barrier()
931 wake_up(&conf->wait_barrier); in lower_barrier()
984 wake_up(&conf->wait_barrier); in _wait_barrier()
991 wait_event_lock_irq(conf->wait_barrier, in _wait_barrier()
1027 wake_up(&conf->wait_barrier); in wait_read_barrier()
1035 wait_event_lock_irq(conf->wait_barrier, in wait_read_barrier()
1046 static bool wait_barrier(struct r1conf *conf, sector_t sector_nr, bool nowait) in wait_barrier() function
1056 wake_up(&conf->wait_barrier); in _allow_barrier()
1108 conf->wait_barrier, in freeze_array()
1120 wake_up(&conf->wait_barrier); in unfreeze_array()
1182 wake_up(&conf->wait_barrier); in raid1_unplug()
1362 prepare_to_wait(&conf->wait_barrier, in raid1_write_request()
1370 finish_wait(&conf->wait_barrier, &w); in raid1_write_request()
1378 if (!wait_barrier(conf, bio->bi_iter.bi_sector, in raid1_write_request()
1488 wait_barrier(conf, bio->bi_iter.bi_sector, false); in raid1_write_request()
1595 wake_up(&conf->wait_barrier); in raid1_write_request()
2503 wake_up(&conf->wait_barrier); in handle_write_finished()
3052 init_waitqueue_head(&conf->wait_barrier); in setup_conf()