Lines Matching defs:net
119 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, in __xfrm_dst_lookup()
143 struct net *net = xs_net(x); in xfrm_dst_lookup() local
281 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
350 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
355 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
367 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
430 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
455 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize()
480 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
495 static inline int xfrm_byidx_should_resize(struct net *net, int total) in xfrm_byidx_should_resize()
506 void xfrm_spd_getinfo(struct net *net, struct xfrmk_spdinfo *si) in xfrm_spd_getinfo()
524 struct net *net = container_of(work, struct net, xfrm.policy_hash_work); in xfrm_hash_resize() local
542 static u32 xfrm_gen_index(struct net *net, int dir) in xfrm_gen_index()
626 struct net *net = xp_net(policy); in xfrm_policy_insert() local
686 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u8 type, in xfrm_policy_bysel_ctx()
725 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8 type, in xfrm_policy_byid()
766 xfrm_policy_flush_secctx_check(struct net *net, u8 type, struct xfrm_audit *audit_info) in xfrm_policy_flush_secctx_check()
809 xfrm_policy_flush_secctx_check(struct net *net, u8 type, struct xfrm_audit *audit_info) in xfrm_policy_flush_secctx_check()
815 int xfrm_policy_flush(struct net *net, u8 type, struct xfrm_audit *audit_info) in xfrm_policy_flush()
879 int xfrm_policy_walk(struct net *net, struct xfrm_policy_walk *walk, in xfrm_policy_walk()
971 static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, in xfrm_policy_lookup_bytype()
1028 __xfrm_policy_lookup(struct net *net, const struct flowi *fl, u16 family, u8 dir) in __xfrm_policy_lookup()
1059 xfrm_policy_lookup(struct net *net, const struct flowi *fl, u16 family, in xfrm_policy_lookup()
1130 struct net *net = xp_net(pol); in __xfrm_policy_link() local
1147 struct net *net = xp_net(pol); in __xfrm_policy_unlink() local
1175 struct net *net = xp_net(pol); in xfrm_sk_policy_insert() local
1251 xfrm_get_saddr(struct net *net, xfrm_address_t *local, xfrm_address_t *remote, in xfrm_get_saddr()
1270 struct net *net = xp_net(policy); in xfrm_tmpl_resolve_one() local
1429 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
1511 struct net *net = xp_net(policy); in xfrm_bundle_create() local
1717 struct net *net = xp_net(pols[0]); in xfrm_resolve_and_create_bundle() local
1865 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
1922 xfrm_bundle_lookup(struct net *net, const struct flowi *fl, u16 family, u8 dir, in xfrm_bundle_lookup()
2022 static struct dst_entry *make_blackhole(struct net *net, u16 family, in make_blackhole()
2044 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup()
2304 struct net *net = dev_net(skb->dev); in __xfrm_policy_check() local
2461 struct net *net = dev_net(skb->dev); in __xfrm_route_forward() local
2545 static void __xfrm_garbage_collect(struct net *net) in __xfrm_garbage_collect()
2561 void xfrm_garbage_collect(struct net *net) in xfrm_garbage_collect()
2568 static void xfrm_garbage_collect_deferred(struct net *net) in xfrm_garbage_collect_deferred()
2685 struct net *net; in xfrm_policy_register_afinfo() local
2771 static void __net_init xfrm_dst_ops_init(struct net *net) in xfrm_dst_ops_init()
2803 static int __net_init xfrm_statistics_init(struct net *net) in xfrm_statistics_init()
2817 static void xfrm_statistics_fini(struct net *net) in xfrm_statistics_fini()
2823 static int __net_init xfrm_statistics_init(struct net *net) in xfrm_statistics_init()
2828 static void xfrm_statistics_fini(struct net *net) in xfrm_statistics_fini()
2833 static int __net_init xfrm_policy_init(struct net *net) in xfrm_policy_init()
2883 static void xfrm_policy_fini(struct net *net) in xfrm_policy_fini()
2919 static int __net_init xfrm_net_init(struct net *net) in xfrm_net_init()
2948 static void __net_exit xfrm_net_exit(struct net *net) in xfrm_net_exit()