| /Zephyr-latest/tests/kernel/threads/thread_apis/src/ | 
| D | test_threads_set_priority.c | 48 	thread2_data = k_thread_priority_get(k_current_get());  in thread2_set_prio_test()53 	thread2_data = k_thread_priority_get(k_current_get());  in thread2_set_prio_test()
 58 	thread2_data = k_thread_priority_get(k_current_get());  in thread2_set_prio_test()
 71 	int prio = k_thread_priority_get(k_current_get());  in ZTEST()
 74 	k_thread_priority_set(k_current_get(), prio + 2);  in ZTEST()
 75 	rv = k_thread_priority_get(k_current_get());  in ZTEST()
 81 	k_thread_priority_set(k_current_get(), prio - 2);  in ZTEST()
 82 	rv = k_thread_priority_get(k_current_get());  in ZTEST()
 88 	k_thread_priority_set(k_current_get(), prio);  in ZTEST()
 89 	rv = k_thread_priority_get(k_current_get());  in ZTEST()
 [all …]
 
 | 
| D | test_threads_cpu_mask.c | 32 	ret = k_thread_cpu_mask_clear(k_current_get());  in ZTEST()35 	ret = k_thread_cpu_mask_enable_all(k_current_get());  in ZTEST()
 38 	ret = k_thread_cpu_mask_enable(k_current_get(), 0);  in ZTEST()
 41 	ret = k_thread_cpu_mask_disable(k_current_get(), 0);  in ZTEST()
 44 	ret = k_thread_cpu_pin(k_current_get(), 0);  in ZTEST()
 60 		prio = k_thread_priority_get(k_current_get());  in ZTEST()
 
 | 
| D | main.c | 60 	zassert_true(k_thread_priority_get(k_current_get()) <  in ZTEST()116 	thread_name = k_thread_name_get(k_current_get());  in ZTEST()
 173 	ret = k_thread_name_copy(k_current_get(), thread_name,  in ZTEST_USER()
 180 	ret = k_thread_name_copy(k_current_get(), too_small,  in ZTEST_USER()
 183 	ret = k_thread_name_copy(k_current_get(), not_my_buffer,  in ZTEST_USER()
 236 	    (k_current_get() == (k_tid_t)thread_id)) {  in umode_entry()
 258 				 k_current_get(), NULL, NULL);  in enter_user_mode_entry()
 453 	zassert_equal(k_thread_join(k_current_get(), K_FOREVER), -EDEADLK,  in ZTEST_USER()
 488 				      user_start_thread, k_current_get(), NULL,  in ZTEST_USER()
 559 	k_thread_runtime_stats_get(k_current_get(), &test_stats);  in ZTEST()
 [all …]
 
 | 
| D | test_threads_cancel_abort.c | 27 	k_thread_abort(k_current_get());  in thread_entry_abort()131 	int current_prio = k_thread_priority_get(k_current_get());  in ZTEST()
 135 	k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(2));  in ZTEST()
 158 	k_thread_priority_set(k_current_get(), current_prio);  in ZTEST()
 181 	irq_offload(offload_func, k_current_get());  in entry_abort_isr()
 
 | 
| D | test_threads_suspend_resume.c | 15 	last_prio = k_thread_priority_get(k_current_get());  in thread_entry()22 	k_thread_priority_set(k_current_get(), last_prio);  in threads_suspend_resume()
 82 	k_thread_suspend(k_current_get());  in suspend_myself()
 
 | 
| /Zephyr-latest/tests/kernel/sched/schedule_api/src/ | 
| D | test_sched_priority.c | 21 	last_prio = k_thread_priority_get(k_current_get());  in thread_entry()49 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()
 53 	k_thread_priority_set(k_current_get(), last_prio);  in ZTEST()
 62 	zassert_true(last_prio == k_thread_priority_get(k_current_get()));  in ZTEST()
 69 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 85 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()
 89 	k_thread_priority_set(k_current_get(), last_prio);  in ZTEST()
 111 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 125 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()
 136 	k_thread_priority_set(k_current_get(), last_prio);  in ZTEST()
 [all …]
 
 | 
| D | test_priority_scheduling.c | 71 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()75 	k_thread_priority_set(k_current_get(),  in ZTEST()
 108 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 
 | 
| D | test_sched_is_preempt_thread.c | 31 	k_thread_priority_set(k_current_get(), K_PRIO_COOP(1));  in tpreempt_ctx()41 	k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(1));  in tcoop_ctx()
 
 | 
| /Zephyr-latest/subsys/testsuite/ztest/src/ | 
| D | ztest_error_hook.c | 29 			valid_fault_tid = k_current_get();  in z_impl_ztest_set_fault_valid()51 	k_tid_t curr_tid = k_current_get();  in k_sys_fatal_error_handler()
 91 			valid_assert_tid = k_current_get();  in z_impl_ztest_set_assert_valid()
 108 	k_thread_abort(k_current_get());  in ztest_post_assert_fail_hook()
 126 	if ((k_current_get() == valid_assert_tid) || assert_in_isr) {  in assert_post_action()
 
 | 
| /Zephyr-latest/tests/drivers/adc/adc_api/src/ | 
| D | main.c | 17 	k_object_access_grant(get_adc_device(), k_current_get());  in adc_basic_setup()19 	k_object_access_grant(&async_sig, k_current_get());  in adc_basic_setup()
 21 	k_thread_system_pool_assign(k_current_get());  in adc_basic_setup()
 
 | 
| /Zephyr-latest/tests/arch/riscv/userspace/riscv_gp/src/ | 
| D | main.c | 32 		gp_test_val = (uintptr_t)k_current_get();  in rogue_user_fn()52 		gp_test_val = (uintptr_t)k_current_get();  in rogue_user_fn()
 67 		gp_test_val = (uintptr_t)k_current_get();  in ZTEST_USER()
 82 	k_thread_access_grant(k_current_get(), &rogue_user_thread, &rogue_user_stack);  in userspace_setup()
 
 | 
| /Zephyr-latest/modules/trusted-firmware-m/interface/ | 
| D | interface.c | 49 		tfm_ns_saved_prio = k_thread_priority_get(k_current_get());  in tfm_ns_interface_dispatch()50 		k_thread_priority_set(k_current_get(), K_HIGHEST_THREAD_PRIO);  in tfm_ns_interface_dispatch()
 67 		k_thread_priority_set(k_current_get(), tfm_ns_saved_prio);  in tfm_ns_interface_dispatch()
 
 | 
| /Zephyr-latest/tests/kernel/mem_protect/stack_random/src/ | 
| D | main.c | 65 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()68 	k_thread_priority_set(k_current_get(), K_PRIO_PREEMPT(1));  in ZTEST()
 89 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 
 | 
| /Zephyr-latest/tests/kernel/mutex/sys_mutex/src/ | 
| D | main.c | 339 	k_thread_priority_set(k_current_get(), 10);  in ZTEST_USER_OR_NOT()363 		rv = k_thread_priority_get(k_current_get());  in ZTEST_USER_OR_NOT()
 374 		 k_thread_priority_get(k_current_get()));  in ZTEST_USER_OR_NOT()
 380 	rv = k_thread_priority_get(k_current_get());  in ZTEST_USER_OR_NOT()
 386 	rv = k_thread_priority_get(k_current_get());  in ZTEST_USER_OR_NOT()
 395 		rv = k_thread_priority_get(k_current_get());  in ZTEST_USER_OR_NOT()
 403 	rv = k_thread_priority_get(k_current_get());  in ZTEST_USER_OR_NOT()
 454 	rv = sys_mutex_lock((struct sys_mutex *)k_current_get(), K_NO_WAIT);  in ZTEST()
 458 	rv = sys_mutex_unlock((struct sys_mutex *)k_current_get());  in ZTEST()
 492 	k_thread_access_grant(k_current_get(),  in sys_mutex_tests_setup()
 
 | 
| D | thread_competition.c | 94 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()101 	k_thread_priority_set(k_current_get(), prio);  in ZTEST()
 142 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 
 | 
| /Zephyr-latest/tests/kernel/pipe/deprecated/pipe_api/src/ | 
| D | main.c | 25 	k_thread_access_grant(k_current_get(), &pipe,  in pipe_api_setup()29 	k_thread_heap_assign(k_current_get(), &test_pool);  in pipe_api_setup()
 
 | 
| /Zephyr-latest/tests/drivers/can/api/src/ | 
| D | transceiver.c | 48 	k_object_access_grant(can_dev, k_current_get());  in can_transceiver_setup()49 	k_object_access_grant(can_phy, k_current_get());  in can_transceiver_setup()
 
 | 
| /Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ | 
| D | main.c | 19 	k_object_access_grant(out.dev, k_current_get());  in pwm_loopback_setup()20 	k_object_access_grant(in.dev, k_current_get());  in pwm_loopback_setup()
 
 | 
| /Zephyr-latest/tests/kernel/poll/src/ | 
| D | test_poll.c | 395 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()402 	k_thread_priority_set(k_current_get(), main_low_prio);  in ZTEST()
 415 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 441 	k_thread_priority_set(k_current_get(), main_low_prio);  in ZTEST()
 450 	k_thread_priority_set(k_current_get(), old_prio);  in ZTEST()
 543 	int old_prio = k_thread_priority_get(k_current_get());  in test_poll_cancel()
 562 		k_thread_priority_set(k_current_get(), main_low_prio);  in test_poll_cancel()
 573 	k_thread_priority_set(k_current_get(), old_prio);  in test_poll_cancel()
 656 	int old_prio = k_thread_priority_get(k_current_get());  in ZTEST()
 669 	k_thread_priority_set(k_current_get(), main_low_prio);  in ZTEST()
 [all …]
 
 | 
| /Zephyr-latest/tests/drivers/i2s/i2s_api/src/ | 
| D | main.c | 23 	k_thread_access_grant(k_current_get(),  in setup()25 	k_object_access_grant(dev_i2s_rx, k_current_get());  in setup()
 26 	k_object_access_grant(dev_i2s_tx, k_current_get());  in setup()
 
 | 
| /Zephyr-latest/samples/userspace/prod_consumer/src/ | 
| D | app_b.c | 104 	k_thread_heap_assign(k_current_get(), &app_b_resource_pool);  in app_b_entry()114 	k_thread_access_grant(k_current_get(), &shared_queue_incoming,  in app_b_entry()
 
 | 
| /Zephyr-latest/tests/kernel/msgq/msgq_api/src/ | 
| D | main.c | 35 	k_thread_access_grant(k_current_get(), &kmsgq, &msgq, &end_sema,  in msgq_api_setup()37 	k_thread_heap_assign(k_current_get(), &test_pool);  in msgq_api_setup()
 
 | 
| /Zephyr-latest/tests/subsys/logging/log_immediate/src/ | 
| D | log_immediate_test.c | 45 		LOG_INF("test string printed %d %d %p", 1, 2, k_current_get());  in thread_func()66 				k_thread_priority_get(k_current_get()) + i,  in ZTEST()
 
 | 
| /Zephyr-latest/samples/subsys/llext/edk/app/src/ | 
| D | main.c | 96 	       k_current_get(), (char *)p2,  in user_function()100 	printk("[app]Thread %p done\n", k_current_get());  in user_function()
 107 	printk("[app]Fatal handler! Thread: %p\n", k_current_get());  in k_sys_fatal_error_handler()
 110 		if (extension_threads[i].thread == k_current_get()) {  in k_sys_fatal_error_handler()
 
 | 
| /Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/src/ | 
| D | main.cpp | 127 	k_thread_heap_assign(k_current_get(), static_cast<k_heap *>(heap));  in inferenceProcessTask()151 	k_thread_abort(k_current_get());  in inferenceProcessTask()
 165 	k_thread_heap_assign(k_current_get(), static_cast<k_heap *>(heap));  in inferenceSenderTask()
 281 	k_thread_priority_set(k_current_get(), 4);  in main()
 284 	k_thread_suspend(k_current_get());  in main()
 
 |