Searched refs:pfn_base (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/arch/sparc/mm/ |
D | init_32.c | 47 unsigned long pfn_base; variable 48 EXPORT_SYMBOL(pfn_base); 84 unsigned long tmp = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in calc_max_low_pfn() 183 if (max_low_pfn > pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT)) { in bootmem_init() 184 highstart_pfn = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); in bootmem_init() 276 max_mapnr = last_valid_pfn - pfn_base; in mem_init()
|
D | srmmu.c | 990 npages = max_low_pfn - pfn_base; in srmmu_paging_init() 999 free_area_init_node(0, zones_size, pfn_base, zholes_size); in srmmu_paging_init()
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | page.h | 92 extern unsigned long pfn_base; 115 (((pfn) >= pfn_base) && (((pfn)-pfn_base) < max_mapnr)) 118 #define ARCH_PFN_OFFSET (pfn_base)
|
/Linux-v5.4/arch/sparc/include/asm/ |
D | page_32.h | 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))
|
D | pgtable_32.h | 89 extern unsigned long pfn_base;
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | gtt.c | 412 unsigned pfn_base; in psb_gtt_init() local 528 pfn_base = dev_priv->stolen_base >> PAGE_SHIFT; in psb_gtt_init() 531 num_pages, pfn_base << PAGE_SHIFT, 0); in psb_gtt_init() 533 pte = psb_gtt_mask_pte(pfn_base + i, PSB_MMU_CACHED_MEMORY); in psb_gtt_init() 541 pfn_base = page_to_pfn(dev_priv->scratch_page); in psb_gtt_init() 542 pte = psb_gtt_mask_pte(pfn_base, PSB_MMU_CACHED_MEMORY); in psb_gtt_init()
|
/Linux-v5.4/kernel/dma/ |
D | coherent.c | 15 unsigned long pfn_base; member 35 return (mem->pfn_base - dev->dma_pfn_offset) << PAGE_SHIFT; in dma_get_device_base() 73 dma_mem->pfn_base = PFN_DOWN(phys_addr); in dma_init_coherent_memory() 247 unsigned long pfn = mem->pfn_base + start + off; in __dma_mmap_from_coherent()
|
/Linux-v5.4/arch/riscv/mm/ |
D | init.c | 147 unsigned long pfn_base; variable 148 EXPORT_SYMBOL(pfn_base); 353 pfn_base = PFN_DOWN(load_pa); in setup_vm()
|
/Linux-v5.4/drivers/vfio/ |
D | vfio_iommu_type1.c | 398 long npage, unsigned long *pfn_base, in vfio_pin_pages_remote() argument 410 ret = vaddr_get_pfn(current->mm, vaddr, dma->prot, pfn_base); in vfio_pin_pages_remote() 415 rsvd = is_invalid_reserved_pfn(*pfn_base); in vfio_pin_pages_remote() 423 put_pfn(*pfn_base, dma->prot); in vfio_pin_pages_remote() 441 if (pfn != *pfn_base + pinned || in vfio_pin_pages_remote() 466 for (pfn = *pfn_base ; pinned ; pfn++, pinned--) in vfio_pin_pages_remote() 498 unsigned long *pfn_base, bool do_accounting) in vfio_pin_page_external() argument 507 ret = vaddr_get_pfn(mm, vaddr, dma->prot, pfn_base); in vfio_pin_page_external() 508 if (!ret && do_accounting && !is_invalid_reserved_pfn(*pfn_base)) { in vfio_pin_page_external() 511 put_pfn(*pfn_base, dma->prot); in vfio_pin_page_external()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | setup_32.c | 354 pfn_base = phys_base >> PAGE_SHIFT; in setup_arch()
|