Lines Matching refs:mfc_cache
102 struct mfc_cache *cache, int local);
105 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
366 struct mfc_cache *c = (struct mfc_cache *)ptr; in ipmr_hash_cmp()
374 .key_offset = offsetof(struct mfc_cache, cmparg),
633 struct mfc_cache *mfc, u32 tb_id) in call_ipmr_mfc_entry_notifiers()
709 kmem_cache_free(mrt_cachep, (struct mfc_cache *)c); in ipmr_cache_free_rcu()
712 static void ipmr_cache_free(struct mfc_cache *c) in ipmr_cache_free()
720 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
776 mroute_netlink_event(mrt, (struct mfc_cache *)c, RTM_DELROUTE); in ipmr_expire_process()
777 ipmr_destroy_unres(mrt, (struct mfc_cache *)c); in ipmr_expire_process()
911 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
924 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
938 static struct mfc_cache *ipmr_cache_find_parent(struct mr_table *mrt, in ipmr_cache_find_parent()
951 static struct mfc_cache *ipmr_cache_alloc(void) in ipmr_cache_alloc()
953 struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_KERNEL); in ipmr_cache_alloc()
964 static struct mfc_cache *ipmr_cache_alloc_unres(void) in ipmr_cache_alloc_unres()
966 struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_ATOMIC); in ipmr_cache_alloc_unres()
977 struct mfc_cache *uc, struct mfc_cache *c) in ipmr_cache_resolve()
1099 struct mfc_cache *c; in ipmr_cache_unresolved()
1172 struct mfc_cache *c; in ipmr_mfc_delete()
1193 struct mfc_cache *uc, *c; in ipmr_mfc_add()
1248 uc = (struct mfc_cache *)_uc; in ipmr_mfc_add()
1275 struct mfc_cache *cache; in mroute_clean_tables()
1299 cache = (struct mfc_cache *)c; in mroute_clean_tables()
1312 cache = (struct mfc_cache *)c; in mroute_clean_tables()
1592 struct mfc_cache *c; in ipmr_ioctl()
1667 struct mfc_cache *c; in ipmr_compat_ioctl()
1929 struct mfc_cache *c, int local) in ip_mr_forward()
1941 struct mfc_cache *cache_proxy; in ip_mr_forward()
2075 struct mfc_cache *cache; in ip_mr_input()
2238 struct mfc_cache *cache; in ipmr_get_route()
2299 u32 portid, u32 seq, struct mfc_cache *c, int cmd, in ipmr_fill_mroute()
2346 return ipmr_fill_mroute(mrt, skb, portid, seq, (struct mfc_cache *)c, in _ipmr_fill_mroute()
2371 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2523 struct mfc_cache *cache; in ipmr_rtm_getroute()
2968 const struct mfc_cache *mfc = v; in ipmr_mfc_seq_show()
3113 sizeof(struct mfc_cache), in ip_mr_init()