Home
last modified time | relevance | path

Searched refs:PR_SCHED_CORE (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/sched/
Dcs_prctl_test.c42 #ifndef PR_SCHED_CORE
43 #define PR_SCHED_CORE 62 macro
116 ret = prctl(PR_SCHED_CORE, PR_SCHED_CORE_GET, pid, PIDTYPE_PID, in get_cs_cookie()
277 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, 0, PIDTYPE_PGID, 0) < 0) in main()
291 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0) in main()
301 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, pid, PIDTYPE_PID, 0) < 0) in main()
311 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_FROM, procs[pidx].thr_tids[0], in main()
320 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 0) < 0) in main()
/tools/include/uapi/linux/
Dprctl.h265 #define PR_SCHED_CORE 62 macro