Lines Matching refs:len
111 unsigned len, struct cpumask *new_mask) in compat_get_user_cpu_mask() argument
115 if (len < cpumask_size()) in compat_get_user_cpu_mask()
117 else if (len > cpumask_size()) in compat_get_user_cpu_mask()
118 len = cpumask_size(); in compat_get_user_cpu_mask()
121 return compat_get_bitmap(k, user_mask_ptr, len * 8); in compat_get_user_cpu_mask()
125 unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
134 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in COMPAT_SYSCALL_DEFINE3()
144 COMPAT_SYSCALL_DEFINE3(sched_getaffinity, compat_pid_t, pid, unsigned int, len, in COMPAT_SYSCALL_DEFINE3() argument
150 if ((len * BITS_PER_BYTE) < nr_cpu_ids) in COMPAT_SYSCALL_DEFINE3()
152 if (len & (sizeof(compat_ulong_t)-1)) in COMPAT_SYSCALL_DEFINE3()
160 unsigned int retlen = min(len, cpumask_size()); in COMPAT_SYSCALL_DEFINE3()