Home
last modified time | relevance | path

Searched refs:seg_pages (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/arch/m68k/mm/
Dsun3kmap.c92 int seg_pages; in sun3_ioremap() local
94 seg_pages = (SUN3_PMEG_SIZE - (virt & SUN3_PMEG_MASK)) / PAGE_SIZE; in sun3_ioremap()
95 if(seg_pages > pages) in sun3_ioremap()
96 seg_pages = pages; in sun3_ioremap()
98 do_pmeg_mapin(phys, virt, type, seg_pages); in sun3_ioremap()
100 pages -= seg_pages; in sun3_ioremap()
101 phys += seg_pages * PAGE_SIZE; in sun3_ioremap()
102 virt += seg_pages * PAGE_SIZE; in sun3_ioremap()