Lines Matching refs:fib_info
233 struct fib_info *fi = container_of(head, struct fib_info, rcu); in free_fib_info_rcu()
248 void free_fib_info(struct fib_info *fi) in free_fib_info()
260 void fib_release_info(struct fib_info *fi) in fib_release_info()
282 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp()
347 static inline unsigned int fib_info_hashfn(struct fib_info *fi) in fib_info_hashfn()
367 static struct fib_info *fib_find_info_nh(struct net *net, in fib_find_info_nh()
371 struct fib_info *fi; in fib_find_info_nh()
399 static struct fib_info *fib_find_info(struct fib_info *nfi) in fib_find_info()
402 struct fib_info *fi; in fib_find_info()
455 static inline size_t fib_nlmsg_size(struct fib_info *fi) in fib_nlmsg_size()
539 static int fib_detect_death(struct fib_info *fi, int order, in fib_detect_death()
540 struct fib_info **last_resort, int *last_idx, in fib_detect_death()
667 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
766 static void fib_rebalance(struct fib_info *fi) in fib_rebalance()
806 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
841 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, in fib_nh_match()
955 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) in fib_metrics_match()
1253 struct fib_info *fi; in fib_info_hash_move()
1269 struct fib_info *fi; in fib_info_hash_move()
1346 struct fib_info *fib_create_info(struct fib_config *cfg, in fib_create_info()
1350 struct fib_info *fi = NULL; in fib_create_info()
1352 struct fib_info *ofi; in fib_create_info()
1696 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) in fib_add_multipath()
1730 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) in fib_add_multipath()
1740 struct fib_info *fi = fri->fi; in fib_dump_info()
1837 struct fib_info *fi; in fib_sync_down_addr()
1944 struct fib_info *prev_fi = NULL; in fib_sync_down_dev()
1953 struct fib_info *fi = nh->nh_parent; in fib_sync_down_dev()
2009 struct fib_info *fi = NULL, *last_resort = NULL; in fib_select_default()
2019 struct fib_info *next_fi = fa->fa_info; in fib_select_default()
2091 struct fib_info *prev_fi; in fib_sync_up()
2113 struct fib_info *fi = nh->nh_parent; in fib_sync_up()
2178 struct fib_info *fi = res->fi; in fib_select_multipath()