Lines Matching refs:hole
2280 int hole, parent;
2324 * Start with hole at end, walk it up tree to find insertion point.
2326 hole = heap->cnt++;
2327 while (hole > 0) {
2328 parent = (hole - 1)/2;
2331 heap->reqs[hole].offset = offset;
2332 heap->reqs[hole].file = file;
2335 /* Move parent into hole <==> move hole up tree. */
2336 heap->reqs[hole] = heap->reqs[parent];
2337 hole = parent;
3015 int hole, parent;
3048 * Start with hole at end, walk it up tree to find insertion point.
3050 hole = heap->used++;
3051 while (hole > 0) {
3052 parent = (hole - 1)/2;
3055 heap->files[hole] = file;
3058 /* Move parent into hole <==> move hole up tree. */
3059 heap->files[hole] = heap->files[parent];
3060 hole = parent;