/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 34 static inline void update_input_iv(struct cpt_request_info *req_info, argument 39 req_info->in[*argcnt].vptr = (void *)iv; 40 req_info->in[*argcnt].size = enc_iv_len; 41 req_info->req.dlen += enc_iv_len; 46 static inline void update_output_iv(struct cpt_request_info *req_info, argument 51 req_info->out[*argcnt].vptr = (void *)iv; 52 req_info->out[*argcnt].size = enc_iv_len; 53 req_info->rlen += enc_iv_len; 58 static inline void update_input_data(struct cpt_request_info *req_info, argument 62 req_info 77 update_output_data(struct cpt_request_info *req_info, struct scatterlist *outp_sg, u32 nbytes, u32 *argcnt) argument 103 struct cpt_request_info *req_info = &rctx->cpt_req; local 155 struct cpt_request_info *req_info = &rctx->cpt_req; local 166 store_cb_info(struct skcipher_request *req, struct cpt_request_info *req_info) argument 177 struct cpt_request_info *req_info = &rctx->cpt_req; local 199 struct cpt_request_info *req_info = &rctx->cpt_req; local [all...] |
/linux-master/net/ethtool/ |
H A D | tunnels.c | 167 struct ethnl_req_info req_info = {}; local 174 ret = ethnl_parse_header_dev_get(&req_info, 182 ret = ethnl_tunnel_info_reply_size(&req_info, info->extack); 187 rskb = ethnl_reply_init(reply_len, req_info.dev, 196 ret = ethnl_tunnel_info_fill_reply(&req_info, rskb); 200 ethnl_parse_header_dev_put(&req_info); 209 ethnl_parse_header_dev_put(&req_info); 214 struct ethnl_req_info req_info; member in struct:ethnl_tunnel_info_dump_ctx 229 ret = ethnl_parse_header_dev_get(&ctx->req_info, 233 if (ctx->req_info [all...] |
H A D | netlink.c | 74 * @req_info: structure to put results into 81 * the structure pointed to by @req_info. Extack from @info is used for error 82 * reporting. If req_info->dev is not null on return, reference to it has 83 * been taken. If error is returned, *req_info is null initialized and no 88 int ethnl_parse_header_dev_get(struct ethnl_req_info *req_info, argument 118 dev = netdev_get_by_index(net, ifindex, &req_info->dev_tracker, 129 netdev_put(dev, &req_info->dev_tracker); 136 &req_info->dev_tracker, GFP_KERNEL); 148 req_info->dev = dev; 149 req_info 263 struct ethnl_req_info *req_info; member in struct:ethnl_dump_ctx 328 ethnl_default_parse(struct ethnl_req_info *req_info, const struct genl_info *info, const struct ethnl_request_ops *request_ops, bool require_dev) argument 373 struct ethnl_req_info *req_info = NULL; local 518 struct ethnl_req_info *req_info; local 578 struct ethnl_req_info req_info = {}; local 646 struct ethnl_req_info *req_info; local [all...] |
H A D | debug.c | 75 ethnl_set_debug_validate(struct ethnl_req_info *req_info, argument 78 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 84 ethnl_set_debug(struct ethnl_req_info *req_info, struct genl_info *info) argument 86 struct net_device *dev = req_info->dev;
|
H A D | pause.c | 35 struct pause_req_info *req_info = PAUSE_REQINFO(req_base); local 47 req_info->src = src; 56 const struct pause_req_info *req_info = PAUSE_REQINFO(req_base); local 58 enum ethtool_mac_stats_src src = req_info->src; 174 ethnl_set_pause_validate(struct ethnl_req_info *req_info, argument 177 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 183 ethnl_set_pause(struct ethnl_req_info *req_info, struct genl_info *info) argument 185 struct net_device *dev = req_info->dev;
|
H A D | stats.c | 92 struct stats_req_info *req_info = STATS_REQINFO(req_base); local 96 err = ethnl_update_bitset(req_info->stat_mask, __ETHTOOL_STATS_CNT, 110 req_info->src = src; 119 const struct stats_req_info *req_info = STATS_REQINFO(req_base); local 121 enum ethtool_mac_stats_src src = req_info->src; 148 if (test_bit(ETHTOOL_STATS_ETH_PHY, req_info->stat_mask) && 151 if (test_bit(ETHTOOL_STATS_ETH_MAC, req_info->stat_mask) && 154 if (test_bit(ETHTOOL_STATS_ETH_CTRL, req_info->stat_mask) && 157 if (test_bit(ETHTOOL_STATS_RMON, req_info->stat_mask) && 169 const struct stats_req_info *req_info local 404 const struct stats_req_info *req_info = STATS_REQINFO(req_base); local [all...] |
H 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) argument 266 netdev_put(req_info->dev, &req_info->dev_tracker); 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, [all...] |
H A D | strset.c | 185 struct strset_req_info *req_info = STRSET_REQINFO(req_base); local 198 req_info->counts_only = tb[ETHTOOL_A_STRSET_COUNTS_ONLY]; 216 req_info->req_ids |= (1U << id); 279 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); local 290 if ((req_info->req_ids & (1U << i)) && 304 if (!strset_include(req_info, data, i) || 309 req_info->counts_only); 350 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); local 361 if (!strset_include(req_info, data, i)) 364 ret = strset_set_size(set_info, req_info 440 const struct strset_req_info *req_info = STRSET_REQINFO(req_base); local [all...] |
H A D | privflags.c | 130 ethnl_set_privflags_validate(struct ethnl_req_info *req_info, argument 133 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 145 ethnl_set_privflags(struct ethnl_req_info *req_info, struct genl_info *info) argument 148 struct net_device *dev = req_info->dev;
|
H A D | wol.c | 97 ethnl_set_wol_validate(struct ethnl_req_info *req_info, struct genl_info *info) argument 99 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 105 ethnl_set_wol(struct ethnl_req_info *req_info, struct genl_info *info) argument 108 struct net_device *dev = req_info->dev;
|
H A D | linkinfo.c | 87 ethnl_set_linkinfo_validate(struct ethnl_req_info *req_info, argument 90 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 98 ethnl_set_linkinfo(struct ethnl_req_info *req_info, struct genl_info *info) argument 102 struct net_device *dev = req_info->dev;
|
H A D | module.c | 103 ethnl_set_module_validate(struct ethnl_req_info *req_info, argument 106 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 123 ethnl_set_module(struct ethnl_req_info *req_info, struct genl_info *info) argument 128 struct net_device *dev = req_info->dev;
|
H A D | eee.c | 120 ethnl_set_eee_validate(struct ethnl_req_info *req_info, struct genl_info *info) argument 122 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 128 ethnl_set_eee(struct ethnl_req_info *req_info, struct genl_info *info) argument 130 struct net_device *dev = req_info->dev;
|
H A D | cabletest.c | 58 struct ethnl_req_info req_info = {}; local 64 ret = ethnl_parse_header_dev_get(&req_info, 71 dev = req_info.dev; 99 ethnl_parse_header_dev_put(&req_info); 309 struct ethnl_req_info req_info = {}; local 316 ret = ethnl_parse_header_dev_get(&req_info, 323 dev = req_info.dev; 356 ethnl_parse_header_dev_put(&req_info);
|
H A D | pse-pd.c | 119 ethnl_set_pse_validate(struct ethnl_req_info *req_info, struct genl_info *info) argument 125 ethnl_set_pse(struct ethnl_req_info *req_info, struct genl_info *info) argument 127 struct net_device *dev = req_info->dev;
|
H A D | features.c | 220 struct ethnl_req_info req_info = {}; local 228 ret = ethnl_parse_header_dev_get(&req_info, 234 dev = req_info.dev; 266 if (!(req_info.flags & ETHTOOL_FLAG_OMIT_REPLY)) { 267 bool compact = req_info.flags & ETHTOOL_FLAG_COMPACT_BITSETS; 291 ethnl_parse_header_dev_put(&req_info);
|
H A D | channels.c | 101 ethnl_set_channels_validate(struct ethnl_req_info *req_info, argument 104 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 110 ethnl_set_channels(struct ethnl_req_info *req_info, struct genl_info *info) argument 114 struct net_device *dev = req_info->dev;
|
H A D | mm.c | 176 ethnl_set_mm_validate(struct ethnl_req_info *req_info, struct genl_info *info) argument 178 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 183 static int ethnl_set_mm(struct ethnl_req_info *req_info, struct genl_info *info) argument 186 struct net_device *dev = req_info->dev;
|
H A D | coalesce.c | 233 ethnl_set_coalesce_validate(struct ethnl_req_info *req_info, argument 236 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 257 __ethnl_set_coalesce(struct ethnl_req_info *req_info, struct genl_info *info, argument 261 struct net_device *dev = req_info->dev; 340 ethnl_set_coalesce(struct ethnl_req_info *req_info, struct genl_info *info) argument 352 err = __ethnl_set_coalesce(req_info, info, &dual_change); 358 err = __ethnl_set_coalesce(req_info, info, &dual_change);
|
H A D | rss.c | 33 rss_parse_request(struct ethnl_req_info *req_info, struct nlattr **tb, argument 36 struct rss_req_info *request = RSS_REQINFO(req_info);
|
H A D | fec.c | 229 ethnl_set_fec_validate(struct ethnl_req_info *req_info, struct genl_info *info) argument 231 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 237 ethnl_set_fec(struct ethnl_req_info *req_info, struct genl_info *info) argument 240 struct net_device *dev = req_info->dev;
|
H A D | linkmodes.c | 303 ethnl_set_linkmodes_validate(struct ethnl_req_info *req_info, argument 306 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 319 ethnl_set_linkmodes(struct ethnl_req_info *req_info, struct genl_info *info) argument 322 struct net_device *dev = req_info->dev;
|
H A D | rings.c | 136 ethnl_set_rings_validate(struct ethnl_req_info *req_info, argument 139 const struct ethtool_ops *ops = req_info->dev->ethtool_ops; 194 ethnl_set_rings(struct ethnl_req_info *req_info, struct genl_info *info) argument 198 struct net_device *dev = req_info->dev;
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_algs.c | 129 struct otx2_cpt_req_info *req_info; local 142 req_info = &rctx->cpt_req; 146 if (req_info->is_enc) { 154 memcpy(sreq->iv, req_info->iv_out, ivsize); 155 kfree(req_info->iv_out); 178 static inline void update_input_data(struct otx2_cpt_req_info *req_info, argument 182 req_info->req.dlen += nbytes; 188 req_info->in[*argcnt].vptr = (void *)ptr; 189 req_info->in[*argcnt].size = len; 196 static inline void update_output_data(struct otx2_cpt_req_info *req_info, argument 225 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 293 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 311 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 354 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1047 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1138 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1160 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1177 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1193 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1210 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local 1314 struct otx2_cpt_req_info *req_info = &rctx->cpt_req; local [all...] |
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_algs.c | 146 struct otx_cpt_req_info *req_info; local 159 req_info = &rctx->cpt_req; 163 if (req_info->is_enc) { 171 memcpy(sreq->iv, req_info->iv_out, ivsize); 172 kfree(req_info->iv_out); 195 static inline void update_input_data(struct otx_cpt_req_info *req_info, argument 199 req_info->req.dlen += nbytes; 205 req_info->in[*argcnt].vptr = (void *)ptr; 206 req_info->in[*argcnt].size = len; 213 static inline void update_output_data(struct otx_cpt_req_info *req_info, argument 237 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 307 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 325 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 344 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 966 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 1051 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 1075 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 1092 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 1110 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 1129 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local 1216 struct otx_cpt_req_info *req_info = &rctx->cpt_req; local [all...] |