Searched refs:PAGE_MASK (Results 1 - 25 of 691) sorted by relevance

1234567891011>>

/linux-master/arch/arm64/include/asm/
H A Dpage-def.h16 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
/linux-master/arch/arc/include/uapi/asm/
H A Dpage.h34 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
/linux-master/arch/csky/abiv1/inc/abi/
H A Dpage.h17 if (pages_do_alias((unsigned long) addr, vaddr & PAGE_MASK))
25 if (pages_do_alias((unsigned long) to, vaddr & PAGE_MASK))
/linux-master/arch/mips/lib/
H A Dr3k_dump_tlb.c44 if ((entryhi & PAGE_MASK) != KSEG0 &&
54 entryhi & PAGE_MASK,
56 entrylo0 & PAGE_MASK,
/linux-master/arch/mips/include/asm/
H A Dginvt.h44 addr &= PAGE_MASK << 1;
55 addr &= PAGE_MASK << 1;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dfbmem.h63 u8 __iomem *p = io_mapping_map_atomic_wc(fb, off & PAGE_MASK);
64 u32 val = ioread32(p + (off & ~PAGE_MASK));
72 u8 __iomem *p = io_mapping_map_atomic_wc(fb, off & PAGE_MASK);
73 iowrite32(val, p + (off & ~PAGE_MASK));
/linux-master/include/linux/
H A Dpfn.h18 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
/linux-master/arch/mips/include/asm/vdso/
H A Dvdso.h70 return (void __iomem *)((unsigned long)data & PAGE_MASK) - PAGE_SIZE;
/linux-master/arch/hexagon/mm/
H A Dioremap.c15 unsigned long offset = phys_addr & ~PAGE_MASK;
43 vunmap((void *) ((unsigned long) addr & PAGE_MASK));
/linux-master/arch/arm/include/asm/
H A Ddma-direct.h38 unsigned int offset = paddr & ~PAGE_MASK;
44 unsigned int offset = dev_addr & ~PAGE_MASK;
/linux-master/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.h42 const unsigned long spage = addr & PAGE_MASK;
43 const unsigned long epage = (addr + len - 1) & PAGE_MASK;
/linux-master/mm/
H A Dioremap.c26 offset = addr & (~PAGE_MASK);
47 vunmap((void *)((unsigned long)addr & PAGE_MASK));
/linux-master/arch/ia64/mm/
H A Dioremap.c69 page_base = phys_addr & PAGE_MASK;
77 offset = phys_addr & ~PAGE_MASK;
78 phys_addr &= PAGE_MASK;
121 vunmap((void *) ((unsigned long) addr & PAGE_MASK));
/linux-master/arch/s390/include/asm/
H A Dkfence.h18 #define arch_kfence_test_address(addr) ((addr) & PAGE_MASK)
/linux-master/drivers/infiniband/hw/mlx4/
H A Ddoorbell.c56 if (page->user_virt == (virt & PAGE_MASK))
65 page->user_virt = (virt & PAGE_MASK);
67 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK,
79 (virt & ~PAGE_MASK);
/linux-master/drivers/infiniband/hw/mlx5/
H A Ddoorbell.c58 (page->user_virt == (virt & PAGE_MASK)))
67 page->user_virt = (virt & PAGE_MASK);
69 page->umem = ib_umem_get(context->ibucontext.device, virt & PAGE_MASK,
83 (virt & ~PAGE_MASK);
/linux-master/arch/xtensa/mm/
H A Dioremap.c17 unsigned long offset = paddr & ~PAGE_MASK;
23 paddr &= PAGE_MASK;
61 void *addr = (void *)(PAGE_MASK & (unsigned long)io_addr);
/linux-master/arch/parisc/mm/
H A Dioremap.c71 offset = phys_addr & ~PAGE_MASK;
72 phys_addr &= PAGE_MASK;
95 unsigned long addr = (unsigned long)io_addr & PAGE_MASK;
/linux-master/drivers/uio/
H A Duio_dfl.c31 uiomem->addr = r->start & PAGE_MASK;
32 uiomem->offs = r->start & ~PAGE_MASK;
34 + PAGE_SIZE - 1) & PAGE_MASK;
/linux-master/arch/powerpc/mm/
H A Dioremap_64.c24 paligned = addr & PAGE_MASK;
25 offset = addr & ~PAGE_MASK;
57 addr = (void *)((unsigned long __force)PCI_FIX_ADDR(token) & PAGE_MASK);
H A Dioremap_32.c30 p = addr & PAGE_MASK;
31 offset = addr & ~PAGE_MASK;
91 vunmap((void *)(PAGE_MASK & (unsigned long)addr));
/linux-master/arch/m68k/mm/
H A Dmemory.c110 pushcl040(paddr & PAGE_MASK);
116 paddr &= PAGE_MASK;
164 paddr &= PAGE_MASK;
H A Dcache.c50 return (mmusr & PAGE_MASK) | (vaddr & ~PAGE_MASK);
71 address &= PAGE_MASK;
/linux-master/arch/sh/mm/
H A Dtlbflush_32.c25 page &= PAGE_MASK;
60 start &= PAGE_MASK;
62 end &= PAGE_MASK;
93 start &= PAGE_MASK;
95 end &= PAGE_MASK;
/linux-master/arch/arc/include/asm/
H A Dpgtable-levels.h108 #define p4d_bad(x) ((p4d_val(x) & ~PAGE_MASK))
111 #define p4d_pgtable(p4d) ((pud_t *)(p4d_val(p4d) & PAGE_MASK))
130 #define pud_bad(x) ((pud_val(x) & ~PAGE_MASK))
133 #define pud_pgtable(pud) ((pmd_t *)(pud_val(pud) & PAGE_MASK))
157 #define pmd_bad(x) ((pmd_val(x) & ~PAGE_MASK))
160 #define pmd_page_vaddr(pmd) (pmd_val(pmd) & PAGE_MASK)
161 #define pmd_pfn(pmd) ((pmd_val(pmd) & PAGE_MASK) >> PAGE_SHIFT)

Completed in 249 milliseconds

1234567891011>>