/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_tlb.c | 67 int sys_mm_drv_map_page(void *virt, uintptr_t phys, uint32_t flags) in sys_mm_drv_map_page() 144 int sys_mm_drv_map_region(void *virt, uintptr_t phys, in sys_mm_drv_map_region() 152 int sys_mm_drv_map_array(void *virt, uintptr_t *phys, in sys_mm_drv_map_array() 160 int sys_mm_drv_unmap_page(void *virt) in sys_mm_drv_unmap_page() 202 int sys_mm_drv_unmap_region(void *virt, size_t size) in sys_mm_drv_unmap_region() 209 int sys_mm_drv_page_phys_get(void *virt, uintptr_t *phys) in sys_mm_drv_page_phys_get() 246 int sys_mm_drv_page_flag_get(void *virt, uint32_t *flags) in sys_mm_drv_page_flag_get() 260 int sys_mm_drv_update_page_flags(void *virt, uint32_t flags) in sys_mm_drv_update_page_flags() 273 int sys_mm_drv_update_region_flags(void *virt, size_t size, in sys_mm_drv_update_region_flags()
|
D | mm_drv_common.c | 47 bool sys_mm_drv_is_virt_region_mapped(void *virt, size_t size) in sys_mm_drv_is_virt_region_mapped() 64 bool sys_mm_drv_is_virt_region_unmapped(void *virt, size_t size) in sys_mm_drv_is_virt_region_unmapped() 92 static int unmap_locked(void *virt, size_t size, bool is_reset) in unmap_locked() 116 int sys_mm_drv_simple_map_region(void *virt, uintptr_t phys, in sys_mm_drv_simple_map_region() 161 int sys_mm_drv_simple_map_array(void *virt, uintptr_t *phys, in sys_mm_drv_simple_map_array() 208 int sys_mm_drv_simple_unmap_region(void *virt, size_t size) in sys_mm_drv_simple_unmap_region() 504 int sys_mm_drv_simple_update_region_flags(void *virt, size_t size, uint32_t flags) in sys_mm_drv_simple_update_region_flags()
|
D | mm_drv_intel_adsp_mtl_tlb.c | 171 int sys_mm_drv_map_page(void *virt, uintptr_t phys, uint32_t flags) in sys_mm_drv_map_page() 285 int sys_mm_drv_map_region(void *virt, uintptr_t phys, in sys_mm_drv_map_region() 326 int sys_mm_drv_map_array(void *virt, uintptr_t *phys, in sys_mm_drv_map_array() 334 static int sys_mm_drv_unmap_page_wflush(void *virt, bool flush_data) in sys_mm_drv_unmap_page_wflush() 414 int sys_mm_drv_unmap_page(void *virt) in sys_mm_drv_unmap_page() 419 int sys_mm_drv_unmap_region(void *virt, size_t size) in sys_mm_drv_unmap_region() 426 int sys_mm_drv_update_page_flags(void *virt, uint32_t flags) in sys_mm_drv_update_page_flags() 476 void *virt = (__sparse_force void *)sys_cache_cached_ptr_get(virt_in); in sys_mm_drv_unmap_region_initial() local 513 int sys_mm_drv_page_phys_get(void *virt, uintptr_t *phys) in sys_mm_drv_page_phys_get() 551 int sys_mm_drv_page_flag_get(void *virt, uint32_t *flags) in sys_mm_drv_page_flag_get()
|
D | mm_drv_common.h | 56 static inline bool sys_mm_drv_is_virt_addr_aligned(void *virt) in sys_mm_drv_is_virt_addr_aligned()
|
D | mm_drv_ti_rat.c | 98 int sys_mm_drv_page_phys_get(void *virt, uintptr_t *phys) in sys_mm_drv_page_phys_get()
|
/Zephyr-latest/include/zephyr/kernel/internal/ |
D | mm.h | 56 #define K_MEM_PHYS_ADDR(virt) ((virt) - K_MEM_VIRT_OFFSET) argument 97 static inline uintptr_t k_mem_phys_addr(void *virt) in k_mem_phys_addr()
|
/Zephyr-latest/tests/arch/arm64/arm64_mmu/src/ |
D | main.c | 90 uintptr_t virt = TEST_VIRT_ADDR; in ZTEST() local 108 uintptr_t virt = TEST_VIRT_ADDR & ~(block_size - 1); in ZTEST() local 126 uintptr_t virt = TEST_VIRT_ADDR & ~(block_size - 1); in ZTEST() local 145 uintptr_t virt = (TEST_VIRT_ADDR & ~(block_size - 1)) - CONFIG_MMU_PAGE_SIZE; in ZTEST() local 161 uintptr_t virt = TEST_VIRT_ADDR & ~(block_size - 1); in ZTEST() local
|
/Zephyr-latest/arch/arm64/core/ |
D | mmu.c | 306 static int set_mapping(uint64_t *top_table, uintptr_t virt, size_t size, in set_mapping() 378 static void del_mapping(uint64_t *table, uintptr_t virt, size_t size, in del_mapping() 456 uintptr_t virt, size_t size, unsigned int level) in privatize_table() 549 uintptr_t virt, size_t size, unsigned int level) in globalize_table() 739 uintptr_t phys, uintptr_t virt, size_t size, uint32_t attrs) in __add_map() 754 uintptr_t phys, uintptr_t virt, size_t size, uint32_t attrs) in add_map() 766 uintptr_t virt, size_t size) in remove_map() 786 static inline void invalidate_tlb_page(uintptr_t virt) in invalidate_tlb_page() 858 static inline void inv_dcache_after_map_helper(void *virt, size_t size, uint32_t attrs) in inv_dcache_after_map_helper() 1022 static void sync_domains(uintptr_t virt, size_t size, const char *name) in sync_domains() [all …]
|
/Zephyr-latest/arch/xtensa/core/ |
D | mem_manage.c | 27 __weak bool sys_mm_is_virt_addr_in_range(void *virt) in sys_mm_is_virt_addr_in_range()
|
D | ptables.c | 473 void arch_mem_map(void *virt, uintptr_t phys, size_t size, uint32_t flags) in arch_mem_map() 1087 uint8_t *virt; in mem_buffer_validate() local
|
/Zephyr-latest/arch/x86/core/ |
D | x86_mmu.c | 287 static inline int get_index(void *virt, int level) in get_index() 294 static inline pentry_t *get_entry_ptr(pentry_t *ptables, void *virt, int level) in get_entry_ptr() 300 static inline pentry_t get_entry(pentry_t *ptables, void *virt, int level) in get_entry() 368 pentry_t *ptables, void *virt) in pentry_get() 588 uintptr_t virt = in print_entries() local 735 static void dump_entry(int level, void *virt, pentry_t entry) in dump_entry() 766 void *virt) in z_x86_pentry_get() 776 void z_x86_dump_mmu_flags(pentry_t *ptables, void *virt) in z_x86_dump_mmu_flags() 1004 static int page_map_set(pentry_t *ptables, void *virt, pentry_t entry_val, in page_map_set() 1095 static int range_map_ptables(pentry_t *ptables, void *virt, uintptr_t phys, in range_map_ptables() [all …]
|
D | fatal.c | 444 void *virt = z_x86_cr2_get(); in z_x86_page_fault_handler() local
|
/Zephyr-latest/arch/arm/core/mmu/ |
D | arm_mmu.c | 874 static int __arch_mem_map(void *virt, uintptr_t phys, size_t size, uint32_t flags) in __arch_mem_map() 951 void arch_mem_map(void *virt, uintptr_t phys, size_t size, uint32_t flags) in arch_mem_map() 1035 int arch_page_phys_get(void *virt, uintptr_t *phys) in arch_page_phys_get()
|
/Zephyr-latest/lib/posix/options/ |
D | mmap.c | 51 void *virt; in mmap() local
|
D | shm.c | 109 void *virt; in shm_ftruncate() local 177 void **virt) in shm_mmap()
|
/Zephyr-latest/arch/x86/include/ |
D | x86_mmu.h | 142 extern bool z_x86_kpti_is_access_ok(void *virt, pentry_t *ptables) in z_x86_kpti_is_access_ok()
|
/Zephyr-latest/tests/arch/x86/pagetables/src/ |
D | main.c | 37 #define IN_REGION(name, virt) \ argument
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | shmem.c | 17 #define device_map(virt, phys, size, flags) *(virt) = (phys) argument
|
/Zephyr-latest/subsys/net/l2/virtual/ |
D | virtual.c | 111 const struct virtual_interface_api *virt; in virtual_enable() local
|
/Zephyr-latest/kernel/include/ |
D | mmu.h | 65 #define K_MEM_BOOT_VIRT_TO_PHYS(virt) ((uintptr_t)(((uint8_t *)(virt)) - K_MEM_VM_OFFSET)) argument
|
/Zephyr-latest/include/zephyr/net/ |
D | virtual.h | 294 const struct virtual_interface_api *virt = in net_virtual_get_iface_capabilities() local
|
/Zephyr-latest/drivers/dma/ |
D | dma_nxp_edma.h | 26 #define device_map(virt, phys, size, flags) *(virt) = (phys) argument
|
/Zephyr-latest/kernel/ |
D | mmu.c | 479 static int virt_to_page_frame(void *virt, uintptr_t *phys) in virt_to_page_frame() 979 void k_mem_unmap_phys_bare(uint8_t *virt, size_t size) in k_mem_unmap_phys_bare()
|
/Zephyr-latest/drivers/dai/nxp/esai/ |
D | esai.h | 24 #define device_map(virt, phys, size, flags) *(virt) = (phys) argument
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 385 struct net_if *eth, *virt, *dummy1, *dummy2; in test_address_setup() local
|