Home
last modified time | relevance | path

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

1234

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls.c154 priv->tls->rx_wq = create_singlethread_workqueue("mlx5e_tls_rx"); in mlx5e_ktls_init_rx()
155 if (!priv->tls->rx_wq) in mlx5e_ktls_init_rx()
161 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_init_rx()
177 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_cleanup_rx()
182 struct mlx5e_tls *tls; in mlx5e_ktls_init() local
187 tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5e_ktls_init()
188 if (!tls) in mlx5e_ktls_init()
191 priv->tls = tls; in mlx5e_ktls_init()
197 kfree(priv->tls); in mlx5e_ktls_cleanup()
198 priv->tls = NULL; in mlx5e_ktls_cleanup()
Dktls_stats.c55 if (!priv->tls) in mlx5e_ktls_get_count()
65 if (!priv->tls) in mlx5e_ktls_get_strings()
81 if (!priv->tls) in mlx5e_ktls_get_stats()
87 data[idx++] = MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_ktls_get_stats()
Den_accel.h111 struct mlx5e_accel_tx_tls_state tls; member
130 &state->tls))) in mlx5e_accel_tx_begin()
193 mlx5e_ktls_handle_tx_wqe(&wqe->ctrl, &state->tls); in mlx5e_accel_tx_finish()
/linux-6.1.9/tools/testing/selftests/net/
Dtls.c228 FIXTURE(tls) in FIXTURE() argument
234 FIXTURE_VARIANT(tls) in FIXTURE_VARIANT() argument
241 FIXTURE_VARIANT_ADD(tls, 12_aes_gcm)
247 FIXTURE_VARIANT_ADD(tls, 13_aes_gcm)
253 FIXTURE_VARIANT_ADD(tls, 12_chacha)
259 FIXTURE_VARIANT_ADD(tls, 13_chacha)
265 FIXTURE_VARIANT_ADD(tls, 13_sm4_gcm)
271 FIXTURE_VARIANT_ADD(tls, 13_sm4_ccm)
277 FIXTURE_VARIANT_ADD(tls, 12_aes_ccm)
283 FIXTURE_VARIANT_ADD(tls, 13_aes_ccm)
[all …]
/linux-6.1.9/net/tls/
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_TOE) += tls_toe.o
13 tls-$(CONFIG_TLS_DEVICE) += tls_device.o tls_device_fallback.o
/linux-6.1.9/arch/x86/um/
Dtls_32.c104 clear_user_desc(&curr->tls); in load_TLS()
105 curr->tls.entry_number = idx; in load_TLS()
107 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS()
115 ret = do_set_thread_area(&curr->tls); in load_TLS()
208 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
215 int arch_set_tls(struct task_struct *new, unsigned long tls) in arch_set_tls() argument
220 if (copy_from_user(&info, (void __user *) tls, sizeof(info))) in arch_set_tls()
246 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
Dtls_64.c9 int arch_set_tls(struct task_struct *t, unsigned long tls) in arch_set_tls() argument
15 t->thread.arch.fs = tls; in arch_set_tls()
/linux-6.1.9/arch/csky/kernel/
Dprocess.c36 unsigned long tls = args->tls; in copy_thread() local
61 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
62 = tls; in copy_thread()
/linux-6.1.9/arch/nios2/kernel/
Dprocess.c107 unsigned long tls = args->tls; in copy_thread() local
145 childstack->r23 = tls; in copy_thread()
256 unsigned long tls) in nios2_clone() argument
265 .tls = tls, in nios2_clone()
/linux-6.1.9/arch/s390/kernel/
Dprocess.c113 unsigned long tls = args->tls; in copy_thread() local
174 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
176 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
177 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
/linux-6.1.9/arch/hexagon/kernel/
Dprocess.c57 unsigned long tls = args->tls; in copy_thread() local
105 childregs->ugp = tls; in copy_thread()
/linux-6.1.9/arch/csky/abiv2/inc/abi/
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-6.1.9/arch/parisc/kernel/
Dprocess.c209 unsigned long tls = args->tls; in copy_thread() local
255 cregs->cr27 = tls; in copy_thread()
/linux-6.1.9/arch/m68k/kernel/
Dprocess.c124 .tls = regs->d5, in m68k_clone()
144 unsigned long tls = args->tls; in copy_thread() local
178 task_thread_info(p)->tp_value = tls; in copy_thread()
/linux-6.1.9/arch/openrisc/kernel/
Dprocess.c170 unsigned long tls = args->tls; in copy_thread() local
202 userregs->gpr[10] = tls; in copy_thread()
/linux-6.1.9/arch/x86/kernel/
Dtls.c255 const struct desc_struct *tls; in regset_tls_get() local
259 for (pos = 0, tls = target->thread.tls_array; to.left; pos++, tls++) { in regset_tls_get()
260 fill_user_desc(&v, GDT_ENTRY_TLS_MIN + pos, tls); in regset_tls_get()
Dprocess.c124 static int set_new_tls(struct task_struct *p, unsigned long tls) in set_new_tls() argument
126 struct user_desc __user *utls = (struct user_desc __user *)tls; in set_new_tls()
131 return do_set_thread_area_64(p, ARCH_SET_FS, tls); in set_new_tls()
138 unsigned long tls = args->tls; in copy_thread() local
217 ret = set_new_tls(p, tls); in copy_thread()
/linux-6.1.9/arch/microblaze/kernel/
Dprocess.c59 unsigned long tls = args->tls; in copy_thread() local
111 childregs->r21 = tls; in copy_thread()
/linux-6.1.9/arch/arc/kernel/
Dprocess.c169 unsigned long tls = args->tls; in copy_thread() local
226 task_thread_info(p)->thr_ptr = tls; in copy_thread()
/linux-6.1.9/arch/sh/kernel/
Dprocess_32.c94 unsigned long tls = args->tls; in copy_thread() local
133 childregs->gbr = tls; in copy_thread()
/linux-6.1.9/arch/ia64/kernel/
Dprocess.c304 unsigned long tls = args->tls; in copy_thread() local
384 child_ptregs->r13 = tls; in copy_thread()
406 unsigned long child_tidptr, unsigned long tls) in ia64_clone() argument
416 .tls = tls, in ia64_clone()
/linux-6.1.9/arch/riscv/kernel/
Dprocess.c164 unsigned long tls = args->tls; in copy_thread() local
185 childregs->tp = tls; in copy_thread()
/linux-6.1.9/arch/xtensa/kernel/
Dprocess.c270 unsigned long tls = args->tls; in copy_thread() local
330 childregs->threadptr = tls; in copy_thread()
/linux-6.1.9/Documentation/networking/
Dindex.rst37 tls
38 tls-offload
/linux-6.1.9/arch/alpha/kernel/
Dprocess.c235 unsigned long tls = args->tls; in copy_thread() local
265 childti->pcb.unique = tls; in copy_thread()

1234