Searched refs:sched_attr (Results 1 - 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/sched_getattr/ |
H A D | sched_getattr02.c | 43 struct sched_attr attr_copy; 47 struct sched_attr *a; 52 {&unused_pid, &attr_copy, sizeof(struct sched_attr), 0, ESRCH}, 53 {&pid, NULL, sizeof(struct sched_attr), 0, EINVAL}, 54 {&pid, &attr_copy, sizeof(struct sched_attr) - 1, 0, EINVAL}, 55 {&pid, &attr_copy, sizeof(struct sched_attr), 1000, EINVAL}
|
H A D | sched_getattr01.c | 39 struct sched_attr attr, attr_copy; in run_deadline()
|
/third_party/ltp/testcases/kernel/syscalls/sched_setattr/ |
H A D | sched_setattr01.c | 46 static struct sched_attr attr = { 47 .size = sizeof(struct sched_attr), 60 struct sched_attr *a;
|
/third_party/ltp/include/lapi/ |
H A D | sched.h | 18 struct sched_attr { struct 36 static inline int sched_setattr(pid_t pid, const struct sched_attr *attr, in sched_setattr() 42 static inline int sched_getattr(pid_t pid, struct sched_attr *attr, in sched_getattr()
|
Completed in 4 milliseconds