Searched refs:io_wait (Results 1 – 8 of 8) sorted by relevance
89 wait_queue_head_t io_wait; member
941 init_waitqueue_head(&rbio->io_wait); in alloc_rbio()1504 wake_up(&rbio->io_wait); in raid_wait_read_end_io()1525 wait_event(rbio->io_wait, atomic_read(&rbio->stripes_pending) == 0); in submit_read_wait_bio_list()2182 wake_up(&rbio->io_wait); in raid_wait_write_end_io()2295 wait_event(rbio->io_wait, atomic_read(&rbio->stripes_pending) == 0); in rmw_rbio()2714 wait_event(rbio->io_wait, atomic_read(&rbio->stripes_pending) == 0); in scrub_rbio()
132 wait_queue_head_t io_wait; member260 init_waitqueue_head(&stripe->io_wait); in init_scrub_stripe()287 wait_event(stripe->io_wait, atomic_read(&stripe->pending_io) == 0); in wait_scrub_stripe_io()809 wake_up(&stripe->io_wait); in scrub_repair_read_endio()1111 wake_up(&stripe->io_wait); in scrub_read_endio()1140 wake_up(&stripe->io_wait); in scrub_write_endio()
129 atomic_t io_wait; /* Number of pending IO operations */ member
1474 bool io_wait = false; in usdhi6_sd_bh() local1491 io_wait = usdhi6_end_cmd(host); in usdhi6_sd_bh()1495 io_wait = usdhi6_mread_block(host); in usdhi6_sd_bh()1499 io_wait = usdhi6_read_block(host); in usdhi6_sd_bh()1503 io_wait = usdhi6_mwrite_block(host); in usdhi6_sd_bh()1507 io_wait = usdhi6_write_block(host); in usdhi6_sd_bh()1540 if (io_wait) { in usdhi6_sd_bh()
978 if (atomic_dec_and_test(&pkt->io_wait)) { in pkt_end_io_read()997 atomic_dec(&pkt->io_wait); in pkt_end_io_packet_write()1015 atomic_set(&pkt->io_wait, 0); in pkt_gather_data()1062 atomic_inc(&pkt->io_wait); in pkt_gather_data()1298 atomic_set(&pkt->io_wait, 1); in pkt_start_write()1334 if (atomic_read(&pkt->io_wait) > 0) in pkt_run_state_machine()1345 if (atomic_read(&pkt->io_wait) > 0) in pkt_run_state_machine()
238 wait_queue_head_t io_wait; member427 wake_up(&common->io_wait); in bulk_in_complete()444 wake_up(&common->io_wait); in bulk_out_complete()577 rc = wait_event_freezable(common->io_wait, in sleep_thread()581 rc = wait_event_interruptible(common->io_wait, in sleep_thread()2696 init_waitqueue_head(&common->io_wait); in fsg_common_setup()
2527 int io_wait, ret; in io_cqring_wait_schedule() local2545 io_wait = current->in_iowait; in io_cqring_wait_schedule()2553 current->in_iowait = io_wait; in io_cqring_wait_schedule()