Lines Matching refs:user_mask
2746 swap(p->user_cpus_ptr, ctx->user_mask); in set_cpus_allowed_common()
2802 .user_mask = NULL, in do_set_cpus_allowed()
2817 kfree_rcu((union cpumask_rcuhead *)ac.user_mask, rcu); in do_set_cpus_allowed()
2833 cpumask_t *user_mask; in dup_user_cpus_ptr() local
2850 user_mask = alloc_user_cpus_ptr(node); in dup_user_cpus_ptr()
2851 if (!user_mask) in dup_user_cpus_ptr()
2862 swap(dst->user_cpus_ptr, user_mask); in dup_user_cpus_ptr()
2867 if (unlikely(user_mask)) in dup_user_cpus_ptr()
2868 kfree(user_mask); in dup_user_cpus_ptr()
2875 struct cpumask *user_mask = NULL; in clear_user_cpus_ptr() local
2877 swap(p->user_cpus_ptr, user_mask); in clear_user_cpus_ptr()
2879 return user_mask; in clear_user_cpus_ptr()
3156 swap(p->user_cpus_ptr, ctx->user_mask); in __set_cpus_allowed_ptr_locked()
8348 if (unlikely((ctx->flags & SCA_USER) && ctx->user_mask)) { in __sched_setaffinity()
8350 ctx->user_mask); in __sched_setaffinity()
8369 struct cpumask *user_mask; in sched_setaffinity() local
8408 user_mask = alloc_user_cpus_ptr(NUMA_NO_NODE); in sched_setaffinity()
8409 if (user_mask) { in sched_setaffinity()
8410 cpumask_copy(user_mask, in_mask); in sched_setaffinity()
8418 .user_mask = user_mask, in sched_setaffinity()
8423 kfree(ac.user_mask); in sched_setaffinity()