Searched refs:pfn_base (Results 1 – 8 of 8) sorted by relevance
46 unsigned long pfn_base; variable47 EXPORT_SYMBOL(pfn_base);83 unsigned long tmp = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in calc_max_low_pfn()182 if (max_low_pfn > pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT)) { in bootmem_init()183 highstart_pfn = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in bootmem_init()279 max_mapnr = last_valid_pfn - pfn_base; in mem_init()
122 extern unsigned long pfn_base;130 #define ARCH_PFN_OFFSET (pfn_base)133 #define pfn_valid(pfn) (((pfn) >= (pfn_base)) && (((pfn)-(pfn_base)) < max_mapnr))
72 extern unsigned long pfn_base;
16 unsigned long pfn_base; member34 return phys_to_dma(dev, PFN_PHYS(mem->pfn_base)); in dma_get_device_base()61 dma_mem->pfn_base = PFN_DOWN(phys_addr); in dma_init_coherent_memory()244 unsigned long pfn = mem->pfn_base + start + off; in __dma_mmap_from_coherent()
312 unsigned int pfn_base; in psb_gem_mm_populate_stolen() local316 pfn_base = pdev->stolen_base >> PAGE_SHIFT; in psb_gem_mm_populate_stolen()320 num_pages, pfn_base << PAGE_SHIFT, 0); in psb_gem_mm_populate_stolen()323 pte = psb_gtt_mask_pte(pfn_base + i, PSB_MMU_CACHED_MEMORY); in psb_gem_mm_populate_stolen()
172 resource_size_t pfn_base; in psb_gtt_clear() local176 pfn_base = page_to_pfn(pdev->scratch_page); in psb_gtt_clear()177 pte = psb_gtt_mask_pte(pfn_base, PSB_MMU_CACHED_MEMORY); in psb_gtt_clear()
659 long npage, unsigned long *pfn_base, in vfio_pin_pages_remote() argument674 *pfn_base = page_to_pfn(batch->pages[batch->offset]); in vfio_pin_pages_remote()675 pfn = *pfn_base; in vfio_pin_pages_remote()676 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()678 *pfn_base = 0; in vfio_pin_pages_remote()694 if (!*pfn_base) { in vfio_pin_pages_remote()695 *pfn_base = pfn; in vfio_pin_pages_remote()696 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote()709 if (pfn != *pfn_base + pinned || in vfio_pin_pages_remote()758 for (pfn = *pfn_base ; pinned ; pfn++, pinned--) in vfio_pin_pages_remote()[all …]
348 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()