/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/ |
2-1-buildonly.c | 12 * int sched_priority 20 s.sched_priority = 0;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
2-1.c | 28 param0.sched_priority = -1; 29 param1.sched_priority = -1; 35 param0.sched_priority == param1.sched_priority && errno == 0) {
|
1-1.c | 25 param.sched_priority = -1; 29 if (result == 0 && param.sched_priority != -1 && errno == 0) { 44 if (param.sched_priority == -1) { 45 printf("The 'sched_priority' member does not change.\n");
|
3-1.c | 23 param.sched_priority = -1; 27 if (result == 0 && param.sched_priority != -1 && errno == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
23-4.c | 32 old_priority = param.sched_priority; 35 param.sched_priority++; 43 if (param.sched_priority == old_priority) {
|
23-5.c | 32 old_priority = param.sched_priority; 35 param.sched_priority++; 43 if (param.sched_priority == old_priority) {
|
23-1.c | 11 * Test that the priority remain unchanged when the sched_priority 28 old_priority = param.sched_priority; 44 param.sched_priority = invalid_priority; 52 if (param.sched_priority == old_priority) {
|
23-3.c | 32 old_priority = param.sched_priority; 41 param.sched_priority++; 49 if (param.sched_priority == old_priority) {
|
23-7.c | 31 old_priority = param.sched_priority; 49 param.sched_priority++; 57 if (param.sched_priority == old_priority) {
|
5-1.c | 38 old_priority = param.sched_priority; 41 param.sched_priority = new_priority; 50 if (result == 0 && param.sched_priority == new_priority) { 53 } else if (result == 0 && param.sched_priority == old_priority) {
|
1-1.c | 67 old_priority = param.sched_priority; 76 new_priority = param.sched_priority == min_priority ? 77 (param.sched_priority = sched_get_priority_max(policy)) : 78 (param.sched_priority = min_priority); 89 if (result == 0 && param.sched_priority == new_priority) { 93 } else if (result == 0 && param.sched_priority == old_priority) { 105 param.sched_priority = (new_priority -= 2); 108 if (result == 0 && param.sched_priority == new_priority) {
|
/external/strace/tests/ |
sched_xetparam.c | 18 param->sched_priority, rc); 20 param->sched_priority = -1; 23 param->sched_priority, rc, errno2name());
|
/external/strace/tests-m32/ |
sched_xetparam.c | 18 param->sched_priority, rc); 20 param->sched_priority = -1; 23 param->sched_priority, rc, errno2name());
|
/external/strace/tests-mx32/ |
sched_xetparam.c | 18 param->sched_priority, rc); 20 param->sched_priority = -1; 23 param->sched_priority, rc, errno2name());
|
/bionic/libc/kernel/uapi/linux/sched/ |
types.h | 23 int sched_priority; member in struct:sched_param 31 __u32 sched_priority; member in struct:sched_attr
|
/external/kernel-headers/original/uapi/linux/sched/ |
types.h | 8 int sched_priority; member in struct:sched_param 44 * @sched_priority task's static priority (SCHED_FIFO/RR) 67 __u32 sched_priority; member in struct:sched_attr
|
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
sched_getparam01.c | 90 param.sched_priority = 100; 104 if ((TEST_RETURN == 0) && (param.sched_priority == 0)) { 112 param.sched_priority);
|
sched_getparam02.c | 111 param.sched_priority = 100; 126 if (TEST_RETURN == 0 && param.sched_priority == 0) 134 param.sched_priority);
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
sched_getparam.cc | 11 if (param.sched_priority == 42) printf(".\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
17-3.c | 41 old_priority = param.sched_priority; 56 param.sched_priority = sched_get_priority_max(SCHED_SPORADIC); 71 if (old_policy == new_policy && old_priority == param.sched_priority) { 76 if (param.sched_priority != old_priority) {
|
17-4.c | 40 old_priority = param.sched_priority; 48 /* Make sure that param.sched_priority != old_priority */ 50 param.sched_priority = (old_priority == max_priority) ? 68 if (old_policy == new_policy && old_priority == param.sched_priority) { 73 if (param.sched_priority != old_priority) {
|
4-1.c | 42 old_priority = param.sched_priority; 44 (param.sched_priority = sched_get_priority_min(new_policy)) : 45 (param.sched_priority = max_prio); 60 if (result != -1 && param.sched_priority == new_priority && 65 (param.sched_priority == old_priority || 67 if (param.sched_priority == old_priority) {
|
/external/ltp/testcases/kernel/syscalls/sched_setparam/ |
sched_setparam02.c | 111 param1.sched_priority = 0; 113 param1.sched_priority = 1; 120 param.sched_priority = testcases[i].priority; 173 if (p.sched_priority == testcases[i].priority) { 177 " value as %d", p.sched_priority);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/ |
4-1.c | 104 if (t_parm.sched_priority != priority) { 117 sp.sched_priority = sched_get_priority_max(SCHED_RR); 129 check_param(pthread_self(), SCHED_RR, sp.sched_priority); 132 sp.sched_priority++; 140 check_param(pthread_self(), SCHED_RR, sp.sched_priority - 1);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedprio/ |
1-1.c | 34 sparam.sched_priority = priority; 46 printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority); 47 if (policy_1 != policy || sparam.sched_priority != priority) { 63 printf("policy: %d, priority: %d\n", policy_1, sparam.sched_priority); 64 if (sparam.sched_priority != (priority + 1)) {
|