Home
last modified time | relevance | path

Searched refs:req_info (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c34 static inline void update_input_iv(struct cpt_request_info *req_info, in update_input_iv() argument
39 req_info->in[*argcnt].vptr = (void *)iv; in update_input_iv()
40 req_info->in[*argcnt].size = enc_iv_len; in update_input_iv()
41 req_info->req.dlen += enc_iv_len; in update_input_iv()
46 static inline void update_output_iv(struct cpt_request_info *req_info, in update_output_iv() argument
51 req_info->out[*argcnt].vptr = (void *)iv; in update_output_iv()
52 req_info->out[*argcnt].size = enc_iv_len; in update_output_iv()
53 req_info->rlen += enc_iv_len; in update_output_iv()
58 static inline void update_input_data(struct cpt_request_info *req_info, in update_input_data() argument
62 req_info->req.dlen += nbytes; in update_input_data()
[all …]
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c147 struct otx_cpt_req_info *req_info; in output_iv_copyback() local
160 req_info = &rctx->cpt_req; in output_iv_copyback()
164 if (req_info->is_enc) { in output_iv_copyback()
172 memcpy(sreq->iv, req_info->iv_out, ivsize); in output_iv_copyback()
173 kfree(req_info->iv_out); in output_iv_copyback()
196 static inline void update_input_data(struct otx_cpt_req_info *req_info, in update_input_data() argument
200 req_info->req.dlen += nbytes; in update_input_data()
206 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
207 req_info->in[*argcnt].size = len; in update_input_data()
214 static inline void update_output_data(struct otx_cpt_req_info *req_info, in update_output_data() argument
[all …]
/linux/net/ethtool/
H A Dtunnels.c167 struct ethnl_req_info req_info = {}; in ethnl_tunnel_info_doit() local
174 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_tunnel_info_doit()
182 ret = ethnl_tunnel_info_reply_size(&req_info, info->extack); in ethnl_tunnel_info_doit()
187 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
196 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); in ethnl_tunnel_info_doit()
200 ethnl_parse_header_dev_put(&req_info); in ethnl_tunnel_info_doit()
209 ethnl_parse_header_dev_put(&req_info); in ethnl_tunnel_info_doit()
214 struct ethnl_req_info req_info; member
229 ret = ethnl_parse_header_dev_get(&ctx->req_info, in ethnl_tunnel_info_start()
233 if (ctx->req_info.dev) { in ethnl_tunnel_info_start()
[all …]
H A Dmm.c177 ethnl_set_mm_validate(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_mm_validate() argument
179 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_mm_validate()
184 static int ethnl_set_mm(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_mm() argument
187 struct net_device *dev = req_info->dev; in ethnl_set_mm()