Home
last modified time | relevance | path

Searched refs:sched_param (Results 1 – 16 of 16) sorted by relevance

/bionic/tests/headers/posix/
Dsched_h.c40 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()
Dspawn_h.c42 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()
Dpthread_h.c94 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/
Dpthread_setschedparam.cpp38 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()
Dpthread_getschedparam.cpp36 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam()
Dspawn.cpp91 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()
Dpthread_attr.cpp118 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()
Dpthread_create.cpp152 sched_param param; in __init_thread()
/bionic/libc/include/
Dsched.h41 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);
Dspawn.h75 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…
Dpthread.h101 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/
Dtypes.h22 struct sched_param { struct
/bionic/tests/
Dpthread_test.cpp615 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 …]
Dspawn_test.cpp162 sched_param sp; in TEST()
166 sched_param sp123 = { .sched_priority = 123 }; in TEST()
Dsched_test.cpp288 sched_param p = {}; in TEST()
/bionic/libc/
DSYSCALLS.TXT283 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