Lines Matching defs:min
42 if (a->max < b->min)
44 if (a->min > b->max)
56 b->min = a->min;
111 * insert prefix range min..max into tab
116 ptinsert(Pt_t* tab, Ptaddr_t min, Ptaddr_t max)
123 key.min = key.max = min ? (min - 1) : min;
126 key.min = min;
131 if (key.min >= xp->min && key.max <= xp->max)
133 if (key.max >= (xp->min ? (xp->min - 1) : 0))
135 if (key.min > xp->min)
136 key.min = xp->min;
143 } while (xp && key.max >= (xp->min - 1));
152 * delete prefix range min..max from tab
157 ptdelete(Pt_t* tab, Ptaddr_t min, Ptaddr_t max)
164 key.min = min;
170 cur.min = xp->min;
173 if (key.min > cur.min)
176 cur.max = key.min - 1;
181 cur.min = key.max + 1;
190 xp->min = key.max + 1;