/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | tls.c | 72 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 …]
|
D | tls.h | 68 return mdev->fpga->tls->caps; in mlx5_fpga_tls_device_caps()
|
D | core.h | 56 struct mlx5_fpga_tls *tls; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | tls.c | 175 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_reply); in mlx5e_tls_resync_rx() 213 struct mlx5e_tls *tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5e_tls_init() local 215 if (!tls) in mlx5e_tls_init() 218 priv->tls = tls; in mlx5e_tls_init() 224 struct mlx5e_tls *tls = priv->tls; in mlx5e_tls_cleanup() local 226 if (!tls) in mlx5e_tls_cleanup() 229 kfree(tls); in mlx5e_tls_cleanup() 230 priv->tls = NULL; in mlx5e_tls_cleanup()
|
D | tls_stats.c | 56 if (!priv->tls) in mlx5e_tls_get_count() 66 if (!priv->tls) in mlx5e_tls_get_strings() 80 if (!priv->tls) in mlx5e_tls_get_stats() 85 MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, in mlx5e_tls_get_stats()
|
D | tls_rxtx.c | 193 struct mlx5e_tls *tls) in mlx5e_tls_handle_ooo() argument 209 atomic64_inc(&tls->sw_stats.tx_tls_drop_no_sync_data); in mlx5e_tls_handle_ooo() 223 atomic64_inc(&tls->sw_stats.tx_tls_drop_bypass_required); in mlx5e_tls_handle_ooo() 228 atomic64_inc(&tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_ooo() 236 atomic64_inc(&tls->sw_stats.tx_tls_drop_resync_alloc); in mlx5e_tls_handle_ooo() 289 skb = mlx5e_tls_handle_ooo(context, sq, skb, wqe, pi, priv->tls); in mlx5e_tls_handle_tx_skb() 294 atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); in mlx5e_tls_handle_tx_skb() 338 atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); in tls_update_resync_sn() 369 atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); in mlx5e_tls_handle_rx_skb() 374 atomic64_inc(&priv->tls->sw_stats.rx_tls_auth_fail); in mlx5e_tls_handle_rx_skb()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | tls.c | 28 FIXTURE(tls) in FIXTURE() argument 34 FIXTURE_SETUP(tls) in FIXTURE_SETUP() argument 94 FIXTURE_TEARDOWN(tls) in FIXTURE_TEARDOWN() argument 100 TEST_F(tls, sendfile) in TEST_F() argument 110 TEST_F(tls, send_then_sendfile) in TEST_F() argument 131 TEST_F(tls, recv_max) in TEST_F() argument 142 TEST_F(tls, recv_small) in TEST_F() argument 154 TEST_F(tls, msg_more) in TEST_F() argument 168 TEST_F(tls, sendmsg_single) in TEST_F() argument 187 TEST_F(tls, sendmsg_large) in TEST_F() argument [all …]
|
D | .gitignore | 16 tls
|
D | Makefile | 16 TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
|
/Linux-v4.19/net/tls/ |
D | Makefile | 5 obj-$(CONFIG_TLS) += tls.o 7 tls-y := tls_main.o tls_sw.o 9 tls-$(CONFIG_TLS_DEVICE) += tls_device.o tls_device_fallback.o
|
/Linux-v4.19/arch/x86/um/ |
D | tls_32.c | 107 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() 254 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
|
/Linux-v4.19/arch/s390/kernel/ |
D | process.c | 82 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 145 p->thread.acrs[0] = (unsigned int)tls; in copy_thread_tls() 147 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread_tls() 148 p->thread.acrs[1] = (unsigned int)tls; in copy_thread_tls()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Makefile | 51 mlx5_core-$(CONFIG_MLX5_ACCEL) += accel/ipsec.o accel/tls.o 54 fpga/ipsec.o fpga/tls.o 59 mlx5_core-$(CONFIG_MLX5_EN_TLS) += en_accel/tls.o en_accel/tls_rxtx.o en_accel/tls_stats.o
|
/Linux-v4.19/arch/x86/kernel/ |
D | tls.c | 257 const struct desc_struct *tls; in regset_tls_get() local 267 tls = &target->thread.tls_array[pos]; in regset_tls_get() 273 tls++); in regset_tls_get() 278 fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); in regset_tls_get()
|
D | process_32.c | 123 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 174 (struct user_desc __user *)tls, 0); in copy_thread_tls()
|
D | Makefile | 69 obj-$(CONFIG_X86_32) += tls.o 70 obj-$(CONFIG_IA32_EMULATION) += tls.o
|
D | process_64.c | 290 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 346 (struct user_desc __user *)tls, 0); in copy_thread_tls() 349 err = do_arch_prctl_64(p, ARCH_SET_FS, tls); in copy_thread_tls()
|
/Linux-v4.19/sound/soc/fsl/ |
D | fsl_ssi_dbg.c | 63 dbg->stats.tls++; in fsl_ssi_dbg_isr() 117 SIER_SHOW(TLS_EN, tls); in fsl_ssi_stats_show()
|
/Linux-v4.19/arch/openrisc/include/asm/ |
D | syscalls.h | 28 void __user *parent_tid, void __user *child_tid, int tls);
|
/Linux-v4.19/arch/x86/um/os-Linux/ |
D | Makefile | 8 obj-$(CONFIG_X86_32) += tls.o
|
/Linux-v4.19/arch/arm64/kernel/ |
D | ptrace.c | 705 unsigned long *tls = &target->thread.uw.tp_value; in tls_get() local 710 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get() 718 unsigned long tls = target->thread.uw.tp_value; in tls_set() local 720 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set() 724 target->thread.uw.tp_value = tls; in tls_set() 1235 compat_ulong_t tls = (compat_ulong_t)target->thread.uw.tp_value; in compat_tls_get() local 1236 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_get() 1245 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set() local 1247 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_set() 1251 target->thread.uw.tp_value = tls; in compat_tls_set()
|
/Linux-v4.19/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.h | 106 #define skb_ulp_tls_inline(skb) (ULP_SKB_CB(skb)->ulp.tls.ofld) 107 #define skb_ulp_tls_iv_imm(skb) (ULP_SKB_CB(skb)->ulp.tls.iv)
|
/Linux-v4.19/arch/x86/um/asm/ |
D | processor_32.h | 16 struct user_desc tls; member
|
/Linux-v4.19/Documentation/translations/zh_CN/arm/ |
D | kernel_user_helpers.txt | 120 void *tls = __kuser_get_tls(); 121 printf("TLS = %p\n", tls);
|
/Linux-v4.19/include/linux/sched/ |
D | task.h | 55 struct task_struct *p, unsigned long tls) in copy_thread_tls() argument
|