/Linux-v6.1/include/trace/events/ |
D | netfs.h | 188 TP_PROTO(struct netfs_io_subrequest *sreq, 191 TP_ARGS(sreq, what), 206 __entry->rreq = sreq->rreq->debug_id; 207 __entry->index = sreq->debug_index; 208 __entry->error = sreq->error; 209 __entry->flags = sreq->flags; 210 __entry->source = sreq->source; 212 __entry->len = sreq->len; 213 __entry->transferred = sreq->transferred; 214 __entry->start = sreq->start; [all …]
|
D | cachefiles.h | 431 TP_PROTO(struct netfs_io_subrequest *sreq, 436 TP_ARGS(sreq, source, why, cache_inode), 451 __entry->rreq = sreq->rreq->debug_id; 452 __entry->index = sreq->debug_index; 453 __entry->flags = sreq->flags; 456 __entry->len = sreq->len; 457 __entry->start = sreq->start; 458 __entry->netfs_inode = sreq->rreq->inode->i_ino;
|
/Linux-v6.1/drivers/crypto/marvell/cesa/ |
D | cipher.c | 86 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_step() local 88 size_t len = min_t(size_t, req->cryptlen - sreq->offset, in mv_cesa_skcipher_std_step() 91 mv_cesa_adjust_op(engine, &sreq->op); in mv_cesa_skcipher_std_step() 93 memcpy(engine->sram_pool, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step() 95 memcpy_toio(engine->sram, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step() 99 sreq->offset); in mv_cesa_skcipher_std_step() 101 sreq->size = len; in mv_cesa_skcipher_std_step() 102 mv_cesa_set_crypt_op_len(&sreq->op, len); in mv_cesa_skcipher_std_step() 105 if (!sreq->skip_ctx) { in mv_cesa_skcipher_std_step() 107 memcpy(engine->sram_pool, &sreq->op, sizeof(sreq->op)); in mv_cesa_skcipher_std_step() [all …]
|
D | hash.c | 161 struct mv_cesa_ahash_std_req *sreq = &creq->req.std; in mv_cesa_ahash_std_step() local 178 if (!sreq->offset) { in mv_cesa_ahash_std_step() 194 len = min_t(size_t, req->nbytes + creq->cache_ptr - sreq->offset, in mv_cesa_ahash_std_step() 203 sreq->offset += mv_cesa_sg_copy_to_sram( in mv_cesa_ahash_std_step() 206 len - creq->cache_ptr, sreq->offset); in mv_cesa_ahash_std_step() 212 if (creq->last_req && sreq->offset == req->nbytes && in mv_cesa_ahash_std_step() 287 struct mv_cesa_ahash_std_req *sreq = &creq->req.std; in mv_cesa_ahash_std_process() local 289 if (sreq->offset < (req->nbytes - creq->cache_ptr)) in mv_cesa_ahash_std_process() 306 struct mv_cesa_ahash_std_req *sreq = &creq->req.std; in mv_cesa_ahash_std_prepare() local 308 sreq->offset = 0; in mv_cesa_ahash_std_prepare()
|
/Linux-v6.1/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 507 struct safexcel_cipher_req *sreq, in safexcel_context_control() argument 529 (sreq->direction == SAFEXCEL_ENCRYPT ? in safexcel_context_control() 544 if (sreq->direction == SAFEXCEL_ENCRYPT && in safexcel_context_control() 549 else if (sreq->direction == SAFEXCEL_ENCRYPT) in safexcel_context_control() 559 if (sreq->direction == SAFEXCEL_ENCRYPT) in safexcel_context_control() 612 struct safexcel_cipher_req *sreq, in safexcel_handle_req_result() argument 623 if (unlikely(!sreq->rdescs)) in safexcel_handle_req_result() 626 while (sreq->rdescs--) { in safexcel_handle_req_result() 644 if (sreq->nr_src > 0) in safexcel_handle_req_result() 645 dma_unmap_sg(priv->dev, src, sreq->nr_src, in safexcel_handle_req_result() [all …]
|
D | safexcel_hash.c | 234 struct safexcel_ahash_req *sreq = ahash_request_ctx(areq); in safexcel_handle_req_result() local 251 if (sreq->nents) { in safexcel_handle_req_result() 252 dma_unmap_sg(priv->dev, areq->src, sreq->nents, DMA_TO_DEVICE); in safexcel_handle_req_result() 253 sreq->nents = 0; in safexcel_handle_req_result() 256 if (sreq->result_dma) { in safexcel_handle_req_result() 257 dma_unmap_single(priv->dev, sreq->result_dma, sreq->digest_sz, in safexcel_handle_req_result() 259 sreq->result_dma = 0; in safexcel_handle_req_result() 262 if (sreq->cache_dma) { in safexcel_handle_req_result() 263 dma_unmap_single(priv->dev, sreq->cache_dma, sreq->cache_sz, in safexcel_handle_req_result() 265 sreq->cache_dma = 0; in safexcel_handle_req_result() [all …]
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mcu.c | 1519 struct cfg80211_scan_request *sreq = &scan_req->req; in mt76_connac_mcu_hw_scan() local 1521 int ext_channels_num = max_t(int, sreq->n_channels - 32, 0); in mt76_connac_mcu_hw_scan() 1522 struct ieee80211_channel **scan_list = sreq->channels; in mt76_connac_mcu_hw_scan() 1539 req->scan_type = sreq->n_ssids ? 1 : 0; in mt76_connac_mcu_hw_scan() 1540 req->probe_req_num = sreq->n_ssids ? 2 : 0; in mt76_connac_mcu_hw_scan() 1543 for (i = 0; i < sreq->n_ssids; i++) { in mt76_connac_mcu_hw_scan() 1544 if (!sreq->ssids[i].ssid_len) in mt76_connac_mcu_hw_scan() 1547 req->ssids[i].ssid_len = cpu_to_le32(sreq->ssids[i].ssid_len); in mt76_connac_mcu_hw_scan() 1548 memcpy(req->ssids[i].ssid, sreq->ssids[i].ssid, in mt76_connac_mcu_hw_scan() 1549 sreq->ssids[i].ssid_len); in mt76_connac_mcu_hw_scan() [all …]
|
D | mt76_connac_mcu.h | 1763 struct cfg80211_sched_scan_request *sreq);
|
/Linux-v6.1/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 2013 struct sec_req *sreq) in sec_skcipher_cryptlen_ckeck() argument 2015 u32 cryptlen = sreq->c_req.sk_req->cryptlen; in sec_skcipher_cryptlen_ckeck() 2049 static int sec_skcipher_param_check(struct sec_ctx *ctx, struct sec_req *sreq) in sec_skcipher_param_check() argument 2051 struct skcipher_request *sk_req = sreq->c_req.sk_req; in sec_skcipher_param_check() 2060 sreq->c_req.c_len = sk_req->cryptlen; in sec_skcipher_param_check() 2063 sreq->use_pbuf = true; in sec_skcipher_param_check() 2065 sreq->use_pbuf = false; in sec_skcipher_param_check() 2074 return sec_skcipher_cryptlen_ckeck(ctx, sreq); in sec_skcipher_param_check() 2083 struct skcipher_request *sreq, bool encrypt) in sec_skcipher_soft_crypto() argument 2098 skcipher_request_set_callback(subreq, sreq->base.flags, in sec_skcipher_soft_crypto() [all …]
|
/Linux-v6.1/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 147 struct skcipher_request *sreq; in output_iv_copyback() local 153 sreq = container_of(areq, struct skcipher_request, base); in output_iv_copyback() 154 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback() 158 rctx = skcipher_request_ctx(sreq); in output_iv_copyback() 161 start = sreq->cryptlen - ivsize; in output_iv_copyback() 164 scatterwalk_map_and_copy(sreq->iv, sreq->dst, start, in output_iv_copyback() 167 if (sreq->src != sreq->dst) { in output_iv_copyback() 168 scatterwalk_map_and_copy(sreq->iv, sreq->src, in output_iv_copyback() 171 memcpy(sreq->iv, req_info->iv_out, ivsize); in output_iv_copyback()
|
/Linux-v6.1/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.c | 130 struct skcipher_request *sreq; in output_iv_copyback() local 135 sreq = container_of(areq, struct skcipher_request, base); in output_iv_copyback() 136 stfm = crypto_skcipher_reqtfm(sreq); in output_iv_copyback() 140 rctx = skcipher_request_ctx(sreq); in output_iv_copyback() 143 start = sreq->cryptlen - ivsize; in output_iv_copyback() 146 scatterwalk_map_and_copy(sreq->iv, sreq->dst, start, in output_iv_copyback() 149 if (sreq->src != sreq->dst) { in output_iv_copyback() 150 scatterwalk_map_and_copy(sreq->iv, sreq->src, in output_iv_copyback() 153 memcpy(sreq->iv, req_info->iv_out, ivsize); in output_iv_copyback()
|
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 866 struct skcipher_request *sreq = qat_req->skcipher_req; in qat_alg_update_iv_ctr_mode() local 871 memcpy(qat_req->iv, sreq->iv, AES_BLOCK_SIZE); in qat_alg_update_iv_ctr_mode() 877 iv_lo += DIV_ROUND_UP(sreq->cryptlen, AES_BLOCK_SIZE); in qat_alg_update_iv_ctr_mode() 887 struct skcipher_request *sreq = qat_req->skcipher_req; in qat_alg_update_iv_cbc_mode() local 888 int offset = sreq->cryptlen - AES_BLOCK_SIZE; in qat_alg_update_iv_cbc_mode() 892 sgl = sreq->dst; in qat_alg_update_iv_cbc_mode() 894 sgl = sreq->src; in qat_alg_update_iv_cbc_mode() 924 struct skcipher_request *sreq = qat_req->skcipher_req; in qat_skcipher_alg_callback() local 935 memcpy(sreq->iv, qat_req->iv, AES_BLOCK_SIZE); in qat_skcipher_alg_callback() 937 sreq->base.complete(&sreq->base, res); in qat_skcipher_alg_callback()
|
/Linux-v6.1/include/linux/netfilter/ |
D | nf_conntrack_pptp.h | 288 struct PptpStartSessionRequest sreq; member
|
/Linux-v6.1/arch/s390/kernel/ |
D | perf_cpum_sf.c | 107 struct hws_lsctl_request_block sreq; in sf_disable() local 109 memset(&sreq, 0, sizeof(sreq)); in sf_disable() 110 return lsctl(&sreq); in sf_disable()
|