/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
D | sched_setscheduler03.c | 43 static struct sched_param param[1] = { {0} }; 48 struct sched_param *sched_param; member 56 .sched_param = ¶m[0] 61 .sched_param = ¶m[0] 67 .sched_param = ¶m[0] 109 i + 1, cases[i].policy, cases[i].sched_param->sched_priority); in verify_fn() 112 cases[i].sched_param)); in verify_fn()
|
D | sched_setscheduler01.c | 64 struct sched_param param; 65 struct sched_param param1 = { 1 }; 77 struct sched_param *p; 90 &init_pid, SCHED_OTHER, (struct sched_param *)-1, EFAULT},
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/include/ |
D | pitest.h | 27 struct sched_param sched_param; in test_set_priority() local 28 memset(&sched_param, 0, sizeof(sched_param)); in test_set_priority() 29 sched_param.sched_priority = prio; in test_set_priority() 30 if (pthread_setschedparam(pid, policy, &sched_param) == -1) in test_set_priority()
|
/external/ltp/testcases/realtime/func/prio-preempt/ |
D | prio-preempt.c | 137 struct sched_param sched_param; in busy_thread() local 141 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { in busy_thread() 144 mypri = sched_param.sched_priority; in busy_thread() 163 struct sched_param sched_param; in worker_thread() local 168 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { in worker_thread() 171 mypri = sched_param.sched_priority; in worker_thread()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
D | 2-3.c | 64 struct sched_param sched_param; in set_priority() local 65 memset(&sched_param, 0, sizeof(sched_param)); in set_priority() 66 sched_param.sched_priority = prio; in set_priority() 67 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
D | 2-1.c | 64 struct sched_param sched_param; in set_priority() local 65 memset(&sched_param, 0, sizeof(sched_param)); in set_priority() 66 sched_param.sched_priority = prio; in set_priority() 67 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
D | 2-2.c | 64 struct sched_param sched_param; in set_priority() local 65 memset(&sched_param, 0, sizeof(sched_param)); in set_priority() 66 sched_param.sched_priority = prio; in set_priority() 67 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
D | 3-1.c | 65 struct sched_param sched_param; in set_priority() local 66 memset(&sched_param, 0, sizeof(sched_param)); in set_priority() 67 sched_param.sched_priority = prio; in set_priority() 68 if (pthread_setschedparam(pid, policy, &sched_param) == -1) { in set_priority()
|
/external/adhd/cras/src/common/ |
D | cras_util.c | 41 struct sched_param sched_param; in cras_set_thread_priority() local 44 memset(&sched_param, 0, sizeof(sched_param)); in cras_set_thread_priority() 45 sched_param.sched_priority = priority; in cras_set_thread_priority() 47 err = pthread_setschedparam(pthread_self(), SCHED_RR, &sched_param); in cras_set_thread_priority()
|
/external/ltp/testcases/kernel/syscalls/sched_setparam/ |
D | sched_setparam03.c | 86 static struct sched_param param = { NEW_PRIORITY }; 153 struct sched_param p = { 1 }; in setup() 182 struct sched_param p; in verify_priority()
|
D | sched_setparam04.c | 84 static struct sched_param param = { 0 }; 85 static struct sched_param param1 = { 1 }; 96 struct sched_param *p;
|
D | sched_setparam02.c | 79 static struct sched_param param; 80 static struct sched_param param1 = { 1 }; 170 struct sched_param p; in verify_priority()
|
/external/ltp/testcases/realtime/func/prio-wake/ |
D | prio-wake.c | 132 struct sched_param sched_param; in worker_thread() local 140 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { in worker_thread() 145 mypri = sched_param.sched_priority; in worker_thread()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-6.c | 69 struct sched_param sched_param = {.sched_priority = prio}; in init_attr() local 90 ret = pthread_attr_setschedparam(attr, &sched_param); in init_attr() 152 struct sched_param param; in do_test()
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/condvar/ |
D | pthread_cond_wait_1.c | 55 struct sched_param param; in hi_prio_thread() 85 struct sched_param param; in low_prio_thread() 111 struct sched_param param; in main()
|
D | pthread_cond_wait_2.c | 55 struct sched_param param; in hi_prio_thread() 85 struct sched_param param; in low_prio_thread() 111 struct sched_param param; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 9-1.c | 53 struct sched_param param; in child_process() 70 struct sched_param param; in test_process() 110 struct sched_param param; in main()
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/ |
D | 1-1.c | 62 struct sched_param param; in hi_prio_thread() 88 struct sched_param param; in low_prio_thread() 115 struct sched_param param; in main()
|
D | 1-2.c | 53 struct sched_param param; in hi_prio_thread() 84 struct sched_param param; in low_prio_thread() 114 struct sched_param param; in main()
|
/external/strace/tests/ |
D | sched_xetparam.c | 13 struct sched_param *const param = in main() 14 tail_alloc(sizeof(struct sched_param)); in main()
|
/external/strace/tests-mx32/ |
D | sched_xetparam.c | 13 struct sched_param *const param = in main() 14 tail_alloc(sizeof(struct sched_param)); in main()
|
/external/strace/tests-m32/ |
D | sched_xetparam.c | 13 struct sched_param *const param = in main() 14 tail_alloc(sizeof(struct sched_param)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
D | 2-1.c | 23 struct sched_param param0; in main() 24 struct sched_param param1; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/ |
D | 2-1.c | 54 struct sched_param sp; in thread_func() 95 struct sched_param sp; in create_thread() 148 struct sched_param sp; in main()
|
/external/ltp/testcases/kernel/syscalls/sched_getparam/ |
D | sched_getparam03.c | 82 static struct sched_param param; 93 struct sched_param *p;
|