Lines Matching refs:ahead
295 long ahead, behind;
565 ahead = 0;
568 ahead = atop(fs.entry->end - vaddr) - 1;
569 if (ahead > VM_FAULT_READ_AHEAD_MAX)
570 ahead = VM_FAULT_READ_AHEAD_MAX;
578 * in the read-ahead window. Otherwise, reset
579 * the read-ahead window to its smallest size.
584 ahead = atop(fs.entry->end - vaddr) - 1;
591 if (ahead > nera)
592 ahead = nera;
596 } else if (ahead > VM_FAULT_READ_AHEAD_MIN)
597 ahead = VM_FAULT_READ_AHEAD_MIN;
598 if (era != ahead)
599 fs.entry->read_ahead = ahead;
657 fs.m, behind, ahead, marray, &reqpage);
1534 * scan forward for the read ahead pages