Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
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 …]
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c145 struct otx_cpt_req_info *req_info; in output_iv_copyback() local
158 req_info = &rctx->cpt_req; in output_iv_copyback()
162 if (req_info->is_enc) { in output_iv_copyback()
170 memcpy(sreq->iv, req_info->iv_out, ivsize); in output_iv_copyback()
171 kfree(req_info->iv_out); in output_iv_copyback()
194 static inline void update_input_data(struct otx_cpt_req_info *req_info, in update_input_data() argument
198 req_info->req.dlen += nbytes; in update_input_data()
204 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
205 req_info->in[*argcnt].size = len; in update_input_data()
212 static inline void update_output_data(struct otx_cpt_req_info *req_info, in update_output_data() argument
[all …]
/kernel/linux/linux-5.10/net/ethtool/
Dnetlink.c48 int ethnl_parse_header_dev_get(struct ethnl_req_info *req_info, in ethnl_parse_header_dev_get() argument
110 req_info->dev = dev; in ethnl_parse_header_dev_get()
111 req_info->flags = flags; in ethnl_parse_header_dev_get()
226 struct ethnl_req_info *req_info; member
269 static int ethnl_default_parse(struct ethnl_req_info *req_info, in ethnl_default_parse() argument
276 ret = ethnl_parse_header_dev_get(req_info, tb[request_ops->hdr_attr], in ethnl_default_parse()
282 ret = request_ops->parse_request(req_info, tb, extack); in ethnl_default_parse()
312 struct ethnl_req_info *req_info = NULL; in ethnl_default_doit() local
323 req_info = kzalloc(ops->req_info_size, GFP_KERNEL); in ethnl_default_doit()
324 if (!req_info) in ethnl_default_doit()
[all …]
Dtunnels.c165 struct ethnl_req_info req_info = {}; in ethnl_tunnel_info_doit() local
172 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_tunnel_info_doit()
180 ret = ethnl_tunnel_info_reply_size(&req_info, info->extack); in ethnl_tunnel_info_doit()
185 rskb = ethnl_reply_init(reply_len, req_info.dev, in ethnl_tunnel_info_doit()
194 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); in ethnl_tunnel_info_doit()
198 dev_put(req_info.dev); in ethnl_tunnel_info_doit()
207 dev_put(req_info.dev); in ethnl_tunnel_info_doit()
212 struct ethnl_req_info req_info; member
228 ret = ethnl_parse_header_dev_get(&ctx->req_info, in ethnl_tunnel_info_start()
232 if (ctx->req_info.dev) { in ethnl_tunnel_info_start()
[all …]
Dstrset.c160 struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_parse_request() local
173 req_info->counts_only = tb[ETHTOOL_A_STRSET_COUNTS_ONLY]; in strset_parse_request()
191 req_info->req_ids |= (1U << id); in strset_parse_request()
254 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_prepare_data() local
265 if ((req_info->req_ids & (1U << i)) && in strset_prepare_data()
279 if (!strset_include(req_info, data, i) || in strset_prepare_data()
284 req_info->counts_only); in strset_prepare_data()
325 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_reply_size() local
336 if (!strset_include(req_info, data, i)) in strset_reply_size()
339 ret = strset_set_size(set_info, req_info->counts_only); in strset_reply_size()
[all …]
Dnetlink.h13 int ethnl_parse_header_dev_get(struct ethnl_req_info *req_info,
320 int (*parse_request)(struct ethnl_req_info *req_info,
323 int (*prepare_data)(const struct ethnl_req_info *req_info,
326 int (*reply_size)(const struct ethnl_req_info *req_info,
329 const struct ethnl_req_info *req_info,
Dcabletest.c58 struct ethnl_req_info req_info = {}; in ethnl_act_cable_test() local
64 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_act_cable_test()
71 dev = req_info.dev; in ethnl_act_cable_test()
309 struct ethnl_req_info req_info = {}; in ethnl_act_cable_test_tdr() local
316 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_act_cable_test_tdr()
323 dev = req_info.dev; in ethnl_act_cable_test_tdr()
Ddebug.c88 struct ethnl_req_info req_info = {}; in ethnl_set_debug() local
95 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_debug()
101 dev = req_info.dev; in ethnl_set_debug()
Dfeatures.c221 struct ethnl_req_info req_info = {}; in ethnl_set_features() local
229 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_features()
235 dev = req_info.dev; in ethnl_set_features()
264 if (!(req_info.flags & ETHTOOL_FLAG_OMIT_REPLY)) { in ethnl_set_features()
265 bool compact = req_info.flags & ETHTOOL_FLAG_COMPACT_BITSETS; in ethnl_set_features()
Dlinkinfo.c102 struct ethnl_req_info req_info = {}; in ethnl_set_linkinfo() local
108 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_linkinfo()
114 dev = req_info.dev; in ethnl_set_linkinfo()
Dwol.c110 struct ethnl_req_info req_info = {}; in ethnl_set_wol() local
116 ret = ethnl_parse_header_dev_get(&req_info, tb[ETHTOOL_A_WOL_HEADER], in ethnl_set_wol()
121 dev = req_info.dev; in ethnl_set_wol()
Dprivflags.c145 struct ethnl_req_info req_info = {}; in ethnl_set_privflags() local
160 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_privflags()
166 dev = req_info.dev; in ethnl_set_privflags()
Drings.c113 struct ethnl_req_info req_info = {}; in ethnl_set_rings() local
121 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_rings()
127 dev = req_info.dev; in ethnl_set_rings()
Deee.c136 struct ethnl_req_info req_info = {}; in ethnl_set_eee() local
144 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_eee()
150 dev = req_info.dev; in ethnl_set_eee()
Dpause.c148 struct ethnl_req_info req_info = {}; in ethnl_set_pause() local
155 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_pause()
161 dev = req_info.dev; in ethnl_set_pause()
Dchannels.c117 struct ethnl_req_info req_info = {}; in ethnl_set_channels() local
124 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_channels()
130 dev = req_info.dev; in ethnl_set_channels()
Dcoalesce.c223 struct ethnl_req_info req_info = {}; in ethnl_set_coalesce() local
232 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_coalesce()
238 dev = req_info.dev; in ethnl_set_coalesce()
Dlinkmodes.c383 struct ethnl_req_info req_info = {}; in ethnl_set_linkmodes() local
389 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_linkmodes()
395 dev = req_info.dev; in ethnl_set_linkmodes()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_svc.h162 struct bfa_fcxp_req_info_s req_info; member
Dbfa_svc.c796 struct bfa_fcxp_req_info_s *reqi = &fcxp->req_info; in bfa_fcxp_queue()
1011 struct bfa_fcxp_req_info_s *reqi = &fcxp->req_info; in bfa_fcxp_send()