Lines Matching refs:twork
572 struct k_work_poll *twork = in triggered_work_handler() local
579 if (twork->poller.mode != MODE_NONE) { in triggered_work_handler()
583 clear_event_registrations(twork->events, in triggered_work_handler()
584 twork->num_events, key); in triggered_work_handler()
589 twork->workq = NULL; in triggered_work_handler()
590 twork->real_handler(work); in triggered_work_handler()
595 struct k_work_poll *twork = in triggered_work_expiration_handler() local
598 twork->poller.is_polling = false; in triggered_work_expiration_handler()
599 twork->poll_result = -EAGAIN; in triggered_work_expiration_handler()
600 k_work_submit_to_queue(twork->workq, &twork->work); in triggered_work_expiration_handler()
609 struct k_work_poll *twork = in signal_triggered_work() local
612 if (poller->is_polling && twork->workq != NULL) { in signal_triggered_work()
613 struct k_work_q *work_q = twork->workq; in signal_triggered_work()
615 z_abort_timeout(&twork->timeout); in signal_triggered_work()
616 twork->poll_result = 0; in signal_triggered_work()
617 z_work_submit_to_queue(work_q, &twork->work); in signal_triggered_work()