Home
last modified time | relevance | path

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

/Zephyr-latest/arch/xtensa/core/
Dmpu.c776 struct k_thread *cur_thread; in arch_mem_domain_partition_remove() local
849 cur_thread = _current_cpu->current; in arch_mem_domain_partition_remove()
850 if (cur_thread->mem_domain_info.mem_domain == domain) { in arch_mem_domain_partition_remove()
851 xtensa_mpu_map_write(cur_thread); in arch_mem_domain_partition_remove()
862 struct k_thread *cur_thread; in arch_mem_domain_partition_add() local
885 cur_thread = _current_cpu->current; in arch_mem_domain_partition_add()
886 if (((cur_thread->base.thread_state & _THREAD_DUMMY) != _THREAD_DUMMY) && in arch_mem_domain_partition_add()
887 (cur_thread->mem_domain_info.mem_domain == domain)) { in arch_mem_domain_partition_add()
888 xtensa_mpu_map_write(cur_thread); in arch_mem_domain_partition_add()