Lines Matching defs:net

119 	possible_net_t net;  member
259 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif, in __xfrm_dst_lookup()
285 struct net *net = xs_net(x); in xfrm_dst_lookup() local
393 struct xfrm_policy *xfrm_policy_alloc(struct net *net, gfp_t gfp) in xfrm_policy_alloc()
461 static inline unsigned int idx_hash(struct net *net, u32 index) in idx_hash()
467 static void __get_hash_thresh(struct net *net, in __get_hash_thresh()
488 static struct hlist_head *policy_hash_bysel(struct net *net, in policy_hash_bysel()
507 static struct hlist_head *policy_hash_direct(struct net *net, in policy_hash_direct()
524 static void xfrm_dst_hash_transfer(struct net *net, in xfrm_dst_hash_transfer()
581 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
613 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize()
638 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
653 static inline int xfrm_byidx_should_resize(struct net *net, int total) in xfrm_byidx_should_resize()
664 void xfrm_spd_getinfo(struct net *net, struct xfrmk_spdinfo *si) in xfrm_spd_getinfo()
680 struct net *net = container_of(work, struct net, xfrm.policy_hash_work); in xfrm_hash_resize() local
710 struct net *net = xp_net(pol); in xfrm_policy_inexact_alloc_bin() local
844 static void xfrm_policy_inexact_list_reinsert(struct net *net, in xfrm_policy_inexact_list_reinsert()
907 static void xfrm_policy_inexact_node_reinsert(struct net *net, in xfrm_policy_inexact_node_reinsert()
965 static void xfrm_policy_inexact_node_merge(struct net *net, in xfrm_policy_inexact_node_merge()
994 xfrm_policy_inexact_insert_node(struct net *net, in xfrm_policy_inexact_insert_node()
1113 struct net *net = read_pnet(&b->k.net); in xfrm_policy_inexact_prune_bin() local
1120 static void __xfrm_policy_inexact_flush(struct net *net) in __xfrm_policy_inexact_flush()
1135 struct net *net; in xfrm_policy_inexact_alloc_chain() local
1196 struct net *net; in xfrm_policy_inexact_insert() local
1228 struct net *net = container_of(work, struct net, in xfrm_hash_rebuild() local
1369 void xfrm_policy_hash_rebuild(struct net *net) in xfrm_policy_hash_rebuild()
1377 static u32 xfrm_gen_index(struct net *net, int dir, u32 index) in xfrm_gen_index()
1579 struct net *net = xp_net(policy); in xfrm_policy_insert() local
1647 xfrm_policy_bysel_ctx(struct net *net, const struct xfrm_mark *mark, u32 if_id, in xfrm_policy_bysel_ctx()
1717 xfrm_policy_byid(struct net *net, const struct xfrm_mark *mark, u32 if_id, in xfrm_policy_byid()
1758 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check()
1779 xfrm_policy_flush_secctx_check(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush_secctx_check()
1785 int xfrm_policy_flush(struct net *net, u8 type, bool task_valid) in xfrm_policy_flush()
1822 int xfrm_policy_walk(struct net *net, struct xfrm_policy_walk *walk, in xfrm_policy_walk()
1879 void xfrm_policy_walk_done(struct xfrm_policy_walk *walk, struct net *net) in xfrm_policy_walk_done()
1988 xfrm_policy_inexact_lookup_rcu(struct net *net, u8 type, u16 family, in xfrm_policy_inexact_lookup_rcu()
2005 xfrm_policy_inexact_lookup(struct net *net, u8 type, u16 family, in xfrm_policy_inexact_lookup()
2083 static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, in xfrm_policy_lookup_bytype()
2148 static struct xfrm_policy *xfrm_policy_lookup(struct net *net, in xfrm_policy_lookup()
2210 struct net *net = xp_net(pol); in __xfrm_policy_link() local
2220 struct net *net = xp_net(pol); in __xfrm_policy_unlink() local
2250 struct net *net = xp_net(pol); in xfrm_policy_delete() local
2265 struct net *net = sock_net(sk); in xfrm_sk_policy_insert() local
2302 struct net *net = xp_net(old); in clone_policy() local
2354 xfrm_get_saddr(struct net *net, int oif, xfrm_address_t *local, in xfrm_get_saddr()
2373 struct net *net = xp_net(policy); in xfrm_tmpl_resolve_one() local
2474 static inline struct xfrm_dst *xfrm_alloc_dst(struct net *net, int family) in xfrm_alloc_dst()
2550 struct net *net = xp_net(policy); in xfrm_bundle_create() local
2730 struct net *net = xp_net(pols[0]); in xfrm_resolve_and_create_bundle() local
2769 struct net *net = xp_net(pol); in xfrm_policy_queue_process() local
2850 static int xdst_queue_output(struct net *net, struct sock *sk, struct sk_buff *skb) in xdst_queue_output()
2892 static struct xfrm_dst *xfrm_create_dummy_bundle(struct net *net, in xfrm_create_dummy_bundle()
2951 static struct xfrm_dst *xfrm_bundle_lookup(struct net *net, in xfrm_bundle_lookup()
3014 static struct dst_entry *make_blackhole(struct net *net, u16 family, in make_blackhole()
3039 struct dst_entry *xfrm_lookup_with_ifid(struct net *net, in xfrm_lookup_with_ifid()
3192 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup()
3203 struct dst_entry *xfrm_lookup_route(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup_route()
3550 struct net *net = dev_net(skb->dev); in __xfrm_policy_check() local
3716 struct net *net = dev_net(skb->dev); in __xfrm_route_forward() local
4021 static int __net_init xfrm_statistics_init(struct net *net) in xfrm_statistics_init()
4033 static void xfrm_statistics_fini(struct net *net) in xfrm_statistics_fini()
4039 static int __net_init xfrm_statistics_init(struct net *net) in xfrm_statistics_init()
4044 static void xfrm_statistics_fini(struct net *net) in xfrm_statistics_fini()
4049 static int __net_init xfrm_policy_init(struct net *net) in xfrm_policy_init()
4114 static void xfrm_policy_fini(struct net *net) in xfrm_policy_fini()
4149 static int __net_init xfrm_net_init(struct net *net) in xfrm_net_init()
4183 static void __net_exit xfrm_net_exit(struct net *net) in xfrm_net_exit()
4299 u8 dir, u8 type, struct net *net, u32 if_id) in xfrm_migrate_policy_find()
4437 struct xfrm_kmaddress *k, struct net *net, in xfrm_migrate()