Lines Matching refs:ifidx
1894 * - sorted array of "struct ifidx" pointed by ti->state.
1906 struct ifidx {
1940 static struct ifidx * ifidx_find(struct table_info *ti, void *key);
1982 const struct ifidx *ifidx;
1986 ifidx = (const struct ifidx *)v;
1988 if (key < ifidx->kidx)
1990 else if (key > ifidx->kidx)
2071 static struct ifidx *
2074 struct ifidx *ifi;
2076 ifi = bsearch(key, ti->state, ti->data, sizeof(struct ifidx),
2086 struct ifidx *ifi;
2108 icfg->main_ptr = malloc(sizeof(struct ifidx) * icfg->size, M_IPFW,
2185 tinfo->itemsize4 = sizeof(struct ifidx);
2232 struct ifidx *ifi;
2335 sizeof(struct ifidx), compare_ifidx);
2383 struct ifidx ifi;
2400 sizeof(struct ifidx), compare_ifidx);
2410 sizeof(struct ifidx), compare_ifidx);
2446 * Allocate ned, larger runtime ifidx array.
2457 mi->main_ptr = malloc(sizeof(struct ifidx) * mi->size, M_IPFW,
2482 memcpy(mi->main_ptr, icfg->main_ptr, icfg->used * sizeof(struct ifidx));