| /linux/io_uring/ |
| H A D | tctx.c | 47 struct io_uring_task *tctx = tsk->io_uring; in __io_uring_free() local 72 struct io_uring_task *tctx; in io_uring_alloc_task_context() local 106 struct io_uring_task *tctx = current->io_uring; in __io_uring_add_tctx_node() local 167 struct io_uring_task *tctx = current->io_uring; in io_uring_del_tctx_node() local 188 __cold void io_uring_clean_tctx(struct io_uring_task *tctx) in io_uring_clean_tctx() 210 struct io_uring_task *tctx = current->io_uring; in io_uring_unreg_ringfd() local 221 int io_ring_add_registered_file(struct io_uring_task *tctx, struct file *file, in io_ring_add_registered_file() 236 static int io_ring_add_registered_fd(struct io_uring_task *tctx, int fd, in io_ring_add_registered_fd() 268 struct io_uring_task *tctx; in io_ringfd_register() local 326 struct io_uring_task *tctx = current->io_uring; in io_ringfd_unregister() local
|
| H A D | cancel.c | 77 static int io_async_cancel_one(struct io_uring_task *tctx, in io_async_cancel_one() 104 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, in io_try_cancel() 167 struct io_uring_task *tctx, in __io_async_cancel() 209 struct io_uring_task *tctx = req->tctx; in io_async_cancel() local 236 static int __io_sync_cancel(struct io_uring_task *tctx, in __io_sync_cancel() 346 bool io_cancel_remove_all(struct io_ring_ctx *ctx, struct io_uring_task *tctx, in io_cancel_remove_all()
|
| H A D | io_uring.c | 225 bool io_match_task_safe(struct io_kiocb *head, struct io_uring_task *tctx, in io_match_task_safe() 501 struct io_uring_task *tctx = req->tctx; in io_queue_iowq() local 686 struct io_uring_task *tctx = req->tctx; in io_put_task() local 698 void io_task_refs_refill(struct io_uring_task *tctx) in io_task_refs_refill() 709 struct io_uring_task *tctx = task->io_uring; in io_uring_drop_tctx_refs() local 1195 static void io_fallback_tw(struct io_uring_task *tctx, bool sync) in io_fallback_tw() 1202 struct llist_node *tctx_task_work_run(struct io_uring_task *tctx, in tctx_task_work_run() 1229 struct io_uring_task *tctx; in tctx_task_work() local 1311 struct io_uring_task *tctx = req->tctx; in io_req_normal_work_add() local 2498 struct io_uring_task *tctx = current->io_uring; in current_pending_io() local [all …]
|
| H A D | tctx.h | 27 struct io_uring_task *tctx = current->io_uring; in io_uring_add_tctx_node() local
|
| H A D | futex.h | 26 struct io_uring_task *tctx, bool cancel_all) in io_futex_remove_all()
|
| H A D | sqpoll.c | 269 struct io_uring_task *tctx = current->io_uring; in io_sq_tw() local 287 struct io_uring_task *tctx = current->io_uring; in io_sq_tw_pending() local
|
| /linux/drivers/crypto/ |
| H A D | geode-aes.c | 70 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
|
| /linux/crypto/ |
| H A D | hmac.c | 41 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_setkey() local 92 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import() local 108 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import_core() local 117 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_init() local 137 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_finup() local 151 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_init_tfm() local 177 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_exit_tfm() local 254 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(parent); in hmac_setkey_ahash() local 311 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(tfm); in hmac_import_ahash() local 326 struct ahash_hmac_ctx *tctx = crypto_ahash_ctx(tfm); in hmac_import_core_ahash() local [all …]
|
| H A D | essiv.c | 69 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 269 struct essiv_tfm_ctx *tctx) in essiv_init_tfm() 299 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_init_tfm() local 324 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_init_tfm() local 355 struct essiv_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in essiv_skcipher_exit_tfm() local 364 struct essiv_tfm_ctx *tctx = crypto_aead_ctx(tfm); in essiv_aead_exit_tfm() local
|
| H A D | hctr2.c | 83 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
|
| H A D | xxhash_generic.c | 23 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
|
| H A D | adiantum.c | 120 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 281 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_finish() local 341 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_crypt() local 431 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_init_tfm() local 481 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_exit_tfm() local
|
| H A D | xcbc.c | 71 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update() local 89 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_finup() local
|
| H A D | cmac.c | 103 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update() local 121 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_finup() local
|
| /linux/drivers/crypto/intel/keembay/ |
| H A D | keembay-ocs-aes-core.c | 119 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 …]
|
| H A D | keembay-ocs-ecc.c | 203 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 …]
|
| /linux/arch/riscv/crypto/ |
| H A D | ghash-riscv64-glue.c | 39 struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(tfm); in riscv64_ghash_setkey() local 59 riscv64_ghash_blocks(const struct riscv64_ghash_tfm_ctx *tctx, in riscv64_ghash_blocks() 82 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_update() local 93 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_finup() local
|
| /linux/arch/arm64/crypto/ |
| H A D | polyval-ce-glue.c | 63 struct polyval_tfm_ctx *tctx = crypto_shash_ctx(tfm); in polyval_arm64_setkey() local 93 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_update() local 111 const struct polyval_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in polyval_arm64_finup() local
|
| H A D | sm4-ce-glue.c | 598 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_mac_update() local 613 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cmac_finup() local 633 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cbcmac_finup() local
|
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.bpf.c | 153 struct task_ctx *tctx; in lookup_task_ctx() local 165 struct task_ctx *tctx; in BPF_STRUCT_OPS() local 199 struct task_ctx *tctx; in BPF_STRUCT_OPS() local 292 struct task_ctx *tctx; in update_core_sched_head_seq() local 316 struct task_ctx *tctx; in dispatch_highpri() local 371 struct task_ctx *tctx; in BPF_STRUCT_OPS() local 416 struct task_ctx *tctx; in BPF_STRUCT_OPS() local 500 struct task_ctx *tctx; in task_qdist() local
|
| /linux/drivers/crypto/aspeed/ |
| H A D | aspeed-hace-hash.c | 463 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_do_request() local 483 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_prepare_request() local 506 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_update() local 523 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_finup() local 537 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_init() local 611 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_cra_init() local
|
| /linux/arch/x86/crypto/ |
| H A D | polyval-clmulni_glue.c | 73 struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(tfm); in polyval_x86_setkey() local 103 const struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(desc->tfm); in polyval_x86_update() local 121 const struct polyval_tfm_ctx *tctx = polyval_tfm_ctx(desc->tfm); in polyval_x86_finup() local
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | select_cpu_dfl_nodispatch.bpf.c | 37 struct task_ctx *tctx; in BPF_STRUCT_OPS() local 56 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
|
| /linux/drivers/crypto/xilinx/ |
| H A D | zynqmp-sha.c | 89 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_init() local 101 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_update() local 114 struct zynqmp_sha_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in zynqmp_sha_finup() local
|
| /linux/include/crypto/internal/ |
| H A D | blake2b.h | 46 struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(tfm); in crypto_blake2b_setkey() local 62 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init() local
|