Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
A Dtls.c74 struct mlx5_fpga_tls *tls = fdev->tls; in mlx5_fpga_tls_cmd_complete() local
103 struct mlx5_fpga_tls *tls = fdev->tls; in mlx5_fpga_tls_cmd_send() local
268 struct mlx5_fpga_tls *tls = mdev->fpga->tls; in mlx5_fpga_tls_del_flow() local
457 tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5_fpga_tls_init()
458 if (!tls) in mlx5_fpga_tls_init()
482 tls->conn = conn; in mlx5_fpga_tls_init()
490 fdev->tls = tls; in mlx5_fpga_tls_init()
494 kfree(tls); in mlx5_fpga_tls_init()
506 kfree(fdev->tls); in mlx5_fpga_tls_cleanup()
507 fdev->tls = NULL; in mlx5_fpga_tls_cleanup()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dtls.c179 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_reply); in mlx5e_tls_resync()
225 struct mlx5e_tls *tls; in mlx5e_tls_init() local
230 tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5e_tls_init()
231 if (!tls) in mlx5e_tls_init()
234 priv->tls = tls; in mlx5e_tls_init()
240 struct mlx5e_tls *tls = priv->tls; in mlx5e_tls_cleanup() local
242 if (!tls) in mlx5e_tls_cleanup()
245 kfree(tls); in mlx5e_tls_cleanup()
246 priv->tls = NULL; in mlx5e_tls_cleanup()
A Dtls_rxtx.c189 struct mlx5e_tls *tls) in mlx5e_tls_handle_ooo() argument
205 atomic64_inc(&tls->sw_stats.tx_tls_drop_no_sync_data); in mlx5e_tls_handle_ooo()
219 atomic64_inc(&tls->sw_stats.tx_tls_drop_bypass_required); in mlx5e_tls_handle_ooo()
224 atomic64_inc(&tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_ooo()
232 atomic64_inc(&tls->sw_stats.tx_tls_drop_resync_alloc); in mlx5e_tls_handle_ooo()
285 return mlx5e_tls_handle_ooo(context, sq, skb, priv->tls); in mlx5e_tls_handle_tx_skb()
288 atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_tx_skb()
334 atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); in tls_update_resync_sn()
363 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); in mlx5e_tls_handle_rx_skb_metadata()
368 atomic64_inc(&priv->tls->sw_stats.rx_tls_auth_fail); in mlx5e_tls_handle_rx_skb_metadata()
A Dktls.c98 priv->tls->rx_wq = create_singlethread_workqueue("mlx5e_tls_rx"); in mlx5e_ktls_init_rx()
99 if (!priv->tls->rx_wq) in mlx5e_ktls_init_rx()
105 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_init_rx()
121 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_cleanup_rx()
A Dtls_stats.c60 if (!priv->tls) in get_tls_atomic_stats()
69 if (!priv->tls) in mlx5e_tls_get_count()
101 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_tls_get_stats()
A Den_accel.h110 struct mlx5e_accel_tx_tls_state tls; member
128 if (unlikely(!mlx5e_tls_handle_tx_skb(dev, sq, skb, &state->tls))) in mlx5e_accel_tx_begin()
186 mlx5e_tls_handle_tx_wqe(&wqe->ctrl, &state->tls); in mlx5e_accel_tx_finish()
/linux/tools/testing/selftests/net/
A Dtls.c228 FIXTURE(tls) in FIXTURE() argument
234 FIXTURE_VARIANT(tls) in FIXTURE_VARIANT() argument
300 FIXTURE_SETUP(tls) in FIXTURE_SETUP() argument
320 FIXTURE_TEARDOWN(tls) in FIXTURE_TEARDOWN() argument
326 TEST_F(tls, sendfile) in TEST_F() argument
415 TEST_F(tls, recv_max) in TEST_F() argument
440 TEST_F(tls, msg_more) in TEST_F() argument
1034 TEST_F(tls, bidir) in TEST_F() argument
1069 TEST_F(tls, pollin) in TEST_F() argument
1129 TEST_F(tls, blocking) in TEST_F() argument
[all …]
/linux/net/tls/
A DMakefile8 obj-$(CONFIG_TLS) += tls.o
10 tls-y := tls_main.o tls_sw.o tls_proc.o trace.o
12 tls-$(CONFIG_TLS_TOE) += tls_toe.o
13 tls-$(CONFIG_TLS_DEVICE) += tls_device.o tls_device_fallback.o
/linux/arch/x86/um/
A Dtls_32.c107 clear_user_desc(&curr->tls); in load_TLS()
108 curr->tls.entry_number = idx; in load_TLS()
110 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS()
118 ret = do_set_thread_area(&curr->tls); in load_TLS()
211 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry()
218 int arch_set_tls(struct task_struct *new, unsigned long tls) in arch_set_tls() argument
223 if (copy_from_user(&info, (void __user *) tls, sizeof(info))) in arch_set_tls()
252 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
A 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/arch/csky/kernel/
A Dprocess.c37 unsigned long tls) in copy_thread() argument
63 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
64 = tls; in copy_thread()
A Dptrace.c85 regs->tls = task_thread_info(target)->tp_value; in gpr_get()
107 task_thread_info(target)->tp_value = regs.tls; in gpr_set()
208 REG_OFFSET_NAME(tls),
507 fp->exregs[12], fp->exregs[13], fp->exregs[14], fp->tls); in show_regs()
/linux/arch/nios2/kernel/
A Dprocess.c104 struct task_struct *p, unsigned long tls) in copy_thread() argument
143 childstack->r23 = tls; in copy_thread()
254 unsigned long tls) in nios2_clone() argument
263 .tls = tls, in nios2_clone()
/linux/arch/csky/abiv2/inc/abi/
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/s390/kernel/
A Dprocess.c98 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread() argument
163 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
165 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
166 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
/linux/arch/x86/kernel/
A 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()
A Dprocess.c123 static int set_new_tls(struct task_struct *p, unsigned long tls) in set_new_tls() argument
125 struct user_desc __user *utls = (struct user_desc __user *)tls; in set_new_tls()
130 return do_set_thread_area_64(p, ARCH_SET_FS, tls); in set_new_tls()
134 struct task_struct *p, unsigned long tls) in copy_thread() argument
217 ret = set_new_tls(p, tls); in copy_thread()
/linux/arch/m68k/kernel/
A Dprocess.c125 .tls = regs->d5, in m68k_clone()
142 struct task_struct *p, unsigned long tls) in copy_thread() argument
177 task_thread_info(p)->tp_value = tls; in copy_thread()
/linux/arch/ia64/kernel/
A Dprocess.c299 unsigned long user_stack_size, struct task_struct *p, unsigned long tls) in copy_thread() argument
380 child_ptregs->r13 = tls; in copy_thread()
402 unsigned long child_tidptr, unsigned long tls) in ia64_clone() argument
412 .tls = tls, in ia64_clone()
/linux/arch/hexagon/kernel/
A Dprocess.c54 struct task_struct *p, unsigned long tls) in copy_thread() argument
103 childregs->ugp = tls; in copy_thread()
/linux/Documentation/networking/
A Dindex.rst36 tls
37 tls-offload
/linux/arch/parisc/kernel/
A Dprocess.c189 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) in copy_thread() argument
236 cregs->cr27 = tls; in copy_thread()
/linux/arch/openrisc/kernel/
A Dprocess.c156 struct task_struct *p, unsigned long tls) in copy_thread() argument
189 userregs->gpr[10] = tls; in copy_thread()
/linux/sound/soc/fsl/
A Dfsl_ssi_dbg.c63 dbg->stats.tls++; in fsl_ssi_dbg_isr()
117 SIER_SHOW(TLS_EN, tls); in fsl_ssi_stats_show()
/linux/arch/arc/kernel/
A Dprocess.c167 unsigned long tls) in copy_thread() argument
225 task_thread_info(p)->thr_ptr = tls; in copy_thread()

Completed in 31 milliseconds

1234