/arch/x86/um/ |
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()
|
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() 218 int arch_set_tls(struct task_struct *new, unsigned long tls) in arch_set_tls() argument 223 if (copy_from_user(&info, (void __user *) tls, sizeof(info))) in arch_set_tls() 252 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
|
/arch/s390/kernel/ |
D | process.c | 83 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 146 p->thread.acrs[0] = (unsigned int)tls; in copy_thread_tls() 148 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread_tls() 149 p->thread.acrs[1] = (unsigned int)tls; in copy_thread_tls()
|
/arch/x86/kernel/ |
D | tls.c | 262 const struct desc_struct *tls; in regset_tls_get() local 272 tls = &target->thread.tls_array[pos]; in regset_tls_get() 278 tls++); in regset_tls_get() 283 fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); in regset_tls_get()
|
D | process_32.c | 116 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 | 70 obj-$(CONFIG_X86_32) += tls.o 71 obj-$(CONFIG_IA32_EMULATION) += tls.o
|
D | process_64.c | 375 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 432 (struct user_desc __user *)tls, 0); in copy_thread_tls() 435 err = do_arch_prctl_64(p, ARCH_SET_FS, tls); in copy_thread_tls()
|
/arch/csky/abiv2/inc/abi/ |
D | entry.h | 24 stw tls, (sp, 0) 28 movi tls, \epc_inc 29 add lr, tls 61 ldw tls, (sp, 0)
|
D | elf.h | 41 pr_reg[33] = regs->tls; \
|
/arch/openrisc/include/asm/ |
D | syscalls.h | 24 void __user *parent_tid, void __user *child_tid, int tls);
|
/arch/x86/um/os-Linux/ |
D | Makefile | 8 obj-$(CONFIG_X86_32) += tls.o
|
/arch/csky/include/uapi/asm/ |
D | ptrace.h | 10 unsigned long tls; member
|
/arch/parisc/kernel/ |
D | process.c | 212 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 259 cregs->cr27 = tls; in copy_thread_tls()
|
/arch/csky/kernel/ |
D | syscall.c | 11 reg->tls = addr; in SYSCALL_DEFINE1()
|
D | ptrace.c | 82 regs->tls = task_thread_info(target)->tp_value; in gpr_get() 103 task_thread_info(target)->tp_value = regs.tls; in gpr_set() 283 fp->exregs[12], fp->exregs[13], fp->exregs[14], fp->tls); in show_regs()
|
D | process.c | 66 task_thread_info(p)->tp_value = childregs->tls in copy_thread()
|
/arch/x86/um/asm/ |
D | processor_32.h | 16 struct user_desc tls; member
|
/arch/riscv/kernel/ |
D | process.c | 103 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 123 childregs->tp = tls; in copy_thread_tls()
|
/arch/um/include/asm/ |
D | ptrace-generic.h | 39 extern int arch_set_tls(struct task_struct *new, unsigned long tls);
|
/arch/xtensa/kernel/ |
D | process.c | 207 unsigned long tls) in copy_thread_tls() argument 269 childregs->threadptr = tls; in copy_thread_tls()
|
/arch/arm64/kernel/ |
D | ptrace.c | 693 unsigned long *tls = &target->thread.uw.tp_value; in tls_get() local 698 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get() 706 unsigned long tls = target->thread.uw.tp_value; in tls_set() local 708 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set() 712 target->thread.uw.tp_value = tls; in tls_set() 1407 compat_ulong_t tls = (compat_ulong_t)target->thread.uw.tp_value; in compat_tls_get() local 1408 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_get() 1417 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set() local 1419 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_set() 1423 target->thread.uw.tp_value = tls; in compat_tls_set()
|
D | process.c | 360 unsigned long stk_sz, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 397 p->thread.uw.tp_value = tls; in copy_thread_tls()
|
/arch/um/kernel/ |
D | process.c | 157 unsigned long arg, struct task_struct * p, unsigned long tls) in copy_thread_tls() argument 191 ret = arch_set_tls(p, tls); in copy_thread_tls()
|
/arch/arm/kernel/ |
D | process.c | 228 unsigned long stk_sz, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 262 thread->tp_value[0] = tls; in copy_thread_tls()
|
/arch/arm/boot/dts/ |
D | at91-vinco.dts | 198 label = "tls";
|