Lines Matching refs:rtable
195 * as they look at rtable reference counts.
196 * 3) Only readers acquire references to rtable entries,
202 struct rtable *chain;
278 static struct rtable *rt_cache_get_first(struct seq_file *seq)
281 struct rtable *r = NULL;
299 static struct rtable *__rt_cache_get_next(struct seq_file *seq,
300 struct rtable *r)
317 static struct rtable *rt_cache_get_next(struct seq_file *seq,
318 struct rtable *r)
330 static struct rtable *rt_cache_get_idx(struct seq_file *seq, loff_t pos)
332 struct rtable *r = rt_cache_get_first(seq);
351 struct rtable *r;
375 struct rtable *r = v;
609 static inline void rt_free(struct rtable *rt)
614 static inline void rt_drop(struct rtable *rt)
620 static inline int rt_fast_clean(struct rtable *rth)
628 static inline int rt_valuable(struct rtable *rth)
634 static int rt_may_expire(struct rtable *rth, unsigned long tmo1, unsigned long tmo2)
661 static inline u32 rt_score(struct rtable *rt)
701 static inline int compare_netns(struct rtable *rt1, struct rtable *rt2)
706 static inline int rt_is_expired(struct rtable *rth)
719 struct rtable *rth, *next;
720 struct rtable * tail;
732 struct rtable ** prev, * p;
787 static int has_noalias(const struct rtable *head, const struct rtable *rth)
789 const struct rtable *aux = head;
803 struct rtable *rth, **rthp;
945 struct rtable *rth, **rthp;
1064 static int slow_chain_length(const struct rtable *head)
1067 const struct rtable *rth = head;
1076 static int rt_intern_hash(unsigned hash, struct rtable *rt,
1077 struct rtable **rp, struct sk_buff *skb, int ifindex)
1079 struct rtable *rth, **rthp;
1081 struct rtable *cand, **candp;
1244 struct rtable *trt;
1269 void rt_bind_peer(struct rtable *rt, int create)
1308 struct rtable *rt = (struct rtable *) dst;
1329 static void rt_del(unsigned hash, struct rtable *rt)
1331 struct rtable **rthp, *aux;
1353 struct rtable *rth, **rthp;
1389 struct rtable *rt;
1484 struct rtable *rt = (struct rtable *)dst;
1526 struct rtable *rt = skb_rtable(skb);
1576 struct rtable *rt = skb_rtable(skb);
1635 struct rtable *rth;
1709 if (rt_is_expired((struct rtable *)dst))
1716 struct rtable *rt = (struct rtable *) dst;
1734 struct rtable *rt = (struct rtable *) dst;
1748 struct rtable *rt;
1775 void ip_rt_get_source(u8 *addr, struct rtable *rt)
1792 static void set_class_tag(struct rtable *rt, u32 tag)
1801 static void rt_set_nexthop(struct rtable *rt, struct fib_result *res, u32 itag)
1848 struct rtable *rth;
1962 struct rtable **result)
1964 struct rtable *rth;
2062 struct rtable* rth = NULL;
2107 struct rtable * rth;
2278 struct rtable * rth;
2358 static int __mkroute_output(struct rtable **result,
2365 struct rtable *rth;
2479 static int ip_mkroute_output(struct rtable **rp,
2486 struct rtable *rth = NULL;
2502 static int ip_route_output_slow(struct net *net, struct rtable **rp,
2689 int __ip_route_output_key(struct net *net, struct rtable **rp,
2693 struct rtable *rth;
2746 static int ipv4_dst_blackhole(struct net *net, struct rtable **rp, struct flowi *flp)
2748 struct rtable *ort = *rp;
2749 struct rtable *rt = (struct rtable *)
2790 int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp,
2815 int ip_route_output_key(struct net *net, struct rtable **rp, struct flowi *flp)
2825 struct rtable *rt = skb_rtable(skb);
2925 struct rtable *rt = NULL;
3017 struct rtable *rt;
3307 kmem_cache_create("ip_dst_cache", sizeof(struct rtable), 0,