Home
last modified time | relevance | path

Searched refs:user_desc (Results 1 – 14 of 14) sorted by relevance

/arch/x86/kernel/
Dtls.c31 static bool tls_desc_okay(const struct user_desc *info) in tls_desc_okay()
84 const struct user_desc *info, int n) in set_tls_desc()
114 struct user_desc __user *u_info, in do_set_thread_area()
117 struct user_desc info; in do_set_thread_area()
190 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1()
200 static void fill_user_desc(struct user_desc *info, int idx, in fill_user_desc()
220 struct user_desc __user *u_info) in do_get_thread_area()
222 struct user_desc info; in do_get_thread_area()
242 SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1()
263 if (pos >= GDT_ENTRY_TLS_ENTRIES * sizeof(struct user_desc) || in regset_tls_get()
[all …]
Dprocess_64.c141 struct user_desc ud = { in set_32bit_tls()
215 (struct user_desc __user *)tls, 0); in copy_thread_tls()
Dprocess_32.c190 (struct user_desc __user *)tls, 0); in copy_thread_tls()
Dldt.c228 struct user_desc ldt_info; in write_ldt()
Dptrace.c904 (struct user_desc __user *)data); in arch_ptrace()
911 (struct user_desc __user *)data, 0); in arch_ptrace()
1368 .size = sizeof(struct user_desc),
1369 .align = sizeof(struct user_desc),
/arch/x86/um/
Dtls_32.c23 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()
[all …]
Dldt.c22 struct user_desc *desc, void **addr, int done) in write_ldt_entry()
126 struct user_desc ldt_info; in write_ldt()
300 struct user_desc desc; in init_new_ldt()
/arch/x86/um/asm/
Dptrace.h46 struct user_desc;
51 struct user_desc __user *user_desc);
54 struct user_desc __user *user_desc);
70 struct user_desc __user *user_desc) in ptrace_get_thread_area() argument
76 struct user_desc __user *user_desc) in ptrace_set_thread_area() argument
Dprocessor_32.h16 struct user_desc tls;
/arch/x86/include/asm/
Dsyscalls.h30 asmlinkage long sys_set_thread_area(struct user_desc __user *);
31 asmlinkage long sys_get_thread_area(struct user_desc __user *);
Dptrace.h281 struct user_desc;
283 struct user_desc __user *info);
285 struct user_desc __user *info, int can_allocate);
Ddesc.h11 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info) in fill_ldt()
266 static inline bool LDT_zero(const struct user_desc *info) in LDT_zero()
/arch/x86/include/uapi/asm/
Dldt.h20 struct user_desc { struct
/arch/x86/um/shared/sysdep/
Dtls.h27 typedef struct user_desc user_desc_t;