Home
last modified time | relevance | path

Searched refs:context_data (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/testsuite/ztest/src/
Dztress.c188 static bool cont_check(struct ztress_context_data *context_data, uint32_t priority) in cont_check() argument
190 if (context_data->preempt_cnt != 0 && preempt_cnt[priority] >= context_data->preempt_cnt) { in cont_check()
195 if (context_data->exec_cnt != 0 && exec_cnt[priority] >= context_data->exec_cnt) { in cont_check()
228 struct ztress_context_data *context_data = k_timer_user_data_get(timer); in ztress_timeout() local
233 cont_test = cont_check(context_data, priority); in ztress_timeout()
234 cont = context_data->handler(context_data->user_data, in ztress_timeout()
255 struct ztress_context_data *context_data = data; in ztress_thread() local
264 cont_test = cont_check(context_data, priority); in ztress_thread()
267 cont = context_data->handler(context_data->user_data, cnt, !cont_test, priority); in ztress_thread()