Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dtls.c72 struct mlx5_fpga_conn *conn = fdev->tls->conn; in mlx5_fpga_tls_cmd_complete()
74 struct mlx5_fpga_tls *tls = fdev->tls; in mlx5_fpga_tls_cmd_complete() local
77 spin_lock_irqsave(&tls->pending_cmds_lock, flags); in mlx5_fpga_tls_cmd_complete()
78 ctx = list_first_entry(&tls->pending_cmds, in mlx5_fpga_tls_cmd_complete()
81 spin_unlock_irqrestore(&tls->pending_cmds_lock, flags); in mlx5_fpga_tls_cmd_complete()
103 struct mlx5_fpga_tls *tls = fdev->tls; in mlx5_fpga_tls_cmd_send() local
111 spin_lock_irqsave(&tls->pending_cmds_lock, flags); in mlx5_fpga_tls_cmd_send()
116 ret = mlx5_fpga_sbu_conn_sendmsg(tls->conn, &cmd->buf); in mlx5_fpga_tls_cmd_send()
118 list_add_tail(&cmd->list, &tls->pending_cmds); in mlx5_fpga_tls_cmd_send()
120 complete(tls->conn, fdev, cmd, NULL); in mlx5_fpga_tls_cmd_send()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
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 tls->rx_wq = create_singlethread_workqueue("mlx5e_tls_rx"); in mlx5e_tls_init()
235 if (!tls->rx_wq) { in mlx5e_tls_init()
236 kfree(tls); in mlx5e_tls_init()
240 priv->tls = tls; in mlx5e_tls_init()
246 struct mlx5e_tls *tls = priv->tls; in mlx5e_tls_cleanup() local
248 if (!tls) in mlx5e_tls_cleanup()
[all …]
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()
288 return mlx5e_tls_handle_ooo(context, sq, skb, priv->tls); in mlx5e_tls_handle_tx_skb()
291 atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_tx_skb()
343 atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); in tls_update_resync_sn()
372 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); in mlx5e_tls_handle_rx_skb_metadata()
377 atomic64_inc(&priv->tls->sw_stats.rx_tls_auth_fail); in mlx5e_tls_handle_rx_skb_metadata()
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()
189 mlx5e_tls_handle_tx_wqe(sq, &wqe->ctrl, &state->tls); in mlx5e_accel_tx_finish()
Dtls_stats.c55 return priv->tls && !mlx5_accel_is_ktls_device(priv->mdev); in is_tls_atomic_stats()
89 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_tls_get_stats()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtls.c98 FIXTURE(tls) in FIXTURE() argument
104 FIXTURE_VARIANT(tls) in FIXTURE_VARIANT() argument
109 FIXTURE_VARIANT_ADD(tls, 12)
114 FIXTURE_VARIANT_ADD(tls, 13)
119 FIXTURE_SETUP(tls) in FIXTURE_SETUP() argument
179 FIXTURE_TEARDOWN(tls) in FIXTURE_TEARDOWN() argument
185 TEST_F(tls, sendfile) in TEST_F() argument
195 TEST_F(tls, send_then_sendfile) in TEST_F() argument
251 TEST_F(tls, multi_chunk_sendfile) in TEST_F() argument
274 TEST_F(tls, recv_max) in TEST_F() argument
[all …]
/kernel/linux/linux-5.10/net/tls/
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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/csky/kernel/
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()
Dptrace.c84 regs->tls = task_thread_info(target)->tp_value; in gpr_get()
106 task_thread_info(target)->tp_value = regs.tls; in gpr_set()
207 REG_OFFSET_NAME(tls),
387 fp->exregs[12], fp->exregs[13], fp->exregs[14], fp->tls); in show_regs()
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dprocess.c104 struct task_struct *p, unsigned long tls) in copy_thread() argument
143 childstack->r23 = tls; in copy_thread()
257 unsigned long tls) in nios2_clone() argument
266 .tls = tls, in nios2_clone()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dprocess.c96 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread() argument
158 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
160 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
161 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0003_linux_crypto.patch48 +obj-$(CONFIG_CRYPTO_TLS) += tls.o
185 + struct tls_test_suite tls;
245 + pr_err("alg: tls%s: Failed to allocate request for %s\n",
282 + pr_err("alg: tls%s: setkey failed on test %d for %s: flags=%x\n",
324 + pr_err("alg: tls%s: %s failed on test %d for %s: ret was 0, expected -EBADMSG\n",
337 + pr_err("alg: tls%s: %s failed on test %d for %s: ret=%d\n",
344 + pr_err("alg: tls%s: Test %d failed on %s for %s\n",
398 + if (desc->suite.tls.enc.vecs) {
399 + err = test_tls(tfm, ENCRYPT, desc->suite.tls.enc.vecs,
400 + desc->suite.tls.enc.count);
[all …]
/kernel/linux/linux-5.10/arch/csky/abiv2/inc/abi/
Dentry.h26 stw tls, (sp, 0)
30 movi tls, \epc_inc
31 add lr, tls
68 ldw tls, (sp, 0)
106 stw tls, (sp, 0)
138 ldw tls, (sp, 0)
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtls.c261 const struct desc_struct *tls; in regset_tls_get() local
265 for (pos = 0, tls = target->thread.tls_array; to.left; pos++, tls++) { in regset_tls_get()
266 fill_user_desc(&v, GDT_ENTRY_TLS_MIN + pos, tls); in regset_tls_get()
/kernel/linux/linux-5.10/arch/m68k/kernel/
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()
/kernel/linux/linux-5.10/Documentation/networking/
Dindex.rst36 tls
37 tls-offload
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dprocess.c54 struct task_struct *p, unsigned long tls) in copy_thread() argument
103 childregs->ugp = tls; in copy_thread()
/kernel/linux/linux-5.10/arch/openrisc/kernel/
Dprocess.c151 struct task_struct *p, unsigned long tls) in copy_thread() argument
184 userregs->gpr[10] = tls; in copy_thread()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dprocess.c192 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) in copy_thread() argument
239 cregs->cr27 = tls; in copy_thread()
/kernel/linux/linux-5.10/arch/ia64/kernel/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile70 mlx5_core-$(CONFIG_MLX5_FPGA_TLS) += fpga/tls.o
71 mlx5_core-$(CONFIG_MLX5_ACCEL) += lib/crypto.o accel/tls.o accel/ipsec.o
78 mlx5_core-$(CONFIG_MLX5_EN_TLS) += en_accel/tls.o en_accel/tls_rxtx.o en_accel/tls_stats.o \
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_ssi_dbg.c63 dbg->stats.tls++; in fsl_ssi_dbg_isr()
117 SIER_SHOW(TLS_EN, tls); in fsl_ssi_stats_show()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dprocess.c167 unsigned long tls) in copy_thread() argument
225 task_thread_info(p)->thr_ptr = tls; in copy_thread()

1234