Lines Matching defs:dir

118 	u8 dir, type;  member
320 int dir; in xfrm_policy_timer() local
466 unsigned short family, int dir, in __get_hash_thresh()
488 unsigned short family, int dir) in policy_hash_bysel()
508 unsigned short family, int dir) in policy_hash_direct()
526 int dir) in xfrm_dst_hash_transfer()
579 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
636 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
679 int dir, total; in xfrm_hash_resize() local
699 xfrm_policy_inexact_alloc_bin(const struct xfrm_policy *pol, u8 dir) in xfrm_policy_inexact_alloc_bin()
995 u16 family, u8 prefixlen, u8 dir) in xfrm_policy_inexact_insert_node()
1130 struct xfrm_policy *policy, u8 dir) in xfrm_policy_inexact_alloc_chain()
1189 xfrm_policy_inexact_insert(struct xfrm_policy *policy, u8 dir, int excl) in xfrm_policy_inexact_insert()
1235 int dir; in xfrm_hash_rebuild() local
1378 static u32 xfrm_gen_index(struct net *net, int dir, u32 index) in xfrm_gen_index()
1579 int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl) in xfrm_policy_insert()
1628 u32 if_id, u8 type, int dir, struct xfrm_selector *sel, in __xfrm_policy_bysel_ctx()
1650 u8 type, int dir, struct xfrm_selector *sel, in xfrm_policy_bysel_ctx()
1720 u8 type, int dir, u32 id, int delete, int *err) in xfrm_policy_byid()
1818 int dir, err = 0, cnt = 0; in xfrm_policy_flush() local
1858 int dir, err = 0, cnt = 0; in xfrm_dev_policy_flush() local
2061 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup_rcu()
2078 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup()
2156 u16 family, u8 dir, in xfrm_policy_lookup_bytype()
2224 u16 family, u8 dir, u32 if_id) in xfrm_policy_lookup()
2238 static struct xfrm_policy *xfrm_sk_policy_lookup(const struct sock *sk, int dir, in xfrm_sk_policy_lookup()
2281 static void __xfrm_policy_link(struct xfrm_policy *pol, int dir) in __xfrm_policy_link()
2291 int dir) in __xfrm_policy_unlink()
2311 static void xfrm_sk_policy_link(struct xfrm_policy *pol, int dir) in xfrm_sk_policy_link()
2316 static void xfrm_sk_policy_unlink(struct xfrm_policy *pol, int dir) in xfrm_sk_policy_unlink()
2321 int xfrm_policy_delete(struct xfrm_policy *pol, int dir) in xfrm_policy_delete()
2336 int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol) in xfrm_sk_policy_insert()
2372 static struct xfrm_policy *clone_policy(const struct xfrm_policy *old, int dir) in clone_policy()
3028 u16 family, u8 dir, in xfrm_bundle_lookup()
3124 u8 dir = XFRM_POLICY_OUT; in xfrm_lookup_with_ifid() local
3595 int __xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, in __xfrm_policy_check()
4109 int dir, err; in xfrm_policy_init() local
4175 int dir; in xfrm_policy_fini() local
4356 u8 dir, u8 type, struct net *net, u32 if_id) in xfrm_migrate_policy_find()
4501 int xfrm_migrate(const struct xfrm_selector *sel, u8 dir, u8 type, in xfrm_migrate()