Home
last modified time | relevance | path

Searched refs:sched_param (Results 1 – 25 of 162) sorted by relevance

1234567

/external/ltp/testcases/kernel/syscalls/sched_setscheduler/
Dsched_setscheduler03.c43 static struct sched_param param[1] = { {0} };
48 struct sched_param *sched_param; member
56 .sched_param = &param[0]
61 .sched_param = &param[0]
67 .sched_param = &param[0]
109 i + 1, cases[i].policy, cases[i].sched_param->sched_priority); in verify_fn()
112 cases[i].sched_param)); in verify_fn()
Dsched_setscheduler01.c64 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/
Dpitest.h27 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/
Dprio-preempt.c137 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/
D2-3.c64 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()
D2-1.c64 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()
D2-2.c64 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/
D3-1.c65 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/
Dcras_util.c41 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/
Dsched_setparam03.c86 static struct sched_param param = { NEW_PRIORITY };
153 struct sched_param p = { 1 }; in setup()
182 struct sched_param p; in verify_priority()
Dsched_setparam04.c84 static struct sched_param param = { 0 };
85 static struct sched_param param1 = { 1 };
96 struct sched_param *p;
Dsched_setparam02.c79 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/
Dprio-wake.c132 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/
D1-6.c69 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/
Dpthread_cond_wait_1.c55 struct sched_param param; in hi_prio_thread()
85 struct sched_param param; in low_prio_thread()
111 struct sched_param param; in main()
Dpthread_cond_wait_2.c55 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/
D9-1.c53 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/
D1-1.c62 struct sched_param param; in hi_prio_thread()
88 struct sched_param param; in low_prio_thread()
115 struct sched_param param; in main()
D1-2.c53 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/
Dsched_xetparam.c13 struct sched_param *const param = in main()
14 tail_alloc(sizeof(struct sched_param)); in main()
/external/strace/tests-mx32/
Dsched_xetparam.c13 struct sched_param *const param = in main()
14 tail_alloc(sizeof(struct sched_param)); in main()
/external/strace/tests-m32/
Dsched_xetparam.c13 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/
D2-1.c23 struct sched_param param0; in main()
24 struct sched_param param1; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
D2-1.c54 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/
Dsched_getparam03.c82 static struct sched_param param;
93 struct sched_param *p;

1234567