Lines Matching refs:param
152 struct sched_param param = { in ZTEST() local
161 zassert_equal(pthread_attr_getschedparam(NULL, ¶m), EINVAL); in ZTEST()
162 zassert_equal(pthread_attr_getschedparam(&uninit_attr, ¶m), EINVAL); in ZTEST()
168 zassert_ok(pthread_attr_getschedparam(&attr, ¶m)); in ZTEST()
169 zassert_not_equal(BIOS_FOOD, param.sched_priority); in ZTEST()
174 struct sched_param param = {0}; in ZTEST() local
181 zassert_equal(pthread_attr_setschedparam(NULL, ¶m), EINVAL); in ZTEST()
183 pthread_attr_setschedparam((pthread_attr_t *)&uninit_attr, ¶m), in ZTEST()
189 zassert_ok(pthread_attr_setschedparam(&attr, ¶m)); in ZTEST()
329 struct sched_param param; in inheritsched_entry() local
332 zassert_ok(pthread_getschedparam(pthread_self(), &act_policy, ¶m)); in inheritsched_entry()
333 act_prio = param.sched_priority; in inheritsched_entry()
337 zassert_ok(pthread_attr_getschedparam(&attr, ¶m)); in inheritsched_entry()
338 exp_prio = param.sched_priority; in inheritsched_entry()
353 struct sched_param param; in test_pthread_attr_setinheritsched_common() local
366 param.sched_priority = zephyr_to_posix_priority(prio, &policy); in test_pthread_attr_setinheritsched_common()
369 zassert_ok(pthread_attr_setschedparam(&attr, ¶m)); in test_pthread_attr_setinheritsched_common()
463 struct sched_param param; in ZTEST() local
500 param.sched_priority = pmin; in ZTEST()
503 param.sched_priority = pmax; in ZTEST()
508 zassert_equal(-1, param.sched_priority); in ZTEST()
513 zassert_not_equal(-1, param.sched_priority, in ZTEST()
549 param.sched_priority = (i == 0) ? pmin : pmax; in ZTEST()
555 pthread_attr_setschedparam(&attr, ¶m), in ZTEST()
557 prios[i], param.sched_priority, policy_names[policy]); in ZTEST()
564 prios[i], param.sched_priority, policy_names[policy]); in ZTEST()
567 zassert_ok(pthread_attr_setschedparam(&attr, ¶m), in ZTEST()
569 prios[i], param.sched_priority, policy_names[policy]); in ZTEST()