Home
last modified time | relevance | path

Searched refs:PAGE_MASK (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/arch/powerpc/mm/
Dioremap_64.c24 WARN_ON(pa & ~PAGE_MASK); in __ioremap_at()
25 WARN_ON(((unsigned long)ea) & ~PAGE_MASK); in __ioremap_at()
26 WARN_ON(size & ~PAGE_MASK); in __ioremap_at()
50 WARN_ON(((unsigned long)ea) & ~PAGE_MASK); in __iounmap_at()
51 WARN_ON(size & ~PAGE_MASK); in __iounmap_at()
74 paligned = addr & PAGE_MASK; in __ioremap_caller()
75 offset = addr & ~PAGE_MASK; in __ioremap_caller()
105 addr = (void *)((unsigned long __force)PCI_FIX_ADDR(token) & PAGE_MASK); in iounmap()
Dioremap_32.c30 p = addr & PAGE_MASK; in __ioremap_caller()
31 offset = addr & ~PAGE_MASK; in __ioremap_caller()
90 vunmap((void *)(PAGE_MASK & (unsigned long)addr)); in iounmap()
/arch/unicore32/include/asm/
Dtlbflush.h91 : : "r" (uaddr & PAGE_MASK) : "cc"); in local_flush_tlb_page()
94 : : "r" (uaddr & PAGE_MASK) : "cc"); in local_flush_tlb_page()
98 : : "r" (uaddr & PAGE_MASK) : "cc"); in local_flush_tlb_page()
108 : : "r" (kaddr & PAGE_MASK) : "cc"); in local_flush_tlb_kernel_page()
111 : : "r" (kaddr & PAGE_MASK) : "cc"); in local_flush_tlb_kernel_page()
115 : : "r" (kaddr & PAGE_MASK) : "cc"); in local_flush_tlb_kernel_page()
/arch/sh/mm/
Dtlbflush_64.c72 page &= PAGE_MASK; in local_flush_tlb_page()
94 start &= PAGE_MASK; in local_flush_tlb_range()
95 end &= PAGE_MASK; in local_flush_tlb_range()
105 pteh_epn = pteh & PAGE_MASK; in local_flush_tlb_range()
106 pteh_low = pteh & ~PAGE_MASK; in local_flush_tlb_range()
118 pteh_epn = pteh & PAGE_MASK; in local_flush_tlb_range()
119 pteh_low = pteh & ~PAGE_MASK; in local_flush_tlb_range()
Dtlbflush_32.c25 page &= PAGE_MASK; in local_flush_tlb_page()
60 start &= PAGE_MASK; in local_flush_tlb_range()
62 end &= PAGE_MASK; in local_flush_tlb_range()
93 start &= PAGE_MASK; in local_flush_tlb_kernel_range()
95 end &= PAGE_MASK; in local_flush_tlb_kernel_range()
Dioremap.c67 offset = phys_addr & ~PAGE_MASK; in __ioremap_caller()
68 phys_addr &= PAGE_MASK; in __ioremap_caller()
129 p = remove_vm_area((void *)(vaddr & PAGE_MASK)); in __iounmap()
/arch/m68k/mm/
Dcache.c50 return (mmusr & PAGE_MASK) | (vaddr & ~PAGE_MASK); in virt_to_phys_slow()
68 return (*descaddr & PAGE_MASK) | (vaddr & ~PAGE_MASK); in virt_to_phys_slow()
88 address &= PAGE_MASK; in flush_icache_range()
Dmemory.c41 unsigned long page = ptable & PAGE_MASK; in init_pointer_table()
103 unsigned long page = (unsigned long)ptable & PAGE_MASK; in free_pointer_table()
215 pushcl040(paddr & PAGE_MASK); in cache_clear()
221 paddr &= PAGE_MASK; in cache_clear()
269 paddr &= PAGE_MASK; in cache_push()
/arch/microblaze/mm/
Dpgtable.c60 p = addr & PAGE_MASK; in __ioremap()
117 return (void __iomem *) (v + ((unsigned long)addr & ~PAGE_MASK)); in __ioremap()
130 vfree((void *) (PAGE_MASK & (unsigned long) addr)); in iounmap()
195 pgd = pgd_offset(mm, addr & PAGE_MASK); in get_pteptr()
197 pmd = pmd_offset(pgd, addr & PAGE_MASK); in get_pteptr()
199 pte = pte_offset_kernel(pmd, addr & PAGE_MASK); in get_pteptr()
229 pa = (pte_val(*pte) & PAGE_MASK) | (addr & ~PAGE_MASK); in iopa()
/arch/m68k/kernel/
Dsys_m68k.c63 _paddr = (_mmusr & MMU_R_040) ? (_mmusr & PAGE_MASK) : 0; \
104 paddr += addr & ~(PAGE_MASK | 15); in cache_flush_040()
107 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_040()
125 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_040()
180 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); in cache_flush_040()
268 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_060()
286 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_060()
319 addr &= PAGE_MASK; in cache_flush_060()
341 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); in cache_flush_060()
342 addr &= PAGE_MASK; /* Workaround for bug in some in cache_flush_060()
/arch/mips/lib/
Dr3k_dump_tlb.c49 if ((entryhi & PAGE_MASK) != KSEG0 && in dump_tlb()
59 entryhi & PAGE_MASK, in dump_tlb()
61 entrylo0 & PAGE_MASK, in dump_tlb()
/arch/ia64/mm/
Dioremap.c68 page_base = phys_addr & PAGE_MASK; in ioremap()
76 offset = phys_addr & ~PAGE_MASK; in ioremap()
77 phys_addr &= PAGE_MASK; in ioremap()
120 vunmap((void *) ((unsigned long) addr & PAGE_MASK)); in iounmap()
/arch/xtensa/mm/
Dioremap.c17 unsigned long offset = paddr & ~PAGE_MASK; in xtensa_ioremap()
23 paddr &= PAGE_MASK; in xtensa_ioremap()
61 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr); in xtensa_iounmap()
/arch/nds32/mm/
Dioremap.c26 offset = phys_addr & ~PAGE_MASK; in __ioremap_caller()
27 phys_addr &= PAGE_MASK; in __ioremap_caller()
59 vunmap((void *)(PAGE_MASK & (unsigned long)addr)); in iounmap()
/arch/microblaze/pci/
Dindirect_pci.c148 resource_size_t base = cfg_addr & PAGE_MASK; in setup_indirect_pci()
152 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); in setup_indirect_pci()
153 if ((cfg_data & PAGE_MASK) != base) in setup_indirect_pci()
154 mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); in setup_indirect_pci()
155 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); in setup_indirect_pci()
/arch/s390/pci/
Dpci_mmio.c47 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3()
59 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
87 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3()
99 io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); in SYSCALL_DEFINE3()
/arch/powerpc/include/asm/book3s/32/
Dhash.h41 #define _PMD_PRESENT_MASK (PAGE_MASK)
42 #define _PMD_BAD (~PAGE_MASK)
/arch/parisc/mm/
Dioremap.c73 offset = phys_addr & ~PAGE_MASK; in __ioremap()
74 phys_addr &= PAGE_MASK; in __ioremap()
97 unsigned long addr = (unsigned long)io_addr & PAGE_MASK; in iounmap()
/arch/csky/mm/
Dioremap.c22 offset = addr & (~PAGE_MASK); in __ioremap_caller()
23 addr &= PAGE_MASK; in __ioremap_caller()
56 vunmap((void *)((unsigned long)addr & PAGE_MASK)); in iounmap()
/arch/powerpc/sysdev/
Dindirect_pci.c163 resource_size_t base = cfg_addr & PAGE_MASK; in setup_indirect_pci()
167 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); in setup_indirect_pci()
168 if ((cfg_data & PAGE_MASK) != base) in setup_indirect_pci()
169 mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); in setup_indirect_pci()
170 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); in setup_indirect_pci()
/arch/arm64/mm/
Dioremap.c25 unsigned long offset = phys_addr & ~PAGE_MASK; in __ioremap_caller()
34 phys_addr &= PAGE_MASK; in __ioremap_caller()
74 unsigned long addr = (unsigned long)io_addr & PAGE_MASK; in iounmap()
/arch/openrisc/mm/
Dioremap.c52 offset = addr & ~PAGE_MASK; in ioremap()
53 p = addr & PAGE_MASK; in ioremap()
104 return vfree((void *)(PAGE_MASK & (unsigned long)addr)); in iounmap()
/arch/arc/mm/
Dioremap.c74 off = paddr & ~PAGE_MASK; in ioremap_prot()
75 paddr &= PAGE_MASK; in ioremap_prot()
101 vfree((void *)(PAGE_MASK & (unsigned long __force)addr)); in iounmap()
/arch/mips/mm/
Dtlb-r3k.c90 start &= PAGE_MASK; in local_flush_tlb_range()
92 end &= PAGE_MASK; in local_flush_tlb_range()
126 start &= PAGE_MASK; in local_flush_tlb_kernel_range()
128 end &= PAGE_MASK; in local_flush_tlb_kernel_range()
163 page &= PAGE_MASK; in local_flush_tlb_page()
204 address &= PAGE_MASK; in __update_tlb()
/arch/csky/abiv1/inc/abi/
Dpage.h18 if (pages_do_alias((unsigned long) addr, vaddr & PAGE_MASK)) in clear_user_page()
26 if (pages_do_alias((unsigned long) to, vaddr & PAGE_MASK)) in copy_user_page()

12345678910>>...16