Lines Matching refs:sync
898 void clear_wb_congested(struct bdi_writeback_congested *congested, int sync) in clear_wb_congested() argument
900 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_wb_congested()
903 bit = sync ? WB_sync_congested : WB_async_congested; in clear_wb_congested()
905 atomic_dec(&nr_wb_congested[sync]); in clear_wb_congested()
912 void set_wb_congested(struct bdi_writeback_congested *congested, int sync) in set_wb_congested() argument
916 bit = sync ? WB_sync_congested : WB_async_congested; in set_wb_congested()
918 atomic_inc(&nr_wb_congested[sync]); in set_wb_congested()
931 long congestion_wait(int sync, long timeout) in congestion_wait() argument
936 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait()
968 long wait_iff_congested(struct zone *zone, int sync, long timeout) in wait_iff_congested() argument
973 wait_queue_head_t *wqh = &congestion_wqh[sync]; in wait_iff_congested()
980 if (atomic_read(&nr_wb_congested[sync]) == 0 || in wait_iff_congested()