/linux-6.3-rc2/drivers/crypto/cavium/cpt/ |
A D | cptvf_algs.c | 41 req_info->req.dlen += enc_iv_len; in update_input_iv() 53 req_info->rlen += enc_iv_len; in update_output_iv() 62 req_info->req.dlen += nbytes; in update_input_data() 69 req_info->in[*argcnt].size = len; in update_input_data() 81 req_info->rlen += nbytes; in update_output_data() 107 req_info->ctrl.s.grp = 0; in create_ctx_hdr() 114 req_info->req.opcode.s.minor = 2; in create_ctx_hdr() 116 req_info->req.opcode.s.minor = 3; in create_ctx_hdr() 161 req_info->incnt = argcnt; in create_input_list() 190 req_info->outcnt = argcnt; in create_output_list() [all …]
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf_algs.c | 159 req_info = &rctx->cpt_req; in output_iv_copyback() 163 if (req_info->is_enc) { in output_iv_copyback() 172 kfree(req_info->iv_out); in output_iv_copyback() 217 req_info->rlen += nbytes; in update_output_data() 260 if (!req_info->iv_out) in create_ctx_hdr() 270 req_info->req.param2 = 0; in create_ctx_hdr() 316 req_info->incnt = argcnt; in create_input_list() 337 req_info->outcnt = argcnt; in create_output_list() 369 req_info->is_enc = enc; in cpt_enc_dec() 371 req_info->ctrl.s.grp = 0; in cpt_enc_dec() [all …]
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_algs.c | 141 req_info = &rctx->cpt_req; in output_iv_copyback() 145 if (req_info->is_enc) { in output_iv_copyback() 154 kfree(req_info->iv_out); in output_iv_copyback() 202 req_info->rlen += nbytes; in update_output_data() 233 req_info->ctrl.s.se_req = 1; in create_ctx_hdr() 245 if (!req_info->iv_out) in create_ctx_hdr() 255 req_info->req.param2 = 0; in create_ctx_hdr() 301 req_info->in_cnt = argcnt; in create_input_list() 322 req_info->out_cnt = argcnt; in create_output_list() 383 req_info->is_enc = enc; in cpt_enc_dec() [all …]
|
/linux-6.3-rc2/net/ethtool/ |
A D | netlink.c | 388 if (!req_info) in ethnl_default_doit() 428 netdev_put(req_info->dev, &req_info->dev_tracker); in ethnl_default_doit() 430 kfree(req_info); in ethnl_default_doit() 440 netdev_put(req_info->dev, &req_info->dev_tracker); in ethnl_default_doit() 442 kfree(req_info); in ethnl_default_doit() 561 if (!req_info) in ethnl_default_start() 576 netdev_put(req_info->dev, &req_info->dev_tracker); in ethnl_default_start() 583 ctx->req_info = req_info; in ethnl_default_start() 593 kfree(req_info); in ethnl_default_start() 692 if (!req_info) in ethnl_default_notify() [all …]
|
A 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() 187 rskb = ethnl_reply_init(reply_len, req_info.dev, 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 234 if (ctx->req_info.dev) { in ethnl_tunnel_info_start() 235 ethnl_parse_header_dev_put(&ctx->req_info); in ethnl_tunnel_info_start() 236 ctx->req_info.dev = NULL; in ethnl_tunnel_info_start() 276 ctx->req_info.dev = dev; in ethnl_tunnel_info_dumpit() [all …]
|
A D | stats.c | 92 struct stats_req_info *req_info = STATS_REQINFO(req_base); in stats_parse_request() local 110 req_info->src = src; in stats_parse_request() 122 enum ethtool_mac_stats_src src = req_info->src; in stats_prepare_data() 149 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask) && in stats_prepare_data() 152 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask) && in stats_prepare_data() 155 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask) && in stats_prepare_data() 158 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask) && in stats_prepare_data() 176 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask)) { in stats_reply_size() 180 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask)) { in stats_reply_size() 188 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask)) { in stats_reply_size() [all …]
|
A D | pause.c | 35 struct pause_req_info *req_info = PAUSE_REQINFO(req_base); in pause_parse_request() local 47 req_info->src = src; in pause_parse_request() 56 const struct pause_req_info *req_info = PAUSE_REQINFO(req_base); in pause_prepare_data() local 59 enum ethtool_mac_stats_src src = req_info->src; in pause_prepare_data() 175 ethnl_set_pause_validate(struct ethnl_req_info *req_info, in ethnl_set_pause_validate() argument 178 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_pause_validate() 184 ethnl_set_pause(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_pause() argument 186 struct net_device *dev = req_info->dev; in ethnl_set_pause()
|
A D | netlink.h | 13 int ethnl_parse_header_dev_get(struct ethnl_req_info *req_info, 264 static inline void ethnl_parse_header_dev_put(struct ethnl_req_info *req_info) in ethnl_parse_header_dev_put() argument 266 netdev_put(req_info->dev, &req_info->dev_tracker); in ethnl_parse_header_dev_put() 353 int (*parse_request)(struct ethnl_req_info *req_info, 356 int (*prepare_data)(const struct ethnl_req_info *req_info, 359 int (*reply_size)(const struct ethnl_req_info *req_info, 362 const struct ethnl_req_info *req_info, 366 int (*set_validate)(struct ethnl_req_info *req_info, 368 int (*set)(struct ethnl_req_info *req_info,
|
A 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() 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() 451 if (strset_include(req_info, data, i)) { in strset_fill_reply() [all …]
|
A D | debug.c | 75 ethnl_set_debug_validate(struct ethnl_req_info *req_info, in ethnl_set_debug_validate() argument 78 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_debug_validate() 84 ethnl_set_debug(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_debug() argument 86 struct net_device *dev = req_info->dev; in ethnl_set_debug()
|
A 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()
|
A D | linkinfo.c | 87 ethnl_set_linkinfo_validate(struct ethnl_req_info *req_info, in ethnl_set_linkinfo_validate() argument 90 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_linkinfo_validate() 98 ethnl_set_linkinfo(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_linkinfo() argument 102 struct net_device *dev = req_info->dev; in ethnl_set_linkinfo()
|
A D | module.c | 104 ethnl_set_module_validate(struct ethnl_req_info *req_info, in ethnl_set_module_validate() argument 107 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_module_validate() 124 ethnl_set_module(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_module() argument 129 struct net_device *dev = req_info->dev; in ethnl_set_module()
|
A D | wol.c | 96 ethnl_set_wol_validate(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_wol_validate() argument 98 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_wol_validate() 104 ethnl_set_wol(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_wol() argument 107 struct net_device *dev = req_info->dev; in ethnl_set_wol()
|
A D | eee.c | 123 ethnl_set_eee_validate(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_eee_validate() argument 125 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_eee_validate() 131 ethnl_set_eee(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_eee() argument 133 struct net_device *dev = req_info->dev; in ethnl_set_eee()
|
A 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()
|
A D | privflags.c | 130 ethnl_set_privflags_validate(struct ethnl_req_info *req_info, in ethnl_set_privflags_validate() argument 133 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_privflags_validate() 145 ethnl_set_privflags(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_privflags() argument 148 struct net_device *dev = req_info->dev; in ethnl_set_privflags()
|
A D | channels.c | 101 ethnl_set_channels_validate(struct ethnl_req_info *req_info, in ethnl_set_channels_validate() argument 104 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_channels_validate() 110 ethnl_set_channels(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_channels() argument 114 struct net_device *dev = req_info->dev; in ethnl_set_channels()
|
A D | pse-pd.c | 119 ethnl_set_pse_validate(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_pse_validate() argument 125 ethnl_set_pse(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_pse() argument 127 struct net_device *dev = req_info->dev; in ethnl_set_pse()
|
A D | rings.c | 123 ethnl_set_rings_validate(struct ethnl_req_info *req_info, in ethnl_set_rings_validate() argument 126 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_rings_validate() 165 ethnl_set_rings(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_rings() argument 169 struct net_device *dev = req_info->dev; in ethnl_set_rings()
|
A D | mm.c | 176 ethnl_set_mm_validate(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_mm_validate() argument 178 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_mm_validate() 183 static int ethnl_set_mm(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_mm() argument 186 struct net_device *dev = req_info->dev; in ethnl_set_mm()
|
A D | fec.c | 229 ethnl_set_fec_validate(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_fec_validate() argument 231 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_fec_validate() 237 ethnl_set_fec(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_fec() argument 240 struct net_device *dev = req_info->dev; in ethnl_set_fec()
|
A D | linkmodes.c | 302 ethnl_set_linkmodes_validate(struct ethnl_req_info *req_info, in ethnl_set_linkmodes_validate() argument 305 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_linkmodes_validate() 318 ethnl_set_linkmodes(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_linkmodes() argument 321 struct net_device *dev = req_info->dev; in ethnl_set_linkmodes()
|
A D | coalesce.c | 233 ethnl_set_coalesce_validate(struct ethnl_req_info *req_info, in ethnl_set_coalesce_validate() argument 236 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; in ethnl_set_coalesce_validate() 257 ethnl_set_coalesce(struct ethnl_req_info *req_info, struct genl_info *info) in ethnl_set_coalesce() argument 260 struct net_device *dev = req_info->dev; in ethnl_set_coalesce()
|
A D | rss.c | 32 rss_parse_request(struct ethnl_req_info *req_info, struct nlattr **tb, in rss_parse_request() argument 35 struct rss_req_info *request = RSS_REQINFO(req_info); in rss_parse_request()
|