Searched refs:sched_priority (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/tests/posix/common/src/ |
D | pthread_attr.c | 153 .sched_priority = BIOS_FOOD, in ZTEST() 169 zassert_not_equal(BIOS_FOOD, param.sched_priority); in ZTEST() 333 act_prio = param.sched_priority; in inheritsched_entry() 338 exp_prio = param.sched_priority; in inheritsched_entry() 366 param.sched_priority = zephyr_to_posix_priority(prio, &policy); in test_pthread_attr_setinheritsched_common() 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() [all …]
|
D | pthread.c | 66 id, policy, schedparam.sched_priority); in thread_top_exec() 195 param.sched_priority = N_THR_T - id; in thread_top_term() 208 getschedparam.sched_priority); in thread_top_term() 482 .sched_priority = 2, in ZTEST() 493 .sched_priority = 2, in ZTEST() 601 param.sched_priority = ~prio; in test_pthread_setschedprio_fn() 603 zassert_equal(param.sched_priority, prio, "Priority unchanged"); in test_pthread_setschedprio_fn()
|
D | mutex.c | 55 schedparam.sched_priority = 2; in test_mutex_common()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | sched_h.c | 22 zassert_not_equal(-1, offsetof(struct sched_param, sched_priority)); in ZTEST()
|
/Zephyr-latest/include/zephyr/posix/ |
D | sched.h | 34 int sched_priority; member
|
/Zephyr-latest/samples/posix/philosophers/src/ |
D | main.c | 100 prio = posix_to_zephyr_priority(param.sched_priority, policy); in print_phil_state() 228 param.sched_priority = zephyr_to_posix_priority(prio, &policy); in start_threads()
|
/Zephyr-latest/lib/posix/options/ |
D | pthread.c | 326 !is_posix_policy_prio_valid(schedparam->sched_priority, attr->schedpolicy)) { in pthread_attr_setschedparam() 331 attr->priority = schedparam->sched_priority; in pthread_attr_setschedparam() 864 !is_posix_policy_prio_valid(param->sched_priority, policy)) { in pthread_setschedparam() 876 new_prio = posix_to_zephyr_priority(param->sched_priority, policy); in pthread_setschedparam() 996 param->sched_priority = in pthread_getschedparam() 1405 schedparam->sched_priority = attr->priority; in pthread_attr_getschedparam()
|
/Zephyr-latest/tests/benchmarks/posix/threads/src/ |
D | main.c | 207 .sched_priority = sched_get_priority_max(SCHED_FIFO), in setup()
|