Lines Matching refs:mfc_cache
108 struct mfc_cache *cache, int local);
111 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc,
377 const struct mfc_cache *c = ptr; in ipmr_hash_cmp()
385 .key_offset = offsetof(struct mfc_cache, cmparg),
653 struct mfc_cache *mfc, u32 tb_id) in call_ipmr_mfc_entry_notifiers()
726 kmem_cache_free(mrt_cachep, (struct mfc_cache *)c); in ipmr_cache_free_rcu()
729 static void ipmr_cache_free(struct mfc_cache *c) in ipmr_cache_free()
737 static void ipmr_destroy_unres(struct mr_table *mrt, struct mfc_cache *c) in ipmr_destroy_unres()
793 mroute_netlink_event(mrt, (struct mfc_cache *)c, RTM_DELROUTE); in ipmr_expire_process()
794 ipmr_destroy_unres(mrt, (struct mfc_cache *)c); in ipmr_expire_process()
932 static struct mfc_cache *ipmr_cache_find(struct mr_table *mrt, in ipmr_cache_find()
945 static struct mfc_cache *ipmr_cache_find_any(struct mr_table *mrt, in ipmr_cache_find_any()
959 static struct mfc_cache *ipmr_cache_find_parent(struct mr_table *mrt, in ipmr_cache_find_parent()
972 static struct mfc_cache *ipmr_cache_alloc(void) in ipmr_cache_alloc()
974 struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_KERNEL); in ipmr_cache_alloc()
985 static struct mfc_cache *ipmr_cache_alloc_unres(void) in ipmr_cache_alloc_unres()
987 struct mfc_cache *c = kmem_cache_zalloc(mrt_cachep, GFP_ATOMIC); in ipmr_cache_alloc_unres()
998 struct mfc_cache *uc, struct mfc_cache *c) in ipmr_cache_resolve()
1123 struct mfc_cache *c; in ipmr_cache_unresolved()
1196 struct mfc_cache *c; in ipmr_mfc_delete()
1217 struct mfc_cache *uc, *c; in ipmr_mfc_add()
1272 uc = (struct mfc_cache *)_uc; in ipmr_mfc_add()
1299 struct mfc_cache *cache; in mroute_clean_tables()
1323 cache = (struct mfc_cache *)c; in mroute_clean_tables()
1336 cache = (struct mfc_cache *)c; in mroute_clean_tables()
1639 struct mfc_cache *c; in ipmr_ioctl()
1709 struct mfc_cache *c; in ipmr_compat_ioctl()
1974 struct mfc_cache *c, int local) in ip_mr_forward()
1986 struct mfc_cache *cache_proxy; in ip_mr_forward()
2122 struct mfc_cache *cache; in ip_mr_input()
2277 struct mfc_cache *cache; in ipmr_get_route()
2334 u32 portid, u32 seq, struct mfc_cache *c, int cmd, in ipmr_fill_mroute()
2381 return ipmr_fill_mroute(mrt, skb, portid, seq, (struct mfc_cache *)c, in _ipmr_fill_mroute()
2406 static void mroute_netlink_event(struct mr_table *mrt, struct mfc_cache *mfc, in mroute_netlink_event()
2557 struct mfc_cache *cache; in ipmr_rtm_getroute()
3011 const struct mfc_cache *mfc = v; in ipmr_mfc_seq_show()
3175 mrt_cachep = KMEM_CACHE(mfc_cache, SLAB_HWCACHE_ALIGN | SLAB_PANIC); in ip_mr_init()