/external/ltp/testcases/open_posix_testsuite/functional/threads/include/ |
pitest.h | 27 struct sched_param sched_param; local 28 memset(&sched_param, 0, sizeof(sched_param)); 29 sched_param.sched_priority = prio; 30 if (pthread_setschedparam(pid, policy, &sched_param) == -1)
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
sched.h | 44 struct sched_param { struct 66 int WINPTHREAD_SCHED_API sched_setscheduler(pid_t pid, int pol, const struct sched_param *param);
|
pthread.h | 239 struct sched_param { struct 247 int WINPTHREAD_API sched_setscheduler(pid_t pid, int pol, const struct sched_param *param); 257 struct sched_param param; 260 int WINPTHREAD_API pthread_attr_setschedparam(pthread_attr_t *attr, const struct sched_param *param); 261 int WINPTHREAD_API pthread_attr_getschedparam(const pthread_attr_t *attr, struct sched_param *param); 262 int WINPTHREAD_API pthread_getschedparam(pthread_t thread, int *pol, struct sched_param *param); 263 int WINPTHREAD_API pthread_setschedparam(pthread_t thread, int pol, const struct sched_param *param); [all...] |
/bionic/libc/kernel/uapi/linux/sched/ |
types.h | 22 struct sched_param { struct
|
/external/kernel-headers/original/uapi/linux/sched/ |
types.h | 7 struct sched_param { struct 16 * This is needed because the original struct sched_param can not be
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
2-1.c | 65 struct sched_param sched_param; local 66 memset(&sched_param, 0, sizeof(sched_param)); 67 sched_param.sched_priority = prio; 68 if (pthread_setschedparam(pid, policy, &sched_param) == -1) {
|
2-2.c | 65 struct sched_param sched_param; local 66 memset(&sched_param, 0, sizeof(sched_param)); 67 sched_param.sched_priority = prio; 68 if (pthread_setschedparam(pid, policy, &sched_param) == -1) {
|
2-3.c | 65 struct sched_param sched_param; local 66 memset(&sched_param, 0, sizeof(sched_param)); 67 sched_param.sched_priority = prio; 68 if (pthread_setschedparam(pid, policy, &sched_param) == -1) {
|
/external/ltp/testcases/kernel/syscalls/sched_setscheduler/ |
sched_setscheduler03.c | 43 static struct sched_param param[1] = { {0} }; 48 struct sched_param *sched_param; member in struct:test_case_t 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); 112 cases[i].sched_param));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
3-1.c | 66 struct sched_param sched_param; local 67 memset(&sched_param, 0, sizeof(sched_param)); 68 sched_param.sched_priority = prio; 69 if (pthread_setschedparam(pid, policy, &sched_param) == -1) {
|
/bionic/libc/include/ |
sched.h | 41 struct sched_param { struct 45 int sched_setscheduler(pid_t __pid, int __policy, const struct sched_param* __param); 50 int sched_setparam(pid_t __pid, const struct sched_param* __param); 51 int sched_getparam(pid_t __pid, struct sched_param* __param);
|
/external/adhd/cras/src/common/ |
cras_util.c | 41 struct sched_param sched_param; local 44 memset(&sched_param, 0, sizeof(sched_param)); 45 sched_param.sched_priority = priority; 47 err = pthread_setschedparam(pthread_self(), SCHED_RR, &sched_param);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
1-6.c | 71 struct sched_param sched_param = {.sched_priority = prio}; local 92 ret = pthread_attr_setschedparam(attr, &sched_param); 154 struct sched_param param;
|
/external/ltp/testcases/realtime/func/prio-preempt/ |
prio-preempt.c | 137 struct sched_param sched_param; local 141 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { 144 mypri = sched_param.sched_priority; 163 struct sched_param sched_param; local 168 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { 171 mypri = sched_param.sched_priority;
|
/external/ltp/testcases/realtime/func/prio-wake/ |
prio-wake.c | 132 struct sched_param sched_param; local 140 if (pthread_getschedparam(pthread_self(), &policy, &sched_param) != 0) { 145 mypri = sched_param.sched_priority;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/ |
sched.h | 74 struct sched_param struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/ |
sched.h | 74 struct sched_param struct
|
/external/ltp/testcases/realtime/lib/ |
librttest.c | 287 struct sched_param param; 344 struct sched_param sched_param; local 345 sched_param.sched_priority = prio; 350 return pthread_setschedparam(pthread, policy, &sched_param); 355 struct sched_param sp;
|