Lines Matching refs:user_desc
23 int do_set_thread_area(struct user_desc *info) in do_set_thread_area()
39 int do_get_thread_area(struct user_desc *info) in do_get_thread_area()
77 static inline void clear_user_desc(struct user_desc* info) in clear_user_desc()
203 static int set_tls_entry(struct task_struct* task, struct user_desc *info, in set_tls_entry()
220 struct user_desc info; in arch_copy_tls()
240 static int get_tls_entry(struct task_struct *task, struct user_desc *info, in get_tls_entry()
279 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument
281 struct user_desc info; in SYSCALL_DEFINE1()
287 if (copy_from_user(&info, user_desc, sizeof(info))) in SYSCALL_DEFINE1()
298 if (put_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
314 struct user_desc __user *user_desc) in ptrace_set_thread_area() argument
316 struct user_desc info; in ptrace_set_thread_area()
321 if (copy_from_user(&info, user_desc, sizeof(info))) in ptrace_set_thread_area()
327 SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument
329 struct user_desc info; in SYSCALL_DEFINE1()
335 if (get_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
342 if (copy_to_user(user_desc, &info, sizeof(info))) in SYSCALL_DEFINE1()
353 struct user_desc __user *user_desc) in ptrace_get_thread_area() argument
355 struct user_desc info; in ptrace_get_thread_area()
365 if (copy_to_user(user_desc, &info, sizeof(info))) in ptrace_get_thread_area()