Lines Matching defs:min
50 if (fvcmp(p->size, a->max, b->min) < 0)
52 if (fvcmp(p->size, a->min, b->max) > 0)
65 fvcpy(p->size, b->min = (unsigned char*)(b + 1), a->min);
66 fvcpy(p->size, b->max = b->min + p->size, a->max);
130 * insert prefix range min..max into tab
135 ptvinsert(Ptv_t* tab, Ptvaddr_t min, Ptvaddr_t max)
143 if (fvcmp(tab->size, min, tab->r[2]) >= 0)
145 fvsub(tab->size, tab->r[3], min, tab->r[2]);
146 key.min = key.max = tab->r[3];
149 key.min = key.max = min;
152 key.min = min;
157 if (fvcmp(tab->size, key.min, xp->min) >= 0 && fvcmp(tab->size, key.max, xp->max) <= 0)
159 if (fvcmp(tab->size, xp->min, tab->r[2]) >= 0)
160 fvsub(tab->size, tab->r[3], xp->min, tab->r[2]);
165 if (fvcmp(tab->size, key.min, xp->min) > 0)
166 key.min = xp->min;
175 fvsub(tab->size, tab->r[3], xp->min, tab->r[1]);
185 * delete prefix range min..max from tab
190 ptvdelete(Ptv_t* tab, Ptvaddr_t min, Ptvaddr_t max)
197 key.min = min;
204 cur.min = xp->min;
207 if (fvcmp(tab->size, key.min, cur.min) > 0)
210 fvsub(tab->size, tab->r[0], key.min, tab->r[1]);
217 cur.min = tab->r[2];
227 xp->min = tab->r[3];