Searched refs:k_is_user_context (Results 1 – 25 of 32) sorted by relevance
12
21 k_is_user_context() ? "UserSpace!" : "privileged mode.", in user_function()23 __ASSERT(k_is_user_context(), "User mode execution was expected"); in user_function()
68 if (k_is_user_context()) { in tThread_entry_negative()79 if (k_is_user_context()) { in tThread_entry_negative()90 if (k_is_user_context()) { in tThread_entry_negative()113 if (k_is_user_context()) { in create_negative_test_thread()
12 zassert_true(k_is_user_context()); in ZTEST_USER()
18 if (k_is_user_context()) { in nrf_802154_assert_handler()
39 k_is_user_context() ? "user" : "kernel"); in thread_entry()41 if (k_is_user_context()) { in thread_entry()
28 if (k_is_user_context()) { \
38 if (k_is_user_context()) { in assert_post_action()
108 if (k_is_user_context()) { in vprintk()
115 static inline bool k_is_user_context(void) in k_is_user_context() function
57 zassert_true(k_is_user_context(), "thread left in kernel mode"); in test_is_usermode()
79 if (k_is_user_context()) { in assert_post_action()
142 if (k_is_user_context()) { in assert_post_action()
24 zassert_true(k_is_user_context()); in rogue_user_fn()
98 if (k_is_user_context()) { \
156 k_is_user_context() ? "USERSPACE: " : "", in run_log_message_store_time_no_overwrite()229 k_is_user_context() ? "USERSPACE: " : "", in ZTEST()
101 if (k_is_user_context()) { in create_negative_test_thread()
88 if (IS_ENABLED(CONFIG_USERSPACE) && !k_is_user_context()) { in dispatch_task()
151 if (k_is_user_context()) { in ZTEST_USER()
91 if (!k_is_user_context()) { in cmd_device_list()
97 k_is_user_context() ? "userspace." : "privileged mode."); in user_function()
244 bool usermode = k_is_user_context(); in log_demo_thread()
252 if (k_is_user_context()) { in run_trigger_thread()
110 zassert_true(k_is_user_context(), "thread left in kernel mode"); in ZTEST_USER()645 zassert_true(k_is_user_context(), in umode_enter_func()
275 zassert_true(k_is_user_context(), "thread left in kernel mode"); in check_values()
185 (!IS_ENABLED(CONFIG_LOG_RUNTIME_FILTERING) || k_is_user_context() || \