Lines Matching refs:sequential
247 * Determine if sequential access is in progress
261 int sequential;
265 sequential = object->sequential;
266 orig_sequential = sequential;
271 * reset indicator of sequential behavior
273 sequential = 0;
279 * advance indicator of sequential behavior
281 if (sequential < MAX_SEQUENTIAL_RUN)
282 sequential += PAGE_SIZE;
285 * reset indicator of sequential behavior
287 sequential = 0;
294 * advance indicator of sequential behavior
296 if (sequential > -MAX_SEQUENTIAL_RUN)
297 sequential -= PAGE_SIZE;
300 * reset indicator of sequential behavior
302 sequential = 0;
310 * advance indicator of sequential behavior
312 if (sequential < 0)
313 sequential = 0;
314 if (sequential < MAX_SEQUENTIAL_RUN)
315 sequential += PAGE_SIZE;
319 * advance indicator of sequential behavior
321 if (sequential > 0)
322 sequential = 0;
323 if (sequential > -MAX_SEQUENTIAL_RUN)
324 sequential -= PAGE_SIZE;
327 * reset indicator of sequential behavior
329 sequential = 0;
333 if (sequential != orig_sequential) {
334 if (!OSCompareAndSwap(orig_sequential, sequential, (UInt32 *)&object->sequential)) {
336 * if someone else has already updated object->sequential
346 * if a sequential access pattern is taking place... if only
350 * accesses, no sequential access pattern can develop anyway, so we
360 * Determine if sequential access is in progress
392 if ((sequential_run = object->sequential)) {
416 * determine if the run of sequential accesss has been