| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ktls.c | 155 if (!priv->tls->rx_wq) in mlx5e_ktls_init_rx() 177 destroy_workqueue(priv->tls->rx_wq); in mlx5e_ktls_cleanup_rx() 191 struct mlx5e_tls *tls; in mlx5e_ktls_init() local 196 tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5e_ktls_init() 197 if (!tls) in mlx5e_ktls_init() 199 tls->mdev = priv->mdev; in mlx5e_ktls_init() 201 priv->tls = tls; in mlx5e_ktls_init() 210 struct mlx5e_tls *tls = priv->tls; in mlx5e_ktls_cleanup() local 216 tls->debugfs.dfs = NULL; in mlx5e_ktls_cleanup() 218 kfree(priv->tls); in mlx5e_ktls_cleanup() [all …]
|
| A D | ktls_stats.c | 55 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()
|
| A D | ktls_tx.c | 466 pool = priv->tls->tx_pool; in mlx5e_ktls_add_tx() 518 pool = priv->tls->tx_pool; in mlx5e_ktls_del_tx() 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() 929 priv->tls->tx_pool = mlx5e_tls_tx_pool_init(priv->mdev, &priv->tls->sw_stats); in mlx5e_ktls_init_tx() 930 if (!priv->tls->tx_pool) { in mlx5e_ktls_init_tx() 935 mlx5e_tls_tx_debugfs_init(tls, tls->debugfs.dfs); in mlx5e_ktls_init_tx() 950 priv->tls->debugfs.dfs_tx = NULL; in mlx5e_ktls_cleanup_tx() 952 mlx5e_tls_tx_pool_cleanup(priv->tls->tx_pool); in mlx5e_ktls_cleanup_tx() [all …]
|
| A D | en_accel.h | 117 struct mlx5e_accel_tx_tls_state tls; member 136 &state->tls))) in mlx5e_accel_tx_begin() 199 mlx5e_ktls_handle_tx_wqe(&wqe->ctrl, &state->tls); in mlx5e_accel_tx_finish()
|
| /linux/net/tls/ |
| A D | Makefile | 8 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/tools/testing/selftests/net/ |
| A D | tls.c | 269 FIXTURE(tls) in FIXTURE() argument 275 FIXTURE_VARIANT(tls) in FIXTURE_VARIANT() argument 365 FIXTURE_SETUP(tls) in FIXTURE_SETUP() argument 395 FIXTURE_TEARDOWN(tls) in FIXTURE_TEARDOWN() argument 401 TEST_F(tls, sendfile) in TEST_F() argument 490 TEST_F(tls, recv_max) in TEST_F() argument 515 TEST_F(tls, msg_more) in TEST_F() argument 539 TEST_F(tls, msg_eor) in TEST_F() argument 1148 TEST_F(tls, bidir) in TEST_F() argument 1183 TEST_F(tls, pollin) in TEST_F() argument [all …]
|
| /linux/arch/x86/um/ |
| A D | tls_32.c | 89 clear_user_desc(&curr->tls); in load_TLS() 90 curr->tls.entry_number = idx; in load_TLS() 92 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS() 100 ret = do_set_thread_area(&curr->tls); in load_TLS() 193 t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; in set_tls_entry() 200 int arch_set_tls(struct task_struct *new, unsigned long tls) in arch_set_tls() argument 205 if (copy_from_user(&info, (void __user *) tls, sizeof(info))) in arch_set_tls() 230 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
|
| A D | tls_64.c | 9 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/arch/csky/kernel/ |
| A D | process.c | 37 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/ |
| A D | process.c | 106 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/s390/kernel/ |
| A D | process.c | 112 unsigned long tls = args->tls; in copy_thread() local 171 p->thread.acrs[0] = (unsigned int)tls; in copy_thread() 173 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread() 174 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
|
| /linux/arch/hexagon/kernel/ |
| A D | process.c | 57 unsigned long tls = args->tls; in copy_thread() local 105 childregs->ugp = tls; in copy_thread()
|
| /linux/arch/parisc/kernel/ |
| A D | process.c | 206 unsigned long tls = args->tls; in copy_thread() local 252 cregs->cr27 = tls; in copy_thread()
|
| /linux/arch/csky/abiv2/inc/abi/ |
| A D | entry.h | 25 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/ |
| A D | process.c | 126 .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/ |
| A D | index.rst | 38 tls 39 tls-offload 40 tls-handshake
|
| /linux/arch/openrisc/kernel/ |
| A D | process.c | 170 unsigned long tls = args->tls; in copy_thread() local 202 userregs->gpr[10] = tls; in copy_thread()
|
| /linux/arch/x86/kernel/ |
| A D | tls.c | 256 const struct desc_struct *tls; in regset_tls_get() local 260 for (pos = 0, tls = target->thread.tls_array; to.left; pos++, tls++) { in regset_tls_get() 261 fill_user_desc(&v, GDT_ENTRY_TLS_MIN + pos, tls); in regset_tls_get()
|
| /linux/arch/arc/kernel/ |
| A D | process.c | 171 unsigned long tls = args->tls; in copy_thread() local 228 task_thread_info(p)->thr_ptr = tls; in copy_thread()
|
| /linux/arch/microblaze/kernel/ |
| A D | process.c | 59 unsigned long tls = args->tls; in copy_thread() local 111 childregs->r21 = tls; in copy_thread()
|
| /linux/arch/sh/kernel/ |
| A D | process_32.c | 94 unsigned long tls = args->tls; in copy_thread() local 133 childregs->gbr = tls; in copy_thread()
|
| /linux/arch/um/kernel/ |
| A D | process.c | 143 unsigned long tls = args->tls; in copy_thread() local 175 ret = arch_set_tls(p, tls); in copy_thread()
|
| /linux/arch/xtensa/kernel/ |
| A D | process.c | 272 unsigned long tls = args->tls; in copy_thread() local 332 childregs->threadptr = tls; in copy_thread()
|
| /linux/arch/riscv/kernel/ |
| A D | process.c | 208 unsigned long tls = args->tls; in copy_thread() local 229 childregs->tp = tls; in copy_thread()
|
| /linux/arch/alpha/kernel/ |
| A D | process.c | 236 unsigned long tls = args->tls; in copy_thread() local 268 childti->pcb.unique = tls; in copy_thread()
|