Searched refs:mem_regions (Results 1 – 1 of 1) sorted by relevance
108 mem_region_t mem_regions[SOC_MMU_LINEAR_ADDRESS_REGION_NUM]; member239 … memcpy(&s_mmu_ctx.mem_regions[available_region_idx], &hw_mem_regions[i], sizeof(mem_region_t)); in esp_mmu_map_init()244 TAILQ_INIT(&s_mmu_ctx.mem_regions[i].mem_block_head); in esp_mmu_map_init()272 …if (((s_mmu_ctx.mem_regions[i].caps & caps) == caps) && ((s_mmu_ctx.mem_regions[i].targets & targe… in esp_mmu_map_get_max_consecutive_free_block_size()273 if (s_mmu_ctx.mem_regions[i].max_slot_size > max) { in esp_mmu_map_get_max_consecutive_free_block_size()274 max = s_mmu_ctx.mem_regions[i].max_slot_size; in esp_mmu_map_get_max_consecutive_free_block_size()285 static int32_t s_find_available_region(mem_region_t *mem_regions, uint32_t region_nums, size_t size… in s_find_available_region() argument289 … if (((mem_regions[i].caps & caps) == caps) && ((mem_regions[i].targets & target) == target)) { in s_find_available_region()290 if (mem_regions[i].max_slot_size >= size) { in s_find_available_region()307 …int32_t found_region_id = s_find_available_region(s_mmu_ctx.mem_regions, s_mmu_ctx.num_regions, al… in esp_mmu_map_reserve_block_with_caps()[all …]