Home
last modified time | relevance | path

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

12

/openbmc/linux/io_uring/
H A 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
H A 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()
H A Dio_uring.c391 struct io_uring_task *tctx = req->task->io_uring; in io_clean_op() local
498 struct io_uring_task *tctx = req->task->io_uring; in io_queue_iowq() local
748 struct io_uring_task *tctx = task->io_uring; in io_put_task_remote() local
782 struct io_uring_task *tctx = task->io_uring; in io_uring_drop_tctx_refs() local
1341 struct io_uring_task *tctx = req->task->io_uring; in io_req_normal_work_add() local
2518 struct io_uring_task *tctx = current->io_uring; in current_pending_io() local
3063 struct io_uring_task *tctx = current->io_uring; in io_tctx_exit_cb() local
3352 struct io_uring_task *tctx = current->io_uring; in io_uring_cancel_generic() local
3631 struct io_uring_task *tctx = current->io_uring; in SYSCALL_DEFINE6() local
3847 struct io_uring_task *tctx; in io_uring_create() local
[all …]
H A Dtctx.h27 struct io_uring_task *tctx = current->io_uring; in io_uring_add_tctx_node() local
/openbmc/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
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-aes-core.c185 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
951 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in kmb_ocs_aes_sk_do_one_request() local
1151 struct ocs_aes_tctx *tctx = crypto_skcipher_ctx(tfm); in ocs_aes_init_tfm() local
1198 struct ocs_aes_tctx *tctx = crypto_aead_ctx(tfm); in ocs_aes_aead_cra_init() 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
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
811 struct ocs_ecc_ctx *tctx = kpp_tfm_ctx(tfm); in kmb_ocs_ecdh_exit_tfm() local
[all …]
/openbmc/qemu/hw/intc/
H A Dxive.c52 static qemu_irq xive_tctx_output(XiveTCTX *tctx, uint8_t ring) in xive_tctx_output()
67 static uint64_t xive_tctx_accept(XiveTCTX *tctx, uint8_t ring) in xive_tctx_accept()
95 static void xive_tctx_notify(XiveTCTX *tctx, uint8_t ring) in xive_tctx_notify()
117 void xive_tctx_reset_os_signal(XiveTCTX *tctx) in xive_tctx_reset_os_signal()
378 static void xive_tctx_set_os_cam(XiveTCTX *tctx, uint32_t qw1w2) in xive_tctx_set_os_cam()
671 void xive_tctx_pic_print_info(XiveTCTX *tctx, GString *buf) in xive_tctx_pic_print_info()
713 void xive_tctx_reset(XiveTCTX *tctx) in xive_tctx_reset()
734 XiveTCTX *tctx = XIVE_TCTX(dev); in xive_tctx_realize() local
765 XiveTCTX *tctx = XIVE_TCTX(opaque); in vmstate_xive_tctx_pre_save() local
782 XiveTCTX *tctx = XIVE_TCTX(opaque); in vmstate_xive_tctx_post_load() local
[all …]
H A Dxive2.c213 static void xive2_tctx_save_os_ctx(Xive2Router *xrtr, XiveTCTX *tctx, in xive2_tctx_save_os_ctx()
273 uint64_t xive2_tm_pull_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive2_tm_pull_os_ctx()
304 static uint8_t xive2_tctx_restore_os_ctx(Xive2Router *xrtr, XiveTCTX *tctx, in xive2_tctx_restore_os_ctx()
342 static void xive2_tctx_need_resend(Xive2Router *xrtr, XiveTCTX *tctx, in xive2_tctx_need_resend()
390 void xive2_tm_push_os_ctx(XivePresenter *xptr, XiveTCTX *tctx, in xive2_tm_push_os_ctx()
488 static uint32_t xive2_tctx_hw_cam_line(XivePresenter *xptr, XiveTCTX *tctx) in xive2_tctx_hw_cam_line()
504 int xive2_presenter_tctx_match(XivePresenter *xptr, XiveTCTX *tctx, in xive2_presenter_tctx_match()
H A Dspapr_xive_kvm.c77 int kvmppc_xive_cpu_set_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_set_state()
99 int kvmppc_xive_cpu_get_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_get_state()
122 XiveTCTX *tctx; member
135 int kvmppc_xive_cpu_synchronize_state(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_synchronize_state()
151 int kvmppc_xive_cpu_connect(XiveTCTX *tctx, Error **errp) in kvmppc_xive_cpu_connect()
/openbmc/linux/crypto/
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
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
H A 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
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 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
H A 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
H A 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
H A 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
/openbmc/linux/drivers/crypto/aspeed/
H A 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
/openbmc/linux/arch/arm64/crypto/
H A 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
/openbmc/linux/arch/x86/crypto/
H A 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
/openbmc/hiomapd/test/
H A Dwindows_equally_evictable.c36 static int mbox_create_read_window(struct test_context *tctx, size_t offset, in mbox_create_read_window()
52 struct test_context _tctx = {0}, *tctx = &_tctx; in main() local
/openbmc/phosphor-mboxd/vpnor/test/
H A Ddump_flash.cpp44 static int mbox_create_read_window(struct test_context *tctx, size_t offset, in mbox_create_read_window()
62 struct test_context _tctx = {0}, *tctx = &_tctx; in main() local
/openbmc/hiomapd/vpnor/test/
H A Ddump_flash.cpp45 static int mbox_create_read_window(struct test_context* tctx, size_t offset, in mbox_create_read_window()
63 test_context _tctx{}, *tctx = &_tctx; in main() local
/openbmc/linux/include/crypto/internal/
H A 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
/openbmc/linux/drivers/crypto/xilinx/
H A 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