Home
last modified time | relevance | path

Searched refs:param (Results 1 – 7 of 7) sorted by relevance

/nptl/
A Dpthread_setschedparam.c27 const struct sched_param *param) in __pthread_setschedparam() argument
42 const struct sched_param *orig_param = param; in __pthread_setschedparam()
47 && pd->tpp->priomax > param->sched_priority) in __pthread_setschedparam()
49 p = *param; in __pthread_setschedparam()
51 param = &p; in __pthread_setschedparam()
56 param) == -1, 0)) in __pthread_setschedparam()
A Dpthread_setschedprio.c37 struct sched_param param; in __pthread_setschedprio() local
38 param.sched_priority = prio; in __pthread_setschedprio()
46 param.sched_priority = pd->tpp->priomax; in __pthread_setschedprio()
49 if (__glibc_unlikely (__sched_setparam (pd->tid, &param) == -1)) in __pthread_setschedprio()
55 param.sched_priority = prio; in __pthread_setschedprio()
56 memcpy (&pd->schedparam, &param, sizeof (struct sched_param)); in __pthread_setschedprio()
A Dpthread_attr_setschedparam.c25 const struct sched_param *param) in __pthread_attr_setschedparam() argument
29 int ret = check_sched_priority_attr (param->sched_priority, in __pthread_attr_setschedparam()
35 memcpy (&iattr->schedparam, param, sizeof (struct sched_param)); in __pthread_attr_setschedparam()
A Dpthread_attr_getschedparam.c24 struct sched_param *param) in __pthread_attr_getschedparam() argument
31 memcpy (param, &iattr->schedparam, sizeof (struct sched_param)); in __pthread_attr_getschedparam()
A Dpthread_setattr_default_np.c39 const struct sched_param *param = &real_in->schedparam; in __pthread_setattr_default_np() local
40 if (param->sched_priority > 0) in __pthread_setattr_default_np()
42 ret = check_sched_priority_attr (param->sched_priority, policy); in __pthread_setattr_default_np()
A Dpthread_getschedparam.c26 struct sched_param *param) in __pthread_getschedparam() argument
65 memcpy (param, &pd->schedparam, sizeof (struct sched_param)); in __pthread_getschedparam()
A Dtst-default-attr.c210 struct sched_param param; in verify_sched_result() local
226 RETURN_IF_FAIL (pthread_attr_getschedparam, attr, &param); in verify_sched_result()
227 if (param.sched_priority != 42) in verify_sched_result()
230 param.sched_priority, 42); in verify_sched_result()
250 struct sched_param param; in do_sched_test() local
251 param.sched_priority = 42; in do_sched_test()
252 RETURN_IF_FAIL (pthread_attr_setschedparam, &attr, &param); in do_sched_test()

Completed in 36 milliseconds