Lines Matching refs:fib_rt_ht
50 struct rhashtable fib_rt_ht; member
258 static struct nsim_fib_rt *nsim_fib_rt_lookup(struct rhashtable *fib_rt_ht, in nsim_fib_rt_lookup() argument
271 return rhashtable_lookup_fast(fib_rt_ht, &key, nsim_fib_rt_ht_params); in nsim_fib_rt_lookup()
303 nsim_fib4_rt_lookup(struct rhashtable *fib_rt_ht, in nsim_fib4_rt_lookup() argument
308 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup()
362 err = rhashtable_insert_fast(&data->fib_rt_ht, in nsim_fib4_rt_add()
395 err = rhashtable_replace_fast(&data->fib_rt_ht, in nsim_fib4_rt_replace()
430 fib4_rt_old = nsim_fib4_rt_lookup(&data->fib_rt_ht, fen_info); in nsim_fib4_rt_insert()
447 fib4_rt = nsim_fib4_rt_lookup(&data->fib_rt_ht, fen_info); in nsim_fib4_rt_remove()
451 rhashtable_remove_fast(&data->fib_rt_ht, &fib4_rt->common.ht_node, in nsim_fib4_rt_remove()
590 nsim_fib6_rt_lookup(struct rhashtable *fib_rt_ht, const struct fib6_info *rt) in nsim_fib6_rt_lookup() argument
594 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &rt->fib6_dst.addr, in nsim_fib6_rt_lookup()
620 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_append()
686 err = rhashtable_insert_fast(&data->fib_rt_ht, in nsim_fib6_rt_add()
719 err = rhashtable_replace_fast(&data->fib_rt_ht, in nsim_fib6_rt_replace()
757 fib6_rt_old = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_insert()
781 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_remove()
794 rhashtable_remove_fast(&data->fib_rt_ht, &fib6_rt->common.ht_node, in nsim_fib6_rt_remove()
1103 rhashtable_remove_fast(&data->fib_rt_ht, &fib_rt->ht_node, in nsim_fib_dump_inconsistent()
1513 rhashtable_remove_fast(&data->fib_rt_ht, &fib_rt->ht_node, in nsim_fib_flush_work()
1577 err = rhashtable_init(&data->fib_rt_ht, &nsim_fib_rt_ht_params); in nsim_fib_create()
1631 rhashtable_free_and_destroy(&data->fib_rt_ht, nsim_fib_rt_free, in nsim_fib_create()
1661 rhashtable_free_and_destroy(&data->fib_rt_ht, nsim_fib_rt_free, in nsim_fib_destroy()