Home
last modified time | relevance | path

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

/linux-5.19.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 …]
/linux-5.19.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c146 struct otx_cpt_req_info *req_info; in output_iv_copyback() local
159 req_info = &rctx->cpt_req; in output_iv_copyback()
163 if (req_info->is_enc) { in output_iv_copyback()
171 memcpy(sreq->iv, req_info->iv_out, ivsize); in output_iv_copyback()
172 kfree(req_info->iv_out); in output_iv_copyback()
195 static inline void update_input_data(struct otx_cpt_req_info *req_info, in update_input_data() argument
199 req_info->req.dlen += nbytes; in update_input_data()
205 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
206 req_info->in[*argcnt].size = len; in update_input_data()
213 static inline void update_output_data(struct otx_cpt_req_info *req_info, in update_output_data() argument
[all …]
/linux-5.19.10/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c128 struct otx2_cpt_req_info *req_info; in output_iv_copyback() local
141 req_info = &rctx->cpt_req; in output_iv_copyback()
145 if (req_info->is_enc) { in output_iv_copyback()
153 memcpy(sreq->iv, req_info->iv_out, ivsize); in output_iv_copyback()
154 kfree(req_info->iv_out); in output_iv_copyback()
177 static inline void update_input_data(struct otx2_cpt_req_info *req_info, in update_input_data() argument
181 req_info->req.dlen += nbytes; in update_input_data()
187 req_info->in[*argcnt].vptr = (void *)ptr; in update_input_data()
188 req_info->in[*argcnt].size = len; in update_input_data()
195 static inline void update_output_data(struct otx2_cpt_req_info *req_info, in update_output_data() argument
[all …]
/linux-5.19.10/net/ethtool/
Dnetlink.c88 int ethnl_parse_header_dev_get(struct ethnl_req_info *req_info, in ethnl_parse_header_dev_get() argument
144 req_info->dev = dev; in ethnl_parse_header_dev_get()
146 netdev_tracker_alloc(dev, &req_info->dev_tracker, GFP_KERNEL); in ethnl_parse_header_dev_get()
147 req_info->flags = flags; in ethnl_parse_header_dev_get()
262 struct ethnl_req_info *req_info; member
310 static int ethnl_default_parse(struct ethnl_req_info *req_info, in ethnl_default_parse() argument
317 ret = ethnl_parse_header_dev_get(req_info, tb[request_ops->hdr_attr], in ethnl_default_parse()
323 ret = request_ops->parse_request(req_info, tb, extack); in ethnl_default_parse()
353 struct ethnl_req_info *req_info = NULL; in ethnl_default_doit() local
364 req_info = kzalloc(ops->req_info_size, GFP_KERNEL); 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 ethnl_parse_header_dev_put(&req_info); in ethnl_tunnel_info_doit()
207 ethnl_parse_header_dev_put(&req_info); 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 …]
Dstats.c88 struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_parse_request() local
92 err = ethnl_update_bitset(req_info->stat_mask, __ETHTOOL_STATS_CNT, in stats_parse_request()
110 const struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_prepare_data() local
124 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask) && in stats_prepare_data()
127 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask) && in stats_prepare_data()
130 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask) && in stats_prepare_data()
133 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask) && in stats_prepare_data()
145 const struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_reply_size() local
149 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask)) { in stats_reply_size()
153 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask)) { in stats_reply_size()
[all …]
Dstrset.c185 struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_parse_request() local
198 req_info->counts_only = tb[ETHTOOL_A_STRSET_COUNTS_ONLY]; in strset_parse_request()
216 req_info->req_ids |= (1U << id); in strset_parse_request()
279 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_prepare_data() local
290 if ((req_info->req_ids & (1U << i)) && in strset_prepare_data()
304 if (!strset_include(req_info, data, i) || in strset_prepare_data()
309 req_info->counts_only); in strset_prepare_data()
350 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); in strset_reply_size() local
361 if (!strset_include(req_info, data, i)) in strset_reply_size()
364 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,
238 static inline void ethnl_parse_header_dev_put(struct ethnl_req_info *req_info) in ethnl_parse_header_dev_put() argument
240 dev_put_track(req_info->dev, &req_info->dev_tracker); in ethnl_parse_header_dev_put()
313 int (*parse_request)(struct ethnl_req_info *req_info,
316 int (*prepare_data)(const struct ethnl_req_info *req_info,
319 int (*reply_size)(const struct ethnl_req_info *req_info,
322 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()
99 ethnl_parse_header_dev_put(&req_info); 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()
356 ethnl_parse_header_dev_put(&req_info); 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()
126 ethnl_parse_header_dev_put(&req_info); in ethnl_set_debug()
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()
152 ethnl_parse_header_dev_put(&req_info); in ethnl_set_linkinfo()
Dmodule.c147 struct ethnl_req_info req_info = {}; in ethnl_set_module() local
153 ret = ethnl_parse_header_dev_get(&req_info, tb[ETHTOOL_A_MODULE_HEADER], in ethnl_set_module()
158 dev = req_info.dev; in ethnl_set_module()
178 ethnl_parse_header_dev_put(&req_info); in ethnl_set_module()
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()
168 ethnl_parse_header_dev_put(&req_info); in ethnl_set_wol()
Dfeatures.c220 struct ethnl_req_info req_info = {}; in ethnl_set_features() local
228 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_features()
234 dev = req_info.dev; in ethnl_set_features()
263 if (!(req_info.flags & ETHTOOL_FLAG_OMIT_REPLY)) { in ethnl_set_features()
264 bool compact = req_info.flags & ETHTOOL_FLAG_COMPACT_BITSETS; in ethnl_set_features()
286 ethnl_parse_header_dev_put(&req_info); in ethnl_set_features()
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()
188 ethnl_parse_header_dev_put(&req_info); in ethnl_set_eee()
Dpause.c142 struct ethnl_req_info req_info = {}; in ethnl_set_pause() local
149 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_pause()
155 dev = req_info.dev; in ethnl_set_pause()
184 ethnl_parse_header_dev_put(&req_info); in ethnl_set_pause()
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()
199 ethnl_parse_header_dev_put(&req_info); in ethnl_set_privflags()
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()
222 ethnl_parse_header_dev_put(&req_info); in ethnl_set_channels()
Drings.c135 struct ethnl_req_info req_info = {}; in ethnl_set_rings() local
143 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_rings()
149 dev = req_info.dev; in ethnl_set_rings()
233 ethnl_parse_header_dev_put(&req_info); in ethnl_set_rings()
Dfec.c243 struct ethnl_req_info req_info = {}; in ethnl_set_fec() local
252 ret = ethnl_parse_header_dev_get(&req_info, tb[ETHTOOL_A_FEC_HEADER], in ethnl_set_fec()
257 dev = req_info.dev; in ethnl_set_fec()
308 ethnl_parse_header_dev_put(&req_info); in ethnl_set_fec()
Dlinkmodes.c311 struct ethnl_req_info req_info = {}; in ethnl_set_linkmodes() local
321 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_linkmodes()
327 dev = req_info.dev; in ethnl_set_linkmodes()
361 ethnl_parse_header_dev_put(&req_info); in ethnl_set_linkmodes()
Dcoalesce.c236 struct ethnl_req_info req_info = {}; in ethnl_set_coalesce() local
245 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_coalesce()
251 dev = req_info.dev; in ethnl_set_coalesce()
339 ethnl_parse_header_dev_put(&req_info); in ethnl_set_coalesce()
Deeprom.c147 static int eeprom_parse_request(struct ethnl_req_info *req_info, struct nlattr **tb, in eeprom_parse_request() argument
150 struct eeprom_req_info *request = MODULE_EEPROM_REQINFO(req_info); in eeprom_parse_request()
/linux-5.19.10/drivers/scsi/bfa/
Dbfa_svc.h162 struct bfa_fcxp_req_info_s req_info; member
Dbfa_svc.c790 struct bfa_fcxp_req_info_s *reqi = &fcxp->req_info; in bfa_fcxp_queue()
1005 struct bfa_fcxp_req_info_s *reqi = &fcxp->req_info; in bfa_fcxp_send()