Lines Matching defs:dir

122 	u8 dir, type;  member
325 int dir; in xfrm_policy_timer() local
468 unsigned short family, int dir, in __get_hash_thresh()
490 unsigned short family, int dir) in policy_hash_bysel()
510 unsigned short family, int dir) in policy_hash_direct()
528 int dir) in xfrm_dst_hash_transfer()
581 static void xfrm_bydst_resize(struct net *net, int dir) in xfrm_bydst_resize()
638 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize()
681 int dir, total; in xfrm_hash_resize() local
701 xfrm_policy_inexact_alloc_bin(const struct xfrm_policy *pol, u8 dir) in xfrm_policy_inexact_alloc_bin()
997 u16 family, u8 prefixlen, u8 dir) in xfrm_policy_inexact_insert_node()
1132 struct xfrm_policy *policy, u8 dir) in xfrm_policy_inexact_alloc_chain()
1191 xfrm_policy_inexact_insert(struct xfrm_policy *policy, u8 dir, int excl) in xfrm_policy_inexact_insert()
1237 int dir; in xfrm_hash_rebuild() local
1377 static u32 xfrm_gen_index(struct net *net, int dir, u32 index) in xfrm_gen_index()
1577 int xfrm_policy_insert(int dir, struct xfrm_policy *policy, int excl) in xfrm_policy_insert()
1626 u32 if_id, u8 type, int dir, struct xfrm_selector *sel, in __xfrm_policy_bysel_ctx()
1648 u8 type, int dir, struct xfrm_selector *sel, in xfrm_policy_bysel_ctx()
1718 u8 type, int dir, u32 id, int delete, int *err) in xfrm_policy_byid()
1787 int dir, err = 0, cnt = 0; in xfrm_policy_flush() local
1897 u8 type, u16 family, int dir, u32 if_id) in xfrm_policy_match()
1989 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup_rcu()
2006 u8 dir, u32 if_id) in xfrm_policy_inexact_lookup()
2023 u8 type, u16 family, int dir, u32 if_id) in __xfrm_policy_eval_candidates()
2062 u8 type, u16 family, int dir, u32 if_id) in xfrm_policy_eval_candidates()
2085 u16 family, u8 dir, in xfrm_policy_lookup_bytype()
2150 u16 family, u8 dir, u32 if_id) in xfrm_policy_lookup()
2164 static struct xfrm_policy *xfrm_sk_policy_lookup(const struct sock *sk, int dir, in xfrm_sk_policy_lookup()
2208 static void __xfrm_policy_link(struct xfrm_policy *pol, int dir) in __xfrm_policy_link()
2218 int dir) in __xfrm_policy_unlink()
2238 static void xfrm_sk_policy_link(struct xfrm_policy *pol, int dir) in xfrm_sk_policy_link()
2243 static void xfrm_sk_policy_unlink(struct xfrm_policy *pol, int dir) in xfrm_sk_policy_unlink()
2248 int xfrm_policy_delete(struct xfrm_policy *pol, int dir) in xfrm_policy_delete()
2263 int xfrm_sk_policy_insert(struct sock *sk, int dir, struct xfrm_policy *pol) in xfrm_sk_policy_insert()
2299 static struct xfrm_policy *clone_policy(const struct xfrm_policy *old, int dir) in clone_policy()
2953 u16 family, u8 dir, in xfrm_bundle_lookup()
3049 u8 dir = XFRM_POLICY_OUT; in xfrm_lookup_with_ifid() local
3547 int __xfrm_policy_check(struct sock *sk, int dir, struct sk_buff *skb, in __xfrm_policy_check()
4052 int dir, err; in xfrm_policy_init() local
4118 int dir; in xfrm_policy_fini() local
4299 u8 dir, u8 type, struct net *net, u32 if_id) in xfrm_migrate_policy_find()
4435 int xfrm_migrate(const struct xfrm_selector *sel, u8 dir, u8 type, in xfrm_migrate()