Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.c76 static int io_async_cancel_one(struct io_uring_task *tctx, in io_async_cancel_one()
103 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, in io_try_cancel()
166 struct io_uring_task *tctx, in __io_async_cancel()
208 struct io_uring_task *tctx = req->task->io_uring; in io_async_cancel() local
245 static int __io_sync_cancel(struct io_uring_task *tctx, in __io_sync_cancel()
Dio_uring.c409 struct io_uring_task *tctx = req->task->io_uring; in io_clean_op() local
515 struct io_uring_task *tctx = req->task->io_uring; in io_queue_iowq() local
681 struct io_uring_task *tctx = task->io_uring; in io_put_task_remote() local
704 void io_task_refs_refill(struct io_uring_task *tctx) in io_task_refs_refill()
715 struct io_uring_task *tctx = task->io_uring; in io_uring_drop_tctx_refs() local
1093 static __cold void io_fallback_tw(struct io_uring_task *tctx, bool sync) in io_fallback_tw()
1121 struct llist_node *tctx_task_work_run(struct io_uring_task *tctx, in tctx_task_work_run()
1148 struct io_uring_task *tctx; in tctx_task_work() local
1231 struct io_uring_task *tctx = req->task->io_uring; in io_req_normal_work_add() local
2375 struct io_uring_task *tctx = current->io_uring; in current_pending_io() local
[all …]
Dregister.c257 struct io_uring_task *tctx = NULL; in io_register_iowq_max_workers() local
573 struct io_uring_task *tctx = current->io_uring; in io_uring_register_get_file() local
Dtctx.h27 struct io_uring_task *tctx = current->io_uring; in io_uring_add_tctx_node() local
Dsqpoll.c233 struct io_uring_task *tctx = current->io_uring; in io_sq_tw() local
251 struct io_uring_task *tctx = current->io_uring; in io_sq_tw_pending() local
/linux-6.12.1/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
/linux-6.12.1/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 …]
/linux-6.12.1/crypto/
Dhmac.c37 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_setkey() local
86 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import() local
95 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_init() local
113 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_final() local
129 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_finup() local
143 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_init_tfm() local
172 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_exit_tfm() local
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
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
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
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
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.c87 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update() local
132 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final() local
Dcmac.c119 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update() local
164 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_final() local
/linux-6.12.1/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.12.1/arch/riscv/crypto/
Dghash-riscv64-glue.c36 struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(tfm); in riscv64_ghash_setkey() local
56 riscv64_ghash_blocks(const struct riscv64_ghash_tfm_ctx *tctx, in riscv64_ghash_blocks()
79 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_update() local
115 const struct riscv64_ghash_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in riscv64_ghash_final() local
/linux-6.12.1/tools/sched_ext/
Dscx_qmap.bpf.c151 struct task_ctx *tctx; in lookup_task_ctx() local
163 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
197 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
290 struct task_ctx *tctx; in update_core_sched_head_seq() local
314 struct task_ctx *tctx; in dispatch_highpri() local
369 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
414 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
498 struct task_ctx *tctx; in task_qdist() local
/linux-6.12.1/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
/linux-6.12.1/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.12.1/tools/testing/selftests/sched_ext/
Dselect_cpu_dfl_nodispatch.bpf.c37 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
56 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
/linux-6.12.1/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.12.1/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

12