Searched refs:K_WORK_RUNNING (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/tests/kernel/workq/work/src/ |
D | main.c | 375 zassert_equal(k_work_busy_get(&common_work), K_WORK_RUNNING); in ZTEST() 484 zassert_equal(k_work_busy_get(&common_work), K_WORK_RUNNING); in ZTEST() 650 zassert_equal(k_work_delayable_busy_get(&dwork), K_WORK_RUNNING); in ZTEST() 712 zassert_equal(k_work_cancel(wp), K_WORK_RUNNING | K_WORK_CANCELING, in ZTEST() 733 zassert_equal(ctx->busy_rc, K_WORK_RUNNING | K_WORK_CANCELING); in ZTEST() 792 zassert_equal(ctx->busy_rc, K_WORK_RUNNING | K_WORK_CANCELING, in ZTEST() 831 } while ((k_work_busy_get(&common_work) != K_WORK_RUNNING) in ZTEST() 838 zassert_equal(rc, K_WORK_RUNNING | K_WORK_CANCELING, "rc %x", rc); in ZTEST() 1204 zassert_equal(k_work_busy_get(wp), K_WORK_RUNNING); in ZTEST() 1211 zassert_equal(k_work_busy_get(wp), K_WORK_QUEUED | K_WORK_RUNNING, in ZTEST() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp.c | 224 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/subsys/bluetooth/mesh/ |
D | adv_ext.c | 356 schedule_send_with_mask(ext_adv, K_WORK_RUNNING); in send_pending_adv() 537 (k_work_busy_get(&advs[i].work) & K_WORK_RUNNING) == 0) { in bt_mesh_adv_disable()
|
/Zephyr-latest/subsys/pm/ |
D | device_runtime.c | 234 ((k_work_cancel_delayable(&pm->work) & K_WORK_RUNNING) == 0)) { in pm_device_runtime_get() 517 ((k_work_cancel_delayable(&pm->work) & K_WORK_RUNNING) == 0)) { in pm_device_runtime_disable()
|
/Zephyr-latest/kernel/ |
D | work.c | 441 & (K_WORK_QUEUED | K_WORK_RUNNING)) != 0U; in work_flush_locked() 1023 if ((work_busy_get_locked(work) & ~K_WORK_RUNNING) == 0U) { in k_work_schedule_for_queue()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 3975 K_WORK_RUNNING = BIT(K_WORK_RUNNING_BIT), enumerator
|
/Zephyr-latest/doc/kernel/services/threads/ |
D | workqueue.rst | 86 A work item will be **running** (:c:enumerator:`K_WORK_RUNNING`) when it is running
|