tls 228 arch/arm/kernel/process.c unsigned long stk_sz, struct task_struct *p, unsigned long tls) tls 262 arch/arm/kernel/process.c thread->tp_value[0] = tls; tls 364 arch/arm64/kernel/process.c unsigned long stk_sz, struct task_struct *p, unsigned long tls) tls 401 arch/arm64/kernel/process.c p->thread.uw.tp_value = tls; tls 706 arch/arm64/kernel/ptrace.c unsigned long *tls = &target->thread.uw.tp_value; tls 711 arch/arm64/kernel/ptrace.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); tls 719 arch/arm64/kernel/ptrace.c unsigned long tls = target->thread.uw.tp_value; tls 721 arch/arm64/kernel/ptrace.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); tls 725 arch/arm64/kernel/ptrace.c target->thread.uw.tp_value = tls; tls 1427 arch/arm64/kernel/ptrace.c compat_ulong_t tls = (compat_ulong_t)target->thread.uw.tp_value; tls 1428 arch/arm64/kernel/ptrace.c return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); tls 1437 arch/arm64/kernel/ptrace.c compat_ulong_t tls = target->thread.uw.tp_value; tls 1439 arch/arm64/kernel/ptrace.c ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); tls 1443 arch/arm64/kernel/ptrace.c target->thread.uw.tp_value = tls; tls 41 arch/csky/abiv2/inc/abi/elf.h pr_reg[33] = regs->tls; \ tls 26 arch/csky/abiv2/inc/abi/entry.h stw tls, (sp, 0) tls 30 arch/csky/abiv2/inc/abi/entry.h movi tls, \epc_inc tls 31 arch/csky/abiv2/inc/abi/entry.h add lr, tls tls 69 arch/csky/abiv2/inc/abi/entry.h ldw tls, (sp, 0) tls 10 arch/csky/include/uapi/asm/ptrace.h unsigned long tls; tls 41 arch/csky/kernel/process.c unsigned long tls) tls 67 arch/csky/kernel/process.c task_thread_info(p)->tp_value = childregs->tls tls 68 arch/csky/kernel/process.c = tls; tls 82 arch/csky/kernel/ptrace.c regs->tls = task_thread_info(target)->tp_value; tls 103 arch/csky/kernel/ptrace.c task_thread_info(target)->tp_value = regs.tls; tls 283 arch/csky/kernel/ptrace.c fp->exregs[12], fp->exregs[13], fp->exregs[14], fp->tls); tls 11 arch/csky/kernel/syscall.c reg->tls = addr; tls 267 arch/mips/include/asm/octeon/cvmx-pciercx-defs.h __BITFIELD_FIELD(uint32_t tls:4, tls 122 arch/mips/kernel/process.c unsigned long kthread_arg, struct task_struct *p, unsigned long tls) tls 182 arch/mips/kernel/process.c ti->tp_value = tls; tls 369 arch/mips/kernel/traps.c unsigned long tls; tls 371 arch/mips/kernel/traps.c tls = read_c0_userlocal(); tls 372 arch/mips/kernel/traps.c if (tls != current_thread_info()->tp_value) tls 373 arch/mips/kernel/traps.c printk("*HwTLS: %0*lx\n", field, tls); tls 24 arch/openrisc/include/asm/syscalls.h void __user *parent_tid, void __user *child_tid, int tls); tls 212 arch/parisc/kernel/process.c unsigned long kthread_arg, struct task_struct *p, unsigned long tls) tls 259 arch/parisc/kernel/process.c cregs->cr27 = tls; tls 1592 arch/powerpc/kernel/process.c unsigned long tls) tls 1633 arch/powerpc/kernel/process.c childregs->gpr[13] = tls; tls 1636 arch/powerpc/kernel/process.c childregs->gpr[2] = tls; tls 103 arch/riscv/kernel/process.c unsigned long arg, struct task_struct *p, unsigned long tls) tls 123 arch/riscv/kernel/process.c childregs->tp = tls; tls 83 arch/s390/kernel/process.c unsigned long arg, struct task_struct *p, unsigned long tls) tls 147 arch/s390/kernel/process.c p->thread.acrs[0] = (unsigned int)tls; tls 149 arch/s390/kernel/process.c p->thread.acrs[0] = (unsigned int)(tls >> 32); tls 150 arch/s390/kernel/process.c p->thread.acrs[1] = (unsigned int)tls; tls 39 arch/um/include/asm/ptrace-generic.h extern int arch_set_tls(struct task_struct *new, unsigned long tls); tls 157 arch/um/kernel/process.c unsigned long arg, struct task_struct * p, unsigned long tls) tls 191 arch/um/kernel/process.c ret = arch_set_tls(p, tls); tls 247 arch/x86/ia32/sys_ia32.c .tls = tls_val, tls 116 arch/x86/kernel/process_32.c unsigned long arg, struct task_struct *p, unsigned long tls) tls 174 arch/x86/kernel/process_32.c (struct user_desc __user *)tls, 0); tls 375 arch/x86/kernel/process_64.c unsigned long arg, struct task_struct *p, unsigned long tls) tls 432 arch/x86/kernel/process_64.c (struct user_desc __user *)tls, 0); tls 435 arch/x86/kernel/process_64.c err = do_arch_prctl_64(p, ARCH_SET_FS, tls); tls 262 arch/x86/kernel/tls.c const struct desc_struct *tls; tls 272 arch/x86/kernel/tls.c tls = &target->thread.tls_array[pos]; tls 278 arch/x86/kernel/tls.c tls++); tls 283 arch/x86/kernel/tls.c fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); tls 16 arch/x86/um/asm/processor_32.h struct user_desc tls; tls 107 arch/x86/um/tls_32.c clear_user_desc(&curr->tls); tls 108 arch/x86/um/tls_32.c curr->tls.entry_number = idx; tls 110 arch/x86/um/tls_32.c WARN_ON(!LDT_empty(&curr->tls)); tls 118 arch/x86/um/tls_32.c ret = do_set_thread_area(&curr->tls); tls 211 arch/x86/um/tls_32.c t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls = *info; tls 218 arch/x86/um/tls_32.c int arch_set_tls(struct task_struct *new, unsigned long tls) tls 223 arch/x86/um/tls_32.c if (copy_from_user(&info, (void __user *) tls, sizeof(info))) tls 252 arch/x86/um/tls_32.c *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; tls 9 arch/x86/um/tls_64.c int arch_set_tls(struct task_struct *t, unsigned long tls) tls 15 arch/x86/um/tls_64.c t->thread.arch.fs = tls; tls 207 arch/xtensa/kernel/process.c unsigned long tls) tls 269 arch/xtensa/kernel/process.c childregs->threadptr = tls; tls 339 drivers/crypto/chelsio/chtls/chtls.h } tls; tls 103 drivers/crypto/chelsio/chtls/chtls_cm.h #define skb_ulp_tls_inline(skb) (ULP_SKB_CB(skb)->ulp.tls.ofld) tls 104 drivers/crypto/chelsio/chtls/chtls_cm.h #define skb_ulp_tls_iv_imm(skb) (ULP_SKB_CB(skb)->ulp.tls.iv) tls 57 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.iv = 1; tls 60 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.iv = 0; tls 420 drivers/crypto/chelsio/chtls/chtls_io.c data_type = tls_content_type(ULP_SKB_CB(skb)->ulp.tls.type); tls 862 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.ofld = 1; tls 863 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.type = csk->tlshws.type; tls 1033 drivers/crypto/chelsio/chtls/chtls_io.c ULP_SKB_CB(skb)->ulp.tls.type = hdr.type; tls 873 drivers/net/ethernet/mellanox/mlx5/core/en.h struct mlx5e_tls *tls; tls 179 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_reply); tls 224 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c struct mlx5e_tls *tls = kzalloc(sizeof(*tls), GFP_KERNEL); tls 226 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c if (!tls) tls 229 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c priv->tls = tls; tls 235 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c struct mlx5e_tls *tls = priv->tls; tls 237 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c if (!tls) tls 240 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c kfree(tls); tls 241 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls.c priv->tls = NULL; tls 192 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c struct mlx5e_tls *tls) tls 208 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&tls->sw_stats.tx_tls_drop_no_sync_data); tls 222 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&tls->sw_stats.tx_tls_drop_bypass_required); tls 227 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&tls->sw_stats.tx_tls_drop_metadata); tls 235 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&tls->sw_stats.tx_tls_drop_resync_alloc); tls 293 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c skb = mlx5e_tls_handle_ooo(context, sq, skb, wqe, pi, priv->tls); tls 298 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&priv->tls->sw_stats.tx_tls_drop_metadata); tls 342 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&priv->tls->sw_stats.rx_tls_drop_resync_request); tls 373 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&priv->tls->sw_stats.rx_tls_resync_request); tls 378 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c atomic64_inc(&priv->tls->sw_stats.rx_tls_auth_fail); tls 56 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c if (!priv->tls) tls 66 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c if (!priv->tls) tls 80 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c if (!priv->tls) tls 85 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_stats.c MLX5E_READ_CTR_ATOMIC64(&priv->tls->sw_stats, tls 62 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.h struct mlx5_fpga_tls *tls; tls 72 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_conn *conn = fdev->tls->conn; tls 74 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls = fdev->tls; tls 77 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_lock_irqsave(&tls->pending_cmds_lock, flags); tls 78 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ctx = list_first_entry(&tls->pending_cmds, tls 81 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_unlock_irqrestore(&tls->pending_cmds_lock, flags); tls 103 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls = fdev->tls; tls 111 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_lock_irqsave(&tls->pending_cmds_lock, flags); tls 116 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ret = mlx5_fpga_sbu_conn_sendmsg(tls->conn, &cmd->buf); tls 118 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c list_add_tail(&cmd->list, &tls->pending_cmds); tls 120 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c complete(tls->conn, fdev, cmd, NULL); tls 121 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_unlock_irqrestore(&tls->pending_cmds_lock, flags); tls 213 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c flow = idr_find(&mdev->fpga->tls->rx_idr, ntohl(handle)); tls 232 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ret = mlx5_fpga_sbu_conn_sendmsg(mdev->fpga->tls->conn, buf); tls 268 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls = mdev->fpga->tls; tls 272 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c flow = mlx5_fpga_tls_release_swid(&tls->tx_idr, tls 273 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c &tls->tx_idr_spinlock, tls 276 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c flow = mlx5_fpga_tls_release_swid(&tls->rx_idr, tls 277 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c &tls->rx_idr_spinlock, tls 451 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls; tls 457 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c tls = kzalloc(sizeof(*tls), GFP_KERNEL); tls 458 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c if (!tls) tls 461 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c err = mlx5_fpga_tls_get_caps(fdev, &tls->caps); tls 465 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c if (!(tls->caps & (MLX5_ACCEL_TLS_V12 | MLX5_ACCEL_TLS_AES_GCM128))) { tls 482 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c tls->conn = conn; tls 483 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_lock_init(&tls->pending_cmds_lock); tls 484 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c INIT_LIST_HEAD(&tls->pending_cmds); tls 486 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c idr_init(&tls->tx_idr); tls 487 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c idr_init(&tls->rx_idr); tls 488 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_lock_init(&tls->tx_idr_spinlock); tls 489 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c spin_lock_init(&tls->rx_idr_spinlock); tls 490 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c fdev->tls = tls; tls 494 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c kfree(tls); tls 502 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c if (!fdev || !fdev->tls) tls 505 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c mlx5_fpga_sbu_conn_destroy(fdev->tls->conn); tls 506 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c kfree(fdev->tls); tls 507 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c fdev->tls = NULL; tls 589 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c struct mlx5_fpga_tls *tls = mdev->fpga->tls; tls 594 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ret = mlx5_fpga_tls_alloc_swid(&tls->tx_idr, tls 595 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c &tls->tx_idr_spinlock, flow); tls 597 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c ret = mlx5_fpga_tls_alloc_swid(&tls->rx_idr, tls 598 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c &tls->rx_idr_spinlock, flow); tls 615 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c mlx5_fpga_tls_release_swid(&tls->tx_idr, tls 616 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c &tls->tx_idr_spinlock, swid); tls 618 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c mlx5_fpga_tls_release_swid(&tls->rx_idr, tls 619 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c &tls->rx_idr_spinlock, swid); tls 68 drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h return mdev->fpga->tls->caps; tls 264 include/linux/pe.h struct data_dirent tls; /* .tls */ tls 28 include/linux/sched/task.h unsigned long tls; tls 72 include/linux/sched/task.h struct task_struct *p, unsigned long tls) tls 74 include/uapi/linux/sched.h __aligned_u64 tls; tls 2018 kernel/fork.c args->tls); tls 2479 kernel/fork.c unsigned long, tls, tls 2485 kernel/fork.c unsigned long, tls) tls 2491 kernel/fork.c unsigned long, tls) tls 2496 kernel/fork.c unsigned long, tls) tls 2506 kernel/fork.c .tls = tls, tls 2559 kernel/fork.c .tls = args.tls, tls 290 sound/soc/fsl/fsl_ssi.h unsigned int tls; tls 63 sound/soc/fsl/fsl_ssi_dbg.c dbg->stats.tls++; tls 117 sound/soc/fsl/fsl_ssi_dbg.c SIER_SHOW(TLS_EN, tls); tls 70 tools/include/uapi/linux/sched.h __aligned_u64 tls; tls 98 tools/testing/selftests/net/tls.c FIXTURE(tls) tls 104 tools/testing/selftests/net/tls.c FIXTURE_SETUP(tls) tls 164 tools/testing/selftests/net/tls.c FIXTURE_TEARDOWN(tls) tls 170 tools/testing/selftests/net/tls.c TEST_F(tls, sendfile) tls 180 tools/testing/selftests/net/tls.c TEST_F(tls, send_then_sendfile) tls 201 tools/testing/selftests/net/tls.c TEST_F(tls, recv_max) tls 212 tools/testing/selftests/net/tls.c TEST_F(tls, recv_small) tls 224 tools/testing/selftests/net/tls.c TEST_F(tls, msg_more) tls 238 tools/testing/selftests/net/tls.c TEST_F(tls, msg_more_unsent) tls 248 tools/testing/selftests/net/tls.c TEST_F(tls, sendmsg_single) tls 269 tools/testing/selftests/net/tls.c TEST_F(tls, sendmsg_fragmented) tls 299 tools/testing/selftests/net/tls.c TEST_F(tls, sendmsg_large) tls 323 tools/testing/selftests/net/tls.c TEST_F(tls, sendmsg_multiple) tls 360 tools/testing/selftests/net/tls.c TEST_F(tls, sendmsg_multiple_stress) tls 393 tools/testing/selftests/net/tls.c TEST_F(tls, splice_from_pipe) tls 407 tools/testing/selftests/net/tls.c TEST_F(tls, splice_from_pipe2) tls 425 tools/testing/selftests/net/tls.c TEST_F(tls, send_and_splice) tls 447 tools/testing/selftests/net/tls.c TEST_F(tls, splice_to_pipe) tls 461 tools/testing/selftests/net/tls.c TEST_F(tls, recvmsg_single) tls 479 tools/testing/selftests/net/tls.c TEST_F(tls, recvmsg_single_max) tls 497 tools/testing/selftests/net/tls.c TEST_F(tls, recvmsg_multiple) tls 526 tools/testing/selftests/net/tls.c TEST_F(tls, single_send_multiple_recv) tls 541 tools/testing/selftests/net/tls.c TEST_F(tls, multiple_send_single_recv) tls 557 tools/testing/selftests/net/tls.c TEST_F(tls, single_send_multiple_recv_non_align) tls 572 tools/testing/selftests/net/tls.c TEST_F(tls, recv_partial) tls 592 tools/testing/selftests/net/tls.c TEST_F(tls, recv_nonblock) tls 602 tools/testing/selftests/net/tls.c TEST_F(tls, recv_peek) tls 616 tools/testing/selftests/net/tls.c TEST_F(tls, recv_peek_multiple) tls 634 tools/testing/selftests/net/tls.c TEST_F(tls, recv_peek_multiple_records) tls 683 tools/testing/selftests/net/tls.c TEST_F(tls, recv_peek_large_buf_mult_recs) tls 705 tools/testing/selftests/net/tls.c TEST_F(tls, recv_lowat) tls 725 tools/testing/selftests/net/tls.c TEST_F(tls, bidir) tls 761 tools/testing/selftests/net/tls.c TEST_F(tls, pollin) tls 779 tools/testing/selftests/net/tls.c TEST_F(tls, poll_wait) tls 795 tools/testing/selftests/net/tls.c TEST_F(tls, poll_wait_split) tls 821 tools/testing/selftests/net/tls.c TEST_F(tls, blocking) tls 861 tools/testing/selftests/net/tls.c TEST_F(tls, nonblocking) tls 1007 tools/testing/selftests/net/tls.c TEST_F(tls, mutliproc_even) tls 1012 tools/testing/selftests/net/tls.c TEST_F(tls, mutliproc_readers) tls 1017 tools/testing/selftests/net/tls.c TEST_F(tls, mutliproc_writers) tls 1022 tools/testing/selftests/net/tls.c TEST_F(tls, mutliproc_sendpage_even) tls 1027 tools/testing/selftests/net/tls.c TEST_F(tls, mutliproc_sendpage_readers) tls 1032 tools/testing/selftests/net/tls.c TEST_F(tls, mutliproc_sendpage_writers) tls 1037 tools/testing/selftests/net/tls.c TEST_F(tls, control_msg) tls 1096 tools/testing/selftests/net/tls.c TEST_F(tls, shutdown) tls 1112 tools/testing/selftests/net/tls.c TEST_F(tls, shutdown_unsent) tls 1123 tools/testing/selftests/net/tls.c TEST_F(tls, shutdown_reuse)