/build/kati/testcase/ |
param.mk | 6 define param macro 15 @echo call param $(call param,baz)
|
/external/autotest/client/tools/ |
setidle.c | 16 struct sched_param param = { 0 }; local 25 if (sched_setscheduler(pid, SCHED_IDLE, ¶m) == -1) {
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
sched_getparam.cc | 8 struct sched_param param; local 9 int res = sched_getparam(0, ¶m); 11 if (param.sched_priority == 42) printf(".\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/ |
1-1.c | 12 * process specified by pid in the sched_param structure pointed to by param. 22 struct sched_param param; local 25 param.sched_priority = -1; 27 result = sched_getparam(getpid(), ¶m); 29 if (result == 0 && param.sched_priority != -1 && errno == 0) { 44 if (param.sched_priority == -1) {
|
3-1.c | 20 struct sched_param param; local 23 param.sched_priority = -1; 25 result = sched_getparam(0, ¶m); 27 if (result == 0 && param.sched_priority != -1 && errno == 0) {
|
4-1.c | 27 struct sched_param param; local 47 result = sched_getparam(child_pid, ¶m);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/ |
2-1.c | 24 struct sched_param param; local 26 param.sched_priority = sched_get_priority_min(SCHED_RR); 27 if (sched_setscheduler(0, SCHED_RR, ¶m) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
22-1.c | 21 struct sched_param param; local 23 if (sched_getparam(0, ¶m) == -1) { 28 result = sched_setparam(0, ¶m);
|
23-3.c | 26 struct sched_param param; local 28 if (sched_getparam(0, ¶m) == -1) { 32 old_priority = param.sched_priority; 35 param.sched_ss_repl_period.tv_sec = 1; 36 param.sched_ss_repl_period.tv_nsec = 0; 38 param.sched_ss_init_budget.tv_sec = 2; 39 param.sched_ss_init_budget.tv_nsec = 0; 41 param.sched_priority++; 42 sched_setparam(0, ¶m); 44 if (sched_getparam(0, ¶m) != 0) [all...] |
23-4.c | 26 struct sched_param param; local 28 if (sched_getparam(0, ¶m) == -1) { 32 old_priority = param.sched_priority; 34 param.sched_ss_max_repl = 0; 35 param.sched_priority++; 36 sched_setparam(0, ¶m); 38 if (sched_getparam(0, ¶m) != 0) { 43 if (param.sched_priority == old_priority) {
|
23-5.c | 26 struct sched_param param; local 28 if (sched_getparam(0, ¶m) == -1) { 32 old_priority = param.sched_priority; 34 param.sched_ss_max_repl = SS_REPL_MAX + 1; 35 param.sched_priority++; 36 sched_setparam(0, ¶m); 38 if (sched_getparam(0, ¶m) != 0) { 43 if (param.sched_priority == old_priority) {
|
25-3.c | 28 struct sched_param param; local 30 if (sched_getparam(0, ¶m) != 0) { 36 param.sched_ss_repl_period.tv_sec = 1; 37 param.sched_ss_repl_period.tv_nsec = 0; 39 param.sched_ss_init_budget.tv_sec = 2; 40 param.sched_ss_init_budget.tv_nsec = 0; 42 result = sched_setparam(0, ¶m);
|
23-1.c | 22 struct sched_param param; local 24 if (sched_getparam(0, ¶m) != 0) { 28 old_priority = param.sched_priority; 44 param.sched_priority = invalid_priority; 45 sched_setparam(0, ¶m); 47 if (sched_getparam(0, ¶m) != 0) { 52 if (param.sched_priority == old_priority) {
|
23-2.c | 28 struct sched_param param; local 30 if (sched_getparam(0, ¶m) != 0) { 34 old_priority = param.sched_priority; 41 if (sched_setscheduler(0, SCHED_SPORADIC, ¶m) == -1) { 55 param.sched_ss_low_priority = invalid_priority; 56 param.sched_priority++; 57 sched_setparam(0, ¶m); 59 if (sched_getparam(0, ¶m) != 0) { 64 if (param.sched_priority == old_priority) {
|
23-7.c | 24 struct sched_param param; local 27 if (sched_getparam(0, ¶m) == -1) { 31 old_priority = param.sched_priority; 49 param.sched_priority++; 50 sched_setparam(child_pid, ¶m); 52 if (sched_getparam(0, ¶m) != 0) { 57 if (param.sched_priority == old_priority) {
|
25-1.c | 23 struct sched_param param; local 39 param.sched_priority = invalid_priority; 41 result = sched_setparam(0, ¶m);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
19-2.c | 28 struct sched_param param; local 38 param.sched_ss_low_priority = invalid_priority; 40 result = sched_setscheduler(0, SCHED_SPORADIC, ¶m);
|
19-3.c | 29 struct sched_param param; local 31 if (sched_getparam(0, ¶m) != 0) { 37 param.sched_ss_repl_period.tv_sec = 1; 38 param.sched_ss_repl_period.tv_nsec = 0; 40 param.sched_ss_init_budget.tv_sec = 2; 41 param.sched_ss_init_budget.tv_nsec = 0; 43 param.sched_priority = sched_get_priority_max(SCHED_SPORADIC); 45 result = sched_setscheduler(0, SCHED_SPORADIC, ¶m);
|
19-5.c | 32 struct sched_param param; local 34 param.sched_priority = 0; 36 result = sched_setscheduler(0, -1, ¶m); 56 result = sched_setscheduler(0, INVALID_POLICY, ¶m);
|
/external/strace/tests/ |
sched_xetparam.c | 13 struct sched_param *const param = local 16 long rc = syscall(__NR_sched_getparam, 0, param); 18 param->sched_priority, rc); 20 param->sched_priority = -1; 21 rc = syscall(__NR_sched_setparam, 0, param); 23 param->sched_priority, rc, errno2name());
|
/external/strace/tests-m32/ |
sched_xetparam.c | 13 struct sched_param *const param = local 16 long rc = syscall(__NR_sched_getparam, 0, param); 18 param->sched_priority, rc); 20 param->sched_priority = -1; 21 rc = syscall(__NR_sched_setparam, 0, param); 23 param->sched_priority, rc, errno2name());
|
/external/strace/tests-mx32/ |
sched_xetparam.c | 13 struct sched_param *const param = local 16 long rc = syscall(__NR_sched_getparam, 0, param); 18 param->sched_priority, rc); 20 param->sched_priority = -1; 21 rc = syscall(__NR_sched_setparam, 0, param); 23 param->sched_priority, rc, errno2name());
|
/hardware/interfaces/graphics/composer/2.1/default/ |
service.cpp | 36 struct sched_param param = {0}; local 37 param.sched_priority = 2; 39 ¶m) != 0) {
|
/hardware/interfaces/graphics/composer/2.2/default/ |
service.cpp | 34 struct sched_param param = {0}; local 35 param.sched_priority = 2; 36 if (sched_setscheduler(0, SCHED_FIFO | SCHED_RESET_ON_FORK, ¶m) != 0) {
|
/external/ltp/testcases/kernel/power_management/ |
pm_get_sched_values.c | 40 char *param; local 44 param = argv[1]; 45 if (strcmp(param, "sched_mc") == 0) 47 if (strcmp(param, "sched_smt") == 0)
|