Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/sched_getattr/
Dsched_getattr01.c42 struct sched_attr attr, attr_copy; in run_deadline() local
62 size = sizeof(attr_copy); in run_deadline()
63 ret = sched_getattr(0, &attr_copy, size, flags); in run_deadline()
69 if (attr_copy.sched_runtime != RUNTIME_VAL) { in run_deadline()
74 if (attr_copy.sched_period != PERIOD_VAL) { in run_deadline()
79 if (attr_copy.sched_deadline != DEADLINE_VAL) { in run_deadline()
Dsched_getattr02.c45 struct sched_attr attr_copy; variable
54 {&unused_pid, &attr_copy, sizeof(struct sched_attr), 0, ESRCH},
56 {&pid, &attr_copy, sizeof(struct sched_attr) - 1, 0, EINVAL},
57 {&pid, &attr_copy, sizeof(struct sched_attr), 1000, EINVAL}