Searched refs:aligned_size (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/kernel/ |
D | mmu.c | 894 size_t aligned_size, align_boundary; in k_mem_map_phys_bare() local 903 addr_offset = k_mem_region_align(&aligned_phys, &aligned_size, in k_mem_map_phys_bare() 906 __ASSERT(aligned_size != 0U, "0-length mapping at 0x%lx", aligned_phys); in k_mem_map_phys_bare() 907 __ASSERT(aligned_phys < (aligned_phys + (aligned_size - 1)), in k_mem_map_phys_bare() 909 aligned_phys, aligned_size); in k_mem_map_phys_bare() 911 align_boundary = arch_virt_region_align(aligned_phys, aligned_size); in k_mem_map_phys_bare() 929 IN_RANGE(aligned_phys + aligned_size - 1, in k_mem_map_phys_bare() 933 uint8_t *adjusted_end = MIN(dest_addr + aligned_size, in k_mem_map_phys_bare() 946 dest_addr = virt_region_alloc(aligned_size, align_boundary); in k_mem_map_phys_bare() 959 aligned_phys, aligned_size, flags, addr_offset); in k_mem_map_phys_bare() [all …]
|
/Zephyr-latest/include/zephyr/kernel/ |
D | mm.h | 291 size_t k_mem_region_align(uintptr_t *aligned_addr, size_t *aligned_size,
|
/Zephyr-latest/soc/intel/intel_adsp/common/include/ |
D | intel_adsp_hda.h | 172 uint32_t aligned_size = buf_size & HDA_BUFFER_SIZE_MASK; in intel_adsp_hda_set_buffer() local 175 __ASSERT(aligned_size == buf_size, in intel_adsp_hda_set_buffer() 189 __ASSERT(aligned_addr + aligned_size < _INTEL_ADSP_BASE + _INTEL_ADSP_SIZE, in intel_adsp_hda_set_buffer() 201 *DGBS(base, regblock_size, sid) = aligned_size; in intel_adsp_hda_set_buffer()
|
/Zephyr-latest/arch/xtensa/core/ |
D | mpu.c | 1013 size_t aligned_size, addr_offset; in arch_buffer_validate() local 1019 aligned_size = ROUND_UP(size + addr_offset, XCHAL_MPU_ALIGN); in arch_buffer_validate() 1021 for (size_t offset = 0; offset < aligned_size; in arch_buffer_validate() 1084 size_t aligned_size, addr_offset; in xtensa_mem_kernel_has_access() local 1090 aligned_size = ROUND_UP(size + addr_offset, XCHAL_MPU_ALIGN); in xtensa_mem_kernel_has_access() 1092 for (size_t offset = 0; offset < aligned_size; in xtensa_mem_kernel_has_access()
|
D | ptables.c | 1088 size_t aligned_size; in mem_buffer_validate() local 1093 k_mem_region_align((uintptr_t *)&virt, &aligned_size, in mem_buffer_validate() 1096 for (size_t offset = 0; offset < aligned_size; in mem_buffer_validate()
|
/Zephyr-latest/tests/kernel/mem_protect/mem_map/src/ |
D | main.c | 61 size_t aligned_size; in ZTEST() local 89 k_mem_region_align(&aligned_addr, &aligned_size, (uintptr_t)mapped_rw, in ZTEST() 94 sys_cache_data_flush_and_invd_range((void *)aligned_addr, aligned_size); in ZTEST()
|
/Zephyr-latest/arch/x86/core/ |
D | x86_mmu.c | 1445 size_t aligned_size; in arch_buffer_validate() local 1449 (void)k_mem_region_align((uintptr_t *)&virt, &aligned_size, in arch_buffer_validate() 1452 for (size_t offset = 0; offset < aligned_size; in arch_buffer_validate()
|