/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 | spawn.cpp | 91 sched_param schedparam; 254 int posix_spawnattr_setschedparam(posix_spawnattr_t* attr, const struct sched_param* param) { in posix_spawnattr_setschedparam() 259 int posix_spawnattr_getschedparam(const posix_spawnattr_t* attr, struct sched_param* param) { in posix_spawnattr_getschedparam()
|
D | pthread_attr.cpp | 118 int pthread_attr_setschedparam(pthread_attr_t* attr, const sched_param* param) { in pthread_attr_setschedparam() 124 int pthread_attr_getschedparam(const pthread_attr_t* attr, sched_param* param) { in pthread_attr_getschedparam()
|
D | pthread_create.cpp | 152 sched_param param; in __init_thread()
|
/bionic/libc/include/ |
D | sched.h | 41 struct sched_param { struct 45 int sched_setscheduler(pid_t __pid, int __policy, const struct sched_param* __param); argument 50 int sched_setparam(pid_t __pid, const struct sched_param* __param); 51 int sched_getparam(pid_t __pid, struct sched_param* __param);
|
D | spawn.h | 75 int posix_spawnattr_setschedparam(posix_spawnattr_t* __attr, const struct sched_param* __param) __I… 76 int posix_spawnattr_getschedparam(const posix_spawnattr_t* __attr, struct sched_param* __param) __I…
|
D | pthread.h | 101 int pthread_attr_getschedparam(const pthread_attr_t* __attr, struct sched_param* __param); 110 int pthread_attr_setschedparam(pthread_attr_t* __attr, const struct sched_param* __param); 168 int pthread_getschedparam(pthread_t __pthread, int* __policy, struct sched_param* __param); 286 int pthread_setschedparam(pthread_t __pthread, int __policy, const struct sched_param* __param);
|
/bionic/libc/kernel/uapi/linux/sched/ |
D | types.h | 22 struct sched_param { struct
|
/bionic/tests/ |
D | pthread_test.cpp | 615 sched_param param; in TEST_F() 623 sched_param param; in TEST_F() 632 sched_param param; in TEST_F() 640 sched_param param; in TEST_F() 2865 sched_param p = { .sched_priority = INT_MIN }; in TEST() 2896 sched_param param = { .sched_priority = sched_get_priority_max(SCHED_FIFO) + 1 }; in TEST() 2916 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 2929 sched_param actual_param; in TEST() 2937 sched_param param = { .sched_priority = sched_get_priority_min(SCHED_FIFO) }; in TEST() 2951 sched_param actual_param; in TEST() [all …]
|
D | spawn_test.cpp | 162 sched_param sp; in TEST() 166 sched_param sp123 = { .sched_priority = 123 }; in TEST()
|
D | sched_test.cpp | 288 sched_param p = {}; in TEST()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 283 int sched_setscheduler(pid_t pid, int policy, const struct sched_param* param) all 286 int sched_setparam(pid_t pid, const struct sched_param* param) all 287 int sched_getparam(pid_t pid, struct sched_param* param) all
|