Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_mm/
Desp_mmu_map.c304 size_t aligned_size = ALIGN_UP_BY(size, CONFIG_MMU_PAGE_SIZE); in esp_mmu_map_reserve_block_with_caps() local
307 … s_find_available_region(s_mmu_ctx.mem_regions, s_mmu_ctx.num_regions, aligned_size, caps, target); in esp_mmu_map_reserve_block_with_caps()
314 s_mmu_ctx.mem_regions[found_region_id].free_head += aligned_size; in esp_mmu_map_reserve_block_with_caps()
315 s_mmu_ctx.mem_regions[found_region_id].max_slot_size -= aligned_size; in esp_mmu_map_reserve_block_with_caps()
423 size_t aligned_size = ALIGN_UP_BY(size, CONFIG_MMU_PAGE_SIZE); in esp_mmu_map() local
424 … s_find_available_region(s_mmu_ctx.mem_regions, s_mmu_ctx.num_regions, aligned_size, caps, target); in esp_mmu_map()
468 … if ((s_is_enclosed(mem_block->paddr_start, mem_block->paddr_end, paddr_start, aligned_size))) { in esp_mmu_map()
474 …ap && (s_is_overlapped(mem_block->paddr_start, mem_block->paddr_end, paddr_start, aligned_size))) { in esp_mmu_map()
508 if (slot_len >= aligned_size) { in esp_mmu_map()
512 slot_len -= aligned_size; in esp_mmu_map()
[all …]