Home
last modified time | relevance | path

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

12345678910>>...16

/arch/unicore32/include/asm/
Dtlbflush.h94 : : "r" (uaddr & PAGE_MASK) : "cc"); in local_flush_tlb_page()
97 : : "r" (uaddr & PAGE_MASK) : "cc"); in local_flush_tlb_page()
101 : : "r" (uaddr & PAGE_MASK) : "cc"); in local_flush_tlb_page()
111 : : "r" (kaddr & PAGE_MASK) : "cc"); in local_flush_tlb_kernel_page()
114 : : "r" (kaddr & PAGE_MASK) : "cc"); in local_flush_tlb_kernel_page()
118 : : "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.c49 return (mmusr & PAGE_MASK) | (vaddr & ~PAGE_MASK); in virt_to_phys_slow()
67 return (*descaddr & PAGE_MASK) | (vaddr & ~PAGE_MASK); in virt_to_phys_slow()
87 address &= PAGE_MASK; in flush_icache_range()
Dmemory.c40 unsigned long page = ptable & PAGE_MASK; in init_pointer_table()
104 unsigned long page = (unsigned long)ptable & PAGE_MASK; in free_pointer_table()
216 pushcl040(paddr & PAGE_MASK); in cache_clear()
222 paddr &= PAGE_MASK; in cache_clear()
270 paddr &= PAGE_MASK; in cache_push()
/arch/microblaze/mm/
Dpgtable.c63 p = addr & PAGE_MASK; in __ioremap()
120 return (void __iomem *) (v + ((unsigned long)addr & ~PAGE_MASK)); in __ioremap()
133 vfree((void *) (PAGE_MASK & (unsigned long) addr)); in iounmap()
198 pgd = pgd_offset(mm, addr & PAGE_MASK); in get_pteptr()
200 pmd = pmd_offset(pgd, addr & PAGE_MASK); in get_pteptr()
202 pte = pte_offset_kernel(pmd, addr & PAGE_MASK); in get_pteptr()
232 pa = (pte_val(*pte) & PAGE_MASK) | (addr & ~PAGE_MASK); in iopa()
/arch/score/mm/
Dtlb-score.c95 start &= PAGE_MASK; in local_flush_tlb_range()
97 end &= PAGE_MASK; in local_flush_tlb_range()
133 start &= PAGE_MASK; in local_flush_tlb_kernel_range()
135 end &= PAGE_MASK; in local_flush_tlb_kernel_range()
167 page &= PAGE_MASK; in local_flush_tlb_page()
197 page &= (PAGE_MASK << 1); in local_flush_tlb_one()
227 address &= PAGE_MASK; in __update_tlb()
/arch/m68k/kernel/
Dsys_m68k.c62 _paddr = (_mmusr & MMU_R_040) ? (_mmusr & PAGE_MASK) : 0; \
103 paddr += addr & ~(PAGE_MASK | 15); in cache_flush_040()
106 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_040()
124 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_040()
179 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); in cache_flush_040()
267 unsigned long tmp = PAGE_SIZE - (addr & ~PAGE_MASK); in cache_flush_060()
285 i = (PAGE_SIZE - (paddr & ~PAGE_MASK)) >> 4; in cache_flush_060()
318 addr &= PAGE_MASK; in cache_flush_060()
340 len += (addr & ~PAGE_MASK) + (PAGE_SIZE - 1); in cache_flush_060()
341 addr &= PAGE_MASK; /* Workaround for bug in some in cache_flush_060()
/arch/cris/mm/
Dioremap.c44 offset = phys_addr & ~PAGE_MASK; in __ioremap_prot()
45 phys_addr &= PAGE_MASK; in __ioremap_prot()
87 return vfree((void *) (PAGE_MASK & (unsigned long) addr)); in iounmap()
/arch/ia64/mm/
Dioremap.c71 page_base = phys_addr & PAGE_MASK; in ioremap()
79 offset = phys_addr & ~PAGE_MASK; in ioremap()
80 phys_addr &= PAGE_MASK; in ioremap()
123 vunmap((void *) ((unsigned long) addr & PAGE_MASK)); in iounmap()
/arch/powerpc/include/asm/
Dpte-fsl-booke.h37 #define _PMD_PRESENT_MASK (PAGE_MASK)
38 #define _PMD_BAD (~PAGE_MASK)
Dpte-44x.h94 #define _PMD_PRESENT_MASK (PAGE_MASK)
95 #define _PMD_BAD (~PAGE_MASK)
Dpte-hash32.h40 #define _PMD_PRESENT_MASK (PAGE_MASK)
41 #define _PMD_BAD (~PAGE_MASK)
/arch/sparc/mm/
Diommu.c158 start &= PAGE_MASK; in iommu_flush_iotlb()
214 off = (unsigned long)vaddr & ~PAGE_MASK; in iommu_get_scsi_one()
216 page = virt_to_page((unsigned long)vaddr & PAGE_MASK); in iommu_get_scsi_one()
229 unsigned long page = ((unsigned long) vaddr) & PAGE_MASK; in iommu_get_scsi_one_pflush()
304 off = vaddr & ~PAGE_MASK; in iommu_release_scsi_one()
306 iommu_release_one(dev, vaddr & PAGE_MASK, npages); in iommu_release_scsi_one()
317 iommu_release_one(dev, sg->dma_address & PAGE_MASK, n); in iommu_release_scsi_sgl()
333 BUG_ON((va & ~PAGE_MASK) != 0); in iommu_map_dma_area()
334 BUG_ON((addr & ~PAGE_MASK) != 0); in iommu_map_dma_area()
335 BUG_ON((len & ~PAGE_MASK) != 0); in iommu_map_dma_area()
[all …]
/arch/mips/mm/
Dtlb-r8k.c87 start &= PAGE_MASK; in local_flush_tlb_range()
89 end &= PAGE_MASK; in local_flush_tlb_range()
127 start &= PAGE_MASK; in local_flush_tlb_kernel_range()
129 end &= PAGE_MASK; in local_flush_tlb_kernel_range()
159 page &= PAGE_MASK; in local_flush_tlb_page()
200 address &= PAGE_MASK; in __update_tlb()
/arch/metag/mm/
Dioremap.c49 offset = phys_addr & ~PAGE_MASK; in __ioremap()
50 phys_addr &= PAGE_MASK; in __ioremap()
81 p = remove_vm_area((void *)(PAGE_MASK & (unsigned long __force)addr)); in __iounmap()
/arch/arc/mm/
Dioremap.c62 off = paddr & ~PAGE_MASK; in ioremap_prot()
63 paddr &= PAGE_MASK; in ioremap_prot()
89 vfree((void *)(PAGE_MASK & (unsigned long __force)addr)); in iounmap()
/arch/avr32/mm/
Dioremap.c52 offset = phys_addr & ~PAGE_MASK; in __ioremap()
53 phys_addr &= PAGE_MASK; in __ioremap()
85 p = remove_vm_area((void *)(PAGE_MASK & (unsigned long __force)addr)); in __iounmap()
/arch/microblaze/pci/
Dindirect_pci.c153 resource_size_t base = cfg_addr & PAGE_MASK; in setup_indirect_pci()
157 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); in setup_indirect_pci()
158 if ((cfg_data & PAGE_MASK) != base) in setup_indirect_pci()
159 mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); in setup_indirect_pci()
160 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); in setup_indirect_pci()
/arch/m32r/mm/
Dioremap.c83 offset = phys_addr & ~PAGE_MASK; in __ioremap()
84 phys_addr &= PAGE_MASK; in __ioremap()
109 vfree((void *) (PAGE_MASK & (unsigned long) addr)); in iounmap()
/arch/parisc/mm/
Dioremap.c72 offset = phys_addr & ~PAGE_MASK; in __ioremap()
73 phys_addr &= PAGE_MASK; in __ioremap()
97 return vfree((void *) (PAGE_MASK & (unsigned long __force) addr)); in iounmap()
/arch/powerpc/sysdev/
Dindirect_pci.c158 resource_size_t base = cfg_addr & PAGE_MASK; in setup_indirect_pci()
162 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); in setup_indirect_pci()
163 if ((cfg_data & PAGE_MASK) != base) in setup_indirect_pci()
164 mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); in setup_indirect_pci()
165 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); in setup_indirect_pci()
/arch/microblaze/kernel/
Dsys_microblaze.c40 if (pgoff & ~PAGE_MASK) in SYSCALL_DEFINE6()
50 if (pgoff & (~PAGE_MASK >> 12)) in SYSCALL_DEFINE6()
/arch/openrisc/mm/
Dioremap.c57 offset = addr & ~PAGE_MASK; in __ioremap()
58 p = addr & PAGE_MASK; in __ioremap()
107 return vfree((void *)(PAGE_MASK & (unsigned long)addr)); in iounmap()

12345678910>>...16