Searched refs:user_desc (Results 1 – 14 of 14) sorted by relevance
/arch/x86/kernel/ |
D | tls.c | 31 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 …]
|
D | process_64.c | 141 struct user_desc ud = { in set_32bit_tls() 215 (struct user_desc __user *)tls, 0); in copy_thread_tls()
|
D | process_32.c | 190 (struct user_desc __user *)tls, 0); in copy_thread_tls()
|
D | ldt.c | 228 struct user_desc ldt_info; in write_ldt()
|
D | ptrace.c | 904 (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/ |
D | tls_32.c | 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() [all …]
|
D | ldt.c | 22 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/ |
D | ptrace.h | 46 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
|
D | processor_32.h | 16 struct user_desc tls;
|
/arch/x86/include/asm/ |
D | syscalls.h | 30 asmlinkage long sys_set_thread_area(struct user_desc __user *); 31 asmlinkage long sys_get_thread_area(struct user_desc __user *);
|
D | ptrace.h | 281 struct user_desc; 283 struct user_desc __user *info); 285 struct user_desc __user *info, int can_allocate);
|
D | desc.h | 11 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/ |
D | ldt.h | 20 struct user_desc { struct
|
/arch/x86/um/shared/sysdep/ |
D | tls.h | 27 typedef struct user_desc user_desc_t;
|