Lines Matching refs:Param
61 struct sched_param Param;
68 memset(&Param, 0, sizeof(Param));
69 rc = pthread_getschedparam(pthread_self(), &iPolicy, &Param);
71 rc, iPolicy, iPolicy, Param.sched_priority, Param.sched_priority,
73 *(int *)&Param.__opaque, *(int *)&Param.__opaque);
75 *(int *)&Param.opaque, *(int *)&Param.opaque);
132 struct sched_param Param;
147 memset(&Param, 0, sizeof(Param));
148 pthread_getschedparam(pthread_self(), &iPolicy, &Param);
149 Param.sched_priority = iPriority = sched_get_priority_max(iPolicy);
150 rc = pthread_setschedparam(pthread_self(), iPolicy, &Param);
155 Param.sched_priority = ++iPriority;
156 rc = pthread_setschedparam(pthread_self(), iPolicy, &Param);
169 memset(&Param, 0, sizeof(Param));
170 pthread_getschedparam(pthread_self(), &iPolicy, &Param);
171 Param.sched_priority = iPriority = sched_get_priority_min(iPolicy);
172 rc = pthread_setschedparam(pthread_self(), iPolicy, &Param);
177 Param.sched_priority = --iPriority;
178 rc = pthread_setschedparam(pthread_self(), iPolicy, &Param);