Searched refs:PF_NO_SETAFFINITY (Results 1 – 7 of 7) sorted by relevance
325 WARN_ON_ONCE(!(current->flags & PF_NO_SETAFFINITY)); in play_idle()
1651 if (check && (p->flags & PF_NO_SETAFFINITY)) { in __set_cpus_allowed_ptr()5403 if (p->flags & PF_NO_SETAFFINITY) { in sched_setaffinity()6108 if (p->flags & PF_NO_SETAFFINITY) { in task_can_attach()
230 current->flags |= PF_NO_SETAFFINITY; in migrate_to_reboot_cpu()
407 p->flags |= PF_NO_SETAFFINITY; in __kthread_bind_mask()
1468 #define PF_NO_SETAFFINITY 0x04000000 /* Userland is not allowed to meddle with cpus_mask */ macro1505 return (current->flags & PF_NO_SETAFFINITY) && in is_percpu_thread()
1295 PF_NOFREEZE | PF_NO_SETAFFINITY); in flush_old_exec()
2859 if (tsk->no_cgroup_migration || (tsk->flags & PF_NO_SETAFFINITY)) { in cgroup_procs_write_start()