/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-6.c | 67 static void init_attr(pthread_attr_t *attr, int sched_policy, int prio) in init_attr() argument 78 ret = pthread_attr_setschedpolicy(attr, sched_policy); in init_attr() 97 static void run_hp_threads(int sched_policy, int sched_prio) in run_hp_threads() argument 111 init_attr(&attr, sched_policy, sched_prio); in run_hp_threads() 145 int sched_policy; member 151 int ret, sched_policy; in do_test() local 156 ret = pthread_getschedparam(pthread_self(), &sched_policy, ¶m); in do_test() 162 if (p->sched_policy != sched_policy) { in do_test() 164 sched_policy, p->sched_policy); in do_test() 175 run_hp_threads(p->sched_policy, p->sched_priority + 1); in do_test() [all …]
|
/external/strace/tests/ |
D | sched_xetattr.c | 101 printxval(schedulers, attr->sched_policy, NULL); in main() 126 printxval(schedulers, attr->sched_policy, NULL); in main() 147 printxval(schedulers, attr->sched_policy, NULL); in main() 161 printxval(schedulers, attr->sched_policy, NULL); in main() 181 printxval(schedulers, attr->sched_policy, NULL); in main() 205 attr->sched_policy = 0xca7faced; in main() 221 attr->sched_policy, in main() 245 attr->sched_policy = 0xca7faced; in main() 262 attr->sched_policy, in main()
|
/external/strace/tests-mx32/ |
D | sched_xetattr.c | 101 printxval(schedulers, attr->sched_policy, NULL); in main() 126 printxval(schedulers, attr->sched_policy, NULL); in main() 147 printxval(schedulers, attr->sched_policy, NULL); in main() 161 printxval(schedulers, attr->sched_policy, NULL); in main() 181 printxval(schedulers, attr->sched_policy, NULL); in main() 205 attr->sched_policy = 0xca7faced; in main() 221 attr->sched_policy, in main() 245 attr->sched_policy = 0xca7faced; in main() 262 attr->sched_policy, in main()
|
/external/strace/tests-m32/ |
D | sched_xetattr.c | 101 printxval(schedulers, attr->sched_policy, NULL); in main() 126 printxval(schedulers, attr->sched_policy, NULL); in main() 147 printxval(schedulers, attr->sched_policy, NULL); in main() 161 printxval(schedulers, attr->sched_policy, NULL); in main() 181 printxval(schedulers, attr->sched_policy, NULL); in main() 205 attr->sched_policy = 0xca7faced; in main() 221 attr->sched_policy, in main() 245 attr->sched_policy = 0xca7faced; in main() 262 attr->sched_policy, in main()
|
/external/ltp/testcases/kernel/sched/tool/ |
D | trace_sched.c | 199 static int sched_policy; /* scheduling policy as set by user/default */ in thread_func() local 214 if ((sched_policy = locargptr->s_policy) == SCHED_OTHER) in thread_func() 230 if ((sched_setscheduler(getpid(), sched_policy, &ssp)) == -1) { in thread_func()
|
/external/strace/ |
D | sched_attr.h | 8 uint32_t sched_policy; member
|
D | sched.c | 129 printxval(schedulers, attr.sched_policy, "SCHED_???"); in print_sched_attr()
|
/external/kernel-headers/original/uapi/linux/sched/ |
D | types.h | 105 __u32 sched_policy; member
|
/external/ltp/include/lapi/ |
D | sched.h | 29 uint32_t sched_policy; member
|
/external/ltp/testcases/kernel/syscalls/sched_getattr/ |
D | sched_getattr01.c | 53 attr.sched_policy = SCHED_DEADLINE; in run_deadline()
|
/external/ltp/testcases/kernel/syscalls/sched_setattr/ |
D | sched_setattr01.c | 54 .sched_policy = SCHED_DEADLINE,
|
/external/ltp/testcases/kernel/sched/eas/ |
D | sched_latency_dl.c | 49 attr.sched_policy = SCHED_DEADLINE; in dl_fn()
|
D | sched_dl_runtime.c | 47 attr.sched_policy = SCHED_DEADLINE; in dl_fn()
|
/external/libhevc/encoder/ |
D | osal_thread.c | 134 attr->sched_policy = OSAL_SCHED_RR; in osal_thread_create()
|
D | osal.h | 204 OSAL_SCHED_POLICY_TYPE_T sched_policy; member
|
/external/toybox/lib/ |
D | portability.h | 310 #if __has_include(<processgroup/sched_policy.h>)
|
/external/rust/crates/libc/src/unix/linux_like/android/b32/ |
D | mod.rs | 103 pub sched_policy: i32,
|
/external/rust/crates/libc/src/unix/linux_like/android/b64/ |
D | mod.rs | 32 pub sched_policy: i32,
|