Searched refs:schedparam (Results 1 – 4 of 4) sorted by relevance
53 struct sched_param schedparam; in test_mutex_common() local55 schedparam.sched_priority = 2; in test_mutex_common()
62 struct sched_param schedparam; in thread_top_exec() local64 pthread_getschedparam(pthread_self(), &policy, &schedparam); in thread_top_exec()66 id, policy, schedparam.sched_priority); in thread_top_exec()
417 struct sched_param *schedparam);443 const struct sched_param *schedparam);
325 int pthread_attr_setschedparam(pthread_attr_t *_attr, const struct sched_param *schedparam) in pthread_attr_setschedparam() argument329 if (!__attr_is_initialized(attr) || schedparam == NULL || in pthread_attr_setschedparam()330 !is_posix_policy_prio_valid(schedparam->sched_priority, attr->schedpolicy)) { in pthread_attr_setschedparam()335 attr->priority = schedparam->sched_priority; in pthread_attr_setschedparam()1401 int pthread_attr_getschedparam(const pthread_attr_t *_attr, struct sched_param *schedparam) in pthread_attr_getschedparam() argument1405 if (!__attr_is_initialized(attr) || (schedparam == NULL)) { in pthread_attr_getschedparam()1409 schedparam->sched_priority = attr->priority; in pthread_attr_getschedparam()