Home
last modified time | relevance | path

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

12

/linux/io_uring/
H A Dtctx.c48 struct io_uring_task *tctx = tsk->io_uring; in __io_uring_free() local
80 struct io_uring_task *tctx; in io_uring_alloc_task_context() local
114 struct io_uring_task *tctx = current->io_uring; in __io_uring_add_tctx_node() local
183 struct io_uring_task *tctx = current->io_uring; in io_uring_del_tctx_node() local
207 __cold void io_uring_clean_tctx(struct io_uring_task *tctx) in io_uring_clean_tctx()
229 struct io_uring_task *tctx = current->io_uring; in io_uring_unreg_ringfd() local
240 int io_ring_add_registered_file(struct io_uring_task *tctx, struct file *file, in io_ring_add_registered_file()
255 static int io_ring_add_registered_fd(struct io_uring_task *tctx, int fd, in io_ring_add_registered_fd()
287 struct io_uring_task *tctx; in io_ringfd_register() local
345 struct io_uring_task *tctx = current->io_uring; in io_ringfd_unregister() local
H A Dcancel.c78 static int io_async_cancel_one(struct io_uring_task *tctx, in io_async_cancel_one()
105 int io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, in io_try_cancel()
168 struct io_uring_task *tctx, in __io_async_cancel()
213 struct io_uring_task *tctx = req->tctx; in io_async_cancel() local
240 static int __io_sync_cancel(struct io_uring_task *tctx, in __io_sync_cancel()
350 bool io_cancel_remove_all(struct io_ring_ctx *ctx, struct io_uring_task *tctx, in io_cancel_remove_all()
407 bool io_match_task_safe(struct io_kiocb *head, struct io_uring_task *tctx, in io_match_task_safe()
437 struct io_uring_task *tctx; member
450 struct io_uring_task *tctx, in io_cancel_defer_files()
491 struct io_uring_task *tctx = node->task->io_uring; in io_uring_try_cancel_iowq() local
[all …]
H A Dtw.c116 static void io_fallback_tw(struct io_uring_task *tctx, bool sync) in io_fallback_tw()
123 struct llist_node *tctx_task_work_run(struct io_uring_task *tctx, in tctx_task_work_run()
145 struct io_uring_task *tctx; in tctx_task_work() local
241 struct io_uring_task *tctx = req->tctx; in io_req_normal_work_add() local
H A Dtctx.h27 struct io_uring_task *tctx = current->io_uring; in io_uring_add_tctx_node() local
H A Dfutex.h26 struct io_uring_task *tctx, bool cancel_all) in io_futex_remove_all()
H A Dsqpoll.c270 struct io_uring_task *tctx = current->io_uring; in io_sq_tw() local
288 struct io_uring_task *tctx = current->io_uring; in io_sq_tw_pending() local
/linux/drivers/crypto/
H A 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
H A Domap-sham.c306 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_copy_hash_omap4() local
453 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_write_ctrl_omap4() local
943 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_init() local
1103 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_finish_hmac() local
1218 struct omap_sham_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in omap_sham_final_shash() local
1287 struct omap_sham_ctx *tctx = crypto_ahash_ctx(tfm); in omap_sham_setkey() local
1323 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); in omap_sham_cra_init_alg() local
1392 struct omap_sham_ctx *tctx = crypto_tfm_ctx(tfm); in omap_sham_cra_exit() local
/linux/crypto/
H A Dhmac.c41 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 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
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 Dhctr2.c77 static void hctr2_hash_tweaklens(struct hctr2_tfm_ctx *tctx) in hctr2_hash_tweaklens()
99 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_setkey() local
137 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_hash_tweak() local
181 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_finish() local
212 const struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_crypt() local
277 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_init_tfm() local
310 struct hctr2_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in hctr2_exit_tfm() local
H A 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
H A Dblake2b.c20 struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(tfm); in crypto_blake2b_setkey() local
33 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_init() local
57 const struct blake2b_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in crypto_blake2b_digest() local
H A Dadiantum.c108 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_setkey() local
209 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_hash_header() local
351 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_hash_message() local
371 const struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_crypt() local
501 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_init_tfm() local
535 struct adiantum_tfm_ctx *tctx = crypto_skcipher_ctx(tfm); in adiantum_exit_tfm() local
H A Dxcbc.c71 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 Dcmac.c103 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 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 …]
H A 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/arch/riscv/crypto/
H A Dghash-riscv64-glue.c39 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/tools/sched_ext/
H A Dscx_qmap.bpf.c153 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
295 struct task_ctx *tctx; in update_core_sched_head_seq() local
319 struct task_ctx *tctx; in dispatch_highpri() local
370 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
415 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
499 struct task_ctx *tctx; in task_qdist() local
H A Dscx_userland.bpf.c148 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
208 struct task_ctx *tctx; in BPF_STRUCT_OPS() local
/linux/drivers/crypto/aspeed/
H A Daspeed-hace-hash.c463 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/tools/testing/selftests/sched_ext/
H A 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/drivers/crypto/xilinx/
H A Dzynqmp-sha.c89 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/arch/arm64/crypto/
H A Dsm4-ce-glue.c577 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_mac_update() local
591 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cmac_finup() local
610 struct sm4_mac_tfm_ctx *tctx = crypto_shash_ctx(desc->tfm); in sm4_cbcmac_finup() local

12