Searched refs:sched_param (Results 1 – 15 of 15) sorted by relevance
/bionic/tests/headers/posix/ |
D | sched_h.c | 40 TYPE(struct sched_param); in sched_h() 41 STRUCT_MEMBER(struct sched_param, int, sched_priority); in sched_h() 43 STRUCT_MEMBER(struct sched_param, int, sched_ss_low_priority); in sched_h() 44 STRUCT_MEMBER(struct sched_param, struct timespec, sched_ss_repl_period); in sched_h() 45 STRUCT_MEMBER(struct sched_param, struct timespec, sched_ss_init_budget); in sched_h() 46 STRUCT_MEMBER(struct sched_param, int, sched_ss_max_repl); in sched_h() 58 FUNCTION(sched_getparam, int (*f)(pid_t, struct sched_param*)); in sched_h() 61 FUNCTION(sched_setparam, int (*f)(pid_t, const struct sched_param*)); in sched_h() 62 FUNCTION(sched_setscheduler, int (*f)(pid_t, int, const struct sched_param*)); in sched_h()
|
D | spawn_h.c | 42 TYPE(struct sched_param*); in spawn_h() 60 FUNCTION(posix_spawnattr_getschedparam, int (*f)(const posix_spawnattr_t*, struct sched_param*)); in spawn_h() 67 FUNCTION(posix_spawnattr_setschedparam, int (*f)(posix_spawnattr_t*, const struct sched_param*)); in spawn_h()
|
D | pthread_h.c | 94 FUNCTION(pthread_attr_getschedparam, int (*f)(const pthread_attr_t*, struct sched_param*)); in pthread_h() 103 FUNCTION(pthread_attr_setschedparam, int (*f)(pthread_attr_t*, const struct sched_param*)); in pthread_h() 138 FUNCTION(pthread_getschedparam, int (*f)(pthread_t, int*, struct sched_param*)); in pthread_h() 200 FUNCTION(pthread_setschedparam, int (*f)(pthread_t, int, const struct sched_param*)); in pthread_h()
|
/bionic/libc/bionic/ |
D | pthread_setschedparam.cpp | 38 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { in pthread_setschedparam() 54 sched_param param = { .sched_priority = priority }; in pthread_setschedprio()
|
D | pthread_getschedparam.cpp | 36 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam()
|
D | pthread_attr.cpp | 119 int pthread_attr_setschedparam(pthread_attr_t* attr, const sched_param* param) { in pthread_attr_setschedparam() 125 int pthread_attr_getschedparam(const pthread_attr_t* attr, sched_param* param) { in pthread_attr_getschedparam()
|
D | spawn.cpp | 131 sched_param schedparam; 300 int posix_spawnattr_setschedparam(posix_spawnattr_t* attr, const struct sched_param* param) { in posix_spawnattr_setschedparam() 305 int posix_spawnattr_getschedparam(const posix_spawnattr_t* attr, struct sched_param* param) { in posix_spawnattr_getschedparam()
|
D | pthread_create.cpp | 167 sched_param param; in __init_thread()
|
/bionic/libc/include/ |
D | sched.h | 97 struct sched_param { struct 107 int sched_setscheduler(pid_t __pid, int __policy, const struct sched_param* _Nonnull __param); argument 148 int sched_setparam(pid_t __pid, const struct sched_param* _Nonnull __param); 156 int sched_getparam(pid_t __pid, struct sched_param* _Nonnull __param);
|
D | spawn.h | 77 …tschedparam(posix_spawnattr_t _Nonnull * _Nonnull __attr, const struct sched_param* _Nonnull __par… 78 …tschedparam(const posix_spawnattr_t _Nonnull * _Nonnull __attr, struct sched_param* _Nonnull __par…
|
D | pthread.h | 104 int pthread_attr_getschedparam(const pthread_attr_t* _Nonnull __attr, struct sched_param* _Nonnull … 113 int pthread_attr_setschedparam(pthread_attr_t* _Nonnull __attr, const struct sched_param* _Nonnull … 302 int pthread_setschedparam(pthread_t __pthread, int __policy, const struct sched_param* _Nonnull __p… 310 int pthread_getschedparam(pthread_t __pthread, int* _Nonnull __policy, struct sched_param* _Nonnull…
|
/bionic/tests/ |
D | pthread_test.cpp | 641 sched_param param; in TEST_F() 649 sched_param param; in TEST_F() 658 sched_param param; in TEST_F() 666 sched_param param; in TEST_F() 2972 sched_param p = { .sched_priority = INT_MIN }; in TEST() 3003 sched_param param = { .sched_priority = sched_get_priority_max(SCHED_FIFO) + 1 }; in TEST() 3023 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 3036 sched_param actual_param; in TEST() 3044 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 3058 sched_param actual_param; in TEST() [all …]
|
D | spawn_test.cpp | 164 sched_param sp; in TEST() 168 sched_param sp123 = { .sched_priority = 123 }; in TEST()
|
D | sched_test.cpp | 290 sched_param p = {}; in TEST()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 296 int sched_setscheduler(pid_t pid, int policy, const struct sched_param* param) all 299 int sched_setparam(pid_t pid, const struct sched_param* param) all 300 int sched_getparam(pid_t pid, struct sched_param* param) all
|