Searched refs:_prctl (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/sched/ |
| D | cs_prctl_test.c | 65 static int _prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, in _prctl() function 269 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, 0, PIDTYPE_PGID, 0) < 0) in main() 283 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, pid, PIDTYPE_TGID, 0) < 0) in main() 293 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, pid, PIDTYPE_PID, 0) < 0) in main() 303 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_FROM, procs[pidx].thr_tids[0], in main() 312 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 0) < 0) in main()
|