Lines Matching refs:orig
303 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
1711 struct xfrm_state *orig) in xfrm_replay_clone() argument
1713 x->replay_esn = kzalloc(xfrm_replay_state_esn_len(orig->replay_esn), in xfrm_replay_clone()
1718 x->replay_esn->bmp_len = orig->replay_esn->bmp_len; in xfrm_replay_clone()
1719 x->replay_esn->replay_window = orig->replay_esn->replay_window; in xfrm_replay_clone()
1732 static inline struct xfrm_algo_aead *xfrm_algo_aead_clone(struct xfrm_algo_aead *orig) in xfrm_algo_aead_clone() argument
1734 return kmemdup(orig, aead_len(orig), GFP_KERNEL); in xfrm_algo_aead_clone()
1738 static inline struct xfrm_algo *xfrm_algo_clone(struct xfrm_algo *orig) in xfrm_algo_clone() argument
1740 return kmemdup(orig, xfrm_alg_len(orig), GFP_KERNEL); in xfrm_algo_clone()
1743 static inline struct xfrm_algo_auth *xfrm_algo_auth_clone(struct xfrm_algo_auth *orig) in xfrm_algo_auth_clone() argument
1745 return kmemdup(orig, xfrm_alg_auth_len(orig), GFP_KERNEL); in xfrm_algo_auth_clone()