Lines Matching refs:cache_queue
155 } cache_queue = {0, 0};
172 if (cache_queue.ix >= CACHE_QUEUE_SIZE)
175 q = & cache_queue.q[cache_queue.ix];
176 ++cache_queue.ix;
178 q->reqno = cache_queue.reqno++;
206 if (cache_queue.ix >= CACHE_QUEUE_SIZE)
209 q = & cache_queue.q[cache_queue.ix];
210 ++cache_queue.ix;
212 q->reqno = cache_queue.reqno++;
235 if (cache_queue.ix >= CACHE_QUEUE_SIZE)
238 q = & cache_queue.q[cache_queue.ix];
239 ++cache_queue.ix;
241 q->reqno = cache_queue.reqno++;
264 if (cache_queue.ix >= CACHE_QUEUE_SIZE)
267 q = & cache_queue.q[cache_queue.ix];
268 ++cache_queue.ix;
270 q->reqno = cache_queue.reqno++;
296 if (cache_queue.ix >= CACHE_QUEUE_SIZE)
299 q = & cache_queue.q[cache_queue.ix];
300 ++cache_queue.ix;
302 q->reqno = cache_queue.reqno++;
347 for (i = 0; i < cache_queue.ix; ++i)
349 CACHE_QUEUE_ELEMENT *q = & cache_queue.q[i];
366 for (i = 0; i < cache_queue.ix; ++i)
368 CACHE_QUEUE_ELEMENT *q = & cache_queue.q[i];
402 for (i = 0; i < cache_queue.ix; ++i)
404 CACHE_QUEUE_ELEMENT *q = & cache_queue.q[i];
423 CACHE_QUEUE_ELEMENT q = cache_queue.q[i];
425 for (--cache_queue.ix; i < cache_queue.ix; ++i)
426 cache_queue.q[i] = cache_queue.q[i + 1];
627 for (j = 0; j < cache_queue.ix; ++j)
629 CACHE_QUEUE_ELEMENT *q = & cache_queue.q[j];