Lines Matching refs:fib_rt_ht
45 struct rhashtable fib_rt_ht; member
212 static struct nsim_fib_rt *nsim_fib_rt_lookup(struct rhashtable *fib_rt_ht, in nsim_fib_rt_lookup() argument
225 return rhashtable_lookup_fast(fib_rt_ht, &key, nsim_fib_rt_ht_params); in nsim_fib_rt_lookup()
257 nsim_fib4_rt_lookup(struct rhashtable *fib_rt_ht, in nsim_fib4_rt_lookup() argument
262 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &fen_info->dst, sizeof(u32), in nsim_fib4_rt_lookup()
301 err = rhashtable_insert_fast(&data->fib_rt_ht, in nsim_fib4_rt_add()
327 err = rhashtable_replace_fast(&data->fib_rt_ht, in nsim_fib4_rt_replace()
355 fib4_rt_old = nsim_fib4_rt_lookup(&data->fib_rt_ht, fen_info); in nsim_fib4_rt_insert()
373 fib4_rt = nsim_fib4_rt_lookup(&data->fib_rt_ht, fen_info); in nsim_fib4_rt_remove()
377 rhashtable_remove_fast(&data->fib_rt_ht, &fib4_rt->common.ht_node, in nsim_fib4_rt_remove()
525 nsim_fib6_rt_lookup(struct rhashtable *fib_rt_ht, const struct fib6_info *rt) in nsim_fib6_rt_lookup() argument
529 fib_rt = nsim_fib_rt_lookup(fib_rt_ht, &rt->fib6_dst.addr, in nsim_fib6_rt_lookup()
547 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, rt); in nsim_fib6_rt_append()
603 err = rhashtable_insert_fast(&data->fib_rt_ht, in nsim_fib6_rt_add()
628 err = rhashtable_replace_fast(&data->fib_rt_ht, in nsim_fib6_rt_replace()
656 fib6_rt_old = nsim_fib6_rt_lookup(&data->fib_rt_ht, fen6_info->rt); in nsim_fib6_rt_insert()
680 fib6_rt = nsim_fib6_rt_lookup(&data->fib_rt_ht, fen6_info->rt); in nsim_fib6_rt_remove()
692 rhashtable_remove_fast(&data->fib_rt_ht, &fib6_rt->common.ht_node, in nsim_fib6_rt_remove()
832 rhashtable_remove_fast(&data->fib_rt_ht, &fib_rt->ht_node, in nsim_fib_dump_inconsistent()
902 err = rhashtable_init(&data->fib_rt_ht, &nsim_fib_rt_ht_params); in nsim_fib_create()
935 rhashtable_free_and_destroy(&data->fib_rt_ht, nsim_fib_rt_free, in nsim_fib_create()
953 rhashtable_free_and_destroy(&data->fib_rt_ht, nsim_fib_rt_free, in nsim_fib_destroy()