/arch/powerpc/mm/ |
D | ioremap_64.c | 24 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()
|
D | ioremap_32.c | 30 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/ |
D | tlbflush.h | 91 : : "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/ |
D | tlbflush_64.c | 72 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()
|
D | tlbflush_32.c | 25 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()
|
D | ioremap.c | 67 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/ |
D | cache.c | 50 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()
|
D | memory.c | 41 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/ |
D | pgtable.c | 60 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/ |
D | sys_m68k.c | 63 _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/ |
D | r3k_dump_tlb.c | 49 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/ |
D | ioremap.c | 68 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/ |
D | ioremap.c | 17 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/ |
D | ioremap.c | 26 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/ |
D | indirect_pci.c | 148 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/ |
D | pci_mmio.c | 47 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/ |
D | hash.h | 41 #define _PMD_PRESENT_MASK (PAGE_MASK) 42 #define _PMD_BAD (~PAGE_MASK)
|
/arch/parisc/mm/ |
D | ioremap.c | 73 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/ |
D | ioremap.c | 22 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/ |
D | indirect_pci.c | 163 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/ |
D | ioremap.c | 25 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/ |
D | ioremap.c | 52 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/ |
D | ioremap.c | 74 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/ |
D | tlb-r3k.c | 90 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/ |
D | page.h | 18 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()
|