Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dtls.c30 static bool tls_desc_okay(const struct user_desc *info) in tls_desc_okay()
83 const struct user_desc *info, int n) in set_tls_desc()
113 struct user_desc __user *u_info, in do_set_thread_area()
116 struct user_desc info; in do_set_thread_area()
147 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1()
157 static void fill_user_desc(struct user_desc *info, int idx, in fill_user_desc()
177 struct user_desc __user *u_info) in do_get_thread_area()
179 struct user_desc info; in do_get_thread_area()
195 SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1()
216 if (pos >= GDT_ENTRY_TLS_ENTRIES * sizeof(struct user_desc) || in regset_tls_get()
[all …]
Dprocess_64.c138 struct user_desc ud = { in set_32bit_tls()
212 (struct user_desc __user *)childregs->si, 0); in copy_thread()
Dptrace.c904 (struct user_desc __user *)data); in arch_ptrace()
911 (struct user_desc __user *)data, 0); in arch_ptrace()
1358 .size = sizeof(struct user_desc),
1359 .align = sizeof(struct user_desc),
Dldt.c212 struct user_desc ldt_info; in write_ldt()
Dprocess_32.c188 (struct user_desc __user *)childregs->si, 0); in copy_thread()
/linux-4.1.27/arch/x86/um/
Dtls_32.c22 int do_set_thread_area(struct user_desc *info) in do_set_thread_area()
38 int do_get_thread_area(struct user_desc *info) in do_get_thread_area()
76 static inline void clear_user_desc(struct user_desc* info) in clear_user_desc()
202 static int set_tls_entry(struct task_struct* task, struct user_desc *info, in set_tls_entry()
219 struct user_desc info; in arch_copy_tls()
239 static int get_tls_entry(struct task_struct *task, struct user_desc *info, in get_tls_entry()
278 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument
280 struct user_desc info; in SYSCALL_DEFINE1()
286 if (copy_from_user(&info, user_desc, sizeof(info))) in SYSCALL_DEFINE1()
297 if (put_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
[all …]
Dldt.c17 struct user_desc *desc, void **addr, int done) in write_ldt_entry()
121 struct user_desc ldt_info; in write_ldt()
295 struct user_desc desc; in init_new_ldt()
/linux-4.1.27/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;
/linux-4.1.27/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.h250 struct user_desc;
252 struct user_desc __user *info);
254 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()
/linux-4.1.27/tools/testing/selftests/x86/
Dsigreturn.c143 static void add_ldt(const struct user_desc *desc, unsigned short *var, in add_ldt()
163 const struct user_desc code16_desc = { in setup_ldt()
176 const struct user_desc data16_desc = { in setup_ldt()
189 const struct user_desc npcode32_desc = { in setup_ldt()
202 const struct user_desc npdata32_desc = { in setup_ldt()
215 struct user_desc gdt_data16_desc = { in setup_ldt()
240 struct user_desc gdt_npdata32_desc = { in setup_ldt()
/linux-4.1.27/arch/x86/include/uapi/asm/
Dldt.h20 struct user_desc { struct
/linux-4.1.27/arch/x86/um/shared/sysdep/
Dtls.h27 typedef struct user_desc user_desc_t;
/linux-4.1.27/drivers/staging/gdm72xx/
Dusb_boot.c64 char user_desc[128]; member