Lines Matching defs:param
195 pthread_getschedparam(pthread_t tid, int *policy, struct sched_param *param)
204 cid = getparam(P_LWPID, ulwp->ul_lwpid, policy, param);
213 param->sched_priority = ulwp->ul_pri;
218 ulwp->ul_pri = param->sched_priority;
232 struct sched_param param;
236 if ((error = pthread_getschedparam(tid, &policy, ¶m)) == 0)
237 *priority = param.sched_priority;
246 int policy, const struct sched_param *param)
248 return (_thr_setparam(tid, policy, param->sched_priority));
255 struct sched_param param;
263 if ((error = pthread_getschedparam(tid, &policy, ¶m)) != 0)
265 if (param.sched_priority == prio) /* no change */