/arch/x86/um/ |
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() 254 *info = t->arch.tls_array[idx - GDT_ENTRY_TLS_MIN].tls; in get_tls_entry()
|
/arch/s390/kernel/ |
D | process.c | 84 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 147 p->thread.acrs[0] = (unsigned int)tls; in copy_thread_tls() 149 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread_tls() 150 p->thread.acrs[1] = (unsigned int)tls; in copy_thread_tls()
|
D | compat_wrapper.c | 159 …ed long, clone_flags, int __user *, parent_tidptr, int __user *, child_tidptr, unsigned long, 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 | 127 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 185 (struct user_desc __user *)tls, 0); in copy_thread_tls()
|
D | Makefile | 66 obj-$(CONFIG_X86_32) += tls.o 67 obj-$(CONFIG_IA32_EMULATION) += tls.o
|
D | process_64.c | 270 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 334 (struct user_desc __user *)tls, 0); in copy_thread_tls() 337 err = do_arch_prctl_64(p, ARCH_SET_FS, tls); in copy_thread_tls()
|
/arch/openrisc/include/asm/ |
D | syscalls.h | 28 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/metag/kernel/ |
D | ptrace.c | 309 void __user *tls = target->thread.tls_ptr; in metag_tls_get() local 310 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in metag_tls_get() 319 void __user *tls = target->thread.tls_ptr; in metag_tls_set() local 321 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in metag_tls_set() 325 target->thread.tls_ptr = tls; in metag_tls_set()
|
/arch/cris/include/asm/ |
D | thread_info.h | 35 __u32 tls; /* TLS for this thread */ member
|
/arch/x86/um/asm/ |
D | processor_32.h | 16 struct user_desc tls; member
|
/arch/arm64/kernel/ |
D | ptrace.c | 677 unsigned long *tls = &target->thread.tp_value; in tls_get() local 682 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get() 690 unsigned long tls = target->thread.tp_value; in tls_set() local 692 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set() 696 target->thread.tp_value = tls; in tls_set() 995 compat_ulong_t tls = (compat_ulong_t)target->thread.tp_value; in compat_tls_get() local 996 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_get() 1005 compat_ulong_t tls = target->thread.tp_value; in compat_tls_set() local 1007 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_set() 1011 target->thread.tp_value = tls; in compat_tls_set()
|
/arch/cris/arch-v32/kernel/ |
D | process.c | 130 task_thread_info(p)->tls = childregs->mof; in copy_thread()
|
/arch/cris/arch-v32/mm/ |
D | tlb.c | 203 task_thread_info(tsk)->tls); in switch_mm()
|
/arch/mips/kernel/ |
D | process.c | 121 unsigned long kthread_arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument 181 ti->tp_value = tls; in copy_thread_tls()
|
D | traps.c | 368 unsigned long tls; in show_registers() local 370 tls = read_c0_userlocal(); in show_registers() 371 if (tls != current_thread_info()->tp_value) in show_registers() 372 printk("*HwTLS: %0*lx\n", field, tls); in show_registers()
|
/arch/arm/boot/dts/ |
D | at91-vinco.dts | 223 label = "tls";
|
/arch/mips/include/asm/octeon/ |
D | cvmx-pciercx-defs.h | 267 __BITFIELD_FIELD(uint32_t tls:4,
|
/arch/ |
D | Kconfig | 869 Architecture provides copy_thread_tls to accept tls argument via 902 Architecture has tls passed as the 4th argument of clone(2), 913 Architecture has tls passed as the 3rd argument of clone(2),
|