Lines Matching refs:mask
236 cpumask_var_t mask; in COMPAT_SYSCALL_DEFINE3() local
243 if (!alloc_cpumask_var(&mask, GFP_KERNEL)) in COMPAT_SYSCALL_DEFINE3()
246 ret = sched_getaffinity(pid, mask); in COMPAT_SYSCALL_DEFINE3()
250 if (compat_put_bitmap(user_mask_ptr, cpumask_bits(mask), retlen * 8)) in COMPAT_SYSCALL_DEFINE3()
255 free_cpumask_var(mask); in COMPAT_SYSCALL_DEFINE3()
281 long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, in compat_get_bitmap() argument
297 *mask++ = ((unsigned long)l2 << BITS_PER_COMPAT_LONG) | l1; in compat_get_bitmap()
301 unsafe_get_user(*mask, umask++, Efault); in compat_get_bitmap()
310 long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, in compat_put_bitmap() argument
323 unsigned long m = *mask++; in compat_put_bitmap()
329 unsafe_put_user((compat_ulong_t)*mask, umask++, Efault); in compat_put_bitmap()