• Home
  • Raw
  • Download

Lines Matching refs:user_mask

2822 	cpumask_t *user_mask;  in dup_user_cpus_ptr()  local
2839 user_mask = kmalloc_node(cpumask_size(), GFP_KERNEL, node); in dup_user_cpus_ptr()
2840 if (!user_mask) in dup_user_cpus_ptr()
2851 swap(dst->user_cpus_ptr, user_mask); in dup_user_cpus_ptr()
2856 if (unlikely(user_mask)) in dup_user_cpus_ptr()
2857 kfree(user_mask); in dup_user_cpus_ptr()
2864 struct cpumask *user_mask = NULL; in clear_user_cpus_ptr() local
2866 swap(p->user_cpus_ptr, user_mask); in clear_user_cpus_ptr()
2868 return user_mask; in clear_user_cpus_ptr()
3108 struct cpumask *user_mask = NULL; in __set_cpus_allowed_ptr_locked() local
3170 user_mask = clear_user_cpus_ptr(p); in __set_cpus_allowed_ptr_locked()
3174 kfree(user_mask); in __set_cpus_allowed_ptr_locked()
3220 struct cpumask *user_mask = NULL; in restrict_cpus_allowed_ptr() local
3226 user_mask = kmalloc(cpumask_size(), GFP_KERNEL); in restrict_cpus_allowed_ptr()
3227 if (!user_mask) in restrict_cpus_allowed_ptr()
3252 if (user_mask) { in restrict_cpus_allowed_ptr()
3253 cpumask_copy(user_mask, p->cpus_ptr); in restrict_cpus_allowed_ptr()
3254 p->user_cpus_ptr = user_mask; in restrict_cpus_allowed_ptr()
3261 kfree(user_mask); in restrict_cpus_allowed_ptr()
3323 struct cpumask *user_mask = p->user_cpus_ptr; in relax_compatible_cpus_allowed_ptr() local
3331 if (!user_mask || !__sched_setaffinity(p, user_mask)) in relax_compatible_cpus_allowed_ptr()
3335 user_mask = clear_user_cpus_ptr(p); in relax_compatible_cpus_allowed_ptr()
3338 kfree(user_mask); in relax_compatible_cpus_allowed_ptr()