Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/kernel/mem_protect/mem_map/src/
Dmain.c64 BUF_SIZE, BASE_FLAGS | K_MEM_PERM_RW); in ZTEST()
207 sizeof(test_page), BASE_FLAGS | K_MEM_PERM_RW); in ZTEST()
281 mapped = k_mem_map(CONFIG_MMU_PAGE_SIZE, K_MEM_PERM_RW); in ZTEST()
335 mapped = k_mem_map(CONFIG_MMU_PAGE_SIZE, K_MEM_PERM_RW); in ZTEST()
363 mapped = k_mem_map(CONFIG_MMU_PAGE_SIZE, K_MEM_PERM_RW); in ZTEST()
415 addr = k_mem_map(CONFIG_MMU_PAGE_SIZE, K_MEM_PERM_RW); in ZTEST()
432 addr = k_mem_map(CONFIG_MMU_PAGE_SIZE, K_MEM_PERM_RW); in ZTEST()
512 BASE_FLAGS | K_MEM_PERM_RW | K_MEM_PERM_USER); in ZTEST()
533 BASE_FLAGS | K_MEM_PERM_RW); in ZTEST()
/Zephyr-Core-3.7.0/include/zephyr/kernel/
Dmm.h61 #define K_MEM_PERM_RW BIT(3) macro
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/demand_paging/src/
Dmain.c91 arena = k_mem_map(arena_size, K_MEM_PERM_RW); in ZTEST()
344 mem = k_mem_map(size, K_MEM_PERM_RW); in ZTEST()
348 ret = k_mem_map(CONFIG_MMU_PAGE_SIZE, K_MEM_PERM_RW); in ZTEST()
450 arena = k_mem_map(arena_size, K_MEM_PERM_RW); in demand_paging_api_setup()
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_dwmac_mmu.c55 K_MEM_PERM_RW | K_MEM_CACHE_NONE); in dwmac_platform_init()
/Zephyr-Core-3.7.0/lib/posix/options/
Dmmap.c34 return (rw * K_MEM_PERM_RW) | (ex * K_MEM_PERM_EXEC) | (fixed * K_MEM_DIRECT_MAP); in p2z()
Dshm.c124 virt = k_mem_map(ROUND_UP(length, _page_size), K_MEM_PERM_RW); in shm_ftruncate()
/Zephyr-Core-3.7.0/drivers/virtualization/
Dvirt_ivshmem.c235 K_MEM_CACHE_WB | K_MEM_PERM_RW | K_MEM_PERM_USER); in ivshmem_configure()
251 flags |= K_MEM_PERM_RW; in ivshmem_configure()
279 K_MEM_CACHE_WB | K_MEM_PERM_RW | K_MEM_PERM_USER); in ivshmem_configure()
/Zephyr-Core-3.7.0/tests/lib/shared_multi_heap/src/
Dmain.c47 mem_attr |= K_MEM_PERM_RW; in smh_reg_map()
/Zephyr-Core-3.7.0/include/zephyr/sys/
Ddevice_mmio.h105 flags | K_MEM_PERM_RW); in device_map()
/Zephyr-Core-3.7.0/lib/libc/common/source/stdlib/
Dmalloc.c202 heap_base = k_mem_map(heap_size, K_MEM_PERM_RW); in malloc_prepare()
/Zephyr-Core-3.7.0/drivers/xen/
Dgnttab.c334 DEVICE_MMIO_TOPLEVEL_MAP(grant_tables, K_MEM_CACHE_WB | K_MEM_PERM_RW); in gnttab_init()
/Zephyr-Core-3.7.0/drivers/pcie/host/
Dmsi.c101 n_vector * PCIE_MSIR_TABLE_ENTRY_SIZE, K_MEM_PERM_RW); in map_msix_table_entries()
/Zephyr-Core-3.7.0/arch/arm/core/mmu/
Darm_mmu.c898 if (flags & K_MEM_PERM_RW) { in __arch_mem_map()
915 if (flags & K_MEM_PERM_RW) { in __arch_mem_map()
/Zephyr-Core-3.7.0/lib/libc/newlib/
Dlibc-hooks.c119 heap_base = k_mem_map(max_heap_size, K_MEM_PERM_RW);
/Zephyr-Core-3.7.0/arch/xtensa/core/
Dptables.c504 if ((flags & K_MEM_PERM_RW) == K_MEM_PERM_RW) { in arch_mem_map()
/Zephyr-Core-3.7.0/arch/arm64/core/
Dmmu.c1058 if ((flags & K_MEM_PERM_RW) != 0U) { in __arch_mem_map()
1090 mem_flags |= (flags & K_MEM_PERM_RW) ? MT_RW : 0; in arch_mem_map()
/Zephyr-Core-3.7.0/kernel/
Dthread.c433 K_MEM_PERM_RW | K_MEM_CACHE_WB | K_MEM_MAP_UNINIT, in setup_thread_stack()
/Zephyr-Core-3.7.0/arch/x86/core/
Dx86_mmu.c1272 if ((flags & K_MEM_PERM_RW) != 0U) { in flags_to_entry()