Searched refs:last_pfn (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/arch/mips/mm/ |
D | ioremap.c | 50 unsigned long offset, pfn, last_pfn; in ioremap_prot() local 84 last_pfn = PFN_DOWN(last_addr); in ioremap_prot() 85 if (walk_system_ram_range(pfn, last_pfn - pfn + 1, NULL, in ioremap_prot()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_32.c | 83 unsigned long curr_pfn, last_pfn; in calc_max_low_pfn() local 85 last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn() 90 if (last_pfn < tmp) in calc_max_low_pfn() 91 tmp = last_pfn; in calc_max_low_pfn() 95 last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; in calc_max_low_pfn()
|
/linux-6.12.1/arch/x86/kernel/ |
D | e820.c | 834 unsigned long last_pfn = 0; in e820__end_ram_pfn() local 852 last_pfn = limit_pfn; in e820__end_ram_pfn() 855 if (end_pfn > last_pfn) in e820__end_ram_pfn() 856 last_pfn = end_pfn; in e820__end_ram_pfn() 859 if (last_pfn > max_arch_pfn) in e820__end_ram_pfn() 860 last_pfn = max_arch_pfn; in e820__end_ram_pfn() 863 last_pfn, max_arch_pfn); in e820__end_ram_pfn() 864 return last_pfn; in e820__end_ram_pfn()
|
/linux-6.12.1/drivers/iommu/intel/ |
D | iommu.c | 899 unsigned long last_pfn) in dma_pte_clear_range() argument 904 if (WARN_ON(!domain_pfn_supported(domain, last_pfn)) || in dma_pte_clear_range() 905 WARN_ON(start_pfn > last_pfn)) in dma_pte_clear_range() 920 } while (start_pfn <= last_pfn && !first_pte_in_page(pte)); in dma_pte_clear_range() 925 } while (start_pfn && start_pfn <= last_pfn); in dma_pte_clear_range() 931 unsigned long last_pfn) in dma_pte_free_level() argument 949 last_pfn); in dma_pte_free_level() 957 last_pfn < level_pfn + level_size(level) - 1)) { in dma_pte_free_level() 964 } while (!first_pte_in_page(++pte) && pfn <= last_pfn); in dma_pte_free_level() 973 unsigned long last_pfn, in dma_pte_free_pagetable() argument [all …]
|
/linux-6.12.1/drivers/vhost/ |
D | vdpa.c | 1103 unsigned long npages, cur_base, map_pfn, last_pfn = 0; in vhost_vdpa_pa_map() local 1150 if (!last_pfn) in vhost_vdpa_pa_map() 1157 if (last_pfn && (this_pfn != last_pfn + 1)) { in vhost_vdpa_pa_map() 1159 csize = PFN_PHYS(last_pfn - map_pfn + 1); in vhost_vdpa_pa_map() 1182 last_pfn = this_pfn; in vhost_vdpa_pa_map() 1190 ret = vhost_vdpa_map(v, iotlb, iova, PFN_PHYS(last_pfn - map_pfn + 1), in vhost_vdpa_pa_map() 1206 WARN_ON(!last_pfn); in vhost_vdpa_pa_map() 1207 for (pfn = map_pfn; pfn <= last_pfn; pfn++) in vhost_vdpa_pa_map()
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | radeon_vm.c | 454 unsigned last_pfn, pt_idx; in radeon_vm_bo_set_addr() local 466 last_pfn = eoffset / RADEON_GPU_PAGE_SIZE; in radeon_vm_bo_set_addr() 467 if (last_pfn >= rdev->vm_manager.max_pfn) { in radeon_vm_bo_set_addr() 469 last_pfn, rdev->vm_manager.max_pfn); in radeon_vm_bo_set_addr() 475 eoffset = last_pfn = 0; in radeon_vm_bo_set_addr()
|
/linux-6.12.1/mm/ |
D | page_alloc.c | 6682 unsigned long last_pfn = start_pfn + nr_pages - 1; in zone_spans_last_pfn() local 6684 return zone_spans_pfn(zone, last_pfn); in zone_spans_last_pfn()
|