Lines Matching refs:pid
49 sched_setparam(pid_t pid, const struct sched_param *param) in sched_setparam() argument
55 return _sched_setparam(pid, P_ALL_LWPS, SCHED_NONE, &sp); in sched_setparam()
59 sched_getparam(pid_t pid, struct sched_param *param) in sched_getparam() argument
62 return _sched_getparam(pid, P_ALL_LWPS, NULL, param); in sched_getparam()
66 sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in sched_setscheduler() argument
71 ret = _sched_getparam(pid, P_ALL_LWPS, &old_policy, &sp); in sched_setscheduler()
77 ret = _sched_setparam(pid, P_ALL_LWPS, policy, &sp); in sched_setscheduler()
85 sched_getscheduler(pid_t pid) in sched_getscheduler() argument
90 ret = _sched_getparam(pid, P_ALL_LWPS, &policy, &sp); in sched_getscheduler()
135 sched_rr_get_interval(pid_t pid, struct timespec *interval) in sched_rr_get_interval() argument
138 if (pid && kill(pid, 0) == -1) in sched_rr_get_interval()
150 sched_getaffinity_np(pid_t pid, size_t size, cpuset_t *cpuset) in sched_getaffinity_np() argument
153 return _sched_getaffinity(pid, P_ALL_LWPS, size, cpuset); in sched_getaffinity_np()
157 sched_setaffinity_np(pid_t pid, size_t size, cpuset_t *cpuset) in sched_setaffinity_np() argument
160 return _sched_setaffinity(pid, P_ALL_LWPS, size, cpuset); in sched_setaffinity_np()