/Linux-v6.1/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 34 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-v6.1/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 146 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-v6.1/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 128 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-v6.1/net/ethtool/ |
D | netlink.c | 88 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 311 static int ethnl_default_parse(struct ethnl_req_info *req_info, in ethnl_default_parse() argument 318 ret = ethnl_parse_header_dev_get(req_info, tb[request_ops->hdr_attr], in ethnl_default_parse() 324 ret = request_ops->parse_request(req_info, tb, extack); in ethnl_default_parse() 354 struct ethnl_req_info *req_info = NULL; in ethnl_default_doit() local 368 req_info = kzalloc(ops->req_info_size, GFP_KERNEL); in ethnl_default_doit() [all …]
|
D | tunnels.c | 167 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 230 ret = ethnl_parse_header_dev_get(&ctx->req_info, in ethnl_tunnel_info_start() 234 if (ctx->req_info.dev) { in ethnl_tunnel_info_start() [all …]
|
D | stats.c | 88 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 …]
|
D | strset.c | 185 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 …]
|
D | netlink.h | 13 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 netdev_put(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,
|
D | cabletest.c | 58 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()
|
D | debug.c | 88 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()
|
D | linkinfo.c | 102 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()
|
D | pse-pd.c | 159 struct ethnl_req_info req_info = {}; in ethnl_set_pse() local 164 ret = ethnl_parse_header_dev_get(&req_info, tb[ETHTOOL_A_PSE_HEADER], in ethnl_set_pse() 170 dev = req_info.dev; in ethnl_set_pse() 182 ethnl_parse_header_dev_put(&req_info); in ethnl_set_pse()
|
D | module.c | 147 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()
|
D | wol.c | 110 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()
|
D | features.c | 220 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()
|
D | pause.c | 142 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()
|
D | privflags.c | 145 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()
|
D | eee.c | 136 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()
|
D | channels.c | 117 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()
|
D | rings.c | 135 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()
|
D | fec.c | 243 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()
|
D | linkmodes.c | 316 struct ethnl_req_info req_info = {}; in ethnl_set_linkmodes() local 326 ret = ethnl_parse_header_dev_get(&req_info, in ethnl_set_linkmodes() 332 dev = req_info.dev; in ethnl_set_linkmodes() 366 ethnl_parse_header_dev_put(&req_info); in ethnl_set_linkmodes()
|
D | coalesce.c | 236 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()
|
D | eeprom.c | 147 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-v6.1/drivers/scsi/bfa/ |
D | bfa_svc.h | 162 struct bfa_fcxp_req_info_s req_info; member
|