Searched refs:user_mask_ptr (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/kernel/ |
D | compat.c | 110 static int compat_get_user_cpu_mask(compat_ulong_t __user *user_mask_ptr, in compat_get_user_cpu_mask() argument 121 return compat_get_bitmap(k, user_mask_ptr, len * 8); in compat_get_user_cpu_mask() 126 compat_ulong_t __user *, user_mask_ptr) in COMPAT_SYSCALL_DEFINE3() argument 134 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in COMPAT_SYSCALL_DEFINE3() 145 compat_ulong_t __user *, user_mask_ptr) in COMPAT_SYSCALL_DEFINE3() argument 162 if (compat_put_bitmap(user_mask_ptr, cpumask_bits(mask), retlen * 8)) in COMPAT_SYSCALL_DEFINE3()
|
/linux-6.12.1/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 67 unsigned long __user *user_mask_ptr) in mipsmt_sys_sched_setaffinity() argument 77 if (copy_from_user(&new_mask, user_mask_ptr, sizeof(new_mask))) in mipsmt_sys_sched_setaffinity() 159 unsigned long __user *user_mask_ptr) in mipsmt_sys_sched_getaffinity() argument 189 if (copy_to_user(user_mask_ptr, &mask, real_len)) in mipsmt_sys_sched_getaffinity()
|
/linux-6.12.1/arch/mips/include/asm/ |
D | syscalls.h | 12 unsigned long __user *user_mask_ptr); 14 unsigned long __user *user_mask_ptr);
|
/linux-6.12.1/kernel/sched/ |
D | syscalls.c | 1301 static int get_user_cpu_mask(unsigned long __user *user_mask_ptr, unsigned len, in get_user_cpu_mask() argument 1309 return copy_from_user(new_mask, user_mask_ptr, len) ? -EFAULT : 0; in get_user_cpu_mask() 1321 unsigned long __user *, user_mask_ptr) in SYSCALL_DEFINE3() argument 1329 retval = get_user_cpu_mask(user_mask_ptr, len, new_mask); in SYSCALL_DEFINE3() 1366 unsigned long __user *, user_mask_ptr) in SYSCALL_DEFINE3() argument 1383 if (copy_to_user(user_mask_ptr, cpumask_bits(mask), retlen)) in SYSCALL_DEFINE3()
|
/linux-6.12.1/include/linux/ |
D | compat.h | 696 compat_ulong_t __user *user_mask_ptr); 699 compat_ulong_t __user *user_mask_ptr);
|
D | syscalls.h | 630 unsigned long __user *user_mask_ptr); 632 unsigned long __user *user_mask_ptr);
|