Searched refs:user_mask_ptr (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 63 unsigned long __user *user_mask_ptr) in mipsmt_sys_sched_setaffinity() argument 73 if (copy_from_user(&new_mask, user_mask_ptr, sizeof(new_mask))) in mipsmt_sys_sched_setaffinity() 154 unsigned long __user *user_mask_ptr) in mipsmt_sys_sched_getaffinity() argument 183 if (copy_to_user(user_mask_ptr, &mask, real_len)) in mipsmt_sys_sched_getaffinity()
|
/linux-3.4.99/kernel/ |
D | compat.c | 597 static int compat_get_user_cpu_mask(compat_ulong_t __user *user_mask_ptr, in compat_get_user_cpu_mask() argument 608 return compat_get_bitmap(k, user_mask_ptr, len * 8); in compat_get_user_cpu_mask() 613 compat_ulong_t __user *user_mask_ptr) in compat_sys_sched_setaffinity() argument 621 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in compat_sys_sched_setaffinity() 632 compat_ulong_t __user *user_mask_ptr) in compat_sys_sched_getaffinity() argument 649 if (compat_put_bitmap(user_mask_ptr, cpumask_bits(mask), retlen * 8)) in compat_sys_sched_getaffinity()
|
/linux-3.4.99/include/linux/ |
D | compat.h | 517 compat_ulong_t __user *user_mask_ptr); 520 compat_ulong_t __user *user_mask_ptr);
|
D | syscalls.h | 337 unsigned long __user *user_mask_ptr); 339 unsigned long __user *user_mask_ptr);
|
/linux-3.4.99/kernel/sched/ |
D | core.c | 4614 static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len, in get_user_cpu_mask() argument 4622 return copy_from_user(new_mask, user_mask_ptr, len) ? -EFAULT : 0; in get_user_cpu_mask() 4632 unsigned long __user *, user_mask_ptr) in SYSCALL_DEFINE3() argument 4640 retval = get_user_cpu_mask(user_mask_ptr, len, new_mask); in SYSCALL_DEFINE3() 4683 unsigned long __user *, user_mask_ptr) in SYSCALL_DEFINE3() argument 4700 if (copy_to_user(user_mask_ptr, mask, retlen)) in SYSCALL_DEFINE3()
|