Searched refs:user_mask_ptr (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 63 unsigned long __user *user_mask_ptr) mipsmt_sys_sched_setaffinity() 73 if (copy_from_user(&new_mask, user_mask_ptr, sizeof(new_mask))) mipsmt_sys_sched_setaffinity() 154 unsigned long __user *user_mask_ptr) mipsmt_sys_sched_getaffinity() 184 if (copy_to_user(user_mask_ptr, &mask, real_len)) mipsmt_sys_sched_getaffinity() 62 mipsmt_sys_sched_setaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr) mipsmt_sys_sched_setaffinity() argument 153 mipsmt_sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long __user *user_mask_ptr) mipsmt_sys_sched_getaffinity() argument
|
/linux-4.1.27/kernel/ |
H A D | compat.c | 602 static int compat_get_user_cpu_mask(compat_ulong_t __user *user_mask_ptr, compat_get_user_cpu_mask() argument 613 return compat_get_bitmap(k, user_mask_ptr, len * 8); compat_get_user_cpu_mask() 618 compat_ulong_t __user *, user_mask_ptr) COMPAT_SYSCALL_DEFINE3() 626 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); COMPAT_SYSCALL_DEFINE3() 637 compat_ulong_t __user *, user_mask_ptr) COMPAT_SYSCALL_DEFINE3() 654 if (compat_put_bitmap(user_mask_ptr, cpumask_bits(mask), retlen * 8)) COMPAT_SYSCALL_DEFINE3()
|
/linux-4.1.27/include/linux/ |
H A D | compat.h | 596 compat_ulong_t __user *user_mask_ptr); 599 compat_ulong_t __user *user_mask_ptr);
|
H A D | syscalls.h | 303 unsigned long __user *user_mask_ptr); 305 unsigned long __user *user_mask_ptr);
|
/linux-4.1.27/kernel/sched/ |
H A D | core.c | 4106 static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len, get_user_cpu_mask() argument 4114 return copy_from_user(new_mask, user_mask_ptr, len) ? -EFAULT : 0; get_user_cpu_mask() 4120 * @len: length in bytes of the bitmask pointed to by user_mask_ptr 4121 * @user_mask_ptr: user-space pointer to the new cpu mask 4126 unsigned long __user *, user_mask_ptr) SYSCALL_DEFINE3() 4134 retval = get_user_cpu_mask(user_mask_ptr, len, new_mask); SYSCALL_DEFINE3() 4171 * @len: length in bytes of the bitmask pointed to by user_mask_ptr 4172 * @user_mask_ptr: user-space pointer to hold the current cpu mask 4177 unsigned long __user *, user_mask_ptr) SYSCALL_DEFINE3() 4194 if (copy_to_user(user_mask_ptr, mask, retlen)) SYSCALL_DEFINE3()
|
Completed in 400 milliseconds