Lines Matching refs:param

32  * -> sched policy/param change
299 struct sched_param param;
308 /* Read the current sched policy & param */
309 ret = pthread_getschedparam(pthread_self(), &(td->policy), &(td->param));
310 if (ret != 0) { UNRESOLVED(ret, "Failed to read current thread policy / param"); }
320 /* Read the current sched policy & param */
321 ret = pthread_getschedparam(pthread_self(), &(td->policy), &(td->param));
322 if (ret != 0) { UNRESOLVED(ret, "Failed to read current thread policy / param"); }
332 /* Change the current sched policy & param */
340 if (newparam.sched_priority == td->param.sched_priority)
482 /* Sched policy/param change test */
492 output("Processing sched policy/param change test\n");
499 if (ret != 0) { UNRESOLVED(ret, "Unable to read sched param from thread attribute"); }
541 if (td.param.sched_priority != param_ori.sched_priority)
544 /* Change the thread attribute object policy & param */
563 if (ret != 0) { UNRESOLVED(ret, "Failed to set the attribute sched param"); }
577 if (td.param.sched_priority != param_ori.sched_priority)
581 ret = pthread_getschedparam(child, &(td.policy), &(td.param));
582 if (ret != 0) { UNRESOLVED(ret, "Failed to read child thread policy / param"); }
587 if (td.param.sched_priority != param_ori.sched_priority)
594 if (ret != 0) { UNRESOLVED(ret, "Unable to read sched param from thread attribute"); }
607 ret = pthread_attr_getschedparam(&(scenarii[sc].ta), &(td.param));
608 if (ret != 0) { UNRESOLVED(ret, "Unable to read sched param from thread attribute"); }
613 if (td.param.sched_priority != param_ori.sched_priority)
628 output("Sched policy/param change test passed\n");