Lines Matching refs:orig
305 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
1722 struct xfrm_state *orig) in xfrm_replay_clone() argument
1724 x->replay_esn = kzalloc(xfrm_replay_state_esn_len(orig->replay_esn), in xfrm_replay_clone()
1729 x->replay_esn->bmp_len = orig->replay_esn->bmp_len; in xfrm_replay_clone()
1730 x->replay_esn->replay_window = orig->replay_esn->replay_window; in xfrm_replay_clone()
1743 static inline struct xfrm_algo_aead *xfrm_algo_aead_clone(struct xfrm_algo_aead *orig) in xfrm_algo_aead_clone() argument
1745 return kmemdup(orig, aead_len(orig), GFP_KERNEL); in xfrm_algo_aead_clone()
1749 static inline struct xfrm_algo *xfrm_algo_clone(struct xfrm_algo *orig) in xfrm_algo_clone() argument
1751 return kmemdup(orig, xfrm_alg_len(orig), GFP_KERNEL); in xfrm_algo_clone()
1754 static inline struct xfrm_algo_auth *xfrm_algo_auth_clone(struct xfrm_algo_auth *orig) in xfrm_algo_auth_clone() argument
1756 return kmemdup(orig, xfrm_alg_auth_len(orig), GFP_KERNEL); in xfrm_algo_auth_clone()