Lines Matching refs:devlink_net
359 struct net *net = devlink_net(data->devlink); in nsim_fib4_rt_add()
386 struct net *net = devlink_net(data->devlink); in nsim_fib4_rt_replace()
466 struct net *net = devlink_net(data->devlink); in nsim_fib4_event()
648 struct net *net = devlink_net(data->devlink); in nsim_fib6_rt_offload_failed_flag_set()
667 struct net *net = devlink_net(data->devlink); in nsim_fib6_rt_hw_flags_set()
1056 nsim_fib4_rt_hw_flags_set(devlink_net(devlink), fib4_rt, false); in nsim_fib4_rt_free()
1202 struct net *net = devlink_net(data->devlink); in nsim_nexthop_add()
1230 struct net *net = devlink_net(data->devlink); in nsim_nexthop_replace()
1358 net = devlink_net(data->devlink); in nsim_nexthop_free()
1369 struct net *net = devlink_net(data->devlink); in nsim_nexthop_bucket_activity_write()
1587 err = register_nexthop_notifier(devlink_net(devlink), &data->nexthop_nb, in nsim_fib_create()
1595 err = register_fib_notifier(devlink_net(devlink), &data->fib_nb, in nsim_fib_create()
1625 unregister_nexthop_notifier(devlink_net(devlink), &data->nexthop_nb); in nsim_fib_create()
1655 unregister_fib_notifier(devlink_net(devlink), &data->fib_nb); in nsim_fib_destroy()
1656 unregister_nexthop_notifier(devlink_net(devlink), &data->nexthop_nb); in nsim_fib_destroy()