Searched refs:user_mask_ptr (Results 1 – 2 of 2) sorted by relevance
/kernel/ |
D | compat.c | 198 static int compat_get_user_cpu_mask(compat_ulong_t __user *user_mask_ptr, in compat_get_user_cpu_mask() argument 209 return compat_get_bitmap(k, user_mask_ptr, len * 8); in compat_get_user_cpu_mask() 214 compat_ulong_t __user *, user_mask_ptr) in COMPAT_SYSCALL_DEFINE3() argument 222 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in COMPAT_SYSCALL_DEFINE3() 233 compat_ulong_t __user *, user_mask_ptr) in COMPAT_SYSCALL_DEFINE3() argument 250 if (compat_put_bitmap(user_mask_ptr, cpumask_bits(mask), retlen * 8)) in COMPAT_SYSCALL_DEFINE3()
|
/kernel/sched/ |
D | core.c | 5475 static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len, in get_user_cpu_mask() argument 5483 return copy_from_user(new_mask, user_mask_ptr, len) ? -EFAULT : 0; in get_user_cpu_mask() 5495 unsigned long __user *, user_mask_ptr) in SYSCALL_DEFINE3() argument 5503 retval = get_user_cpu_mask(user_mask_ptr, len, new_mask); in SYSCALL_DEFINE3() 5547 unsigned long __user *, user_mask_ptr) in SYSCALL_DEFINE3() argument 5564 if (copy_to_user(user_mask_ptr, mask, retlen)) in SYSCALL_DEFINE3()
|