/linux/arch/x86/um/ |
A 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() 220 struct user_desc info; in arch_set_tls() 277 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument 279 struct user_desc info; in SYSCALL_DEFINE1() 312 struct user_desc __user *user_desc) in ptrace_set_thread_area() argument 314 struct user_desc info; in ptrace_set_thread_area() 325 SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument 327 struct user_desc info; in SYSCALL_DEFINE1() 351 struct user_desc __user *user_desc) in ptrace_get_thread_area() argument [all …]
|
A 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()
|
/linux/fs/orangefs/ |
A D | orangefs-bufmap.c | 321 user_desc->ptr, in orangefs_bufmap_initialize() 322 user_desc->size, in orangefs_bufmap_initialize() 323 user_desc->count); in orangefs_bufmap_initialize() 337 user_desc->ptr); in orangefs_bufmap_initialize() 341 if (PAGE_ALIGN(((unsigned long)user_desc->ptr + user_desc->total_size)) in orangefs_bufmap_initialize() 342 != (unsigned long)(user_desc->ptr + user_desc->total_size)) { in orangefs_bufmap_initialize() 344 user_desc->ptr, in orangefs_bufmap_initialize() 349 if (user_desc->total_size != (user_desc->size * user_desc->count)) { in orangefs_bufmap_initialize() 352 user_desc->size, in orangefs_bufmap_initialize() 353 user_desc->count); in orangefs_bufmap_initialize() [all …]
|
A D | orangefs-bufmap.h | 15 int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc);
|
A D | devorangefs-req.c | 596 struct ORANGEFS_dev_map_desc user_desc; in dispatch_ioctl_command() local 619 ret = copy_from_user(&user_desc, in dispatch_ioctl_command() 624 return ret ? -EIO : orangefs_bufmap_initialize(&user_desc); in dispatch_ioctl_command()
|
/linux/arch/x86/kernel/ |
A D | tls.c | 85 const struct user_desc *info, int n) in set_tls_desc() 115 struct user_desc __user *u_info, in do_set_thread_area() 118 struct user_desc info; in do_set_thread_area() 215 struct user_desc __user *u_info) in do_get_thread_area() 217 struct user_desc info; in do_get_thread_area() 256 struct user_desc v; in regset_tls_get() 270 struct user_desc infobuf[GDT_ENTRY_TLS_ENTRIES]; in regset_tls_set() 271 const struct user_desc *info; in regset_tls_set() 275 (pos % sizeof(struct user_desc)) != 0 || in regset_tls_set() 276 (count % sizeof(struct user_desc)) != 0) in regset_tls_set() [all …]
|
A D | ptrace.c | 808 (struct user_desc __user *)data); in arch_ptrace() 815 (struct user_desc __user *)data, 0); in arch_ptrace() 1287 .size = sizeof(struct user_desc), 1288 .align = sizeof(struct user_desc),
|
A D | process.c | 125 struct user_desc __user *utls = (struct user_desc __user *)tls; in set_new_tls()
|
A D | ldt.c | 581 struct user_desc ldt_info; in write_ldt()
|
/linux/arch/x86/um/asm/ |
A D | ptrace.h | 47 struct user_desc; 52 struct user_desc __user *user_desc); 55 struct user_desc __user *user_desc); 71 struct user_desc __user *user_desc) in ptrace_get_thread_area() argument 77 struct user_desc __user *user_desc) in ptrace_set_thread_area() argument
|
A D | processor_32.h | 16 struct user_desc tls;
|
/linux/tools/testing/selftests/x86/ |
A D | ldt_gdt.c | 59 static struct user_desc *low_user_desc; 139 static bool install_valid_mode(const struct user_desc *d, uint32_t ar, in install_valid_mode() 142 struct user_desc desc = *d; in install_valid_mode() 189 static bool install_valid(const struct user_desc *desc, uint32_t ar) in install_valid() 223 static int safe_modify_ldt(int func, struct user_desc *ptr, in safe_modify_ldt() 232 static void fail_install(struct user_desc *desc) in fail_install() 246 struct user_desc desc = { in do_simple_tests() 451 const struct user_desc desc = {}; in threadproc() 572 struct user_desc desc = { in do_multicpu_tests() 641 struct user_desc desc = { in do_exec_test() [all …]
|
A D | sigreturn.c | 163 static void add_ldt(const struct user_desc *desc, unsigned short *var, in add_ldt() 183 const struct user_desc code16_desc = { in setup_ldt() 196 const struct user_desc data16_desc = { in setup_ldt() 209 const struct user_desc npcode32_desc = { in setup_ldt() 222 const struct user_desc npdata32_desc = { in setup_ldt() 235 struct user_desc gdt_data16_desc = { in setup_ldt() 260 struct user_desc gdt_npdata32_desc = { in setup_ldt()
|
A D | fsgsbase_restore.c | 62 struct user_desc desc = { in init_seg() 79 struct user_desc *low_desc = mmap( in init_seg()
|
A D | fsgsbase.c | 259 struct user_desc desc = { in load_gs() 277 struct user_desc *low_desc = mmap( in load_gs()
|
/linux/arch/x86/include/asm/ |
A D | ptrace.h | 378 struct user_desc; 380 struct user_desc __user *info); 382 struct user_desc __user *info, int can_allocate);
|
A D | desc.h | 16 static inline void fill_ldt(struct desc_struct *desc, const struct user_desc *info) in fill_ldt() 365 static inline bool LDT_zero(const struct user_desc *info) in LDT_zero()
|
/linux/arch/x86/include/uapi/asm/ |
A D | ldt.h | 21 struct user_desc { struct
|
/linux/arch/x86/um/shared/sysdep/ |
A D | tls.h | 28 typedef struct user_desc user_desc_t;
|
/linux/Documentation/filesystems/ |
A D | orangefs.rst | 279 user_desc is the kernel's copy of the IO buffer's ORANGEFS_dev_map_desc 280 structure. user_desc->ptr points to the IO buffer. 289 bufmap->desc_array[0].uaddr = (user_desc->ptr) + (0 * 1024 * 4096) 296 bufmap->desc_array[9].uaddr = (user_desc->ptr) +
|