Searched refs:tctx (Results 26 - 41 of 41) sorted by relevance

12

/linux-master/drivers/crypto/xilinx/
H A Dzynqmp-sha.c84 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
86 dctx->fbk_req.tfm = tctx->fbk_tfm;
114 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
116 dctx->fbk_req.tfm = tctx->fbk_tfm;
/linux-master/drivers/crypto/rockchip/
H A Drk3288_crypto_ahash.c346 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); local
352 tctx->fallback_tfm = crypto_alloc_ahash(alg_name, 0,
354 if (IS_ERR(tctx->fallback_tfm)) {
356 return PTR_ERR(tctx->fallback_tfm);
361 crypto_ahash_reqsize(tctx->fallback_tfm));
368 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); local
370 crypto_free_ahash(tctx->fallback_tfm);
/linux-master/io_uring/
H A Dio_uring.h87 struct llist_node *tctx_task_work_run(struct io_uring_task *tctx, unsigned int max_entries, unsigned int *count);
93 int io_ring_add_registered_file(struct io_uring_task *tctx, struct file *file,
107 void io_task_refs_refill(struct io_uring_task *tctx);
378 struct io_uring_task *tctx = current->io_uring; local
380 tctx->cached_refs -= nr;
381 if (unlikely(tctx->cached_refs < 0))
382 io_task_refs_refill(tctx);
H A Dsqpoll.c235 struct io_uring_task *tctx = current->io_uring; local
245 *retry_list = tctx_task_work_run(tctx, max_entries, &count);
251 struct io_uring_task *tctx = current->io_uring; local
253 return retry_list || !llist_empty(&tctx->task_list);
H A Dio-wq.c1317 int io_wq_cpu_affinity(struct io_uring_task *tctx, cpumask_var_t mask) argument
1319 if (!tctx || !tctx->io_wq)
1324 cpumask_copy(tctx->io_wq->cpu_mask, mask);
1326 cpumask_copy(tctx->io_wq->cpu_mask, cpu_possible_mask);
/linux-master/crypto/
H A Dcmac.c119 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); local
121 struct crypto_cipher *tfm = tctx->child;
164 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); local
166 struct crypto_cipher *tfm = tctx->child;
187 crypto_xor(prev, (const u8 *)tctx->consts + offset, bs);
H A Dccm.c799 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); local
801 struct crypto_cipher *tfm = tctx->child;
824 struct cbcmac_tfm_ctx *tctx = crypto_shash_ctx(parent); local
826 struct crypto_cipher *tfm = tctx->child;
/linux-master/drivers/crypto/
H A Domap-sham.c304 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); local
305 struct omap_sham_hmac_ctx *bctx = tctx->base;
451 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); local
452 struct omap_sham_hmac_ctx *bctx = tctx->base;
941 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); local
990 if (tctx->flags & BIT(FLAGS_HMAC)) {
992 struct omap_sham_hmac_ctx *bctx = tctx->base;
1101 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); local
1102 struct omap_sham_hmac_ctx *bctx = tctx->base;
1217 struct omap_sham_ctx *tctx local
1286 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); local
1322 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); local
1391 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); local
[all...]
H A Ds5p-sss.c1485 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); local
1489 return s5p_hash_handle_queue(tctx->dd, req);
1550 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); local
1552 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer,
1596 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); local
1598 ctx->dd = tctx->dd;
1606 dev_dbg(tctx->dd->dev, "init: digest size: %d\n",
1647 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); local
1650 tctx->dd = s5p_dev;
1652 tctx
1682 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); local
1711 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); local
[all...]
H A Dimg-hash.c625 struct img_hash_ctx *tctx = crypto_ahash_ctx(tfm); local
632 if (!tctx->hdev) {
637 tctx->hdev = hdev;
640 hdev = tctx->hdev;
673 err = img_hash_handle_queue(tctx->hdev, req);
718 struct img_hash_ctx *tctx = crypto_tfm_ctx(tfm); local
720 crypto_free_ahash(tctx->fallback);
H A Datmel-sha.c405 static struct atmel_sha_dev *atmel_sha_find_dev(struct atmel_sha_ctx *tctx) argument
411 if (!tctx->dd) {
416 tctx->dd = dd;
418 dd = tctx->dd;
429 struct atmel_sha_ctx *tctx = crypto_ahash_ctx(tfm); local
431 struct atmel_sha_dev *dd = atmel_sha_find_dev(tctx);
1153 struct atmel_sha_ctx *tctx = crypto_tfm_ctx(req->base.tfm); local
1154 struct atmel_sha_dev *dd = tctx->dd;
2170 struct atmel_sha_ctx *tctx; local
2204 tctx
2251 struct atmel_sha_ctx *tctx = crypto_ahash_ctx(tfm); local
[all...]
/linux-master/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-hcu-core.c167 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); local
170 if (tctx->hcu_dev)
171 return tctx->hcu_dev;
178 tctx->hcu_dev = list_first_entry_or_null(&ocs_hcu.dev_list,
183 return tctx->hcu_dev;
418 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); local
438 rc = ocs_hcu_hmac(hcu_dev, rctx->algo, tctx->key, tctx->key_len,
534 WARN_ON(tctx->key_len != rctx->blk_sz);
536 rctx->buffer[i] = tctx
[all...]
/linux-master/include/trace/events/
H A Dio_uring.h603 * @tctx: pointer to a io_uring_task
609 TP_PROTO(void *tctx, unsigned int count),
611 TP_ARGS(tctx, count),
614 __field( void *, tctx )
619 __entry->tctx = tctx;
623 TP_printk("tctx %p, count %u", __entry->tctx, __entry->count)
654 * @tctx: pointer to a io_uring_ctx
/linux-master/arch/arm64/crypto/
H A Dsm4-ce-glue.c602 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
622 sm4_ce_crypt_block(tctx->key.rkey_enc,
629 sm4_ce_mac_update(tctx->key.rkey_enc, ctx->digest, p,
652 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
654 const u8 *consts = tctx->consts;
662 sm4_ce_mac_update(tctx->key.rkey_enc, ctx->digest, consts, 1,
673 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
678 sm4_ce_crypt_block(tctx->key.rkey_enc, ctx->digest,
H A Daes-glue.c910 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
923 mac_do_update(&tctx->key, p, blocks, ctx->dg,
950 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
953 mac_do_update(&tctx->key, NULL, 0, ctx->dg, (ctx->len != 0), 0);
962 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); local
964 u8 *consts = tctx->consts;
971 mac_do_update(&tctx->key, consts, 1, ctx->dg, 0, 1);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_uvd.c579 struct ttm_operation_ctx tctx = { false, false }; local
603 r = ttm_bo_validate(&bo->tbo, &bo->placement, &tctx);

Completed in 716 milliseconds

12