REQ_SYNC 557 block/as-iosched.c if (data_dir == REQ_SYNC) { REQ_SYNC 858 block/as-iosched.c if (ad->batch_data_dir == REQ_SYNC) REQ_SYNC 872 block/as-iosched.c ad->batch_expire[REQ_SYNC]; REQ_SYNC 963 block/as-iosched.c if (ad->batch_data_dir == REQ_SYNC) REQ_SYNC 989 block/as-iosched.c if (data_dir == REQ_SYNC) { REQ_SYNC 1028 block/as-iosched.c const int reads = !list_empty(&ad->fifo_list[REQ_SYNC]); REQ_SYNC 1042 block/as-iosched.c ad->batch_data_dir = REQ_SYNC; REQ_SYNC 1046 block/as-iosched.c while (ad->next_rq[REQ_SYNC]) { REQ_SYNC 1047 block/as-iosched.c as_move_to_dispatch(ad, ad->next_rq[REQ_SYNC]); REQ_SYNC 1050 block/as-iosched.c ad->last_check_fifo[REQ_SYNC] = jiffies; REQ_SYNC 1079 block/as-iosched.c if (ad->batch_data_dir == REQ_SYNC && ad->antic_expire) { REQ_SYNC 1080 block/as-iosched.c if (as_fifo_expired(ad, REQ_SYNC)) REQ_SYNC 1093 block/as-iosched.c jiffies + ad->batch_expire[REQ_SYNC]; REQ_SYNC 1104 block/as-iosched.c BUG_ON(RB_EMPTY_ROOT(&ad->sort_list[REQ_SYNC])); REQ_SYNC 1106 block/as-iosched.c if (writes && ad->batch_data_dir == REQ_SYNC) REQ_SYNC 1116 block/as-iosched.c ad->batch_data_dir = REQ_SYNC; REQ_SYNC 1117 block/as-iosched.c rq = rq_entry_fifo(ad->fifo_list[REQ_SYNC].next); REQ_SYNC 1130 block/as-iosched.c if (ad->batch_data_dir == REQ_SYNC) { REQ_SYNC 1242 block/as-iosched.c && list_empty(&ad->fifo_list[REQ_SYNC]); REQ_SYNC 1349 block/as-iosched.c BUG_ON(!list_empty(&ad->fifo_list[REQ_SYNC])); REQ_SYNC 1375 block/as-iosched.c INIT_LIST_HEAD(&ad->fifo_list[REQ_SYNC]); REQ_SYNC 1377 block/as-iosched.c ad->sort_list[REQ_SYNC] = RB_ROOT; REQ_SYNC 1379 block/as-iosched.c ad->fifo_expire[REQ_SYNC] = default_read_expire; REQ_SYNC 1382 block/as-iosched.c ad->batch_expire[REQ_SYNC] = default_read_batch_expire; REQ_SYNC 1385 block/as-iosched.c ad->current_batch_expires = jiffies + ad->batch_expire[REQ_SYNC]; REQ_SYNC 1435 block/as-iosched.c SHOW_FUNCTION(as_read_expire_show, ad->fifo_expire[REQ_SYNC]); REQ_SYNC 1438 block/as-iosched.c SHOW_FUNCTION(as_read_batch_expire_show, ad->batch_expire[REQ_SYNC]); REQ_SYNC 1454 block/as-iosched.c STORE_FUNCTION(as_read_expire_store, &ad->fifo_expire[REQ_SYNC], 0, INT_MAX); REQ_SYNC 1458 block/as-iosched.c &ad->batch_expire[REQ_SYNC], 0, INT_MAX);