Lines Matching refs:pid
21 static inline int sys_sched_setparam(pid_t pid, const struct sched_param *param)
23 return tst_syscall(__NR_sched_setparam, pid, param);
26 static inline int sys_sched_getparam(pid_t pid, struct sched_param *param)
28 return tst_syscall(__NR_sched_getparam, pid, param);
31 static inline int sys_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param)
33 return tst_syscall(__NR_sched_setscheduler, pid, policy, param);
36 static inline int sys_sched_getscheduler(pid_t pid)
38 return tst_syscall(__NR_sched_getscheduler, pid);
41 static inline int libc_sched_setparam(pid_t pid, const struct sched_param *param)
43 return TST_LIBC_SCHED_SCALL_(sched_setparam, pid, param);
46 static inline int libc_sched_getparam(pid_t pid, struct sched_param *param)
48 return TST_LIBC_SCHED_SCALL_(sched_getparam, pid, param);
51 static inline int libc_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param)
53 return TST_LIBC_SCHED_SCALL_(sched_setscheduler, pid, policy, param);
56 static inline int libc_sched_getscheduler(pid_t pid)
58 return TST_LIBC_SCHED_SCALL_(sched_getscheduler, pid);
64 int (*sched_setparam)(pid_t pid, const struct sched_param *param);
65 int (*sched_getparam)(pid_t pid, struct sched_param *param);
66 int (*sched_setscheduler)(pid_t pid, int policy, const struct sched_param *param);
67 int (*sched_getscheduler)(pid_t pid);