Lines Matching refs:user_mask
2550 swap(p->user_cpus_ptr, ctx->user_mask); in set_cpus_allowed_common()
2606 .user_mask = NULL, in do_set_cpus_allowed()
2621 kfree_rcu((union cpumask_rcuhead *)ac.user_mask, rcu); in do_set_cpus_allowed()
2637 cpumask_t *user_mask; in dup_user_cpus_ptr() local
2654 user_mask = alloc_user_cpus_ptr(node); in dup_user_cpus_ptr()
2655 if (!user_mask) in dup_user_cpus_ptr()
2666 swap(dst->user_cpus_ptr, user_mask); in dup_user_cpus_ptr()
2671 if (unlikely(user_mask)) in dup_user_cpus_ptr()
2672 kfree(user_mask); in dup_user_cpus_ptr()
2679 struct cpumask *user_mask = NULL; in clear_user_cpus_ptr() local
2681 swap(p->user_cpus_ptr, user_mask); in clear_user_cpus_ptr()
2683 return user_mask; in clear_user_cpus_ptr()
2958 swap(p->user_cpus_ptr, ctx->user_mask); in __set_cpus_allowed_ptr_locked()
8253 if (unlikely((ctx->flags & SCA_USER) && ctx->user_mask)) { in __sched_setaffinity()
8255 ctx->user_mask); in __sched_setaffinity()
8274 struct cpumask *user_mask; in sched_setaffinity() local
8313 user_mask = alloc_user_cpus_ptr(NUMA_NO_NODE); in sched_setaffinity()
8314 if (user_mask) { in sched_setaffinity()
8315 cpumask_copy(user_mask, in_mask); in sched_setaffinity()
8323 .user_mask = user_mask, in sched_setaffinity()
8328 kfree(ac.user_mask); in sched_setaffinity()