Lines Matching refs:area
199 struct vm_struct * area; in __arm_ioremap_pfn_caller() local
222 for (area = vmlist; area; area = area->next) { in __arm_ioremap_pfn_caller()
225 if (!(area->flags & VM_ARM_STATIC_MAPPING)) in __arm_ioremap_pfn_caller()
227 if ((area->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in __arm_ioremap_pfn_caller()
229 if (__phys_to_pfn(area->phys_addr) > pfn || in __arm_ioremap_pfn_caller()
230 __pfn_to_phys(pfn) + size-1 > area->phys_addr + area->size-1) in __arm_ioremap_pfn_caller()
234 addr = (unsigned long)area->addr; in __arm_ioremap_pfn_caller()
235 addr += __pfn_to_phys(pfn) - area->phys_addr; in __arm_ioremap_pfn_caller()
246 area = get_vm_area_caller(size, VM_IOREMAP, caller); in __arm_ioremap_pfn_caller()
247 if (!area) in __arm_ioremap_pfn_caller()
249 addr = (unsigned long)area->addr; in __arm_ioremap_pfn_caller()
256 area->flags |= VM_ARM_SECTION_MAPPING; in __arm_ioremap_pfn_caller()
259 area->flags |= VM_ARM_SECTION_MAPPING; in __arm_ioremap_pfn_caller()