Home
last modified time | relevance | path

Searched refs:k_mem_domain (Results 1 – 25 of 43) sorted by relevance

12

/Zephyr-latest/include/zephyr/app_memory/
Dmem_domain.h80 struct k_mem_domain { struct
102 extern struct k_mem_domain k_mem_domain_default; argument
105 struct k_mem_domain;
129 int k_mem_domain_init(struct k_mem_domain *domain, uint8_t num_parts,
159 int k_mem_domain_add_partition(struct k_mem_domain *domain,
174 int k_mem_domain_remove_partition(struct k_mem_domain *domain,
188 int k_mem_domain_add_thread(struct k_mem_domain *domain,
/Zephyr-latest/include/zephyr/arch/arc/v2/mpu/
Darc_core_mpu.h87 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain);
88 void arc_core_mpu_remove_mem_partition(struct k_mem_domain *domain,
/Zephyr-latest/kernel/
Dmem_domain.c22 struct k_mem_domain k_mem_domain_default;
24 static bool check_add_partition(struct k_mem_domain *domain, in check_add_partition()
88 int k_mem_domain_init(struct k_mem_domain *domain, uint8_t num_parts, in k_mem_domain_init()
159 int k_mem_domain_add_partition(struct k_mem_domain *domain, in k_mem_domain_add_partition()
212 int k_mem_domain_remove_partition(struct k_mem_domain *domain, in k_mem_domain_remove_partition()
259 static int add_thread_locked(struct k_mem_domain *domain, in add_thread_locked()
323 int k_mem_domain_add_thread(struct k_mem_domain *domain, k_tid_t thread) in k_mem_domain_add_thread()
/Zephyr-latest/include/zephyr/arch/
Darch_interface.h44 struct k_mem_domain;
701 int arch_mem_domain_init(struct k_mem_domain *domain);
757 int arch_mem_domain_partition_remove(struct k_mem_domain *domain,
772 int arch_mem_domain_partition_add(struct k_mem_domain *domain,
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/
Dcommon.h12 extern struct k_mem_domain app_domain;
Dmain.c24 struct k_mem_domain app_domain;
/Zephyr-latest/tests/misc/llext-edk/src/
Dmain.c51 struct k_mem_domain *domain, in load_and_run_extension()
83 struct k_mem_domain domain_kernel, domain_user; in main()
/Zephyr-latest/arch/arc/core/mpu/
Darc_mpu_common_internal.h136 struct k_mem_domain *mem_domain = NULL; 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()
188 void arc_core_mpu_remove_mem_partition(struct k_mem_domain *domain, uint32_t part_id) in arc_core_mpu_remove_mem_partition()
Darc_mpu_v4_internal.h578 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in arc_core_mpu_configure_thread()
663 struct k_mem_domain *mem_domain = NULL; in arc_core_mpu_configure_mem_domain()
707 void arc_core_mpu_remove_mem_domain(struct k_mem_domain *mem_domain) in arc_core_mpu_remove_mem_domain()
745 void arc_core_mpu_remove_mem_partition(struct k_mem_domain *domain, in arc_core_mpu_remove_mem_partition()
/Zephyr-latest/tests/benchmarks/footprints/src/
Dfootprint.h24 extern struct k_mem_domain footprint_mem_domain;
Dmain.c20 struct k_mem_domain footprint_mem_domain;
/Zephyr-latest/include/zephyr/llext/
Dllext.h83 struct k_mem_domain mem_domain;
323 int llext_add_domain(struct llext *ext, struct k_mem_domain *domain);
/Zephyr-latest/tests/benchmarks/sched_userspace/src/
Dapp_threads.h17 struct k_mem_domain domain;
79 struct k_mem_domain app_domains[MAX_NB_THREADS];
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dmem_domain.c15 static struct k_mem_domain test_domain;
94 struct k_mem_domain *domain, bool should_fault) in spawn_child_thread()
218 static struct k_mem_domain no_access_domain;
414 static struct k_mem_domain test_domain_fail;
/Zephyr-latest/arch/riscv/core/
Dpmp.c603 struct k_mem_domain *domain) in resync_pmp_domain()
649 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in z_riscv_pmp_usermode_enable()
711 int arch_mem_domain_init(struct k_mem_domain *domain) in arch_mem_domain_init()
717 int arch_mem_domain_partition_add(struct k_mem_domain *domain, in arch_mem_domain_partition_add()
725 int arch_mem_domain_partition_remove(struct k_mem_domain *domain, in arch_mem_domain_partition_remove()
771 struct k_mem_domain *domain = arch_current_thread()->mem_domain_info.mem_domain; in arch_buffer_validate()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dcommon.h23 extern struct k_mem_domain app_domain;
/Zephyr-latest/arch/arm/core/mpu/
Darm_core_mpu_dev.h226 void arm_core_mpu_configure_mem_domain(struct k_mem_domain *mem_domain);
/Zephyr-latest/samples/subsys/llext/edk/app/src/
Dmain.c117 struct k_mem_domain *domain, in run_extension_on_thread()
149 struct k_mem_domain domain1, domain2, domain3, kdomain1; in main()
/Zephyr-latest/samples/net/sockets/echo_server/src/
Dcommon.h29 extern struct k_mem_domain app_domain;
Decho-server.c38 struct k_mem_domain app_domain;
/Zephyr-latest/arch/xtensa/core/
Dmpu.c750 int arch_mem_domain_init(struct k_mem_domain *domain) in arch_mem_domain_init()
771 int arch_mem_domain_partition_remove(struct k_mem_domain *domain, in arch_mem_domain_partition_remove()
858 int arch_mem_domain_partition_add(struct k_mem_domain *domain, in arch_mem_domain_partition_add()
900 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_add()
971 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
Dptables.c798 int arch_mem_domain_init(struct k_mem_domain *domain) in arch_mem_domain_init()
941 int arch_mem_domain_partition_remove(struct k_mem_domain *domain, in arch_mem_domain_partition_remove()
951 int arch_mem_domain_partition_add(struct k_mem_domain *domain, in arch_mem_domain_partition_add()
968 struct k_mem_domain *domain; in arch_mem_domain_thread_add()
1018 struct k_mem_domain *domain = thread->mem_domain_info.mem_domain; in arch_mem_domain_thread_remove()
1126 struct k_mem_domain *mem_domain = incoming->mem_domain_info.mem_domain; in xtensa_swap_update_page_tables()
/Zephyr-latest/arch/arm64/core/cortex_r/
Darm_mpu.c660 struct k_mem_domain *mem_domain = thread->mem_domain_info.mem_domain; in configure_dynamic_mpu_regions()
758 static int configure_domain_partitions(struct k_mem_domain *domain) in configure_domain_partitions()
778 int arch_mem_domain_partition_add(struct k_mem_domain *domain, uint32_t partition_id) in arch_mem_domain_partition_add()
785 int arch_mem_domain_partition_remove(struct k_mem_domain *domain, uint32_t partition_id) in arch_mem_domain_partition_remove()
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dapp_a.c33 static struct k_mem_domain app_a_domain;
/Zephyr-latest/include/zephyr/kernel/
Dthread.h194 struct k_mem_domain *mem_domain;

12