subreq 284 arch/arm/crypto/aes-ce-glue.c struct skcipher_request subreq; subreq 288 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 289 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_callback(&subreq, skcipher_request_flags(req), subreq 299 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 303 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_virt(&walk, &subreq, false) ?: subreq 304 arch/arm/crypto/aes-ce-glue.c cbc_encrypt_walk(&subreq, &walk); subreq 311 arch/arm/crypto/aes-ce-glue.c dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); subreq 314 arch/arm/crypto/aes-ce-glue.c subreq.cryptlen); subreq 318 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_crypt(&subreq, src, dst, subreq 322 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_virt(&walk, &subreq, false); subreq 342 arch/arm/crypto/aes-ce-glue.c struct skcipher_request subreq; subreq 346 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 347 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_callback(&subreq, skcipher_request_flags(req), subreq 357 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 361 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_virt(&walk, &subreq, false) ?: subreq 362 arch/arm/crypto/aes-ce-glue.c cbc_decrypt_walk(&subreq, &walk); subreq 369 arch/arm/crypto/aes-ce-glue.c dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); subreq 372 arch/arm/crypto/aes-ce-glue.c subreq.cryptlen); subreq 376 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_crypt(&subreq, src, dst, subreq 380 arch/arm/crypto/aes-ce-glue.c err = skcipher_walk_virt(&walk, &subreq, false); subreq 461 arch/arm/crypto/aes-ce-glue.c struct skcipher_request subreq; subreq 476 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 477 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_callback(&subreq, subreq 480 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 483 arch/arm/crypto/aes-ce-glue.c req = &subreq; subreq 533 arch/arm/crypto/aes-ce-glue.c struct skcipher_request subreq; subreq 548 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 549 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_callback(&subreq, subreq 552 arch/arm/crypto/aes-ce-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 555 arch/arm/crypto/aes-ce-glue.c req = &subreq; subreq 336 arch/arm/crypto/aes-neonbs-glue.c struct skcipher_request subreq; subreq 345 arch/arm/crypto/aes-neonbs-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 346 arch/arm/crypto/aes-neonbs-glue.c skcipher_request_set_callback(&subreq, subreq 349 arch/arm/crypto/aes-neonbs-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 351 arch/arm/crypto/aes-neonbs-glue.c req = &subreq; subreq 297 arch/arm64/crypto/aes-glue.c struct skcipher_request subreq; subreq 300 arch/arm64/crypto/aes-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 301 arch/arm64/crypto/aes-glue.c skcipher_request_set_callback(&subreq, skcipher_request_flags(req), subreq 311 arch/arm64/crypto/aes-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 315 arch/arm64/crypto/aes-glue.c err = skcipher_walk_virt(&walk, &subreq, false) ?: subreq 316 arch/arm64/crypto/aes-glue.c cbc_encrypt_walk(&subreq, &walk); subreq 323 arch/arm64/crypto/aes-glue.c dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); subreq 326 arch/arm64/crypto/aes-glue.c subreq.cryptlen); subreq 330 arch/arm64/crypto/aes-glue.c skcipher_request_set_crypt(&subreq, src, dst, subreq 334 arch/arm64/crypto/aes-glue.c err = skcipher_walk_virt(&walk, &subreq, false); subreq 354 arch/arm64/crypto/aes-glue.c struct skcipher_request subreq; subreq 357 arch/arm64/crypto/aes-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 358 arch/arm64/crypto/aes-glue.c skcipher_request_set_callback(&subreq, skcipher_request_flags(req), subreq 368 arch/arm64/crypto/aes-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 372 arch/arm64/crypto/aes-glue.c err = skcipher_walk_virt(&walk, &subreq, false) ?: subreq 373 arch/arm64/crypto/aes-glue.c cbc_decrypt_walk(&subreq, &walk); subreq 380 arch/arm64/crypto/aes-glue.c dst = src = scatterwalk_ffwd(sg_src, req->src, subreq.cryptlen); subreq 383 arch/arm64/crypto/aes-glue.c subreq.cryptlen); subreq 387 arch/arm64/crypto/aes-glue.c skcipher_request_set_crypt(&subreq, src, dst, subreq 391 arch/arm64/crypto/aes-glue.c err = skcipher_walk_virt(&walk, &subreq, false); subreq 532 arch/arm64/crypto/aes-glue.c struct skcipher_request subreq; subreq 547 arch/arm64/crypto/aes-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 548 arch/arm64/crypto/aes-glue.c skcipher_request_set_callback(&subreq, subreq 551 arch/arm64/crypto/aes-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 554 arch/arm64/crypto/aes-glue.c req = &subreq; subreq 584 arch/arm64/crypto/aes-glue.c err = skcipher_walk_virt(&walk, &subreq, false); subreq 604 arch/arm64/crypto/aes-glue.c struct skcipher_request subreq; subreq 619 arch/arm64/crypto/aes-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 620 arch/arm64/crypto/aes-glue.c skcipher_request_set_callback(&subreq, subreq 623 arch/arm64/crypto/aes-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 626 arch/arm64/crypto/aes-glue.c req = &subreq; subreq 656 arch/arm64/crypto/aes-glue.c err = skcipher_walk_virt(&walk, &subreq, false); subreq 325 arch/arm64/crypto/aes-neonbs-glue.c struct skcipher_request subreq; subreq 340 arch/arm64/crypto/aes-neonbs-glue.c skcipher_request_set_tfm(&subreq, tfm); subreq 341 arch/arm64/crypto/aes-neonbs-glue.c skcipher_request_set_callback(&subreq, subreq 344 arch/arm64/crypto/aes-neonbs-glue.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 347 arch/arm64/crypto/aes-neonbs-glue.c req = &subreq; subreq 267 arch/x86/crypto/glue_helper.c struct skcipher_request subreq; subreq 281 arch/x86/crypto/glue_helper.c skcipher_request_set_tfm(&subreq, tfm); subreq 282 arch/x86/crypto/glue_helper.c skcipher_request_set_callback(&subreq, subreq 285 arch/x86/crypto/glue_helper.c skcipher_request_set_crypt(&subreq, req->src, req->dst, subreq 287 arch/x86/crypto/glue_helper.c req = &subreq; subreq 327 arch/x86/crypto/glue_helper.c skcipher_request_set_crypt(&subreq, src, dst, XTS_BLOCK_SIZE, subreq 342 arch/x86/crypto/glue_helper.c skcipher_request_set_crypt(&subreq, dst, dst, XTS_BLOCK_SIZE, subreq 38 crypto/ccm.c struct aead_request subreq; subreq 645 crypto/ccm.c struct aead_request *subreq = &rctx->subreq; subreq 650 crypto/ccm.c u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), subreq 675 crypto/ccm.c aead_request_set_tfm(subreq, child); subreq 676 crypto/ccm.c aead_request_set_callback(subreq, req->base.flags, req->base.complete, subreq 678 crypto/ccm.c aead_request_set_crypt(subreq, rctx->src, subreq 681 crypto/ccm.c aead_request_set_ad(subreq, req->assoclen - 8); subreq 683 crypto/ccm.c return subreq; subreq 291 crypto/cryptd.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, child); subreq 296 crypto/cryptd.c skcipher_request_set_sync_tfm(subreq, child); subreq 297 crypto/cryptd.c skcipher_request_set_callback(subreq, CRYPTO_TFM_REQ_MAY_SLEEP, subreq 299 crypto/cryptd.c skcipher_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 302 crypto/cryptd.c err = crypto_skcipher_encrypt(subreq); subreq 303 crypto/cryptd.c skcipher_request_zero(subreq); subreq 319 crypto/cryptd.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, child); subreq 324 crypto/cryptd.c skcipher_request_set_sync_tfm(subreq, child); subreq 325 crypto/cryptd.c skcipher_request_set_callback(subreq, CRYPTO_TFM_REQ_MAY_SLEEP, subreq 327 crypto/cryptd.c skcipher_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 330 crypto/cryptd.c err = crypto_skcipher_decrypt(subreq); subreq 331 crypto/cryptd.c skcipher_request_zero(subreq); subreq 24 crypto/ctr.c struct skcipher_request subreq CRYPTO_MINALIGN_ATTR; subreq 203 crypto/ctr.c struct skcipher_request *subreq = &rctx->subreq; subreq 214 crypto/ctr.c skcipher_request_set_tfm(subreq, child); subreq 215 crypto/ctr.c skcipher_request_set_callback(subreq, req->base.flags, subreq 217 crypto/ctr.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 220 crypto/ctr.c return crypto_skcipher_encrypt(subreq); subreq 62 crypto/cts.c struct skcipher_request subreq; subreq 106 crypto/cts.c struct skcipher_request *subreq = &rctx->subreq; subreq 125 crypto/cts.c skcipher_request_set_callback(subreq, req->base.flags & subreq 128 crypto/cts.c skcipher_request_set_crypt(subreq, sg, sg, bsize, req->iv); subreq 129 crypto/cts.c return crypto_skcipher_encrypt(subreq); subreq 152 crypto/cts.c struct skcipher_request *subreq = &rctx->subreq; subreq 157 crypto/cts.c skcipher_request_set_tfm(subreq, ctx->child); subreq 163 crypto/cts.c skcipher_request_set_callback(subreq, req->base.flags, subreq 166 crypto/cts.c skcipher_request_set_crypt(subreq, req->src, req->dst, nbytes, subreq 168 crypto/cts.c return crypto_skcipher_encrypt(subreq); subreq 174 crypto/cts.c skcipher_request_set_callback(subreq, req->base.flags, subreq 176 crypto/cts.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 179 crypto/cts.c return crypto_skcipher_encrypt(subreq) ?: subreq 187 crypto/cts.c struct skcipher_request *subreq = &rctx->subreq; subreq 218 crypto/cts.c skcipher_request_set_callback(subreq, req->base.flags & subreq 222 crypto/cts.c skcipher_request_set_crypt(subreq, sg, sg, bsize, space); subreq 223 crypto/cts.c return crypto_skcipher_decrypt(subreq); subreq 246 crypto/cts.c struct skcipher_request *subreq = &rctx->subreq; subreq 252 crypto/cts.c skcipher_request_set_tfm(subreq, ctx->child); subreq 258 crypto/cts.c skcipher_request_set_callback(subreq, req->base.flags, subreq 261 crypto/cts.c skcipher_request_set_crypt(subreq, req->src, req->dst, nbytes, subreq 263 crypto/cts.c return crypto_skcipher_decrypt(subreq); subreq 266 crypto/cts.c skcipher_request_set_callback(subreq, req->base.flags, subreq 280 crypto/cts.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 283 crypto/cts.c return crypto_skcipher_decrypt(subreq) ?: subreq 30 crypto/echainiv.c struct aead_request *subreq = aead_request_ctx(req); subreq 40 crypto/echainiv.c aead_request_set_tfm(subreq, ctx->child); subreq 59 crypto/echainiv.c aead_request_set_callback(subreq, req->base.flags, subreq 61 crypto/echainiv.c aead_request_set_crypt(subreq, req->dst, req->dst, subreq 63 crypto/echainiv.c aead_request_set_ad(subreq, req->assoclen); subreq 82 crypto/echainiv.c return crypto_aead_encrypt(subreq); subreq 89 crypto/echainiv.c struct aead_request *subreq = aead_request_ctx(req); subreq 97 crypto/echainiv.c aead_request_set_tfm(subreq, ctx->child); subreq 102 crypto/echainiv.c aead_request_set_callback(subreq, req->base.flags, compl, data); subreq 103 crypto/echainiv.c aead_request_set_crypt(subreq, req->src, req->dst, subreq 105 crypto/echainiv.c aead_request_set_ad(subreq, req->assoclen + ivsize); subreq 109 crypto/echainiv.c return crypto_aead_decrypt(subreq); subreq 162 crypto/essiv.c struct skcipher_request *subreq = skcipher_request_ctx(req); subreq 166 crypto/essiv.c skcipher_request_set_tfm(subreq, tctx->u.skcipher); subreq 167 crypto/essiv.c skcipher_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 169 crypto/essiv.c skcipher_request_set_callback(subreq, skcipher_request_flags(req), subreq 172 crypto/essiv.c return enc ? crypto_skcipher_encrypt(subreq) : subreq 173 crypto/essiv.c crypto_skcipher_decrypt(subreq); subreq 201 crypto/essiv.c struct aead_request *subreq = &rctx->aead_req; subreq 259 crypto/essiv.c aead_request_set_tfm(subreq, tctx->u.aead); subreq 260 crypto/essiv.c aead_request_set_ad(subreq, req->assoclen); subreq 261 crypto/essiv.c aead_request_set_callback(subreq, aead_request_flags(req), subreq 263 crypto/essiv.c aead_request_set_crypt(subreq, src, req->dst, req->cryptlen, req->iv); subreq 265 crypto/essiv.c err = enc ? crypto_aead_encrypt(subreq) : subreq 266 crypto/essiv.c crypto_aead_decrypt(subreq); subreq 41 crypto/gcm.c struct aead_request subreq; subreq 55 crypto/gcm.c struct aead_request subreq; subreq 766 crypto/gcm.c struct aead_request *subreq = &rctx->subreq; subreq 769 crypto/gcm.c u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), subreq 791 crypto/gcm.c aead_request_set_tfm(subreq, child); subreq 792 crypto/gcm.c aead_request_set_callback(subreq, req->base.flags, req->base.complete, subreq 794 crypto/gcm.c aead_request_set_crypt(subreq, rctx->src, subreq 797 crypto/gcm.c aead_request_set_ad(subreq, req->assoclen - 8); subreq 799 crypto/gcm.c return subreq; subreq 993 crypto/gcm.c struct aead_request *subreq = &rctx->subreq; subreq 1008 crypto/gcm.c aead_request_set_tfm(subreq, ctx->child); subreq 1009 crypto/gcm.c aead_request_set_callback(subreq, req->base.flags, subreq 1011 crypto/gcm.c aead_request_set_crypt(subreq, req->src, req->dst, subreq 1013 crypto/gcm.c aead_request_set_ad(subreq, req->assoclen + req->cryptlen - subreq 1014 crypto/gcm.c subreq->cryptlen); subreq 1016 crypto/gcm.c return enc ? crypto_aead_encrypt(subreq) : crypto_aead_decrypt(subreq); subreq 54 crypto/lrw.c struct skcipher_request subreq; subreq 155 crypto/lrw.c req = &rctx->subreq; subreq 216 crypto/lrw.c rctx->subreq.base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; subreq 227 crypto/lrw.c struct skcipher_request *subreq = &rctx->subreq; subreq 229 crypto/lrw.c skcipher_request_set_tfm(subreq, ctx->child); subreq 230 crypto/lrw.c skcipher_request_set_callback(subreq, req->base.flags, crypt_done, req); subreq 232 crypto/lrw.c skcipher_request_set_crypt(subreq, req->dst, req->dst, subreq 245 crypto/lrw.c struct skcipher_request *subreq = &rctx->subreq; subreq 249 crypto/lrw.c crypto_skcipher_encrypt(subreq) ?: subreq 256 crypto/lrw.c struct skcipher_request *subreq = &rctx->subreq; subreq 260 crypto/lrw.c crypto_skcipher_decrypt(subreq) ?: subreq 25 crypto/seqiv.c struct aead_request *subreq = aead_request_ctx(req); subreq 35 crypto/seqiv.c memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); subreq 38 crypto/seqiv.c kzfree(subreq->iv); subreq 54 crypto/seqiv.c struct aead_request *subreq = aead_request_ctx(req); subreq 64 crypto/seqiv.c aead_request_set_tfm(subreq, ctx->child); subreq 97 crypto/seqiv.c aead_request_set_callback(subreq, req->base.flags, compl, data); subreq 98 crypto/seqiv.c aead_request_set_crypt(subreq, req->dst, req->dst, subreq 100 crypto/seqiv.c aead_request_set_ad(subreq, req->assoclen + ivsize); subreq 105 crypto/seqiv.c err = crypto_aead_encrypt(subreq); subreq 115 crypto/seqiv.c struct aead_request *subreq = aead_request_ctx(req); subreq 123 crypto/seqiv.c aead_request_set_tfm(subreq, ctx->child); subreq 128 crypto/seqiv.c aead_request_set_callback(subreq, req->base.flags, compl, data); subreq 129 crypto/seqiv.c aead_request_set_crypt(subreq, req->src, req->dst, subreq 131 crypto/seqiv.c aead_request_set_ad(subreq, req->assoclen + ivsize); subreq 135 crypto/seqiv.c return crypto_aead_decrypt(subreq); subreq 70 crypto/simd.c struct skcipher_request *subreq; subreq 73 crypto/simd.c subreq = skcipher_request_ctx(req); subreq 74 crypto/simd.c *subreq = *req; subreq 82 crypto/simd.c skcipher_request_set_tfm(subreq, child); subreq 84 crypto/simd.c return crypto_skcipher_encrypt(subreq); subreq 91 crypto/simd.c struct skcipher_request *subreq; subreq 94 crypto/simd.c subreq = skcipher_request_ctx(req); subreq 95 crypto/simd.c *subreq = *req; subreq 103 crypto/simd.c skcipher_request_set_tfm(subreq, child); subreq 105 crypto/simd.c return crypto_skcipher_decrypt(subreq); subreq 321 crypto/simd.c struct aead_request *subreq; subreq 324 crypto/simd.c subreq = aead_request_ctx(req); subreq 325 crypto/simd.c *subreq = *req; subreq 333 crypto/simd.c aead_request_set_tfm(subreq, child); subreq 335 crypto/simd.c return crypto_aead_encrypt(subreq); subreq 342 crypto/simd.c struct aead_request *subreq; subreq 345 crypto/simd.c subreq = aead_request_ctx(req); subreq 346 crypto/simd.c *subreq = *req; subreq 354 crypto/simd.c aead_request_set_tfm(subreq, child); subreq 356 crypto/simd.c return crypto_aead_decrypt(subreq); subreq 726 crypto/skcipher.c struct ablkcipher_request *subreq = skcipher_request_ctx(req); subreq 728 crypto/skcipher.c ablkcipher_request_set_tfm(subreq, *ctx); subreq 729 crypto/skcipher.c ablkcipher_request_set_callback(subreq, skcipher_request_flags(req), subreq 731 crypto/skcipher.c ablkcipher_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 734 crypto/skcipher.c return crypt(subreq); subreq 37 crypto/xts.c struct skcipher_request subreq; subreq 98 crypto/xts.c req = &rctx->subreq; subreq 169 crypto/xts.c struct skcipher_request *subreq = &rctx->subreq; subreq 185 crypto/xts.c skcipher_request_set_tfm(subreq, ctx->child); subreq 186 crypto/xts.c skcipher_request_set_callback(subreq, req->base.flags, cts_done, req); subreq 187 crypto/xts.c skcipher_request_set_crypt(subreq, rctx->tail, rctx->tail, subreq 190 crypto/xts.c err = crypt(subreq); subreq 208 crypto/xts.c rctx->subreq.base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; subreq 228 crypto/xts.c rctx->subreq.base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; subreq 245 crypto/xts.c struct skcipher_request *subreq = &rctx->subreq; subreq 250 crypto/xts.c skcipher_request_set_tfm(subreq, ctx->child); subreq 251 crypto/xts.c skcipher_request_set_callback(subreq, req->base.flags, compl, req); subreq 252 crypto/xts.c skcipher_request_set_crypt(subreq, req->dst, req->dst, subreq 264 crypto/xts.c struct skcipher_request *subreq = &rctx->subreq; subreq 269 crypto/xts.c crypto_skcipher_encrypt(subreq) ?: subreq 281 crypto/xts.c struct skcipher_request *subreq = &rctx->subreq; subreq 286 crypto/xts.c crypto_skcipher_decrypt(subreq) ?: subreq 272 drivers/crypto/amcc/crypto4xx_alg.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->sw_cipher.cipher); subreq 275 drivers/crypto/amcc/crypto4xx_alg.c skcipher_request_set_sync_tfm(subreq, ctx->sw_cipher.cipher); subreq 276 drivers/crypto/amcc/crypto4xx_alg.c skcipher_request_set_callback(subreq, req->base.flags, subreq 278 drivers/crypto/amcc/crypto4xx_alg.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 280 drivers/crypto/amcc/crypto4xx_alg.c ret = encrypt ? crypto_skcipher_encrypt(subreq) subreq 281 drivers/crypto/amcc/crypto4xx_alg.c : crypto_skcipher_decrypt(subreq); subreq 282 drivers/crypto/amcc/crypto4xx_alg.c skcipher_request_zero(subreq); subreq 365 drivers/crypto/amcc/crypto4xx_alg.c struct aead_request *subreq = aead_request_ctx(req); subreq 367 drivers/crypto/amcc/crypto4xx_alg.c aead_request_set_tfm(subreq, ctx->sw_cipher.aead); subreq 368 drivers/crypto/amcc/crypto4xx_alg.c aead_request_set_callback(subreq, req->base.flags, subreq 370 drivers/crypto/amcc/crypto4xx_alg.c aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 372 drivers/crypto/amcc/crypto4xx_alg.c aead_request_set_ad(subreq, req->assoclen); subreq 373 drivers/crypto/amcc/crypto4xx_alg.c return do_decrypt ? crypto_aead_decrypt(subreq) : subreq 374 drivers/crypto/amcc/crypto4xx_alg.c crypto_aead_encrypt(subreq); subreq 1204 drivers/crypto/axis/artpec6_crypto.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 1206 drivers/crypto/axis/artpec6_crypto.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 1207 drivers/crypto/axis/artpec6_crypto.c skcipher_request_set_callback(subreq, req->base.flags, subreq 1209 drivers/crypto/axis/artpec6_crypto.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 1211 drivers/crypto/axis/artpec6_crypto.c ret = encrypt ? crypto_skcipher_encrypt(subreq) subreq 1212 drivers/crypto/axis/artpec6_crypto.c : crypto_skcipher_decrypt(subreq); subreq 1213 drivers/crypto/axis/artpec6_crypto.c skcipher_request_zero(subreq); subreq 148 drivers/crypto/ccp/ccp-crypto-aes-xts.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, subreq 154 drivers/crypto/ccp/ccp-crypto-aes-xts.c skcipher_request_set_sync_tfm(subreq, ctx->u.aes.tfm_skcipher); subreq 155 drivers/crypto/ccp/ccp-crypto-aes-xts.c skcipher_request_set_callback(subreq, req->base.flags, subreq 157 drivers/crypto/ccp/ccp-crypto-aes-xts.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 159 drivers/crypto/ccp/ccp-crypto-aes-xts.c ret = encrypt ? crypto_skcipher_encrypt(subreq) : subreq 160 drivers/crypto/ccp/ccp-crypto-aes-xts.c crypto_skcipher_decrypt(subreq); subreq 161 drivers/crypto/ccp/ccp-crypto-aes-xts.c skcipher_request_zero(subreq); subreq 704 drivers/crypto/chelsio/chcr_algo.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, cipher); subreq 706 drivers/crypto/chelsio/chcr_algo.c skcipher_request_set_sync_tfm(subreq, cipher); subreq 707 drivers/crypto/chelsio/chcr_algo.c skcipher_request_set_callback(subreq, flags, NULL, NULL); subreq 708 drivers/crypto/chelsio/chcr_algo.c skcipher_request_set_crypt(subreq, src, dst, subreq 711 drivers/crypto/chelsio/chcr_algo.c err = op_type ? crypto_skcipher_decrypt(subreq) : subreq 712 drivers/crypto/chelsio/chcr_algo.c crypto_skcipher_encrypt(subreq); subreq 713 drivers/crypto/chelsio/chcr_algo.c skcipher_request_zero(subreq); subreq 2310 drivers/crypto/chelsio/chcr_algo.c struct aead_request *subreq = aead_request_ctx(req); subreq 2312 drivers/crypto/chelsio/chcr_algo.c aead_request_set_tfm(subreq, aeadctx->sw_cipher); subreq 2313 drivers/crypto/chelsio/chcr_algo.c aead_request_set_callback(subreq, req->base.flags, subreq 2315 drivers/crypto/chelsio/chcr_algo.c aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 2317 drivers/crypto/chelsio/chcr_algo.c aead_request_set_ad(subreq, req->assoclen); subreq 2318 drivers/crypto/chelsio/chcr_algo.c return op_type ? crypto_aead_decrypt(subreq) : subreq 2319 drivers/crypto/chelsio/chcr_algo.c crypto_aead_encrypt(subreq); subreq 287 drivers/crypto/geode-aes.c struct skcipher_request *subreq = skcipher_request_ctx(req); subreq 289 drivers/crypto/geode-aes.c *subreq = *req; subreq 290 drivers/crypto/geode-aes.c skcipher_request_set_tfm(subreq, tctx->fallback.skcipher); subreq 292 drivers/crypto/geode-aes.c return crypto_skcipher_decrypt(subreq); subreq 294 drivers/crypto/geode-aes.c return crypto_skcipher_encrypt(subreq); subreq 430 drivers/crypto/mxs-dcp.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 433 drivers/crypto/mxs-dcp.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 434 drivers/crypto/mxs-dcp.c skcipher_request_set_callback(subreq, req->base.flags, NULL, NULL); subreq 435 drivers/crypto/mxs-dcp.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 439 drivers/crypto/mxs-dcp.c ret = crypto_skcipher_encrypt(subreq); subreq 441 drivers/crypto/mxs-dcp.c ret = crypto_skcipher_decrypt(subreq); subreq 443 drivers/crypto/mxs-dcp.c skcipher_request_zero(subreq); subreq 521 drivers/crypto/omap-aes.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 523 drivers/crypto/omap-aes.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 524 drivers/crypto/omap-aes.c skcipher_request_set_callback(subreq, req->base.flags, NULL, subreq 526 drivers/crypto/omap-aes.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 530 drivers/crypto/omap-aes.c ret = crypto_skcipher_encrypt(subreq); subreq 532 drivers/crypto/omap-aes.c ret = crypto_skcipher_decrypt(subreq); subreq 534 drivers/crypto/omap-aes.c skcipher_request_zero(subreq); subreq 536 drivers/crypto/picoxcell_crypto.c struct aead_request *subreq = aead_request_ctx(req); subreq 538 drivers/crypto/picoxcell_crypto.c aead_request_set_tfm(subreq, ctx->sw_cipher); subreq 539 drivers/crypto/picoxcell_crypto.c aead_request_set_callback(subreq, req->base.flags, subreq 541 drivers/crypto/picoxcell_crypto.c aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, subreq 543 drivers/crypto/picoxcell_crypto.c aead_request_set_ad(subreq, req->assoclen); subreq 545 drivers/crypto/picoxcell_crypto.c return is_encrypt ? crypto_aead_encrypt(subreq) : subreq 546 drivers/crypto/picoxcell_crypto.c crypto_aead_decrypt(subreq); subreq 916 drivers/crypto/picoxcell_crypto.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->sw_cipher); subreq 924 drivers/crypto/picoxcell_crypto.c skcipher_request_set_sync_tfm(subreq, ctx->sw_cipher); subreq 925 drivers/crypto/picoxcell_crypto.c skcipher_request_set_callback(subreq, req->base.flags, NULL, NULL); subreq 926 drivers/crypto/picoxcell_crypto.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 928 drivers/crypto/picoxcell_crypto.c err = is_encrypt ? crypto_skcipher_encrypt(subreq) : subreq 929 drivers/crypto/picoxcell_crypto.c crypto_skcipher_decrypt(subreq); subreq 930 drivers/crypto/picoxcell_crypto.c skcipher_request_zero(subreq); subreq 224 drivers/crypto/qce/ablkcipher.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 226 drivers/crypto/qce/ablkcipher.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 227 drivers/crypto/qce/ablkcipher.c skcipher_request_set_callback(subreq, req->base.flags, subreq 229 drivers/crypto/qce/ablkcipher.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 231 drivers/crypto/qce/ablkcipher.c ret = encrypt ? crypto_skcipher_encrypt(subreq) : subreq 232 drivers/crypto/qce/ablkcipher.c crypto_skcipher_decrypt(subreq); subreq 233 drivers/crypto/qce/ablkcipher.c skcipher_request_zero(subreq); subreq 666 drivers/crypto/sahara.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 668 drivers/crypto/sahara.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 669 drivers/crypto/sahara.c skcipher_request_set_callback(subreq, req->base.flags, subreq 671 drivers/crypto/sahara.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 673 drivers/crypto/sahara.c err = crypto_skcipher_encrypt(subreq); subreq 674 drivers/crypto/sahara.c skcipher_request_zero(subreq); subreq 688 drivers/crypto/sahara.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 690 drivers/crypto/sahara.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 691 drivers/crypto/sahara.c skcipher_request_set_callback(subreq, req->base.flags, subreq 693 drivers/crypto/sahara.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 695 drivers/crypto/sahara.c err = crypto_skcipher_decrypt(subreq); subreq 696 drivers/crypto/sahara.c skcipher_request_zero(subreq); subreq 710 drivers/crypto/sahara.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 712 drivers/crypto/sahara.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 713 drivers/crypto/sahara.c skcipher_request_set_callback(subreq, req->base.flags, subreq 715 drivers/crypto/sahara.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 717 drivers/crypto/sahara.c err = crypto_skcipher_encrypt(subreq); subreq 718 drivers/crypto/sahara.c skcipher_request_zero(subreq); subreq 732 drivers/crypto/sahara.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, ctx->fallback); subreq 734 drivers/crypto/sahara.c skcipher_request_set_sync_tfm(subreq, ctx->fallback); subreq 735 drivers/crypto/sahara.c skcipher_request_set_callback(subreq, req->base.flags, subreq 737 drivers/crypto/sahara.c skcipher_request_set_crypt(subreq, req->src, req->dst, subreq 739 drivers/crypto/sahara.c err = crypto_skcipher_decrypt(subreq); subreq 740 drivers/crypto/sahara.c skcipher_request_zero(subreq); subreq 125 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c SYNC_SKCIPHER_REQUEST_ON_STACK(subreq, op->fallback_tfm); subreq 128 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c skcipher_request_set_sync_tfm(subreq, op->fallback_tfm); subreq 129 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c skcipher_request_set_callback(subreq, areq->base.flags, NULL, subreq 131 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c skcipher_request_set_crypt(subreq, areq->src, areq->dst, subreq 134 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c err = crypto_skcipher_decrypt(subreq); subreq 136 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c err = crypto_skcipher_encrypt(subreq); subreq 137 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c skcipher_request_zero(subreq); subreq 80 drivers/crypto/vmx/aes_cbc.c struct skcipher_request *subreq = skcipher_request_ctx(req); subreq 82 drivers/crypto/vmx/aes_cbc.c *subreq = *req; subreq 83 drivers/crypto/vmx/aes_cbc.c skcipher_request_set_tfm(subreq, ctx->fallback); subreq 84 drivers/crypto/vmx/aes_cbc.c return enc ? crypto_skcipher_encrypt(subreq) : subreq 85 drivers/crypto/vmx/aes_cbc.c crypto_skcipher_decrypt(subreq); subreq 99 drivers/crypto/vmx/aes_ctr.c struct skcipher_request *subreq = skcipher_request_ctx(req); subreq 101 drivers/crypto/vmx/aes_ctr.c *subreq = *req; subreq 102 drivers/crypto/vmx/aes_ctr.c skcipher_request_set_tfm(subreq, ctx->fallback); subreq 103 drivers/crypto/vmx/aes_ctr.c return crypto_skcipher_encrypt(subreq); subreq 91 drivers/crypto/vmx/aes_xts.c struct skcipher_request *subreq = skcipher_request_ctx(req); subreq 93 drivers/crypto/vmx/aes_xts.c *subreq = *req; subreq 94 drivers/crypto/vmx/aes_xts.c skcipher_request_set_tfm(subreq, ctx->fallback); subreq 95 drivers/crypto/vmx/aes_xts.c return enc ? crypto_skcipher_encrypt(subreq) : subreq 96 drivers/crypto/vmx/aes_xts.c crypto_skcipher_decrypt(subreq); subreq 1038 fs/nfs/pagelist.c struct nfs_page *subreq; subreq 1044 fs/nfs/pagelist.c subreq = req; subreq 1045 fs/nfs/pagelist.c bytes_left = subreq->wb_bytes; subreq 1046 fs/nfs/pagelist.c offset = subreq->wb_offset; subreq 1047 fs/nfs/pagelist.c pgbase = subreq->wb_pgbase; subreq 1050 fs/nfs/pagelist.c if (!nfs_pageio_do_add_request(desc, subreq)) { subreq 1052 fs/nfs/pagelist.c WARN_ON_ONCE(subreq->wb_bytes != bytes_left); subreq 1053 fs/nfs/pagelist.c WARN_ON_ONCE(subreq->wb_offset != offset); subreq 1054 fs/nfs/pagelist.c WARN_ON_ONCE(subreq->wb_pgbase != pgbase); subreq 1067 fs/nfs/pagelist.c WARN_ON_ONCE(subreq->wb_bytes + subreq->wb_pgbase > PAGE_SIZE); subreq 1068 fs/nfs/pagelist.c WARN_ON_ONCE(subreq->wb_bytes > bytes_left); subreq 1069 fs/nfs/pagelist.c WARN_ON_ONCE(subreq->wb_bytes == 0); subreq 1071 fs/nfs/pagelist.c bytes_left -= subreq->wb_bytes; subreq 1072 fs/nfs/pagelist.c offset += subreq->wb_bytes; subreq 1073 fs/nfs/pagelist.c pgbase += subreq->wb_bytes; subreq 1076 fs/nfs/pagelist.c subreq = nfs_create_subreq(req, subreq, pgbase, subreq 1078 fs/nfs/pagelist.c if (IS_ERR(subreq)) subreq 1086 fs/nfs/pagelist.c desc->pg_error = PTR_ERR(subreq); subreq 1090 fs/nfs/pagelist.c if (req != subreq) subreq 1091 fs/nfs/pagelist.c nfs_pageio_cleanup_request(desc, subreq); subreq 423 fs/nfs/write.c struct nfs_page *subreq = destroy_list; subreq 425 fs/nfs/write.c destroy_list = (subreq->wb_this_page == old_head) ? subreq 426 fs/nfs/write.c NULL : subreq->wb_this_page; subreq 428 fs/nfs/write.c WARN_ON_ONCE(old_head != subreq->wb_head); subreq 431 fs/nfs/write.c subreq->wb_this_page = subreq; subreq 433 fs/nfs/write.c clear_bit(PG_REMOVE, &subreq->wb_flags); subreq 436 fs/nfs/write.c if (!kref_read(&subreq->wb_kref)) { subreq 438 fs/nfs/write.c if (test_and_clear_bit(PG_TEARDOWN, &subreq->wb_flags)) subreq 439 fs/nfs/write.c nfs_free_request(subreq); subreq 443 fs/nfs/write.c subreq->wb_head = subreq; subreq 446 fs/nfs/write.c if (test_and_clear_bit(PG_INODE_REF, &subreq->wb_flags)) { subreq 447 fs/nfs/write.c nfs_release_request(subreq); subreq 453 fs/nfs/write.c nfs_unlock_and_release_request(subreq); subreq 479 fs/nfs/write.c struct nfs_page *head, *subreq; subreq 515 fs/nfs/write.c for (subreq = head->wb_this_page; subreq != head; subreq 516 fs/nfs/write.c subreq = subreq->wb_this_page) { subreq 518 fs/nfs/write.c if (!kref_get_unless_zero(&subreq->wb_kref)) { subreq 519 fs/nfs/write.c if (subreq->wb_offset == head->wb_offset + total_bytes) subreq 520 fs/nfs/write.c total_bytes += subreq->wb_bytes; subreq 524 fs/nfs/write.c while (!nfs_lock_request(subreq)) { subreq 530 fs/nfs/write.c ret = nfs_wait_on_request(subreq); subreq 534 fs/nfs/write.c nfs_unroll_locks(inode, head, subreq); subreq 535 fs/nfs/write.c nfs_release_request(subreq); subreq 543 fs/nfs/write.c if (subreq->wb_offset == (head->wb_offset + total_bytes)) { subreq 545 fs/nfs/write.c total_bytes += subreq->wb_bytes; subreq 546 fs/nfs/write.c } else if (WARN_ON_ONCE(subreq->wb_offset < head->wb_offset || subreq 547 fs/nfs/write.c ((subreq->wb_offset + subreq->wb_bytes) > subreq 550 fs/nfs/write.c nfs_unroll_locks(inode, head, subreq); subreq 551 fs/nfs/write.c nfs_unlock_and_release_request(subreq); subreq 559 fs/nfs/write.c subreq = head; subreq 561 fs/nfs/write.c nfs_clear_request_commit(subreq); subreq 562 fs/nfs/write.c subreq = subreq->wb_this_page; subreq 563 fs/nfs/write.c } while (subreq != head);