Lines Matching refs:ifidx
1895 * - sorted array of "struct ifidx" pointed by ti->state.
1907 struct ifidx {
1941 static struct ifidx * ifidx_find(struct table_info *ti, void *key);
1983 const struct ifidx *ifidx;
1987 ifidx = (const struct ifidx *)v;
1989 if (key < ifidx->kidx)
1991 else if (key > ifidx->kidx)
2072 static struct ifidx *
2075 struct ifidx *ifi;
2077 ifi = bsearch(key, ti->state, ti->data, sizeof(struct ifidx),
2087 struct ifidx *ifi;
2109 icfg->main_ptr = malloc(sizeof(struct ifidx) * icfg->size, M_IPFW,
2185 tinfo->itemsize4 = sizeof(struct ifidx);
2232 struct ifidx *ifi;
2331 sizeof(struct ifidx), compare_ifidx);
2378 struct ifidx ifi;
2395 sizeof(struct ifidx), compare_ifidx);
2405 sizeof(struct ifidx), compare_ifidx);
2440 * Allocate ned, larger runtime ifidx array.
2451 mi->main_ptr = malloc(sizeof(struct ifidx) * mi->size, M_IPFW,
2476 memcpy(mi->main_ptr, icfg->main_ptr, icfg->used * sizeof(struct ifidx));