Lines Matching refs:rt_arr
100 struct fib6_info **rt_arr; member
540 struct fib6_info **rt_arr, unsigned int nrt6) in nsim_fib6_rt_create() argument
542 struct fib6_info *rt = rt_arr[0]; in nsim_fib6_rt_create()
562 err = nsim_fib6_rt_nh_add(fib6_rt, rt_arr[i]); in nsim_fib6_rt_create()
571 nsim_fib6_rt_nh_del(fib6_rt, rt_arr[i]); in nsim_fib6_rt_create()
607 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_append()
625 err = nsim_fib6_rt_nh_add(fib6_rt, fib6_event->rt_arr[i]); in nsim_fib6_rt_append()
629 WRITE_ONCE(fib6_event->rt_arr[i]->trap, true); in nsim_fib6_rt_append()
636 WRITE_ONCE(fib6_event->rt_arr[i]->trap, false); in nsim_fib6_rt_append()
637 nsim_fib6_rt_nh_del(fib6_rt, fib6_event->rt_arr[i]); in nsim_fib6_rt_append()
644 struct fib6_info **rt_arr, in nsim_fib6_rt_offload_failed_flag_set() argument
652 fib6_info_hw_flags_set(net, rt_arr[i], false, false, true); in nsim_fib6_rt_offload_failed_flag_set()
656 struct fib6_info **rt_arr, in nsim_fib6_rt_offload_failed_flag_set() argument
739 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_insert()
752 fib6_rt = nsim_fib6_rt_create(data, fib6_event->rt_arr, in nsim_fib6_rt_insert()
772 struct fib6_info *rt = fib6_event->rt_arr[0]; in nsim_fib6_rt_remove()
790 nsim_fib6_rt_nh_del(fib6_rt, fib6_event->rt_arr[i]); in nsim_fib6_rt_remove()
803 struct fib6_info **rt_arr; in nsim_fib6_event_init() local
810 rt_arr = kcalloc(nrt6, sizeof(struct fib6_info *), GFP_ATOMIC); in nsim_fib6_event_init()
811 if (!rt_arr) in nsim_fib6_event_init()
814 fib6_event->rt_arr = rt_arr; in nsim_fib6_event_init()
817 rt_arr[0] = rt; in nsim_fib6_event_init()
827 rt_arr[i + 1] = iter; in nsim_fib6_event_init()
841 nsim_rt6_release(fib6_event->rt_arr[i]); in nsim_fib6_event_fini()
842 kfree(fib6_event->rt_arr); in nsim_fib6_event_fini()
851 if (fib6_event->rt_arr[0]->fib6_src.plen) in nsim_fib6_event()
875 nsim_fib6_rt_offload_failed_flag_set(data, fib6_event->rt_arr, in nsim_fib6_event()