Home
last modified time | relevance | path

Searched defs:tctx (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/io_uring/
Dtctx.c49 struct io_uring_task *tctx = tsk->io_uring; in __io_uring_free() local
63 struct io_uring_task *tctx; in io_uring_alloc_task_context() local
96 struct io_uring_task *tctx = current->io_uring; in __io_uring_add_tctx_node() local
157 struct io_uring_task *tctx = current->io_uring; in io_uring_del_tctx_node() local
178 __cold void io_uring_clean_tctx(struct io_uring_task *tctx) in io_uring_clean_tctx()
200 struct io_uring_task *tctx = current->io_uring; in io_uring_unreg_ringfd() local
211 int io_ring_add_registered_file(struct io_uring_task *tctx, struct file *file, in io_ring_add_registered_file()
226 static int io_ring_add_registered_fd(struct io_uring_task *tctx, int fd, in io_ring_add_registered_fd()
258 struct io_uring_task *tctx; in io_ringfd_register() local
316 struct io_uring_task *tctx = current->io_uring; in io_ringfd_unregister() local
Dcancel.c75 static int io_async_cancel_one(struct io_uring_task *tctx, in io_async_cancel_one()
102 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, in io_try_cancel()
157 struct io_uring_task *tctx, in __io_async_cancel()
178 struct io_uring_task *tctx = node->task->io_uring; in __io_async_cancel() local
201 struct io_uring_task *tctx = req->task->io_uring; in io_async_cancel() local
238 static int __io_sync_cancel(struct io_uring_task *tctx, in __io_sync_cancel()
Dio_uring.c405 struct io_uring_task *tctx = req->task->io_uring; in io_clean_op() local
512 struct io_uring_task *tctx = req->task->io_uring; in io_queue_iowq() local
746 struct io_uring_task *tctx = task->io_uring; in io_put_task_remote() local
769 void io_task_refs_refill(struct io_uring_task *tctx) in io_task_refs_refill()
780 struct io_uring_task *tctx = task->io_uring; in io_uring_drop_tctx_refs() local
1248 static __cold void io_fallback_tw(struct io_uring_task *tctx, bool sync) in io_fallback_tw()
1280 struct io_uring_task *tctx = container_of(cb, struct io_uring_task, in tctx_task_work() local
1370 struct io_uring_task *tctx = req->task->io_uring; in io_req_normal_work_add() local
2523 struct io_uring_task *tctx = current->io_uring; in current_pending_io() local
3073 struct io_uring_task *tctx = current->io_uring; in io_tctx_exit_cb() local
[all …]
Dtctx.h27 struct io_uring_task *tctx = current->io_uring; in io_uring_add_tctx_node() local
/linux-6.6.21/drivers/crypto/
Dgeode-aes.c70 geode_aes_crypt(const struct geode_aes_tfm_ctx *tctx, const void *src, in geode_aes_crypt()
113 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_setkey_cip() local
139 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_setkey_skcipher() local
166 const struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_encrypt() local
181 const struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in geode_decrypt() local
195 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in fallback_init_cip() local
210 struct geode_aes_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in fallback_exit_cip() local
241 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_init_skcipher() local
258 struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_exit_skcipher() local
266 const struct geode_aes_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in geode_skcipher_crypt() local
Domap-sham.c304 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_copy_hash_omap4() local
451 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4() local
941 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_init() local
1101 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_finish_hmac() local
1217 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_final_shash() local
1286 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_setkey() local
1322 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); in omap_sham_cra_init_alg() local
1391 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); in omap_sham_cra_exit() local
Ds5p-sss.c1488 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_enqueue() local
1553 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_final() local
1599 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_init() local
1650 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_init_alg() local
1685 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_exit() local
1714 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_import() local
/linux-6.6.21/drivers/crypto/intel/keembay/
Dkeembay-ocs-aes-core.c119 static struct ocs_aes_dev *kmb_ocs_aes_find_dev(struct ocs_aes_tctx *tctx) in kmb_ocs_aes_find_dev()
165 static int save_key(struct ocs_aes_tctx *tctx, const u8 *in_key, size_t key_len, in save_key()
185 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_set_key() local
207 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in kmb_ocs_aead_set_key() local
315 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_common() local
378 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_dma_cleanup() local
402 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_prepare_inplace() local
451 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_prepare_notinplace() local
518 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_sk_run() local
640 struct ocs_aes_tctx *tctx = crypto_aead_ctx(crypto_aead_reqtfm(req)); in kmb_ocs_aead_common() local
[all …]
Dkeembay-ocs-ecc.c203 static struct ocs_ecc_dev *kmb_ocs_ecc_find_dev(struct ocs_ecc_ctx *tctx) in kmb_ocs_ecc_find_dev()
538 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_set_secret() local
575 static int kmb_ecc_do_shared_secret(struct ocs_ecc_ctx *tctx, in kmb_ecc_do_shared_secret()
658 static int kmb_ecc_do_public_key(struct ocs_ecc_ctx *tctx, in kmb_ecc_do_public_key()
709 struct ocs_ecc_ctx *tctx = kmb_ocs_ecc_tctx(req); in kmb_ocs_ecc_do_one_request() local
725 struct ocs_ecc_ctx *tctx = kmb_ocs_ecc_tctx(req); in kmb_ocs_ecdh_generate_public_key() local
750 struct ocs_ecc_ctx *tctx = kmb_ocs_ecc_tctx(req); in kmb_ocs_ecdh_compute_shared_secret() local
776 static int kmb_ecc_tctx_init(struct ocs_ecc_ctx *tctx, unsigned int curve_id) in kmb_ecc_tctx_init()
797 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p256_init_tfm() local
804 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_nist_p384_init_tfm() local
[all …]
Dkeembay-ocs-hcu-core.c167 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_find_dev() local
418 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm); in kmb_ocs_hcu_do_one_request() local
/linux-6.6.21/crypto/
Dessiv.c69 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_setkey() local
96 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setkey() local
129 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_setauthsize() local
144 const struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_crypt() local
186 const struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_crypt() local
271 struct essiv_tfm_ctx *tctx) in essiv_init_tfm()
301 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_init_tfm() local
326 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_init_tfm() local
357 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_exit_tfm() local
366 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_exit_tfm() local
Dhctr2.c83 static inline u8 *hctr2_hashed_tweaklen(const struct hctr2_tfm_ctx *tctx, in hctr2_hashed_tweaklen()
93 static inline u8 *hctr2_hashed_tweak(const struct hctr2_tfm_ctx *tctx, in hctr2_hashed_tweak()
109 static int hctr2_hash_tweaklen(struct hctr2_tfm_ctx *tctx, bool has_remainder) in hctr2_hash_tweaklen()
132 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_setkey() local
173 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_hash_tweak() local
232 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_finish() local
268 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_crypt() local
338 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_init_tfm() local
387 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_exit_tfm() local
Dadiantum.c120 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_setkey() local
222 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_hash_header() local
251 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_hash_message() local
285 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_finish() local
324 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_crypt() local
400 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_init_tfm() local
450 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_exit_tfm() local
Dxxhash_generic.c23 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(tfm); in xxhash64_setkey() local
33 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_init() local
63 struct xxhash64_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in xxhash64_digest() local
Dvmac.c399 static void vhash_blocks(const struct vmac_tfm_ctx *tctx, in vhash_blocks()
433 struct vmac_tfm_ctx *tctx = crypto_shash_ctx(tfm); in vmac_setkey() local
482 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_init() local
494 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_update() local
535 static u64 vhash_final(const struct vmac_tfm_ctx *tctx, in vhash_final()
564 const struct vmac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in vmac_final() local
601 struct vmac_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in vmac_init_tfm() local
614 struct vmac_tfm_ctx *tctx = crypto_tfm_ctx(tfm); in vmac_exit_tfm() local
Dxcbc.c90 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update() local
136 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final() local
Dcmac.c123 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update() local
169 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_final() local
/linux-6.6.21/drivers/crypto/aspeed/
Daspeed-hace-hash.c352 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_hmac_resume() local
538 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_do_request() local
562 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_prepare_request() local
585 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_update() local
626 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_final() local
640 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_finup() local
665 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_init() local
754 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_setkey() local
791 struct aspeed_sham_ctx *tctx = crypto_tfm_ctx(tfm); in aspeed_sham_cra_init() local
821 struct aspeed_sham_ctx *tctx = crypto_tfm_ctx(tfm); in aspeed_sham_cra_exit() local
/linux-6.6.21/arch/arm64/crypto/
Dpolyval-ce-glue.c75 struct polyval_tfm_ctx *tctx = crypto_shash_ctx(tfm); in polyval_arm64_setkey() local
105 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_update() local
146 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_final() local
Dsm4-ce-glue.c707 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_mac_update() local
757 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cmac_final() local
778 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cbcmac_final() local
Daes-glue.c910 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in mac_update() local
950 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cbcmac_final() local
962 struct mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in cmac_final() local
/linux-6.6.21/arch/x86/crypto/
Dpolyval-clmulni_glue.c84 struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(tfm); in polyval_x86_setkey() local
114 const struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(desc->tfm); in polyval_x86_update() local
155 const struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(desc->tfm); in polyval_x86_final() local
/linux-6.6.21/include/crypto/internal/
Dblake2b.h75 struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(tfm); in crypto_blake2b_setkey() local
88 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init() local
/linux-6.6.21/drivers/crypto/xilinx/
Dzynqmp-sha.c84 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_init() local
114 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_import() local
/linux-6.6.21/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c346 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_hash_init_tfm() local
368 struct rk_ahash_ctx *tctx = crypto_ahash_ctx(tfm); in rk_hash_exit_tfm() local

12