Lines Matching refs:mfc_cache
129 struct sk_buff *skb, struct mfc_cache *cache,
134 struct mfc_cache *c, struct rtmsg *rtm);
135 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
607 struct mfc_cache *c = container_of(head, struct mfc_cache, rcu); in ipmr_cache_free_rcu()
612 static inline void ipmr_cache_free(struct mfc_cache *c) in ipmr_cache_free()
621 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
656 struct mfc_cache *c, *next; in ipmr_expire_process()
691 static void ipmr_update_thresholds(struct mr_table *mrt, struct mfc_cache *cache, in ipmr_update_thresholds()
821 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
826 struct mfc_cache *c; in ipmr_cache_find()
836 static struct mfc_cache *ipmr_cache_find_any_parent(struct mr_table *mrt, in ipmr_cache_find_any_parent()
840 struct mfc_cache *c; in ipmr_cache_find_any_parent()
852 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
856 struct mfc_cache *c, *proxy; in ipmr_cache_find_any()
881 static struct mfc_cache *ipmr_cache_alloc(void) in ipmr_cache_alloc()
883 struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_KERNEL); in ipmr_cache_alloc()
890 static struct mfc_cache *ipmr_cache_alloc_unres(void) in ipmr_cache_alloc_unres()
892 struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_ATOMIC); in ipmr_cache_alloc_unres()
906 struct mfc_cache *uc, struct mfc_cache *c) in ipmr_cache_resolve()
1034 struct mfc_cache *c; in ipmr_cache_unresolved()
1106 struct mfc_cache *c, *next; in ipmr_mfc_delete()
1128 struct mfc_cache *uc, *c; in ipmr_mfc_add()
1207 struct mfc_cache *c, *next; in mroute_clean_tables()
1487 struct mfc_cache *c; in ipmr_ioctl()
1561 struct mfc_cache *c; in ipmr_compat_ioctl()
1693 struct sk_buff *skb, struct mfc_cache *c, int vifi) in ipmr_queue_xmit()
1807 struct sk_buff *skb, struct mfc_cache *cache, in ip_mr_forward()
1819 struct mfc_cache *cache_proxy; in ip_mr_forward()
1954 struct mfc_cache *cache; in ip_mr_input()
2147 struct mfc_cache *c, struct rtmsg *rtm) in __ipmr_fill_mroute()
2195 struct mfc_cache *cache; in ipmr_get_route()
2261 u32 portid, u32 seq, struct mfc_cache *c, int cmd, in ipmr_fill_mroute()
2325 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2354 struct mfc_cache *mfc; in ipmr_rtm_dumproute()
2534 static struct mfc_cache *ipmr_mfc_seq_idx(struct net *net, in ipmr_mfc_seq_idx()
2538 struct mfc_cache *mfc; in ipmr_mfc_seq_idx()
2580 struct mfc_cache *mfc = v; in ipmr_mfc_seq_next()
2591 return list_entry(mfc->list.next, struct mfc_cache, list); in ipmr_mfc_seq_next()
2602 return list_first_entry(it->cache, struct mfc_cache, list); in ipmr_mfc_seq_next()
2612 return list_first_entry(it->cache, struct mfc_cache, list); in ipmr_mfc_seq_next()
2640 const struct mfc_cache *mfc = v; in ipmr_mfc_seq_show()
2752 sizeof(struct mfc_cache), in ip_mr_init()