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/ |
D | main.c | 64 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/ |
D | mm.h | 61 #define K_MEM_PERM_RW BIT(3) macro
|
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/demand_paging/src/ |
D | main.c | 91 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/ |
D | eth_dwmac_mmu.c | 55 K_MEM_PERM_RW | K_MEM_CACHE_NONE); in dwmac_platform_init()
|
/Zephyr-Core-3.7.0/lib/posix/options/ |
D | mmap.c | 34 return (rw * K_MEM_PERM_RW) | (ex * K_MEM_PERM_EXEC) | (fixed * K_MEM_DIRECT_MAP); in p2z()
|
D | shm.c | 124 virt = k_mem_map(ROUND_UP(length, _page_size), K_MEM_PERM_RW); in shm_ftruncate()
|
/Zephyr-Core-3.7.0/drivers/virtualization/ |
D | virt_ivshmem.c | 235 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/ |
D | main.c | 47 mem_attr |= K_MEM_PERM_RW; in smh_reg_map()
|
/Zephyr-Core-3.7.0/include/zephyr/sys/ |
D | device_mmio.h | 105 flags | K_MEM_PERM_RW); in device_map()
|
/Zephyr-Core-3.7.0/lib/libc/common/source/stdlib/ |
D | malloc.c | 202 heap_base = k_mem_map(heap_size, K_MEM_PERM_RW); in malloc_prepare()
|
/Zephyr-Core-3.7.0/drivers/xen/ |
D | gnttab.c | 334 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/ |
D | msi.c | 101 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/ |
D | arm_mmu.c | 898 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/ |
D | libc-hooks.c | 119 heap_base = k_mem_map(max_heap_size, K_MEM_PERM_RW);
|
/Zephyr-Core-3.7.0/arch/xtensa/core/ |
D | ptables.c | 504 if ((flags & K_MEM_PERM_RW) == K_MEM_PERM_RW) { in arch_mem_map()
|
/Zephyr-Core-3.7.0/arch/arm64/core/ |
D | mmu.c | 1058 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/ |
D | thread.c | 433 K_MEM_PERM_RW | K_MEM_CACHE_WB | K_MEM_MAP_UNINIT, in setup_thread_stack()
|
/Zephyr-Core-3.7.0/arch/x86/core/ |
D | x86_mmu.c | 1272 if ((flags & K_MEM_PERM_RW) != 0U) { in flags_to_entry()
|