Lines Matching refs:fib_info
231 struct fib_info *fi = container_of(head, struct fib_info, rcu); in free_fib_info_rcu()
246 void free_fib_info(struct fib_info *fi) in free_fib_info()
258 void fib_release_info(struct fib_info *fi) in fib_release_info()
280 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp()
345 static inline unsigned int fib_info_hashfn(struct fib_info *fi) in fib_info_hashfn()
365 static struct fib_info *fib_find_info_nh(struct net *net, in fib_find_info_nh()
369 struct fib_info *fi; in fib_find_info_nh()
397 static struct fib_info *fib_find_info(struct fib_info *nfi) in fib_find_info()
400 struct fib_info *fi; in fib_find_info()
453 size_t fib_nlmsg_size(struct fib_info *fi) in fib_nlmsg_size()
538 static int fib_detect_death(struct fib_info *fi, int order, in fib_detect_death()
539 struct fib_info **last_resort, int *last_idx, in fib_detect_death()
679 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
790 static void fib_rebalance(struct fib_info *fi) in fib_rebalance()
830 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, in fib_get_nhs()
865 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, in fib_nh_match()
991 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) in fib_metrics_match()
1289 struct fib_info *fi; in fib_info_hash_move()
1305 struct fib_info *fi; in fib_info_hash_move()
1382 struct fib_info *fib_create_info(struct fib_config *cfg, in fib_create_info()
1386 struct fib_info *fi = NULL; in fib_create_info()
1388 struct fib_info *ofi; in fib_create_info()
1734 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) in fib_add_multipath()
1767 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) in fib_add_multipath()
1777 struct fib_info *fi = fri->fi; in fib_dump_info()
1876 struct fib_info *fi; in fib_sync_down_addr()
1984 struct fib_info *prev_fi = NULL; in fib_sync_down_dev()
1993 struct fib_info *fi = nh->nh_parent; in fib_sync_down_dev()
2049 struct fib_info *fi = NULL, *last_resort = NULL; in fib_select_default()
2059 struct fib_info *next_fi = fa->fa_info; in fib_select_default()
2131 struct fib_info *prev_fi; in fib_sync_up()
2153 struct fib_info *fi = nh->nh_parent; in fib_sync_up()
2218 struct fib_info *fi = res->fi; in fib_select_multipath()