Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 25 of 66) sorted by relevance

123

/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.c159 priv->tls->rx_wq = create_singlethread_workqueue("mlx5e_tls_rx"); in mlx5e_ktls_init_rx()
160 if (!priv->tls->rx_wq) in mlx5e_ktls_init_rx()
166 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_init_rx()
183 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_cleanup_rx()
186 static void mlx5e_tls_debugfs_init(struct mlx5e_tls *tls, in mlx5e_tls_debugfs_init() argument
192 tls->debugfs.dfs = debugfs_create_dir("tls", dfs_root); in mlx5e_tls_debugfs_init()
197 struct mlx5e_tls *tls; in mlx5e_ktls_init() local
202 tls = kzalloc_obj(*tls); in mlx5e_ktls_init()
203 if (!tls) in mlx5e_ktls_init()
205 tls->mdev = priv->mdev; in mlx5e_ktls_init()
[all …]
H A Dktls_stats.c55 if (!priv->tls) in mlx5e_ktls_get_count()
65 if (!priv->tls) in mlx5e_ktls_get_strings()
78 if (!priv->tls) in mlx5e_ktls_get_stats()
86 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_ktls_get_stats()
H A Dktls_tx.c466 pool = priv->tls->tx_pool; in mlx5e_ktls_add_tx()
488 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_tx()
518 pool = priv->tls->tx_pool; in mlx5e_ktls_del_tx()
521 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_tx->dek); in mlx5e_ktls_del_tx()
897 static void mlx5e_tls_tx_debugfs_init(struct mlx5e_tls *tls, in mlx5e_tls_tx_debugfs_init() argument
903 tls->debugfs.dfs_tx = debugfs_create_dir("tx", dfs_root); in mlx5e_tls_tx_debugfs_init()
905 debugfs_create_size_t("pool_size", 0400, tls->debugfs.dfs_tx, in mlx5e_tls_tx_debugfs_init()
906 &tls->tx_pool->size); in mlx5e_tls_tx_debugfs_init()
912 struct mlx5e_tls *tls = priv->tls; in mlx5e_ktls_init_tx() local
924 tls->dek_pool = dek_pool; in mlx5e_ktls_init_tx()
[all …]
H A Den_accel.h105 struct mlx5e_accel_tx_tls_state tls; member
124 &state->tls))) in mlx5e_accel_tx_begin()
206 mlx5e_ktls_handle_tx_wqe(&wqe->ctrl, &state->tls); in mlx5e_accel_tx_finish()
/linux/net/tls/
H A DMakefile8 obj-$(CONFIG_TLS) += tls.o
10 tls-y := tls_main.o tls_sw.o tls_proc.o trace.o tls_strp.o
12 tls-$(CONFIG_TLS_DEVICE) += tls_device.o tls_device_fallback.o
/linux/arch/x86/um/
H A Dtls_32.c37 data->arch_data.tls[idx] = *info; in do_set_thread_area()
101 clear_user_desc(&curr->tls); in load_TLS()
102 curr->tls.entry_number = idx; in load_TLS()
104 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS()
112 ret = do_set_thread_area(current, &curr->tls); in load_TLS()
205 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
212 int arch_set_tls(struct task_struct *new, unsigned long tls) in arch_set_tls() argument
217 if (copy_from_user(&info, (void __user *) tls, sizeof(info))) in arch_set_tls()
242 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
H A Dtls_64.c9 int arch_set_tls(struct task_struct *t, unsigned long tls) in arch_set_tls() argument
15 t->thread.regs.regs.gp[FS_BASE / sizeof(unsigned long)] = tls; in arch_set_tls()
/linux/tools/testing/selftests/net/
H A Dtls.c303 FIXTURE(tls) in FIXTURE() argument
309 FIXTURE_VARIANT(tls) in FIXTURE_VARIANT() argument
316 FIXTURE_VARIANT_ADD(tls, 12_aes_gcm)
322 FIXTURE_VARIANT_ADD(tls, 13_aes_gcm)
328 FIXTURE_VARIANT_ADD(tls, 12_chacha)
335 FIXTURE_VARIANT_ADD(tls, 13_chacha)
342 FIXTURE_VARIANT_ADD(tls, 13_sm4_gcm)
349 FIXTURE_VARIANT_ADD(tls, 13_sm4_ccm)
356 FIXTURE_VARIANT_ADD(tls, 12_aes_ccm)
362 FIXTURE_VARIANT_ADD(tls, 13_aes_ccm)
[all …]
H A Dgetsockopt_iter.c497 FIXTURE(tls) in FIXTURE() argument
503 FIXTURE_SETUP(tls) in FIXTURE_SETUP() argument
539 FIXTURE_TEARDOWN(tls) in FIXTURE_TEARDOWN() argument
548 TEST_F(tls, tx_zerocopy_exact) in TEST_F() argument
559 TEST_F(tls, tx_zerocopy_wrong_len) in TEST_F() argument
572 TEST_F(tls, conf_null_optval) in TEST_F() argument
580 TEST_F(tls, conf_short) in TEST_F() argument
590 TEST_F(tls, conf_not_ready) in TEST_F() argument
602 TEST_F(tls, conf_crypto_roundtrip) in TEST_F() argument
627 TEST_F(tls, bad_optname) in TEST_F() argument
/linux/arch/csky/kernel/
H A Dprocess.c37 unsigned long tls = args->tls; in copy_thread() local
62 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
63 = tls; in copy_thread()
/linux/arch/nios2/kernel/
H A Dprocess.c106 unsigned long tls = args->tls; in copy_thread() local
144 childstack->r23 = tls; in copy_thread()
255 unsigned long tls) in nios2_clone() argument
264 .tls = tls, in nios2_clone()
/linux/arch/x86/um/shared/sysdep/
H A Dstub_32.h138 for (int i = 0; i < sizeof(arch->tls) / sizeof(arch->tls[0]); i++) { in stub_seccomp_restore_state()
141 (unsigned long) &arch->tls[i]); in stub_seccomp_restore_state()
/linux/arch/hexagon/kernel/
H A Dprocess.c57 unsigned long tls = args->tls; in copy_thread() local
105 childregs->ugp = tls; in copy_thread()
/linux/arch/csky/abiv2/inc/abi/
H A Dentry.h25 stw tls, (sp, 0)
32 movi tls, \epc_inc
33 add lr, tls
70 ldw tls, (sp, 0)
108 stw tls, (sp, 0)
140 ldw tls, (sp, 0)
/linux/arch/m68k/kernel/
H A Dprocess.c126 .tls = regs->d5, in m68k_clone()
146 unsigned long tls = args->tls; in copy_thread() local
180 task_thread_info(p)->tp_value = tls; in copy_thread()
/linux/Documentation/networking/
H A Dindex.rst38 tls
39 tls-offload
40 tls-handshake
/linux/arch/openrisc/kernel/
H A Dprocess.c170 unsigned long tls = args->tls; in copy_thread() local
202 userregs->gpr[10] = tls; in copy_thread()
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst61 * tls
62 * tls-offload
63 * tls-handshake
/linux/arch/arc/kernel/
H A Dprocess.c171 unsigned long tls = args->tls; in copy_thread() local
228 task_thread_info(p)->thr_ptr = tls; in copy_thread()
/linux/arch/microblaze/kernel/
H A Dprocess.c59 unsigned long tls = args->tls; in copy_thread() local
111 childregs->r21 = tls; in copy_thread()
/linux/arch/sh/kernel/
H A Dprocess_32.c94 unsigned long tls = args->tls; in copy_thread() local
133 childregs->gbr = tls; in copy_thread()
/linux/arch/xtensa/kernel/
H A Dprocess.c272 unsigned long tls = args->tls; in copy_thread() local
332 childregs->threadptr = tls; in copy_thread()
/linux/arch/um/kernel/
H A Dprocess.c150 unsigned long tls = args->tls; in copy_thread() local
182 ret = arch_set_tls(p, tls); in copy_thread()
/linux/tools/testing/selftests/arm64/abi/
H A Dtpidr2.c128 int *parent_tidptr, unsigned long tls, in sys_clone() argument
131 return syscall(__NR_clone, clone_flags, newsp, parent_tidptr, tls, child_tidptr); in sys_clone()
/linux/arch/alpha/kernel/
H A Dprocess.c236 unsigned long tls = args->tls; in copy_thread() local
268 childti->pcb.unique = tls; in copy_thread()

123