Lines Matching refs:pending
194 sys_slist_insert(&queue->pending, &work->node, in queue_flusher_locked()
197 sys_slist_prepend(&queue->pending, &flusher->work.node); in queue_flusher_locked()
212 (void)sys_slist_find_and_remove(&queue->pending, &work->node); in queue_remove_locked()
283 sys_slist_append(&queue->pending, &work->node); in queue_submit_locked()
582 bool pending = (work_busy_get_locked(work) != 0U); in k_work_cancel_sync() local
585 if (pending) { in k_work_cancel_sync()
598 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_work, cancel_sync, work, sync, pending); in k_work_cancel_sync()
599 return pending; in k_work_cancel_sync()
621 node = sys_slist_get(&queue->pending); in work_queue_main()
738 sys_slist_init(&queue->pending); in k_work_queue_start()
783 || !sys_slist_is_empty(&queue->pending)) { in k_work_queue_drain()
1110 bool pending = (work_delayable_busy_get_locked(dwork) != 0U); in k_work_cancel_delayable_sync() local
1113 if (pending) { in k_work_cancel_delayable_sync()
1124 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_work, cancel_delayable_sync, dwork, sync, pending); in k_work_cancel_delayable_sync()
1125 return pending; in k_work_cancel_delayable_sync()