Home
last modified time | relevance | path

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

/kernel/tests/
A Dpreempt_disable_tests.cpp26 ASSERT(thread_preempt_disable_count() > 0); in timer_callback_func()
81 ASSERT_EQ(thread_preempt_disable_count(), 0u, ""); in test_inc_dec_disable_counts()
88 EXPECT_EQ(thread_preempt_disable_count(), 1u, ""); in test_inc_dec_disable_counts()
90 EXPECT_EQ(thread_preempt_disable_count(), 0u, ""); in test_inc_dec_disable_counts()
101 EXPECT_EQ(thread_preempt_disable_count(), 2u, ""); in test_inc_dec_disable_counts()
104 EXPECT_EQ(thread_preempt_disable_count(), 0u, ""); in test_inc_dec_disable_counts()
192 EXPECT_EQ(thread_preempt_disable_count(), 1u, ""); in test_interrupt_preserves_preempt_pending()
/kernel/include/kernel/
A Dinterrupt.h41 if (thread_preempt_disable_count() == 0) { in int_handler_finish()
A Dthread.h392 static inline uint32_t thread_preempt_disable_count(void) { in thread_preempt_disable_count() function
414 DEBUG_ASSERT(thread_preempt_disable_count() < 0xffff); in thread_preempt_disable()
426 DEBUG_ASSERT(thread_preempt_disable_count() > 0); in thread_preempt_reenable()
443 DEBUG_ASSERT(thread_preempt_disable_count() > 0); in thread_preempt_reenable_no_resched()
501 DEBUG_ASSERT(thread_preempt_disable_count() > 0); in thread_preempt_set_pending()

Completed in 9 milliseconds