Home
last modified time | relevance | path

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

/linux/fs/orangefs/
H A Dorangefs-bufmap.c204 orangefs_bufmap_alloc(struct ORANGEFS_dev_map_desc *user_desc) in orangefs_bufmap_alloc() argument
212 bufmap->total_size = user_desc->total_size; in orangefs_bufmap_alloc()
213 bufmap->desc_count = user_desc->count; in orangefs_bufmap_alloc()
214 bufmap->desc_size = user_desc->size; in orangefs_bufmap_alloc()
248 struct ORANGEFS_dev_map_desc *user_desc) in orangefs_bufmap_map() argument
254 ret = pin_user_pages_fast((unsigned long)user_desc->ptr, in orangefs_bufmap_map()
283 (user_desc->ptr + (i * pages_per_desc * PAGE_SIZE)); in orangefs_bufmap_map()
297 int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc) in orangefs_bufmap_initialize() argument
305 user_desc->ptr, in orangefs_bufmap_initialize()
306 user_desc->size, in orangefs_bufmap_initialize()
[all …]
H A Dorangefs-bufmap.h13 int orangefs_bufmap_initialize(struct ORANGEFS_dev_map_desc *user_desc);
H A Ddevorangefs-req.c596 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/um/
H A Dtls_32.c25 static int do_set_thread_area(struct task_struct* task, struct user_desc *info) in do_set_thread_area()
71 static inline void clear_user_desc(struct user_desc* info) in clear_user_desc()
197 static int set_tls_entry(struct task_struct* task, struct user_desc *info, in set_tls_entry()
214 struct user_desc info; in arch_set_tls()
231 static int get_tls_entry(struct task_struct *task, struct user_desc *info, in get_tls_entry()
267 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, user_desc) in SYSCALL_DEFINE1() argument
269 struct user_desc info; in SYSCALL_DEFINE1()
275 if (copy_from_user(&info, user_desc, sizeof(info))) in SYSCALL_DEFINE1()
286 if (put_user(idx, &user_desc->entry_number)) in SYSCALL_DEFINE1()
302 struct user_desc __user *user_desc) in ptrace_set_thread_area() argument
[all …]
/linux/arch/x86/kernel/
H A Dtls.c33 static bool tls_desc_okay(const struct user_desc *info) in tls_desc_okay()
86 const struct user_desc *info, int n) in set_tls_desc()
116 struct user_desc __user *u_info, in do_set_thread_area()
119 struct user_desc info; in do_set_thread_area()
186 SYSCALL_DEFINE1(set_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1()
196 static void fill_user_desc(struct user_desc *info, int idx, in fill_user_desc()
216 struct user_desc __user *u_info) in do_get_thread_area()
218 struct user_desc info; in do_get_thread_area()
238 SYSCALL_DEFINE1(get_thread_area, struct user_desc __user *, u_info) in SYSCALL_DEFINE1()
257 struct user_desc v; in regset_tls_get()
[all …]
H A Dptrace.c827 (struct user_desc __user *)data); in arch_ptrace()
834 (struct user_desc __user *)data, 0); in arch_ptrace()
1337 .size = sizeof(struct user_desc),
1338 .align = sizeof(struct user_desc),
H A Dldt.c583 struct user_desc ldt_info; in write_ldt()
/linux/arch/x86/um/asm/
H A Dptrace.h57 struct user_desc;
62 struct user_desc __user *user_desc);
65 struct user_desc __user *user_desc);
83 struct user_desc __user *user_desc) in ptrace_get_thread_area() argument
89 struct user_desc __user *user_desc) in ptrace_set_thread_area() argument
H A Dprocessor_32.h16 struct user_desc tls;
/linux/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c61 struct user_desc desc = { in init_seg()
78 struct user_desc *low_desc = mmap( in init_seg()
/linux/arch/x86/um/shared/sysdep/
H A Dstub-data.h11 struct user_desc tls[UM_KERN_GDT_ENTRY_TLS_ENTRIES];
H A Dtls.h28 typedef struct user_desc user_desc_t;
/linux/Documentation/filesystems/
H A Dorangefs.rst279 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) +