/Zephyr-Core-3.6.0/arch/arc/core/mpu/ |
D | arc_mpu_common_internal.h | 136 struct k_mem_domain *mem_domain = NULL; in arc_core_mpu_configure_mem_domain() local 139 mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_mem_domain() 142 if (mem_domain) { in arc_core_mpu_configure_mem_domain() 143 LOG_DBG("configure domain: %p", mem_domain); in arc_core_mpu_configure_mem_domain() 144 num_partitions = mem_domain->num_partitions; in arc_core_mpu_configure_mem_domain() 145 pparts = mem_domain->partitions; in arc_core_mpu_configure_mem_domain() 171 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain) in arc_core_mpu_remove_mem_domain() argument 173 ARG_UNUSED(mem_domain); in arc_core_mpu_remove_mem_domain()
|
D | arc_mpu_v4_internal.h | 578 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_thread() local 581 if (mem_domain) { in arc_core_mpu_configure_thread() 583 thread, mem_domain); in arc_core_mpu_configure_thread() 584 num_partitions = mem_domain->num_partitions; in arc_core_mpu_configure_thread() 585 pparts = mem_domain->partitions; in arc_core_mpu_configure_thread() 663 struct k_mem_domain *mem_domain = NULL; in arc_core_mpu_configure_mem_domain() local 666 mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_mem_domain() 669 if (mem_domain) { in arc_core_mpu_configure_mem_domain() 670 LOG_DBG("configure domain: %p", mem_domain); in arc_core_mpu_configure_mem_domain() 671 num_partitions = mem_domain->num_partitions; in arc_core_mpu_configure_mem_domain() [all …]
|
/Zephyr-Core-3.6.0/arch/arm/core/mpu/ |
D | arm_core_mpu.c | 212 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in z_arm_configure_dynamic_mpu_regions() local 214 if (mem_domain) { in z_arm_configure_dynamic_mpu_regions() 215 LOG_DBG("configure domain: %p", mem_domain); in z_arm_configure_dynamic_mpu_regions() 216 uint32_t num_partitions = mem_domain->num_partitions; in z_arm_configure_dynamic_mpu_regions() 220 LOG_DBG("configure domain: %p", mem_domain); in z_arm_configure_dynamic_mpu_regions() 223 partition = &mem_domain->partitions[i]; in z_arm_configure_dynamic_mpu_regions()
|
D | arm_core_mpu_dev.h | 226 void arm_core_mpu_configure_mem_domain(struct k_mem_domain *mem_domain);
|
/Zephyr-Core-3.6.0/include/zephyr/arch/arc/v2/mpu/ |
D | arc_core_mpu.h | 87 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain);
|
/Zephyr-Core-3.6.0/kernel/ |
D | mem_domain.c | 270 thread->mem_domain_info.mem_domain = domain; in add_thread_locked() 285 thread, thread->mem_domain_info.mem_domain); in remove_thread_locked() 302 ret = add_thread_locked(_current->mem_domain_info.mem_domain, thread); in z_mem_domain_init_thread() 329 if (thread->mem_domain_info.mem_domain != domain) { in k_mem_domain_add_thread()
|
D | CMakeLists.txt | 161 mem_domain.c
|
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/mem_protect/src/ |
D | mem_domain.c | 284 zassert_true(zzz_thread->mem_domain_info.mem_domain == in ZTEST() 286 zzz_thread->mem_domain_info.mem_domain); in ZTEST() 289 zassert_true(z_main_thread.mem_domain_info.mem_domain == in ZTEST() 291 z_main_thread.mem_domain_info.mem_domain); in ZTEST()
|
/Zephyr-Core-3.6.0/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 660 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in configure_dynamic_mpu_regions() local 662 if (mem_domain) { in configure_dynamic_mpu_regions() 663 LOG_DBG("configure domain: %p", mem_domain); in configure_dynamic_mpu_regions() 665 uint32_t num_parts = mem_domain->num_partitions; in configure_dynamic_mpu_regions() 670 partition = &mem_domain->partitions[i]; in configure_dynamic_mpu_regions()
|
/Zephyr-Core-3.6.0/include/zephyr/llext/ |
D | llext.h | 57 struct k_mem_domain mem_domain; member
|
/Zephyr-Core-3.6.0/arch/xtensa/core/ |
D | ptables.c | 715 &(thread->mem_domain_info.mem_domain->arch); in xtensa_mmu_tlb_shootdown() 953 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add() 1000 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove() 1095 &(incoming->mem_domain_info.mem_domain->arch); in xtensa_swap_update_page_tables() 1100 struct k_mem_domain *mem_domain = incoming->mem_domain_info.mem_domain; in xtensa_swap_update_page_tables() local 1102 for (int idx = 0; idx < mem_domain->num_partitions; idx++) { in xtensa_swap_update_page_tables() 1103 struct k_mem_partition *part = &mem_domain->partitions[idx]; in xtensa_swap_update_page_tables()
|
/Zephyr-Core-3.6.0/include/zephyr/kernel/ |
D | thread.h | 184 struct k_mem_domain *mem_domain; member
|
/Zephyr-Core-3.6.0/kernel/include/ |
D | kswap.h | 251 dummy_thread->mem_domain_info.mem_domain = &k_mem_domain_default; in z_dummy_thread_init()
|
/Zephyr-Core-3.6.0/arch/riscv/core/ |
D | pmp.c | 570 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in z_riscv_pmp_usermode_enable() 692 struct k_mem_domain *domain = _current->mem_domain_info.mem_domain; in arch_buffer_validate()
|
/Zephyr-Core-3.6.0/arch/x86/core/ |
D | x86_mmu.c | 1536 if (incoming->mem_domain_info.mem_domain == current_domain) { in z_x86_swap_update_common_page_table() 1557 &incoming->mem_domain_info.mem_domain->partitions[i]; in z_x86_swap_update_common_page_table() 1564 current_domain = incoming->mem_domain_info.mem_domain; in z_x86_swap_update_common_page_table() 1863 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove() 1904 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
|
/Zephyr-Core-3.6.0/arch/arm64/core/ |
D | mmu.c | 1174 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add() 1208 domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
|
/Zephyr-Core-3.6.0/doc/releases/ |
D | release-notes-1.13.rst | 475 …` - [Coverity CID :186843] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c 480 …` - [Coverity CID :186848] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c 481 …` - [Coverity CID :186849] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c 482 …` - [Coverity CID :186850] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c 484 …` - [Coverity CID :186852] Parse warnings in /tests/kernel/mem_protect/mem_protect/src/mem_domain.c
|
D | release-notes-2.6.rst | 1155 …y CID: 219472] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c 1157 …y CID: 236057] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c 1791 …y CID :219486] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c 1793 …y CID :219488] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c 1812 …y CID :219512] Unrecoverable parse warning in tests/kernel/mem_protect/mem_protect/src/mem_domain.c
|
D | release-notes-2.4.rst | 204 * Header definitions moved to ``include/app_memory/mem_domain.h``. 1344 * :github:`26621` - System can't recover after assertion failed in kernel/mem_domain.c 1537 * :github:`25725` - [Coverity CID :210578] Structurally dead code in kernel/mem_domain.c
|
D | release-notes-2.0.rst | 1324 * :github:`14713` - kernel/mem_domain.c: Improve code coverage to 100%
|
D | release-notes-2.7.rst | 1080 * :github:`38815` - kernel/mem_domain: Remove dead case in check_add_partition()
|
/Zephyr-Core-3.6.0/subsys/llext/ |
D | llext.c | 835 ret = k_mem_domain_init(&ext->mem_domain, 0, NULL); in do_llext_load()
|