Lines Matching defs:te
216 struct rte_tailq_entry *te;
289 TAILQ_FOREACH(te, lpm_list, next) {
290 lpm = (struct rte_lpm6 *) te->data;
295 if (te != NULL) {
301 te = rte_zmalloc("LPM6_TAILQ_ENTRY", sizeof(*te), 0);
302 if (te == NULL) {
314 rte_free(te);
330 te->data = (void *) lpm;
332 TAILQ_INSERT_TAIL(lpm_list, te, next);
354 struct rte_tailq_entry *te;
360 TAILQ_FOREACH(te, lpm_list, next) {
361 l = (struct rte_lpm6 *) te->data;
367 if (te == NULL) {
382 struct rte_tailq_entry *te;
393 TAILQ_FOREACH(te, lpm_list, next) {
394 if (te->data == (void *) lpm)
398 if (te != NULL)
399 TAILQ_REMOVE(lpm_list, te, next);
407 rte_free(te);