Searched refs:region_size (Results 1 – 2 of 2) sorted by relevance
202 int region_size; // number of pages to check in spi_flash_mmap_pages() local204 get_mmu_region(memory,®ion_begin,®ion_size,®ion_addr); in spi_flash_mmap_pages()205 if (region_size < page_count) { in spi_flash_mmap_pages()215 int end = region_begin + region_size - page_count + 1; in spi_flash_mmap_pages()384 int region_size; // number of pages to check in spi_flash_mmap_get_free_pages() local386 get_mmu_region(memory,®ion_begin,®ion_size,®ion_addr); in spi_flash_mmap_get_free_pages()388 for (int i = region_begin; i < region_begin + region_size; ++i) { in spi_flash_mmap_get_free_pages()
26 static inline bool is_addr_in_region(void* addr, uint8_t* region, int region_size) in is_addr_in_region() argument29 const void* end = (void*) (region + region_size); in is_addr_in_region()