/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 | 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()
|
/arch/csky/kernel/ |
D | process.c | 41 unsigned long tls) in copy_thread_tls() argument 67 task_thread_info(p)->tp_value = childregs->tls in copy_thread_tls() 68 = tls; in copy_thread_tls()
|
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() 104 task_thread_info(target)->tp_value = regs.tls; in gpr_set() 284 fp->exregs[12], fp->exregs[13], fp->exregs[14], fp->tls); in show_regs()
|
/arch/s390/kernel/ |
D | process.c | 95 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 157 p->thread.acrs[0] = (unsigned int)tls; in copy_thread_tls() 159 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread_tls() 160 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 | 26 stw tls, (sp, 0) 30 movi tls, \epc_inc 31 add lr, tls 69 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 | 217 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 264 cregs->cr27 = tls; in copy_thread_tls()
|
/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 125 childregs->tp = tls; in copy_thread_tls()
|
/arch/arc/kernel/ |
D | process.c | 175 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 233 task_thread_info(p)->thr_ptr = 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 | 706 unsigned long *tls = &target->thread.uw.tp_value; in tls_get() local 711 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get() 719 unsigned long tls = target->thread.uw.tp_value; in tls_set() local 721 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set() 725 target->thread.uw.tp_value = tls; in tls_set() 1427 compat_ulong_t tls = (compat_ulong_t)target->thread.uw.tp_value; in compat_tls_get() local 1428 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_get() 1437 compat_ulong_t tls = target->thread.uw.tp_value; in compat_tls_set() local 1439 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_set() 1443 target->thread.uw.tp_value = tls; in compat_tls_set()
|
D | process.c | 363 unsigned long stk_sz, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 400 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()
|