Lines Matching refs:pid
21 static inline int sys_sched_setparam(pid_t pid, const struct sched_param *param) in sys_sched_setparam() argument
23 return tst_syscall(__NR_sched_setparam, pid, param); in sys_sched_setparam()
26 static inline int sys_sched_getparam(pid_t pid, struct sched_param *param) in sys_sched_getparam() argument
28 return tst_syscall(__NR_sched_getparam, pid, param); in sys_sched_getparam()
31 static inline int sys_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in sys_sched_setscheduler() argument
33 return tst_syscall(__NR_sched_setscheduler, pid, policy, param); in sys_sched_setscheduler()
36 static inline int sys_sched_getscheduler(pid_t pid) in sys_sched_getscheduler() argument
38 return tst_syscall(__NR_sched_getscheduler, pid); in sys_sched_getscheduler()
41 static inline int libc_sched_setparam(pid_t pid, const struct sched_param *param) in libc_sched_setparam() argument
43 return TST_LIBC_SCHED_SCALL_(sched_setparam, pid, param); in libc_sched_setparam()
46 static inline int libc_sched_getparam(pid_t pid, struct sched_param *param) in libc_sched_getparam() argument
48 return TST_LIBC_SCHED_SCALL_(sched_getparam, pid, param); in libc_sched_getparam()
51 static inline int libc_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in libc_sched_setscheduler() argument
53 return TST_LIBC_SCHED_SCALL_(sched_setscheduler, pid, policy, param); in libc_sched_setscheduler()
56 static inline int libc_sched_getscheduler(pid_t pid) in libc_sched_getscheduler() argument
58 return TST_LIBC_SCHED_SCALL_(sched_getscheduler, pid); in libc_sched_getscheduler()
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);