Home
last modified time | relevance | path

Searched refs:attr_copy (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/sched_getattr/
H A Dsched_getattr01.c39 struct sched_attr attr, attr_copy; in run_deadline() local
59 size = sizeof(attr_copy); in run_deadline()
60 ret = sched_getattr(0, &attr_copy, size, flags); in run_deadline()
66 if (attr_copy.sched_runtime != RUNTIME_VAL) { in run_deadline()
71 if (attr_copy.sched_period != PERIOD_VAL) { in run_deadline()
76 if (attr_copy.sched_deadline != DEADLINE_VAL) { in run_deadline()
H A Dsched_getattr02.c43 struct sched_attr attr_copy; variable
52 {&unused_pid, &attr_copy, sizeof(struct sched_attr), 0, ESRCH},
54 {&pid, &attr_copy, sizeof(struct sched_attr) - 1, 0, EINVAL},
55 {&pid, &attr_copy, sizeof(struct sched_attr), 1000, EINVAL}

Completed in 1 milliseconds