Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/workq/work/src/
Dmain.c218 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
278 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
292 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
298 zassert_equal(k_work_busy_get(&common_work), K_WORK_QUEUED); in ZTEST()
309 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
329 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
344 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
360 zassert_equal(k_work_busy_get(&common_work), 0); in ZTEST()
365 zassert_equal(k_work_busy_get(&common_work), K_WORK_QUEUED); in ZTEST()
375 zassert_equal(k_work_busy_get(&common_work), K_WORK_RUNNING); in ZTEST()
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp.c224 if (k_work_busy_get(&zst->work) & (K_WORK_RUNNING | K_WORK_QUEUED)) { in smp_rx_remove_invalid()
257 if (k_work_busy_get(&zst->work) & (K_WORK_RUNNING | K_WORK_QUEUED)) { in smp_rx_clear()
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dkernel.c107 int k_work_busy_get(const struct k_work *work) in k_work_busy_get() function
/Zephyr-latest/tests/kernel/interrupt/src/
Dinterrupt_offload.c78 if (!k_work_busy_get(work)) { in isr_handler()
/Zephyr-latest/subsys/bluetooth/mesh/
Dadv_ext.c273 } else if ((~ignore_mask) & k_work_busy_get(&ext_adv->work)) { in schedule_send_with_mask()
537 (k_work_busy_get(&advs[i].work) & K_WORK_RUNNING) == 0) { in bt_mesh_adv_disable()
/Zephyr-latest/doc/kernel/services/threads/
Dworkqueue.rst54 Using the return values of :c:func:`k_work_busy_get()` or
99 (:c:func:`k_work_is_pending()`) or **busy** (:c:func:`k_work_busy_get()`).
320 * :c:func:`k_work_busy_get()` returns a snapshot of flags indicating work item
377 * :c:func:`k_work_delayable_busy_get()` is the analog to :c:func:`k_work_busy_get()`
391 from any context using :c:func:`k_work_busy_get()` and
510 state with :c:func:`k_work_is_pending` or :c:func:`k_work_busy_get`, or
/Zephyr-latest/tests/kernel/smp/src/
Dmain.c847 zassert_equal(k_work_busy_get(&work), 0); in ZTEST()
/Zephyr-latest/kernel/
Dwork.c166 int k_work_busy_get(const struct k_work *work) in k_work_busy_get() function
/Zephyr-latest/include/zephyr/
Dkernel.h3418 int k_work_busy_get(const struct k_work *work);
4182 return k_work_busy_get(work) != 0; in k_work_is_pending()