/Linux-v5.15/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_set_tls() 238 static int get_tls_entry(struct task_struct *task, struct user_desc *info, in get_tls_entry() 277 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument 279 struct user_desc info; in SYSCALL_DEFINE1() 285 if (copy_from_user(&info, user_desc, sizeof(info))) in SYSCALL_DEFINE1() 296 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()
|
/Linux-v5.15/fs/orangefs/ |
D | orangefs-bufmap.c | 216 orangefs_bufmap_alloc(struct ORANGEFS_dev_map_desc *user_desc) in orangefs_bufmap_alloc() argument 224 bufmap->total_size = user_desc->total_size; in orangefs_bufmap_alloc() 225 bufmap->desc_count = user_desc->count; in orangefs_bufmap_alloc() 226 bufmap->desc_size = user_desc->size; in orangefs_bufmap_alloc() 262 struct ORANGEFS_dev_map_desc *user_desc) in orangefs_bufmap_map() argument 268 ret = pin_user_pages_fast((unsigned long)user_desc->ptr, in orangefs_bufmap_map() 299 (user_desc->ptr + (i * pages_per_desc * PAGE_SIZE)); in orangefs_bufmap_map() 313 int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc) in orangefs_bufmap_initialize() argument 321 user_desc->ptr, in orangefs_bufmap_initialize() 322 user_desc->size, in orangefs_bufmap_initialize() [all …]
|
D | orangefs-bufmap.h | 15 int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc);
|
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-v5.15/arch/x86/kernel/ |
D | tls.c | 32 static bool tls_desc_okay(const struct user_desc *info) in tls_desc_okay() 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() 185 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1() 195 static void fill_user_desc(struct user_desc *info, int idx, in fill_user_desc() 215 struct user_desc __user *u_info) in do_get_thread_area() 217 struct user_desc info; in do_get_thread_area() 237 SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1() 256 struct user_desc v; in regset_tls_get() [all …]
|
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),
|
D | process.c | 111 struct user_desc __user *utls = (struct user_desc __user *)tls; in set_new_tls()
|
D | ldt.c | 581 struct user_desc ldt_info; in write_ldt()
|
/Linux-v5.15/arch/x86/um/asm/ |
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
|
D | processor_32.h | 16 struct user_desc tls;
|
/Linux-v5.15/tools/testing/selftests/x86/ |
D | ldt_gdt.c | 59 static struct user_desc *low_user_desc; 60 static struct user_desc *low_user_desc_clear; /* Use to delete GDT entry */ 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() 202 static void install_invalid(const struct user_desc *desc, bool oldmode) in install_invalid() 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() [all …]
|
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()
|
D | fsgsbase_restore.c | 62 struct user_desc desc = { in init_seg() 79 struct user_desc *low_desc = mmap( in init_seg()
|
D | fsgsbase.c | 259 struct user_desc desc = { in load_gs() 277 struct user_desc *low_desc = mmap( in load_gs()
|
/Linux-v5.15/arch/x86/include/asm/ |
D | ptrace.h | 378 struct user_desc; 380 struct user_desc __user *info); 382 struct user_desc __user *info, int can_allocate);
|
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-v5.15/arch/x86/include/uapi/asm/ |
D | ldt.h | 21 struct user_desc { struct
|
/Linux-v5.15/arch/x86/um/shared/sysdep/ |
D | tls.h | 28 typedef struct user_desc user_desc_t;
|
/Linux-v5.15/Documentation/filesystems/ |
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) +
|