Lines Matching refs:sync
1051 void clear_wb_congested(struct bdi_writeback_congested *congested, int sync) in clear_wb_congested() argument
1053 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_wb_congested()
1056 bit = sync ? WB_sync_congested : WB_async_congested; in clear_wb_congested()
1058 atomic_dec(&nr_wb_congested[sync]); in clear_wb_congested()
1065 void set_wb_congested(struct bdi_writeback_congested *congested, int sync) in set_wb_congested() argument
1069 bit = sync ? WB_sync_congested : WB_async_congested; in set_wb_congested()
1071 atomic_inc(&nr_wb_congested[sync]); in set_wb_congested()
1084 long congestion_wait(int sync, long timeout) in congestion_wait() argument
1089 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait()
1115 long wait_iff_congested(int sync, long timeout) in wait_iff_congested() argument
1120 wait_queue_head_t *wqh = &congestion_wqh[sync]; in wait_iff_congested()
1126 if (atomic_read(&nr_wb_congested[sync]) == 0) { in wait_iff_congested()