Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 19 of 19) sorted by relevance

/arch/x86/um/
Dtls_32.c107 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/
Dprocess.c161 unsigned long tls = frame->childregs.gprs[6]; in copy_thread() local
163 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
165 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
166 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
Dcompat_wrapper.c158 …ed long, clone_flags, int __user *, parent_tidptr, int __user *, child_tidptr, unsigned long, tls);
/arch/x86/kernel/
Dtls.c256 const struct desc_struct *tls; in regset_tls_get() local
266 tls = &target->thread.tls_array[pos]; in regset_tls_get()
272 tls++); in regset_tls_get()
277 fill_user_desc(&info, GDT_ENTRY_TLS_MIN + pos++, tls++); in regset_tls_get()
Dprocess_32.c122 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument
173 (struct user_desc __user *)tls, 0); in copy_thread_tls()
DMakefile62 obj-$(CONFIG_X86_32) += tls.o
63 obj-$(CONFIG_IA32_EMULATION) += tls.o
Dprocess_64.c257 unsigned long arg, struct task_struct *p, unsigned long tls) in copy_thread_tls() argument
314 (struct user_desc __user *)tls, 0); in copy_thread_tls()
317 err = do_arch_prctl(p, ARCH_SET_FS, tls); in copy_thread_tls()
/arch/openrisc/include/asm/
Dsyscalls.h28 void __user *parent_tid, void __user *child_tid, int tls);
/arch/x86/um/os-Linux/
DMakefile8 obj-$(CONFIG_X86_32) += tls.o
/arch/metag/kernel/
Dptrace.c307 void __user *tls = target->thread.tls_ptr; in metag_tls_get() local
308 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in metag_tls_get()
317 void __user *tls = target->thread.tls_ptr; in metag_tls_set() local
319 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in metag_tls_set()
323 target->thread.tls_ptr = tls; in metag_tls_set()
/arch/cris/include/asm/
Dthread_info.h34 __u32 tls; /* TLS for this thread */ member
/arch/x86/um/asm/
Dprocessor_32.h16 struct user_desc tls; member
/arch/arm64/kernel/
Dptrace.c649 unsigned long *tls = &target->thread.tp_value; in tls_get() local
650 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get()
658 unsigned long tls = target->thread.tp_value; in tls_set() local
660 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set()
664 target->thread.tp_value = tls; in tls_set()
947 compat_ulong_t tls = (compat_ulong_t)target->thread.tp_value; in compat_tls_get() local
948 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_get()
957 compat_ulong_t tls = target->thread.tp_value; in compat_tls_set() local
959 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_set()
963 target->thread.tp_value = tls; in compat_tls_set()
/arch/cris/arch-v32/kernel/
Dprocess.c134 task_thread_info(p)->tls = childregs->mof; in copy_thread()
/arch/cris/arch-v32/mm/
Dtlb.c201 task_thread_info(tsk)->tls); in switch_mm()
/arch/arm/boot/dts/
Dat91-vinco.dts223 label = "tls";
/arch/mips/kernel/
Dtraps.c367 unsigned long tls; in show_registers() local
369 tls = read_c0_userlocal(); in show_registers()
370 if (tls != current_thread_info()->tp_value) in show_registers()
371 printk("*HwTLS: %0*lx\n", field, tls); in show_registers()
/arch/
DKconfig733 Architecture provides copy_thread_tls to accept tls argument via
760 Architecture has tls passed as the 4th argument of clone(2),
771 Architecture has tls passed as the 3rd argument of clone(2),
/arch/mips/include/asm/octeon/
Dcvmx-pciercx-defs.h1509 uint32_t tls:4; member
1511 uint32_t tls:4;