Lines Matching refs:loop
4398 int loop = 0;
4507 if (loop > LOOP_CACHING_NOWAIT ||
4508 (loop > LOOP_FIND_IDEAL &&
4516 * If loop is set for cached only, try the next block
4519 if (loop == LOOP_FIND_IDEAL)
4520 goto loop;
4528 goto loop;
4539 if (last_ptr && loop < LOOP_NO_EMPTY_SIZE) {
4614 } else if (!cached && loop > LOOP_CACHING_NOWAIT
4632 goto loop;
4647 loop > LOOP_CACHING_NOWAIT) {
4653 goto loop;
4660 goto loop;
4667 goto loop;
4682 goto loop;
4694 loop:
4715 if (!ins->objectid && loop < LOOP_NO_EMPTY_SIZE &&
4719 if (loop == LOOP_FIND_IDEAL && found_uncached_bg) {
4721 loop++;
4735 * either, so chances are we will loop through and
4742 * loop.
4744 loop = LOOP_CACHING_WAIT;
4748 } else if (loop == LOOP_FIND_IDEAL) {
4753 loop = LOOP_CACHING_WAIT;
4757 if (loop < LOOP_CACHING_WAIT) {
4758 loop++;
4762 if (loop == LOOP_ALLOC_CHUNK) {
4776 if (loop < LOOP_NO_EMPTY_SIZE) {
4777 loop++;
6108 * devices to allocate new chunks for relocation, so loop through our