Lines Matching defs:orig
305 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
1715 struct xfrm_state *orig)
1717 x->replay_esn = kzalloc(xfrm_replay_state_esn_len(orig->replay_esn),
1722 x->replay_esn->bmp_len = orig->replay_esn->bmp_len;
1723 x->replay_esn->replay_window = orig->replay_esn->replay_window;
1736 static inline struct xfrm_algo_aead *xfrm_algo_aead_clone(struct xfrm_algo_aead *orig)
1738 return kmemdup(orig, aead_len(orig), GFP_KERNEL);
1742 static inline struct xfrm_algo *xfrm_algo_clone(struct xfrm_algo *orig)
1744 return kmemdup(orig, xfrm_alg_len(orig), GFP_KERNEL);
1747 static inline struct xfrm_algo_auth *xfrm_algo_auth_clone(struct xfrm_algo_auth *orig)
1749 return kmemdup(orig, xfrm_alg_auth_len(orig), GFP_KERNEL);