Lines Matching defs:dir
124 u8 dir, type; member
360 int dir; in xfrm_policy_timer() local
516 unsigned short family, int dir, in __get_hash_thresh()
538 unsigned short family, int dir) in policy_hash_bysel()
558 unsigned short family, int dir) in policy_hash_direct()
576 int dir) in xfrm_dst_hash_transfer()
629 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
686 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
729 int dir, total; in xfrm_hash_resize() local
749 xfrm_policy_inexact_alloc_bin(const struct xfrm_policy *pol, u8 dir) in xfrm_policy_inexact_alloc_bin()
1045 u16 family, u8 prefixlen, u8 dir) in xfrm_policy_inexact_insert_node()
1180 struct xfrm_policy *policy, u8 dir) in xfrm_policy_inexact_alloc_chain()
1239 xfrm_policy_inexact_insert(struct xfrm_policy *policy, u8 dir, int excl) in xfrm_policy_inexact_insert()
1273 int dir; in xfrm_policy_is_dead_or_sk() local
1290 int dir; in xfrm_hash_rebuild() local
1413 static u32 xfrm_gen_index(struct net *net, int dir, u32 index) in xfrm_gen_index()
1578 int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl) in xfrm_policy_insert()
1630 u32 if_id, u8 type, int dir, struct xfrm_selector *sel, in __xfrm_policy_bysel_ctx()
1652 u8 type, int dir, struct xfrm_selector *sel, in xfrm_policy_bysel_ctx()
1722 u8 type, int dir, u32 id, int delete, int *err) in xfrm_policy_byid()
1820 int dir, err = 0, cnt = 0; in xfrm_policy_flush() local
1860 int dir, err = 0, cnt = 0; in xfrm_dev_policy_flush() local
2063 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup_rcu()
2080 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup()
2158 u16 family, u8 dir, in xfrm_policy_lookup_bytype()
2226 u16 family, u8 dir, u32 if_id) in xfrm_policy_lookup()
2240 static struct xfrm_policy *xfrm_sk_policy_lookup(const struct sock *sk, int dir, in xfrm_sk_policy_lookup()
2317 static void __xfrm_policy_link(struct xfrm_policy *pol, int dir) in __xfrm_policy_link()
2335 int dir) in __xfrm_policy_unlink()
2354 static void xfrm_sk_policy_link(struct xfrm_policy *pol, int dir) in xfrm_sk_policy_link()
2359 static void xfrm_sk_policy_unlink(struct xfrm_policy *pol, int dir) in xfrm_sk_policy_unlink()
2364 int xfrm_policy_delete(struct xfrm_policy *pol, int dir) in xfrm_policy_delete()
2379 int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol) in xfrm_sk_policy_insert()
2415 static struct xfrm_policy *clone_policy(const struct xfrm_policy *old, int dir) in clone_policy()
3081 u16 family, u8 dir, in xfrm_bundle_lookup()
3177 u8 dir = XFRM_POLICY_OUT; in xfrm_lookup_with_ifid() local
3670 int __xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, in __xfrm_policy_check()
4202 int dir, err; in xfrm_policy_init() local
4264 int dir; in xfrm_policy_fini() local
4471 u8 dir, u8 type, struct net *net, u32 if_id) in xfrm_migrate_policy_find()
4624 int xfrm_migrate(const struct xfrm_selector *sel, u8 dir, u8 type, in xfrm_migrate()