Lines Matching refs:ahead
287 long ahead, behind;
572 ahead = 0;
575 ahead = atop(fs.entry->end - vaddr) - 1;
576 if (ahead > VM_FAULT_READ_AHEAD_MAX)
577 ahead = VM_FAULT_READ_AHEAD_MAX;
585 * in the read-ahead window. Otherwise, reset
586 * the read-ahead window to its smallest size.
591 ahead = atop(fs.entry->end - vaddr) - 1;
598 if (ahead > nera)
599 ahead = nera;
603 } else if (ahead > VM_FAULT_READ_AHEAD_MIN)
604 ahead = VM_FAULT_READ_AHEAD_MIN;
605 if (era != ahead)
606 fs.entry->read_ahead = ahead;
664 fs.m, behind, ahead, marray, &reqpage);
1547 * scan forward for the read ahead pages