/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ktls.c | 155 if (!priv->tls->rx_wq) in mlx5e_ktls_init_rx() 192 struct mlx5e_tls *tls; in mlx5e_ktls_init() local 197 tls = kzalloc(sizeof(*tls), GFP_KERNEL); in mlx5e_ktls_init() 198 if (!tls) in mlx5e_ktls_init() 200 tls->mdev = priv->mdev; in mlx5e_ktls_init() 204 kfree(tls); in mlx5e_ktls_init() 208 priv->tls = tls; in mlx5e_ktls_init() 217 struct mlx5e_tls *tls = priv->tls; in mlx5e_ktls_cleanup() local 223 tls->debugfs.dfs = NULL; in mlx5e_ktls_cleanup() 226 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() 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()
|
A D | ktls_tx.c | 466 pool = priv->tls->tx_pool; in mlx5e_ktls_add_tx() 516 pool = priv->tls->tx_pool; in mlx5e_ktls_del_tx() 904 &tls->tx_pool->size); in mlx5e_tls_tx_debugfs_init() 909 struct mlx5e_tls *tls = priv->tls; in mlx5e_ktls_init_tx() local 914 priv->tls->tx_pool = mlx5e_tls_tx_pool_init(priv->mdev, &priv->tls->sw_stats); in mlx5e_ktls_init_tx() 915 if (!priv->tls->tx_pool) in mlx5e_ktls_init_tx() 918 mlx5e_tls_tx_debugfs_init(tls, tls->debugfs.dfs); in mlx5e_ktls_init_tx() 928 debugfs_remove_recursive(priv->tls->debugfs.dfs_tx); in mlx5e_ktls_cleanup_tx() 929 priv->tls->debugfs.dfs_tx = NULL; in mlx5e_ktls_cleanup_tx() 931 mlx5e_tls_tx_pool_cleanup(priv->tls->tx_pool); in mlx5e_ktls_cleanup_tx() [all …]
|
A D | en_accel.h | 111 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.3-rc2/tools/testing/selftests/net/ |
A D | tls.c | 228 FIXTURE(tls) in FIXTURE() argument 234 FIXTURE_VARIANT(tls) in FIXTURE_VARIANT() argument 308 FIXTURE_SETUP(tls) in FIXTURE_SETUP() argument 335 FIXTURE_TEARDOWN(tls) in FIXTURE_TEARDOWN() argument 341 TEST_F(tls, sendfile) in TEST_F() argument 430 TEST_F(tls, recv_max) in TEST_F() argument 455 TEST_F(tls, msg_more) in TEST_F() argument 1063 TEST_F(tls, bidir) in TEST_F() argument 1098 TEST_F(tls, pollin) in TEST_F() argument 1158 TEST_F(tls, blocking) in TEST_F() argument [all …]
|
/linux-6.3-rc2/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-6.3-rc2/arch/x86/um/ |
A D | tls_32.c | 104 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()
|
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.arch.fs = tls; in arch_set_tls()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/s390/kernel/ |
A D | process.c | 113 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.3-rc2/arch/hexagon/kernel/ |
A D | process.c | 56 unsigned long tls = args->tls; in copy_thread() local 104 childregs->ugp = tls; in copy_thread()
|
/linux-6.3-rc2/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-6.3-rc2/arch/parisc/kernel/ |
A D | process.c | 207 unsigned long tls = args->tls; in copy_thread() local 253 cregs->cr27 = tls; in copy_thread()
|
/linux-6.3-rc2/arch/m68k/kernel/ |
A D | process.c | 125 .tls = regs->d5, in m68k_clone() 145 unsigned long tls = args->tls; in copy_thread() local 179 task_thread_info(p)->tp_value = tls; in copy_thread()
|
/linux-6.3-rc2/arch/openrisc/kernel/ |
A D | process.c | 171 unsigned long tls = args->tls; in copy_thread() local 203 userregs->gpr[10] = tls; in copy_thread()
|
/linux-6.3-rc2/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()
|
A D | process.c | 125 static int set_new_tls(struct task_struct *p, unsigned long tls) in set_new_tls() argument 127 struct user_desc __user *utls = (struct user_desc __user *)tls; in set_new_tls() 132 return do_set_thread_area_64(p, ARCH_SET_FS, tls); in set_new_tls() 139 unsigned long tls = args->tls; in copy_thread() local 218 ret = set_new_tls(p, tls); in copy_thread()
|
/linux-6.3-rc2/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-6.3-rc2/arch/arc/kernel/ |
A D | process.c | 172 unsigned long tls = args->tls; in copy_thread() local 229 task_thread_info(p)->thr_ptr = tls; in copy_thread()
|
/linux-6.3-rc2/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-6.3-rc2/arch/ia64/kernel/ |
A D | process.c | 305 unsigned long tls = args->tls; in copy_thread() local 385 child_ptregs->r13 = tls; in copy_thread() 407 unsigned long child_tidptr, unsigned long tls) in ia64_clone() argument 417 .tls = tls, in ia64_clone()
|
/linux-6.3-rc2/arch/riscv/kernel/ |
A D | process.c | 163 unsigned long tls = args->tls; in copy_thread() local 184 childregs->tp = tls; in copy_thread()
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | process.c | 271 unsigned long tls = args->tls; in copy_thread() local 331 childregs->threadptr = tls; in copy_thread()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | index.rst | 37 tls 38 tls-offload
|