PAGE_SHIFT 241 arch/alpha/include/asm/mmu_context.h = ((unsigned long)mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; PAGE_SHIFT 255 arch/alpha/include/asm/mmu_context.h = ((unsigned long)mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; PAGE_SHIFT 39 arch/alpha/include/asm/mmzone.h (((p) >> PAGE_SHIFT) - PLAT_NODE_DATA(n)->gendata.node_start_pfn) PAGE_SHIFT 45 arch/alpha/include/asm/mmzone.h temp = p >> PAGE_SHIFT; PAGE_SHIFT 68 arch/alpha/include/asm/mmzone.h << PAGE_SHIFT)) PAGE_SHIFT 73 arch/alpha/include/asm/mmzone.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 95 arch/alpha/include/asm/mmzone.h kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \ PAGE_SHIFT 102 arch/alpha/include/asm/mmzone.h (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 104 arch/alpha/include/asm/mmzone.h #define pfn_to_nid(pfn) pa_to_nid(((u64)(pfn) << PAGE_SHIFT)) PAGE_SHIFT 109 arch/alpha/include/asm/mmzone.h #define virt_addr_valid(kaddr) pfn_valid((__pa(kaddr) >> PAGE_SHIFT)) PAGE_SHIFT 10 arch/alpha/include/asm/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 87 arch/alpha/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 90 arch/alpha/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 32 arch/alpha/include/asm/pgtable.h #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-3)) PAGE_SHIFT 37 arch/alpha/include/asm/pgtable.h #define PGDIR_SHIFT (PAGE_SHIFT + 2*(PAGE_SHIFT-3)) PAGE_SHIFT 45 arch/alpha/include/asm/pgtable.h #define PTRS_PER_PTE (1UL << (PAGE_SHIFT-3)) PAGE_SHIFT 46 arch/alpha/include/asm/pgtable.h #define PTRS_PER_PMD (1UL << (PAGE_SHIFT-3)) PAGE_SHIFT 47 arch/alpha/include/asm/pgtable.h #define PTRS_PER_PGD (1UL << (PAGE_SHIFT-3)) PAGE_SHIFT 52 arch/alpha/include/asm/pgtable.h #define PTRS_PER_PAGE (1UL << (PAGE_SHIFT-3)) PAGE_SHIFT 171 arch/alpha/include/asm/pgtable.h ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK) PAGE_SHIFT 194 arch/alpha/include/asm/pgtable.h #define KSEG_PFN (0xc0000000000UL >> PAGE_SHIFT) PAGE_SHIFT 196 arch/alpha/include/asm/pgtable.h ((((pfn) & KSEG_PFN) == (0x40000000000UL >> PAGE_SHIFT)) \ PAGE_SHIFT 207 arch/alpha/include/asm/pgtable.h #define page_to_pa(page) (((page) - mem_map) << PAGE_SHIFT) PAGE_SHIFT 227 arch/alpha/include/asm/pgtable.h { pmd_val(*pmdp) = _PAGE_TABLE | ((((unsigned long) ptep) - PAGE_OFFSET) << (32-PAGE_SHIFT)); } PAGE_SHIFT 230 arch/alpha/include/asm/pgtable.h { pgd_val(*pgdp) = _PAGE_TABLE | ((((unsigned long) pmdp) - PAGE_OFFSET) << (32-PAGE_SHIFT)); } PAGE_SHIFT 236 arch/alpha/include/asm/pgtable.h return ((pmd_val(pmd) & _PFN_MASK) >> (32-PAGE_SHIFT)) + PAGE_OFFSET; PAGE_SHIFT 245 arch/alpha/include/asm/pgtable.h { return PAGE_OFFSET + ((pgd_val(pgd) & _PFN_MASK) >> (32-PAGE_SHIFT)); } PAGE_SHIFT 315 arch/alpha/include/asm/pgtable.h + ((address >> PAGE_SHIFT) & (PTRS_PER_PAGE - 1)); PAGE_SHIFT 338 arch/alpha/kernel/core_cia.c pte = (virt_to_phys(ppte) >> (PAGE_SHIFT - 1)) | 1; PAGE_SHIFT 377 arch/alpha/kernel/core_cia.c pte0 = (virt_to_phys(page) >> (PAGE_SHIFT - 1)) | 1; PAGE_SHIFT 763 arch/alpha/kernel/core_cia.c } else if (max_low_pfn > (0x100000000UL >> PAGE_SHIFT)) { PAGE_SHIFT 204 arch/alpha/kernel/core_irongate.c unsigned long memtop = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 752 arch/alpha/kernel/core_marvel.c pfn = ptes[baddr >> PAGE_SHIFT]; PAGE_SHIFT 761 arch/alpha/kernel/core_marvel.c pfn << PAGE_SHIFT, PAGE_SHIFT 1051 arch/alpha/kernel/core_marvel.c pte = aper->arena->ptes[baddr >> PAGE_SHIFT]; PAGE_SHIFT 1056 arch/alpha/kernel/core_marvel.c return (pte >> 1) << PAGE_SHIFT; PAGE_SHIFT 523 arch/alpha/kernel/core_titan.c pfn = ptes[baddr >> PAGE_SHIFT]; PAGE_SHIFT 532 arch/alpha/kernel/core_titan.c pfn << PAGE_SHIFT, PAGE_SHIFT 712 arch/alpha/kernel/core_titan.c pte = aper->arena->ptes[baddr >> PAGE_SHIFT]; PAGE_SHIFT 718 arch/alpha/kernel/core_titan.c return (pte >> 1) << PAGE_SHIFT; PAGE_SHIFT 192 arch/alpha/kernel/osf_sys.c ret = ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); PAGE_SHIFT 29 arch/alpha/kernel/pci-sysfs.c vma->vm_pgoff += base >> PAGE_SHIFT; PAGE_SHIFT 44 arch/alpha/kernel/pci-sysfs.c size = ((pci_resource_len(pdev, num) - 1) >> (PAGE_SHIFT - shift)) + 1; PAGE_SHIFT 87 arch/alpha/kernel/pci-sysfs.c vma->vm_pgoff += bar.start >> (PAGE_SHIFT - (sparse ? 5 : 0)); PAGE_SHIFT 260 arch/alpha/kernel/pci-sysfs.c size = ((res_size - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 43 arch/alpha/kernel/pci_iommu.c return (paddr >> (PAGE_SHIFT-1)) | 1; PAGE_SHIFT 52 arch/alpha/kernel/pci_iommu.c unsigned long mem = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 143 arch/alpha/kernel/pci_iommu.c base = arena->dma_base >> PAGE_SHIFT; PAGE_SHIFT 146 arch/alpha/kernel/pci_iommu.c boundary_size >>= PAGE_SHIFT; PAGE_SHIFT 148 arch/alpha/kernel/pci_iommu.c boundary_size = 1UL << (32 - PAGE_SHIFT); PAGE_SHIFT 153 arch/alpha/kernel/pci_iommu.c nent = arena->size >> PAGE_SHIFT; PAGE_SHIFT 415 arch/alpha/kernel/pci_iommu.c dma_ofs = (dma_addr - arena->dma_base) >> PAGE_SHIFT; PAGE_SHIFT 800 arch/alpha/kernel/pci_iommu.c ofs = (addr - arena->dma_base) >> PAGE_SHIFT; PAGE_SHIFT 811 arch/alpha/kernel/pci_iommu.c if ((fend - arena->dma_base) >> PAGE_SHIFT >= arena->next_entry) PAGE_SHIFT 833 arch/alpha/kernel/pci_iommu.c __direct_map_base + (max_low_pfn << PAGE_SHIFT) - 1 <= mask)) PAGE_SHIFT 285 arch/alpha/kernel/setup.c return end >> PAGE_SHIFT; /* Return the PFN of the limit. */ PAGE_SHIFT 340 arch/alpha/kernel/setup.c cluster->numpages << PAGE_SHIFT); PAGE_SHIFT 359 arch/alpha/kernel/setup.c mem_size_limit = (32ul * 1024 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 364 arch/alpha/kernel/setup.c mem_size_limit << (PAGE_SHIFT - 10), PAGE_SHIFT 365 arch/alpha/kernel/setup.c max_low_pfn << (PAGE_SHIFT - 10)); PAGE_SHIFT 523 arch/alpha/kernel/setup.c get_mem_size_limit(p+9) << PAGE_SHIFT; PAGE_SHIFT 1256 arch/alpha/kernel/setup.c if (maxsize > (max_low_pfn + 1) << PAGE_SHIFT) PAGE_SHIFT 1257 arch/alpha/kernel/setup.c maxsize = 1 << (ilog2(max_low_pfn + 1) + PAGE_SHIFT); PAGE_SHIFT 213 arch/alpha/kernel/sys_nautilus.c unsigned long memtop = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 51 arch/alpha/mm/fault.c pcb->ptbr = ((unsigned long) next_mm->pgd - IDENT_ADDR) >> PAGE_SHIFT; PAGE_SHIFT 110 arch/alpha/mm/init.c newptbr = ((unsigned long) swapper_pg_dir - PAGE_OFFSET) >> PAGE_SHIFT; PAGE_SHIFT 203 arch/alpha/mm/init.c console_remap_vm.size = nr_pages << PAGE_SHIFT; PAGE_SHIFT 211 arch/alpha/mm/init.c unsigned long pfn = crb->map[i].pa >> PAGE_SHIFT; PAGE_SHIFT 245 arch/alpha/mm/init.c dma_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; PAGE_SHIFT 69 arch/alpha/mm/numa.c node_pfn_start = (node_mem_start(nid)) >> PAGE_SHIFT; PAGE_SHIFT 70 arch/alpha/mm/numa.c node_pfn_end = node_pfn_start + (node_mem_size(nid) >> PAGE_SHIFT); PAGE_SHIFT 116 arch/alpha/mm/numa.c mem_size_limit << (PAGE_SHIFT - 10), PAGE_SHIFT 117 arch/alpha/mm/numa.c node_max_pfn << (PAGE_SHIFT - 10)); PAGE_SHIFT 133 arch/alpha/mm/numa.c node_data[nid] = (pg_data_t *)(__va(node_min_pfn << PAGE_SHIFT)); PAGE_SHIFT 148 arch/alpha/mm/numa.c (node_max_pfn - node_min_pfn) << PAGE_SHIFT); PAGE_SHIFT 216 arch/alpha/mm/numa.c dma_local_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; PAGE_SHIFT 126 arch/arc/include/asm/arcregs.h #define PAGES_TO_KB(n_pages) ((n_pages) << (PAGE_SHIFT - 10)) PAGE_SHIFT 87 arch/arc/include/asm/cacheflush.h #define CACHE_COLOR(addr) (((unsigned long)(addr) >> (PAGE_SHIFT)) & CACHE_COLORS_MSK) PAGE_SHIFT 17 arch/arc/include/asm/highmem.h #define KM_TYPE_NR ((FIXMAP_SIZE >> PAGE_SHIFT)/NR_CPUS) PAGE_SHIFT 18 arch/arc/include/asm/highmem.h #define FIXMAP_ADDR(nr) (FIXMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 23 arch/arc/include/asm/highmem.h #define LAST_PKMAP (PKMAP_SIZE >> PAGE_SHIFT) PAGE_SHIFT 25 arch/arc/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 26 arch/arc/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 42 arch/arc/include/asm/hugepage.h #define pfn_pmd(pfn, prot) (__pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) PAGE_SHIFT 51 arch/arc/include/asm/io.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 83 arch/arc/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 215 arch/arc/include/asm/pgtable.h #define BITS_FOR_PTE (PGDIR_SHIFT - PAGE_SHIFT) PAGE_SHIFT 284 arch/arc/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 285 arch/arc/include/asm/pgtable.h #define __pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 25 arch/arc/include/asm/thread_info.h #define THREAD_SHIFT (PAGE_SHIFT << THREAD_SIZE_ORDER) PAGE_SHIFT 31 arch/arc/include/uapi/asm/page.h #define PAGE_SIZE _BITUL(PAGE_SHIFT) /* Default 8K */ PAGE_SHIFT 278 arch/arc/mm/cache.c paddr |= (vaddr >> PAGE_SHIFT) & 0x1F; PAGE_SHIFT 861 arch/arc/mm/cache.c unsigned long vaddr = page->index << PAGE_SHIFT; PAGE_SHIFT 980 arch/arc/mm/cache.c phy = (pfn << PAGE_SHIFT) + off; PAGE_SHIFT 1043 arch/arc/mm/cache.c phys_addr_t paddr = pfn << PAGE_SHIFT; PAGE_SHIFT 182 arch/arc/mm/init.c high_memory = (void *)(min_high_pfn << PAGE_SHIFT); PAGE_SHIFT 19 arch/arc/mm/mmap.c (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1))) PAGE_SHIFT 49 arch/arc/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) PAGE_SHIFT 74 arch/arc/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 206 arch/arm/include/asm/assembler.h ARM( mov \rd, sp, lsr #THREAD_SIZE_ORDER + PAGE_SHIFT ) PAGE_SHIFT 208 arch/arm/include/asm/assembler.h THUMB( lsr \rd, \rd, #THREAD_SIZE_ORDER + PAGE_SHIFT ) PAGE_SHIFT 209 arch/arm/include/asm/assembler.h mov \rd, \rd, lsl #THREAD_SIZE_ORDER + PAGE_SHIFT PAGE_SHIFT 17 arch/arm/include/asm/cacheflush.h #define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT) PAGE_SHIFT 10 arch/arm/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 11 arch/arm/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 76 arch/arm/include/asm/kexec.h return page_to_pfn(page) + (arch_phys_to_idmap_offset >> PAGE_SHIFT); PAGE_SHIFT 82 arch/arm/include/asm/kexec.h return pfn_to_page(boot_pfn - (arch_phys_to_idmap_offset >> PAGE_SHIFT)); PAGE_SHIFT 183 arch/arm/include/asm/memory.h #define PHYS_OFFSET ((phys_addr_t)__pv_phys_pfn_offset << PAGE_SHIFT) PAGE_SHIFT 245 arch/arm/include/asm/memory.h #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) PAGE_SHIFT 260 arch/arm/include/asm/memory.h ((((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT) + \ PAGE_SHIFT 297 arch/arm/include/asm/memory.h #define pfn_to_kaddr(pfn) __va((phys_addr_t)(pfn) << PAGE_SHIFT) PAGE_SHIFT 12 arch/arm/include/asm/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 13 arch/arm/include/asm/page.h #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) PAGE_SHIFT 58 arch/arm/include/asm/pgtable-3level.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 235 arch/arm/include/asm/pgtable-3level.h #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT) PAGE_SHIFT 236 arch/arm/include/asm/pgtable-3level.h #define pfn_pmd(pfn,prot) (__pmd(((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot))) PAGE_SHIFT 204 arch/arm/include/asm/pgtable.h #define pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 211 arch/arm/include/asm/pgtable.h #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) PAGE_SHIFT 380 arch/arm/kernel/process.c last = TASK_SIZE - (npages << PAGE_SHIFT); PAGE_SHIFT 390 arch/arm/kernel/process.c slots = ((last - first) >> PAGE_SHIFT) + 1; PAGE_SHIFT 394 arch/arm/kernel/process.c addr = first + (offset << PAGE_SHIFT); PAGE_SHIFT 435 arch/arm/kernel/process.c addr = get_unmapped_area(NULL, hint, npages << PAGE_SHIFT, 0, 0); PAGE_SHIFT 978 arch/arm/kernel/setup.c return total << PAGE_SHIFT; PAGE_SHIFT 55 arch/arm/kernel/vdso.c vdso_size = (vdso_total_pages - 1) << PAGE_SHIFT; PAGE_SHIFT 198 arch/arm/kernel/vdso.c text_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; PAGE_SHIFT 257 arch/arm/kernel/vdso.c len = (vdso_total_pages - 1) << PAGE_SHIFT; PAGE_SHIFT 239 arch/arm/mach-integrator/impd1.c start = vma->vm_pgoff + (fb->fb.fix.smem_start >> PAGE_SHIFT); PAGE_SHIFT 54 arch/arm/mm/cache-feroceon-l2.c void *vaddr = kmap_atomic_pfn(paddr >> PAGE_SHIFT); PAGE_SHIFT 82 arch/arm/mm/cache-feroceon-l2.c BUG_ON((start ^ end) >> PAGE_SHIFT); PAGE_SHIFT 113 arch/arm/mm/cache-feroceon-l2.c BUG_ON((start ^ end) >> PAGE_SHIFT); PAGE_SHIFT 70 arch/arm/mm/cache-xsc3l2.c unsigned long pa_offset = pa << (32 - PAGE_SHIFT); PAGE_SHIFT 71 arch/arm/mm/cache-xsc3l2.c if (unlikely(pa_offset < (prev_va << (32 - PAGE_SHIFT)))) { PAGE_SHIFT 78 arch/arm/mm/cache-xsc3l2.c va = (unsigned long)kmap_atomic_pfn(pa >> PAGE_SHIFT); PAGE_SHIFT 80 arch/arm/mm/cache-xsc3l2.c return va + (pa_offset >> (32 - PAGE_SHIFT)); PAGE_SHIFT 87 arch/arm/mm/copypage-v6.c kfrom = COPYPAGE_V6_FROM + (offset << PAGE_SHIFT); PAGE_SHIFT 88 arch/arm/mm/copypage-v6.c kto = COPYPAGE_V6_TO + (offset << PAGE_SHIFT); PAGE_SHIFT 105 arch/arm/mm/copypage-v6.c unsigned long to = COPYPAGE_V6_TO + (CACHE_COLOUR(vaddr) << PAGE_SHIFT); PAGE_SHIFT 313 arch/arm/mm/dma-mapping.c for (p = page + (size >> PAGE_SHIFT), e = page + (1 << order); p < e; p++) PAGE_SHIFT 326 arch/arm/mm/dma-mapping.c struct page *e = page + (size >> PAGE_SHIFT); PAGE_SHIFT 365 arch/arm/mm/dma-mapping.c atomic_pool = gen_pool_create(PAGE_SHIFT, -1); PAGE_SHIFT 551 arch/arm/mm/dma-mapping.c size_t count = size >> PAGE_SHIFT; PAGE_SHIFT 589 arch/arm/mm/dma-mapping.c dma_release_from_contiguous(dev, page, size >> PAGE_SHIFT); PAGE_SHIFT 793 arch/arm/mm/dma-mapping.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 1146 arch/arm/mm/dma-mapping.c size_t mapping_size = mapping->bits << PAGE_SHIFT; PAGE_SHIFT 1154 arch/arm/mm/dma-mapping.c count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 1193 arch/arm/mm/dma-mapping.c iova += start << PAGE_SHIFT; PAGE_SHIFT 1202 arch/arm/mm/dma-mapping.c size_t mapping_size = mapping->bits << PAGE_SHIFT; PAGE_SHIFT 1215 arch/arm/mm/dma-mapping.c start = (addr - bitmap_base) >> PAGE_SHIFT; PAGE_SHIFT 1226 arch/arm/mm/dma-mapping.c count = size >> PAGE_SHIFT; PAGE_SHIFT 1241 arch/arm/mm/dma-mapping.c int count = size >> PAGE_SHIFT; PAGE_SHIFT 1330 arch/arm/mm/dma-mapping.c int count = size >> PAGE_SHIFT; PAGE_SHIFT 1353 arch/arm/mm/dma-mapping.c unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 1373 arch/arm/mm/dma-mapping.c len = (j - i) << PAGE_SHIFT; PAGE_SHIFT 1527 arch/arm/mm/dma-mapping.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 1602 arch/arm/mm/dma-mapping.c unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 1634 arch/arm/mm/dma-mapping.c for (count = 0, s = sg; count < (size >> PAGE_SHIFT); s = sg_next(s)) { PAGE_SHIFT 1646 arch/arm/mm/dma-mapping.c count += len >> PAGE_SHIFT; PAGE_SHIFT 2074 arch/arm/mm/dma-mapping.c unsigned int bits = size >> PAGE_SHIFT; PAGE_SHIFT 54 arch/arm/mm/fault-armv.c outer_flush_range((pfn << PAGE_SHIFT), PAGE_SHIFT 55 arch/arm/mm/fault-armv.c (pfn << PAGE_SHIFT) + PAGE_SIZE); PAGE_SHIFT 138 arch/arm/mm/fault-armv.c pgoff = vma->vm_pgoff + ((addr - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 156 arch/arm/mm/fault-armv.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 83 arch/arm/mm/fault.c if (PageHighMem(pfn_to_page(pmd_val(*pmd) >> PAGE_SHIFT))) PAGE_SHIFT 40 arch/arm/mm/flush.c unsigned long to = FLUSH_ALIAS_START + (CACHE_COLOUR(vaddr) << PAGE_SHIFT); PAGE_SHIFT 54 arch/arm/mm/flush.c unsigned long va = FLUSH_ALIAS_START + (CACHE_COLOUR(vaddr) << PAGE_SHIFT); PAGE_SHIFT 234 arch/arm/mm/flush.c page->index << PAGE_SHIFT); PAGE_SHIFT 262 arch/arm/mm/flush.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 116 arch/arm/mm/init.c arm_dma_pfn_limit = arm_dma_limit >> PAGE_SHIFT; PAGE_SHIFT 169 arch/arm/mm/init.c arm_dma_zone_size >> PAGE_SHIFT); PAGE_SHIFT 293 arch/arm/mm/init.c early_memtest((phys_addr_t)min_low_pfn << PAGE_SHIFT, PAGE_SHIFT 294 arch/arm/mm/init.c (phys_addr_t)max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 207 arch/arm/mm/ioremap.c pfn += SZ_1M >> PAGE_SHIFT; PAGE_SHIFT 209 arch/arm/mm/ioremap.c pfn += SZ_1M >> PAGE_SHIFT; PAGE_SHIFT 242 arch/arm/mm/ioremap.c super_pmd_val |= ((pfn >> (32 - PAGE_SHIFT)) & 0xf) << 20; PAGE_SHIFT 253 arch/arm/mm/ioremap.c pfn += SUPERSECTION_SIZE >> PAGE_SHIFT; PAGE_SHIFT 90 arch/arm/mm/mm.h #define arm_dma_pfn_limit (~0ul >> PAGE_SHIFT) PAGE_SHIFT 18 arch/arm/mm/mmap.c (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1))) PAGE_SHIFT 51 arch/arm/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) PAGE_SHIFT 76 arch/arm/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 105 arch/arm/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) PAGE_SHIFT 127 arch/arm/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 166 arch/arm/mm/mmap.c return (pfn + (size >> PAGE_SHIFT)) <= (1 + (PHYS_MASK >> PAGE_SHIFT)); PAGE_SHIFT 182 arch/arm/mm/mmap.c if (iomem_is_exclusive(pfn << PAGE_SHIFT)) PAGE_SHIFT 423 arch/arm/mm/mmu.c pfn_pte(phys >> PAGE_SHIFT, prot)); PAGE_SHIFT 887 arch/arm/mm/mmu.c phys |= (((md->pfn >> (32 - PAGE_SHIFT)) & 0xF) << 20); PAGE_SHIFT 187 arch/arm/mm/nommu.c if (pfn >= (0x100000000ULL >> PAGE_SHIFT)) PAGE_SHIFT 189 arch/arm/mm/nommu.c return (void __iomem *) (offset + (pfn << PAGE_SHIFT)); PAGE_SHIFT 167 arch/arm64/include/asm/elf.h 0x7ff >> (PAGE_SHIFT - 12) : \ PAGE_SHIFT 168 arch/arm64/include/asm/elf.h 0x3ffff >> (PAGE_SHIFT - 12)) PAGE_SHIFT 170 arch/arm64/include/asm/elf.h #define STACK_RND_MASK (0x3ffff >> (PAGE_SHIFT - 12)) PAGE_SHIFT 95 arch/arm64/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 104 arch/arm64/include/asm/kernel-pgtable.h #define SWAPPER_BLOCK_SHIFT PAGE_SHIFT PAGE_SHIFT 257 arch/arm64/include/asm/kvm_arm.h #define ARM64_VTTBR_X(ipa, levels) ((ipa) - ((levels) * (PAGE_SHIFT - 3))) PAGE_SHIFT 37 arch/arm64/include/asm/memory.h >> (PAGE_SHIFT - STRUCT_PAGE_MAX_SHIFT)) PAGE_SHIFT 99 arch/arm64/include/asm/memory.h #if defined(CONFIG_VMAP_STACK) && (MIN_THREAD_SHIFT < PAGE_SHIFT) PAGE_SHIFT 100 arch/arm64/include/asm/memory.h #define THREAD_SHIFT PAGE_SHIFT PAGE_SHIFT 105 arch/arm64/include/asm/memory.h #if THREAD_SHIFT >= PAGE_SHIFT PAGE_SHIFT 106 arch/arm64/include/asm/memory.h #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 211 arch/arm64/include/asm/memory.h #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 308 arch/arm64/include/asm/memory.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 17 arch/arm64/include/asm/page-def.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 20 arch/arm64/include/asm/page-def.h #define CONT_SIZE (_AC(1, UL) << (CONT_SHIFT + PAGE_SHIFT)) PAGE_SHIFT 26 arch/arm64/include/asm/pgtable-hwdef.h #define ARM64_HW_PGTABLE_LEVELS(va_bits) (((va_bits) - 4) / (PAGE_SHIFT - 3)) PAGE_SHIFT 41 arch/arm64/include/asm/pgtable-hwdef.h #define ARM64_HW_PGTABLE_LEVEL_SHIFT(n) ((PAGE_SHIFT - 3) * (4 - (n)) + 3) PAGE_SHIFT 43 arch/arm64/include/asm/pgtable-hwdef.h #define PTRS_PER_PTE (1 << (PAGE_SHIFT - 3)) PAGE_SHIFT 102 arch/arm64/include/asm/pgtable-hwdef.h #define CONT_RANGE_OFFSET(addr) (((addr)>>PAGE_SHIFT)&(CONT_PTES-1)) PAGE_SHIFT 159 arch/arm64/include/asm/pgtable-hwdef.h #define PTE_ADDR_LOW (((_AT(pteval_t, 1) << (48 - PAGE_SHIFT)) - 1) << PAGE_SHIFT) PAGE_SHIFT 65 arch/arm64/include/asm/pgtable.h #define pte_pfn(pte) (__pte_to_phys(pte) >> PAGE_SHIFT) PAGE_SHIFT 67 arch/arm64/include/asm/pgtable.h __pte(__phys_to_pte_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 294 arch/arm64/include/asm/pgtable.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 387 arch/arm64/include/asm/pgtable.h #define pmd_pfn(pmd) ((__pmd_to_phys(pmd) & PMD_MASK) >> PAGE_SHIFT) PAGE_SHIFT 388 arch/arm64/include/asm/pgtable.h #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 399 arch/arm64/include/asm/pgtable.h #define pud_pfn(pud) ((__pud_to_phys(pud) & PUD_MASK) >> PAGE_SHIFT) PAGE_SHIFT 400 arch/arm64/include/asm/pgtable.h #define pfn_pud(pfn,prot) __pud(__phys_to_pud_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 499 arch/arm64/include/asm/pgtable.h #define pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 237 arch/arm64/include/asm/tlbflush.h for (addr = start; addr < end; addr += 1 << (PAGE_SHIFT - 12)) PAGE_SHIFT 50 arch/arm64/kernel/image.h #define __HEAD_FLAG_PAGE_SIZE ((PAGE_SHIFT - 10) / 2) PAGE_SHIFT 285 arch/arm64/kernel/machine_kexec.c kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); PAGE_SHIFT 295 arch/arm64/kernel/machine_kexec.c kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); PAGE_SHIFT 28 arch/arm64/kernel/sys.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); PAGE_SHIFT 62 arch/arm64/kernel/sys32.c off_4k >>= (PAGE_SHIFT - 12); PAGE_SHIFT 479 arch/arm64/kernel/traps.c val |= (PAGE_SHIFT - 2) & CTR_IMINLINE_MASK; PAGE_SHIFT 114 arch/arm64/kernel/vdso.c PAGE_SHIFT; PAGE_SHIFT 147 arch/arm64/kernel/vdso.c vdso_text_len = vdso_lookup[arch_index].vdso_pages << PAGE_SHIFT; PAGE_SHIFT 363 arch/arm64/kvm/reset.c va_max = PGDIR_SHIFT + PAGE_SHIFT - 3; PAGE_SHIFT 603 arch/arm64/mm/fault.c lsb = PAGE_SHIFT; PAGE_SHIFT 195 arch/arm64/mm/hugetlbpage.c dpfn = pgsize >> PAGE_SHIFT; PAGE_SHIFT 383 arch/arm64/mm/hugetlbpage.c dpfn = pgsize >> PAGE_SHIFT; PAGE_SHIFT 419 arch/arm64/mm/hugetlbpage.c dpfn = pgsize >> PAGE_SHIFT; PAGE_SHIFT 451 arch/arm64/mm/hugetlbpage.c hugetlb_add_hstate(ilog2(size) - PAGE_SHIFT); PAGE_SHIFT 243 arch/arm64/mm/init.c phys_addr_t addr = pfn << PAGE_SHIFT; PAGE_SHIFT 245 arch/arm64/mm/init.c if ((addr >> PAGE_SHIFT) != pfn) PAGE_SHIFT 326 arch/arm64/mm/init.c vmemmap = ((struct page *)VMEMMAP_START - (memstart_addr >> PAGE_SHIFT)); PAGE_SHIFT 334 arch/arm64/mm/init.c vmemmap += (_PAGE_OFFSET(48) - _PAGE_OFFSET(52)) >> PAGE_SHIFT; PAGE_SHIFT 443 arch/arm64/mm/init.c early_memtest(min << PAGE_SHIFT, max << PAGE_SHIFT); PAGE_SHIFT 537 arch/arm64/mm/init.c max_pfn > (arm64_dma_phys_limit >> PAGE_SHIFT)) PAGE_SHIFT 48 arch/arm64/mm/mmap.c return !(((pfn << PAGE_SHIFT) + size) & ~PHYS_MASK); PAGE_SHIFT 63 arch/arm64/mm/mmap.c if (iomem_is_exclusive(pfn << PAGE_SHIFT)) PAGE_SHIFT 177 arch/arm64/mm/mmu.c pte_phys = pgtable_alloc(PAGE_SHIFT); PAGE_SHIFT 276 arch/arm64/mm/mmu.c if (PAGE_SHIFT != 12) PAGE_SHIFT 386 arch/arm64/mm/mmu.c if (shift == PAGE_SHIFT) PAGE_SHIFT 875 arch/arm64/mm/mmu.c set_pte(ptep, pfn_pte(phys >> PAGE_SHIFT, flags)); PAGE_SHIFT 1064 arch/arm64/mm/mmu.c return __add_pages(nid, start >> PAGE_SHIFT, size >> PAGE_SHIFT, PAGE_SHIFT 1070 arch/arm64/mm/mmu.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1071 arch/arm64/mm/mmu.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 238 arch/arm64/mm/numa.c tnid = early_pfn_to_nid(nd_pa >> PAGE_SHIFT); PAGE_SHIFT 52 arch/c6x/mm/dma-coherent.c return dma_base + (pos << PAGE_SHIFT); PAGE_SHIFT 58 arch/c6x/mm/dma-coherent.c u32 pos = (addr - dma_base) >> PAGE_SHIFT; PAGE_SHIFT 84 arch/c6x/mm/dma-coherent.c order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); PAGE_SHIFT 110 arch/c6x/mm/dma-coherent.c order = get_count_order(((size - 1) >> PAGE_SHIFT) + 1); PAGE_SHIFT 131 arch/c6x/mm/dma-coherent.c dma_pages = dma_size >> PAGE_SHIFT; PAGE_SHIFT 52 arch/c6x/mm/init.c zones_size[ZONE_NORMAL] = (memory_end - PAGE_OFFSET) >> PAGE_SHIFT; PAGE_SHIFT 54 arch/c6x/mm/init.c __pa(PAGE_OFFSET) >> PAGE_SHIFT; PAGE_SHIFT 14 arch/csky/abiv1/mmap.c (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1))) PAGE_SHIFT 44 arch/csky/abiv1/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) PAGE_SHIFT 69 arch/csky/abiv1/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 204 arch/csky/abiv2/inc/abi/entry.h bmaski r7, (PAGE_SHIFT + 1) /* r7 = 0x1fff */ PAGE_SHIFT 22 arch/csky/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 30 arch/csky/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 31 arch/csky/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 14 arch/csky/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 18 arch/csky/include/asm/page.h #define THREAD_SHIFT (PAGE_SHIFT + 1) PAGE_SHIFT 37 arch/csky/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 38 arch/csky/include/asm/page.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 50 arch/csky/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 41 arch/csky/include/asm/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 46 arch/csky/include/asm/pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 51 arch/csky/include/asm/pgtable.h #define pte_pfn(x) ((unsigned long)((x).pte_low >> PAGE_SHIFT)) PAGE_SHIFT 52 arch/csky/include/asm/pgtable.h #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PAGE_SHIFT) \ PAGE_SHIFT 71 arch/csky/include/asm/pgtable.h #define __mk_pte(page_nr, pgprot) __pte(((page_nr) << PAGE_SHIFT) | \ PAGE_SHIFT 297 arch/csky/include/asm/pgtable.h ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); PAGE_SHIFT 38 arch/csky/include/asm/thread_info.h #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 29 arch/csky/kernel/syscall.c offset >> (PAGE_SHIFT - 12)); PAGE_SHIFT 48 arch/csky/mm/init.c high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 57 arch/csky/mm/init.c if (!memblock_is_reserved(tmp << PAGE_SHIFT)) PAGE_SHIFT 8 arch/h8300/include/asm/page.h #define MAP_NR(addr) (((uintptr_t)(addr)-PAGE_OFFSET) >> PAGE_SHIFT) PAGE_SHIFT 88 arch/h8300/mm/init.c zones_size[ZONE_NORMAL] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT; PAGE_SHIFT 38 arch/hexagon/include/asm/mem-layout.h #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 76 arch/hexagon/include/asm/mem-layout.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 86 arch/hexagon/include/asm/mem-layout.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 87 arch/hexagon/include/asm/mem-layout.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 49 arch/hexagon/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT) PAGE_SHIFT 53 arch/hexagon/include/asm/page.h #define PAGE_SIZE (1UL << PAGE_SHIFT) PAGE_SHIFT 54 arch/hexagon/include/asm/page.h #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) PAGE_SHIFT 100 arch/hexagon/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 128 arch/hexagon/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 130 arch/hexagon/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 131 arch/hexagon/include/asm/page.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 56 arch/hexagon/include/asm/pgalloc.h set_pmd(pmd, __pmd(((unsigned long)page_to_pfn(pte) << PAGE_SHIFT) | PAGE_SHIFT 274 arch/hexagon/include/asm/pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 395 arch/hexagon/include/asm/pgtable.h #define pfn_pte(pfn, pgprot) __pte((pfn << PAGE_SHIFT) | pgprot_val(pgprot)) PAGE_SHIFT 398 arch/hexagon/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 432 arch/hexagon/include/asm/pgtable.h #define __pte_offset(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 21 arch/hexagon/include/asm/thread_info.h #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 28 arch/hexagon/kernel/asm-offsets.c DEFINE(_PAGE_SHIFT, PAGE_SHIFT); PAGE_SHIFT 31 arch/hexagon/kernel/dma.c coherent_pool = gen_pool_create(PAGE_SHIFT, -1); PAGE_SHIFT 112 arch/hexagon/mm/init.c high_memory = (void *)((bootmem_lastpg + 1) << PAGE_SHIFT); PAGE_SHIFT 158 arch/hexagon/mm/init.c bootmem_lastpg = PFN_DOWN((bootmem_lastpg << PAGE_SHIFT) & PAGE_SHIFT 162 arch/hexagon/mm/init.c (bootmem_lastpg - ARCH_PFN_OFFSET) << PAGE_SHIFT); PAGE_SHIFT 166 arch/hexagon/mm/init.c (bootmem_startpg - ARCH_PFN_OFFSET) << PAGE_SHIFT); PAGE_SHIFT 197 arch/hexagon/mm/init.c segtable += (bootmem_lastpg-ARCH_PFN_OFFSET)>>(22-PAGE_SHIFT); PAGE_SHIFT 2004 arch/ia64/hp/common/sba_iommu.c iovp_shift = min(PAGE_SHIFT, 16); PAGE_SHIFT 144 arch/ia64/include/asm/mmu_context.h rr0 = (rid << 8) | (PAGE_SHIFT << 2) | 1; PAGE_SHIFT 23 arch/ia64/include/asm/mmzone.h int nid = paddr_to_nid(pfn << PAGE_SHIFT); PAGE_SHIFT 42 arch/ia64/include/asm/page.h #define PAGE_SIZE (__IA64_UL_CONST(1) << PAGE_SHIFT) PAGE_SHIFT 96 arch/ia64/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 125 arch/ia64/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 126 arch/ia64/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 127 arch/ia64/include/asm/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 152 arch/ia64/include/asm/page.h | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT))) PAGE_SHIFT 153 arch/ia64/include/asm/page.h # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 164 arch/ia64/include/asm/page.h order = order - PAGE_SHIFT - 0xffff + 1; PAGE_SHIFT 85 arch/ia64/include/asm/pgtable.h #define PTRS_PER_PTD_SHIFT (PAGE_SHIFT-3) PAGE_SHIFT 98 arch/ia64/include/asm/pgtable.h #define PMD_SHIFT (PAGE_SHIFT + (PTRS_PER_PTD_SHIFT)) PAGE_SHIFT 227 arch/ia64/include/asm/pgtable.h # define VMALLOC_END_INIT (RGN_BASE(RGN_GATE) + (1UL << (4*PAGE_SHIFT - 9))) PAGE_SHIFT 232 arch/ia64/include/asm/pgtable.h # define VMALLOC_END (RGN_BASE(RGN_GATE) + (1UL << (4*PAGE_SHIFT - 10))) PAGE_SHIFT 235 arch/ia64/include/asm/pgtable.h # define VMALLOC_END (RGN_BASE(RGN_GATE) + (1UL << (4*PAGE_SHIFT - 9))) PAGE_SHIFT 251 arch/ia64/include/asm/pgtable.h ({ pte_t __pte; pte_val(__pte) = ((pfn) << PAGE_SHIFT) | pgprot_val(pgprot); __pte; }) PAGE_SHIFT 254 arch/ia64/include/asm/pgtable.h #define pte_pfn(_pte) ((pte_val(_pte) & _PFN_MASK) >> PAGE_SHIFT) PAGE_SHIFT 367 arch/ia64/include/asm/pgtable.h return (region << (PAGE_SHIFT - 6)) | l1index; PAGE_SHIFT 402 arch/ia64/include/asm/pgtable.h #define pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 494 arch/ia64/include/asm/pgtable.h #define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3)) PAGE_SHIFT 14 arch/ia64/include/asm/sparsemem.h #if ((CONFIG_FORCE_MAX_ZONEORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS) PAGE_SHIFT 16 arch/ia64/include/asm/sparsemem.h #define SECTION_SIZE_BITS (CONFIG_FORCE_MAX_ZONEORDER - 1 + PAGE_SHIFT) PAGE_SHIFT 107 arch/ia64/include/asm/tlbflush.h ia64_ptcl(addr, (PAGE_SHIFT << 2)); PAGE_SHIFT 267 arch/ia64/include/asm/uaccess.h page = pfn_to_page(p >> PAGE_SHIFT); PAGE_SHIFT 42 arch/ia64/kernel/crash_dump.c vaddr = __va(pfn<<PAGE_SHIFT); PAGE_SHIFT 469 arch/ia64/kernel/efi.c pte_val(pfn_pte(__pa(pal_vaddr) >> PAGE_SHIFT, PAGE_KERNEL)), PAGE_SHIFT 869 arch/ia64/kernel/efi.c unsigned long phys_addr = pfn << PAGE_SHIFT; PAGE_SHIFT 898 arch/ia64/kernel/efi.c unsigned long phys_addr = pfn << PAGE_SHIFT; PAGE_SHIFT 123 arch/ia64/kernel/mca_drv.c if (!pfn_valid(paddr >> PAGE_SHIFT)) PAGE_SHIFT 127 arch/ia64/kernel/mca_drv.c p = pfn_to_page(paddr>>PAGE_SHIFT); PAGE_SHIFT 2179 arch/ia64/kernel/perfmon.c unsigned long pfn = ia64_tpa(buf) >> PAGE_SHIFT; PAGE_SHIFT 2271 arch/ia64/kernel/perfmon.c vma->vm_pgoff = vma->vm_start >> PAGE_SHIFT; PAGE_SHIFT 154 arch/ia64/kernel/sys_ia64.c addr = ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); PAGE_SHIFT 99 arch/ia64/kernel/uncached.c IA64_GRANULE_SHIFT-PAGE_SHIFT); PAGE_SHIFT 163 arch/ia64/kernel/uncached.c free_pages(c_addr, IA64_GRANULE_SHIFT-PAGE_SHIFT); PAGE_SHIFT 267 arch/ia64/kernel/uncached.c uncached_pools[nid].pool = gen_pool_create(PAGE_SHIFT, nid); PAGE_SHIFT 183 arch/ia64/mm/contig.c max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; PAGE_SHIFT 76 arch/ia64/mm/discontig.c epfn = GRANULEROUNDUP(end) >> PAGE_SHIFT; PAGE_SHIFT 77 arch/ia64/mm/discontig.c spfn = GRANULEROUNDDOWN(start) >> PAGE_SHIFT; PAGE_SHIFT 319 arch/ia64/mm/discontig.c spfn = start >> PAGE_SHIFT; PAGE_SHIFT 320 arch/ia64/mm/discontig.c epfn = (start + len) >> PAGE_SHIFT; PAGE_SHIFT 602 arch/ia64/mm/discontig.c max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; PAGE_SHIFT 100 arch/ia64/mm/hugetlbpage.c page += ((addr & ~HPAGE_MASK) >> PAGE_SHIFT); PAGE_SHIFT 182 arch/ia64/mm/hugetlbpage.c size >= (1UL << PAGE_SHIFT << MAX_ORDER)) { PAGE_SHIFT 325 arch/ia64/mm/init.c # define mapped_space_bits (3*(PAGE_SHIFT - pte_bits) + PAGE_SHIFT) PAGE_SHIFT 333 arch/ia64/mm/init.c # define vmlpt_bits (impl_va_bits - PAGE_SHIFT + pte_bits) PAGE_SHIFT 346 arch/ia64/mm/init.c if ((mapped_space_bits - PAGE_SHIFT > vmlpt_bits - pte_bits) || PAGE_SHIFT 437 arch/ia64/mm/init.c map_start = vmem_map + (__pa(start) >> PAGE_SHIFT); PAGE_SHIFT 438 arch/ia64/mm/init.c map_end = vmem_map + (__pa(end) >> PAGE_SHIFT); PAGE_SHIFT 475 arch/ia64/mm/init.c set_pte(pte, pfn_pte(__pa(page) >> PAGE_SHIFT, PAGE_SHIFT 501 arch/ia64/mm/init.c map_start = vmem_map + (__pa(start) >> PAGE_SHIFT); PAGE_SHIFT 502 arch/ia64/mm/init.c map_end = vmem_map + (__pa(end) >> PAGE_SHIFT); PAGE_SHIFT 595 arch/ia64/mm/init.c pfn_start = (PAGE_ALIGN(__pa(start))) >> PAGE_SHIFT; PAGE_SHIFT 596 arch/ia64/mm/init.c pfn_end = (PAGE_ALIGN(__pa(end - 1))) >> PAGE_SHIFT; PAGE_SHIFT 598 arch/ia64/mm/init.c pfn_start = GRANULEROUNDDOWN(__pa(start)) >> PAGE_SHIFT; PAGE_SHIFT 599 arch/ia64/mm/init.c pfn_end = GRANULEROUNDUP(__pa(end - 1)) >> PAGE_SHIFT; PAGE_SHIFT 675 arch/ia64/mm/init.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 676 arch/ia64/mm/init.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 690 arch/ia64/mm/init.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 691 arch/ia64/mm/init.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 463 arch/ia64/pci/pci.c vma->vm_pgoff += (unsigned long)addr >> PAGE_SHIFT; PAGE_SHIFT 191 arch/m68k/include/asm/mcf_pgtable.h #define pte_pagenr(pte) ((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT) PAGE_SHIFT 353 arch/m68k/include/asm/mcf_pgtable.h #define __pte_offset(address) ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 399 arch/m68k/include/asm/mcf_pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 404 arch/m68k/include/asm/mcf_pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 405 arch/m68k/include/asm/mcf_pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 135 arch/m68k/include/asm/motorola_pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 136 arch/m68k/include/asm/motorola_pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 154 arch/m68k/include/asm/motorola_pgtable.h #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT)) PAGE_SHIFT 220 arch/m68k/include/asm/motorola_pgtable.h return (pte_t *)__pmd_page(*pmdp) + ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); PAGE_SHIFT 223 arch/m68k/include/asm/motorola_pgtable.h #define pte_offset_map(pmdp,address) ((pte_t *)__pmd_page(*pmdp) + (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) PAGE_SHIFT 15 arch/m68k/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 52 arch/m68k/include/asm/page.h #define __phys_to_pfn(paddr) ((unsigned long)((paddr) >> PAGE_SHIFT)) PAGE_SHIFT 124 arch/m68k/include/asm/page_mm.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 125 arch/m68k/include/asm/page_mm.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 23 arch/m68k/include/asm/page_no.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 24 arch/m68k/include/asm/page_no.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 26 arch/m68k/include/asm/page_no.h #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) PAGE_SHIFT 27 arch/m68k/include/asm/page_no.h #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)) PAGE_SHIFT 119 arch/m68k/include/asm/sun3_pgtable.h ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT)) PAGE_SHIFT 204 arch/m68k/include/asm/sun3_pgtable.h #define pte_index(address) ((address >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) PAGE_SHIFT 14 arch/m68k/include/asm/thread_info.h #if PAGE_SHIFT < 13 PAGE_SHIFT 34 arch/m68k/include/asm/virtconvert.h __pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT)) PAGE_SHIFT 36 arch/m68k/include/asm/virtconvert.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 181 arch/m68k/kernel/sys_m68k.c for (len >>= PAGE_SHIFT; len--; addr += PAGE_SIZE) PAGE_SHIFT 344 arch/m68k/kernel/sys_m68k.c for (len >>= PAGE_SHIFT; len--; addr += PAGE_SIZE) PAGE_SHIFT 106 arch/m68k/mm/init.c zones_size[ZONE_DMA] = (end_mem - PAGE_OFFSET) >> PAGE_SHIFT; PAGE_SHIFT 262 arch/m68k/mm/motorola.c min_low_pfn = availmem >> PAGE_SHIFT; PAGE_SHIFT 263 arch/m68k/mm/motorola.c max_pfn = max_low_pfn = max_addr >> PAGE_SHIFT; PAGE_SHIFT 300 arch/m68k/mm/motorola.c zones_size[ZONE_DMA] = m68k_memory[i].size >> PAGE_SHIFT; PAGE_SHIFT 302 arch/m68k/mm/motorola.c m68k_memory[i].addr >> PAGE_SHIFT, NULL); PAGE_SHIFT 36 arch/m68k/mm/sun3kmap.c ptep = pfn_pte(phys >> PAGE_SHIFT, PAGE_KERNEL); PAGE_SHIFT 92 arch/m68k/mm/sun3mmu.c zones_size[ZONE_DMA] = ((unsigned long)high_memory - PAGE_OFFSET) >> PAGE_SHIFT; PAGE_SHIFT 97 arch/m68k/mm/sun3mmu.c (__pa(PAGE_OFFSET) >> PAGE_SHIFT) + 1, NULL); PAGE_SHIFT 118 arch/m68k/sun3/config.c start_page = __pa(memory_start) >> PAGE_SHIFT; PAGE_SHIFT 119 arch/m68k/sun3/config.c max_pfn = num_pages = __pa(memory_end) >> PAGE_SHIFT; PAGE_SHIFT 36 arch/m68k/sun3/dvma.c if(ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] != pte) { PAGE_SHIFT 38 arch/m68k/sun3/dvma.c ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] = pte; PAGE_SHIFT 78 arch/m68k/sun3/mmu_emu.c val, (val & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT); PAGE_SHIFT 114 arch/m68k/sun3/mmu_emu.c val, (val & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT, flags, type); PAGE_SHIFT 93 arch/microblaze/include/asm/cacheflush.h flush_dcache_range(pfn << PAGE_SHIFT, (pfn << PAGE_SHIFT) + PAGE_SIZE); PAGE_SHIFT 61 arch/microblaze/include/asm/fixmap.h #define __FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 51 arch/microblaze/include/asm/highmem.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 52 arch/microblaze/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 33 arch/microblaze/include/asm/page.h #define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) PAGE_SHIFT 38 arch/microblaze/include/asm/page.h #define PTE_SHIFT (PAGE_SHIFT - 2) /* 1024 ptes per page */ PAGE_SHIFT 153 arch/microblaze/include/asm/page.h # define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)) PAGE_SHIFT 154 arch/microblaze/include/asm/page.h # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 155 arch/microblaze/include/asm/page.h # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 168 arch/microblaze/include/asm/page.h # define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 170 arch/microblaze/include/asm/page.h # define ARCH_PFN_OFFSET (memory_start >> PAGE_SHIFT) PAGE_SHIFT 142 arch/microblaze/include/asm/pgtable.h #define PMD_SHIFT (PAGE_SHIFT + PTE_SHIFT) PAGE_SHIFT 307 arch/microblaze/include/asm/pgtable.h ((pte_val(x) - memory_start) >> PAGE_SHIFT)) PAGE_SHIFT 308 arch/microblaze/include/asm/pgtable.h #define PFN_SHIFT_OFFSET (PAGE_SHIFT) PAGE_SHIFT 378 arch/microblaze/include/asm/pgtable.h pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \ PAGE_SHIFT 473 arch/microblaze/include/asm/pgtable.h #define pmd_page(pmd) (pfn_to_page(__pa(pmd_val(pmd)) >> PAGE_SHIFT)) PAGE_SHIFT 490 arch/microblaze/include/asm/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 43 arch/microblaze/kernel/sys_microblaze.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff >> PAGE_SHIFT); PAGE_SHIFT 54 arch/microblaze/kernel/sys_microblaze.c pgoff >> (PAGE_SHIFT - 12)); PAGE_SHIFT 78 arch/microblaze/mm/init.c if (!memblock_is_reserved(pfn << PAGE_SHIFT)) PAGE_SHIFT 161 arch/microblaze/mm/init.c min_low_pfn = memory_start >> PAGE_SHIFT; /* minimum for allocation */ PAGE_SHIFT 163 arch/microblaze/mm/init.c max_mapnr = memory_size >> PAGE_SHIFT; PAGE_SHIFT 164 arch/microblaze/mm/init.c max_low_pfn = ((u64)memory_start + (u64)lowmem_size) >> PAGE_SHIFT; PAGE_SHIFT 165 arch/microblaze/mm/init.c max_pfn = ((u64)memory_start + (u64)memory_size) >> PAGE_SHIFT; PAGE_SHIFT 178 arch/microblaze/mm/init.c memblock_set_node(start_pfn << PAGE_SHIFT, PAGE_SHIFT 179 arch/microblaze/mm/init.c (end_pfn - start_pfn) << PAGE_SHIFT, PAGE_SHIFT 148 arch/microblaze/mm/pgtable.c set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, PAGE_SHIFT 164 arch/microblaze/pci/pci-common.c vma->vm_pgoff += (ioaddr + hose->io_base_phys) >> PAGE_SHIFT; PAGE_SHIFT 180 arch/microblaze/pci/pci-common.c resource_size_t offset = ((resource_size_t)pfn) << PAGE_SHIFT; PAGE_SHIFT 309 arch/microblaze/pci/pci-common.c ((resource_size_t)vma->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 352 arch/microblaze/pci/pci-common.c vma->vm_pgoff = offset >> PAGE_SHIFT; PAGE_SHIFT 49 arch/mips/ar7/memory.c pages = memsize() >> PAGE_SHIFT; PAGE_SHIFT 50 arch/mips/ar7/memory.c add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT, BOOT_MEM_RAM); PAGE_SHIFT 96 arch/mips/include/asm/dma.h #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) PAGE_SHIFT 67 arch/mips/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 46 arch/mips/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 47 arch/mips/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 154 arch/mips/include/asm/io.h #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 286 arch/mips/include/asm/kvm_host.h #define TLB_LO_IDX(x, va) (((va) >> PAGE_SHIFT) & 1) PAGE_SHIFT 78 arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h #define MAX_DMA32_PFN (((1ULL << 32) - (1ULL << 28)) >> PAGE_SHIFT) PAGE_SHIFT 25 arch/mips/include/asm/mmzone.h #define pfn_to_nid(pfn) pa_to_nid((pfn) << PAGE_SHIFT) PAGE_SHIFT 35 arch/mips/include/asm/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 36 arch/mips/include/asm/page.h #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) PAGE_SHIFT 54 arch/mips/include/asm/page.h return (PAGE_SHIFT - 10) / 2; PAGE_SHIFT 62 arch/mips/include/asm/page.h #define HPAGE_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3) PAGE_SHIFT 65 arch/mips/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 219 arch/mips/include/asm/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 66 arch/mips/include/asm/pgtable-32.h # define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2 - 1) PAGE_SHIFT 68 arch/mips/include/asm/pgtable-32.h # define PGDIR_SHIFT (2 * PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2) PAGE_SHIFT 79 arch/mips/include/asm/pgtable-32.h # define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2 + 1) PAGE_SHIFT 81 arch/mips/include/asm/pgtable-32.h # define __PGD_ORDER (32 - 3 * PAGE_SHIFT + PGD_T_LOG2 + PTE_T_LOG2) PAGE_SHIFT 101 arch/mips/include/asm/pgtable-32.h #define PKMAP_END ((FIXADDR_START) & ~((LAST_PKMAP << PAGE_SHIFT)-1)) PAGE_SHIFT 188 arch/mips/include/asm/pgtable-32.h #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) PAGE_SHIFT 189 arch/mips/include/asm/pgtable-32.h #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) PAGE_SHIFT 214 arch/mips/include/asm/pgtable-32.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 46 arch/mips/include/asm/pgtable-64.h #define PGDIR_SHIFT (PAGE_SHIFT + PAGE_SHIFT + PTE_ORDER - 3) PAGE_SHIFT 50 arch/mips/include/asm/pgtable-64.h #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT + PTE_ORDER - 3)) PAGE_SHIFT 55 arch/mips/include/asm/pgtable-64.h # define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) PAGE_SHIFT 60 arch/mips/include/asm/pgtable-64.h #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) PAGE_SHIFT 63 arch/mips/include/asm/pgtable-64.h #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_ORDER - 3)) PAGE_SHIFT 222 arch/mips/include/asm/pgtable-64.h #define pgd_page(pgd) (pfn_to_page(pgd_phys(pgd) >> PAGE_SHIFT)) PAGE_SHIFT 314 arch/mips/include/asm/pgtable-64.h #define pte_pfn(x) ((unsigned long)((x).pte >> (PAGE_SHIFT + 2))) PAGE_SHIFT 315 arch/mips/include/asm/pgtable-64.h #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) PAGE_SHIFT 341 arch/mips/include/asm/pgtable-64.h #define pud_page(pud) (pfn_to_page(pud_phys(pud) >> PAGE_SHIFT)) PAGE_SHIFT 352 arch/mips/include/asm/pgtable-64.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 169 arch/mips/include/asm/pgtable-bits.h # define _PFN_SHIFT PAGE_SHIFT PAGE_SHIFT 172 arch/mips/include/asm/pgtable-bits.h # define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3) PAGE_SHIFT 96 arch/mips/include/asm/pgtable.h #define __pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 503 arch/mips/include/asm/pgtable.h phys_addr_t phys_addr_high = fixup_bigphys_addr(pfn << PAGE_SHIFT, size); PAGE_SHIFT 504 arch/mips/include/asm/pgtable.h return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot); PAGE_SHIFT 608 arch/mips/include/asm/pgtable.h return pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT); PAGE_SHIFT 9 arch/mips/include/asm/tlb.h (((base) + ((idx) << (PAGE_SHIFT + 1))) | \ PAGE_SHIFT 214 arch/mips/kernel/asm-offsets.c DEFINE(_PAGE_SHIFT, PAGE_SHIFT); PAGE_SHIFT 67 arch/mips/kernel/syscall.c offset >> PAGE_SHIFT); PAGE_SHIFT 78 arch/mips/kernel/syscall.c pgoff >> (PAGE_SHIFT - 12)); PAGE_SHIFT 157 arch/mips/kernel/vdso.c gic_pfn = virt_to_phys(mips_gic_base + MIPS_GIC_USER_OFS) >> PAGE_SHIFT; PAGE_SHIFT 167 arch/mips/kernel/vdso.c virt_to_phys(vdso_data) >> PAGE_SHIFT, PAGE_SHIFT 302 arch/mips/kvm/mmu.c start_gfn << PAGE_SHIFT, PAGE_SHIFT 303 arch/mips/kvm/mmu.c end_gfn << PAGE_SHIFT); PAGE_SHIFT 426 arch/mips/kvm/mmu.c start_gfn << PAGE_SHIFT, PAGE_SHIFT 427 arch/mips/kvm/mmu.c end_gfn << PAGE_SHIFT); PAGE_SHIFT 464 arch/mips/kvm/mmu.c start_gfn << PAGE_SHIFT, PAGE_SHIFT 465 arch/mips/kvm/mmu.c end_gfn << PAGE_SHIFT); PAGE_SHIFT 490 arch/mips/kvm/mmu.c (memslot->npages << PAGE_SHIFT)); PAGE_SHIFT 526 arch/mips/kvm/mmu.c gpa_t gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 574 arch/mips/kvm/mmu.c gpa_t gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 615 arch/mips/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 692 arch/mips/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 1019 arch/mips/kvm/mmu.c idx = (badvaddr >> PAGE_SHIFT) & 1; PAGE_SHIFT 112 arch/mips/loongson64/common/mem.c unsigned long offset = pfn << PAGE_SHIFT; PAGE_SHIFT 137 arch/mips/loongson64/loongson-3/numa.c start_pfn = ((node_id << 44) + mem_start) >> PAGE_SHIFT; PAGE_SHIFT 138 arch/mips/loongson64/loongson-3/numa.c node_psize = (mem_size << 20) >> PAGE_SHIFT; PAGE_SHIFT 149 arch/mips/loongson64/loongson-3/numa.c start_pfn = ((node_id << 44) + mem_start) >> PAGE_SHIFT; PAGE_SHIFT 150 arch/mips/loongson64/loongson-3/numa.c node_psize = (mem_size << 20) >> PAGE_SHIFT; PAGE_SHIFT 196 arch/mips/loongson64/loongson-3/numa.c memblock_reserve(start_pfn << PAGE_SHIFT, PAGE_SHIFT 197 arch/mips/loongson64/loongson-3/numa.c ((kernel_end_pfn - start_pfn) << PAGE_SHIFT)); PAGE_SHIFT 200 arch/mips/loongson64/loongson-3/numa.c if (node_end_pfn(0) >= (0xffffffff >> PAGE_SHIFT)) PAGE_SHIFT 252 arch/mips/loongson64/loongson-3/numa.c high_memory = (void *) __va(get_num_physpages() << PAGE_SHIFT); PAGE_SHIFT 240 arch/mips/mm/c-r3k.c unsigned long kaddr = KSEG0ADDR(pfn << PAGE_SHIFT); PAGE_SHIFT 97 arch/mips/mm/dma-noncoherent.c struct page *page = pfn_to_page(paddr >> PAGE_SHIFT); PAGE_SHIFT 97 arch/mips/mm/init.c idx = (addr >> PAGE_SHIFT) & (FIX_N_COLOURS - 1); PAGE_SHIFT 416 arch/mips/mm/init.c (highend_pfn - max_low_pfn) << (PAGE_SHIFT - 10)); PAGE_SHIFT 453 arch/mips/mm/init.c BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (_PFN_SHIFT > PAGE_SHIFT)); PAGE_SHIFT 463 arch/mips/mm/init.c high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 34 arch/mips/mm/ioremap.c pfn = phys_addr >> PAGE_SHIFT; PAGE_SHIFT 25 arch/mips/mm/mmap.c (((pgoff) << PAGE_SHIFT) & shm_align_mask)) PAGE_SHIFT 52 arch/mips/mm/mmap.c ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) PAGE_SHIFT 76 arch/mips/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 168 arch/mips/mm/sc-ip22.c size <<= PAGE_SHIFT; PAGE_SHIFT 85 arch/mips/mm/tlb-r3k.c size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 122 arch/mips/mm/tlb-r3k.c size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 119 arch/mips/mm/tlb-r4k.c size = (end - start) >> (PAGE_SHIFT + 1); PAGE_SHIFT 172 arch/mips/mm/tlb-r4k.c size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 824 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(p, ptr, tmp, PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); PAGE_SHIFT 998 arch/mips/mm/tlbex.c unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12; PAGE_SHIFT 1133 arch/mips/mm/tlbex.c PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); PAGE_SHIFT 1276 arch/mips/mm/tlbex.c } else if (PAGE_SHIFT == 14 || PAGE_SHIFT == 13) { PAGE_SHIFT 1500 arch/mips/mm/tlbex.c pmd_w = PMD_SHIFT - PAGE_SHIFT; PAGE_SHIFT 1502 arch/mips/mm/tlbex.c pgd_w = PGDIR_SHIFT - PAGE_SHIFT + PGD_ORDER; PAGE_SHIFT 1505 arch/mips/mm/tlbex.c pt_i = PAGE_SHIFT; /* 3rd level PTE */ PAGE_SHIFT 1506 arch/mips/mm/tlbex.c pt_w = PAGE_SHIFT - 3; PAGE_SHIFT 1540 arch/mips/mm/tlbex.c uasm_i_dsrl_safe(&p, K1, K0, PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); PAGE_SHIFT 2069 arch/mips/mm/tlbex.c UASM_i_SRL(p, wr.r1, wr.r1, PAGE_SHIFT + PTE_ORDER - PTE_T_LOG2); PAGE_SHIFT 2490 arch/mips/mm/tlbex.c pwfield |= PAGE_SHIFT << MIPS_PWFIELD_PTI_SHIFT; PAGE_SHIFT 2617 arch/mips/mm/tlbex.c check_for_high_segbits = current_cpu_data.vmbits > (PGDIR_SHIFT + PGD_ORDER + PAGE_SHIFT - 3); PAGE_SHIFT 145 arch/mips/netlogic/xlp/setup.c write_c0_config4(conf4 | ((PAGE_SHIFT - 10) / 2 << 8)); PAGE_SHIFT 129 arch/mips/sgi-ip27/ip27-klnuma.c return TO_NODE(nasid, offset) >> PAGE_SHIFT; PAGE_SHIFT 131 arch/mips/sgi-ip27/ip27-klnuma.c return KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> PAGE_SHIFT; PAGE_SHIFT 33 arch/mips/sgi-ip27/ip27-memory.c #define SLOT_PFNSHIFT (SLOT_SHIFT - PAGE_SHIFT) PAGE_SHIFT 34 arch/mips/sgi-ip27/ip27-memory.c #define PFN_NASIDSHFT (NASID_SHFT - PAGE_SHIFT) PAGE_SHIFT 289 arch/mips/sgi-ip27/ip27-memory.c return size >> PAGE_SHIFT; PAGE_SHIFT 295 arch/mips/sgi-ip27/ip27-memory.c return size >> PAGE_SHIFT; PAGE_SHIFT 370 arch/mips/sgi-ip27/ip27-memory.c if ((nodebytes >> PAGE_SHIFT) * (sizeof(struct page)) > PAGE_SHIFT 371 arch/mips/sgi-ip27/ip27-memory.c (slot0sz << PAGE_SHIFT)) { PAGE_SHIFT 394 arch/mips/sgi-ip27/ip27-memory.c __node_data[node] = __va(slot_freepfn << PAGE_SHIFT); PAGE_SHIFT 407 arch/mips/sgi-ip27/ip27-memory.c memblock_reserve(slot_firstpfn << PAGE_SHIFT, PAGE_SHIFT 408 arch/mips/sgi-ip27/ip27-memory.c ((slot_freepfn - slot_firstpfn) << PAGE_SHIFT)); PAGE_SHIFT 463 arch/mips/sgi-ip27/ip27-memory.c high_memory = (void *) __va(get_num_physpages() << PAGE_SHIFT); PAGE_SHIFT 23 arch/nds32/include/asm/fixmap.h #define FIXADDR_SIZE ((__end_of_fixed_addresses) << PAGE_SHIFT) PAGE_SHIFT 33 arch/nds32/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - (PKMAP_BASE)) >> PAGE_SHIFT) PAGE_SHIFT 34 arch/nds32/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 57 arch/nds32/include/asm/memory.h #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 84 arch/nds32/include/asm/memory.h #define virt_to_page(kaddr) (pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)) PAGE_SHIFT 91 arch/nds32/include/asm/memory.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 16 arch/nds32/include/asm/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 66 arch/nds32/include/asm/pgalloc.h pmdval = page_to_pfn(ptep) << PAGE_SHIFT | _PAGE_USER_TABLE; PAGE_SHIFT 64 arch/nds32/include/asm/pgtable.h #define CONSISTENT_OFFSET(x) (((unsigned long)(x) - CONSISTENT_BASE) >> PAGE_SHIFT) PAGE_SHIFT 187 arch/nds32/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 188 arch/nds32/include/asm/pgtable.h #define pfn_pte(pfn,prot) (__pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))) PAGE_SHIFT 194 arch/nds32/include/asm/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 336 arch/nds32/include/asm/pgtable.h #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) PAGE_SHIFT 16 arch/nds32/kernel/dma.c struct page *page = pfn_to_page(paddr >> PAGE_SHIFT); PAGE_SHIFT 29 arch/nds32/kernel/dma.c page += offset >> PAGE_SHIFT; PAGE_SHIFT 135 arch/nds32/kernel/setup.c (aliasing_num - 1) << PAGE_SHIFT; PAGE_SHIFT 141 arch/nds32/kernel/setup.c (aliasing_num - 1) << PAGE_SHIFT; PAGE_SHIFT 20 arch/nds32/kernel/sys_nds32.c pgoff >> (PAGE_SHIFT - 12)); PAGE_SHIFT 76 arch/nds32/kernel/vdso.c vdso_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; PAGE_SHIFT 106 arch/nds32/kernel/vdso.c offset = get_random_int() % (((end - start) >> PAGE_SHIFT) + 1); PAGE_SHIFT 107 arch/nds32/kernel/vdso.c addr = start + (offset << PAGE_SHIFT); PAGE_SHIFT 123 arch/nds32/kernel/vdso.c vdso_text_len = vdso_pages << PAGE_SHIFT; PAGE_SHIFT 163 arch/nds32/kernel/vdso.c virt_to_phys(vdso_data) >> PAGE_SHIFT, PAGE_SHIFT 171 arch/nds32/kernel/vdso.c ret = io_remap_pfn_range(vma, vdso_base, timer_mapping_base >> PAGE_SHIFT, PAGE_SHIFT 160 arch/nds32/mm/cacheflush.c vto = kremap0(addr, pfn << PAGE_SHIFT); PAGE_SHIFT 254 arch/nds32/mm/cacheflush.c vaddr = page->index << PAGE_SHIFT; PAGE_SHIFT 51 arch/nds32/mm/highmem.c pte = (page_to_pfn(page) << PAGE_SHIFT) | (PAGE_KERNEL); PAGE_SHIFT 174 arch/nds32/mm/init.c phys_addr_t paddr = (phys_addr_t) pfn << PAGE_SHIFT; PAGE_SHIFT 266 arch/nds32/mm/init.c set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); PAGE_SHIFT 10 arch/nds32/mm/mmap.c (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1))) PAGE_SHIFT 46 arch/nds32/mm/mmap.c (addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1)) PAGE_SHIFT 71 arch/nds32/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 25 arch/nios2/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 85 arch/nios2/include/asm/page.h ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET) PAGE_SHIFT 87 arch/nios2/include/asm/page.h # define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 232 arch/nios2/include/asm/pgtable.h pte_val(null) = (addr >> PAGE_SHIFT) & 0xf; PAGE_SHIFT 250 arch/nios2/include/asm/pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_phys(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 255 arch/nios2/include/asm/pgtable.h (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) PAGE_SHIFT 263 arch/nios2/include/asm/pgtable.h (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) PAGE_SHIFT 90 arch/nios2/mm/cacheflush.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 24 arch/nios2/mm/tlb.c << PAGE_SHIFT) PAGE_SHIFT 39 arch/nios2/mm/tlb.c return ((addr | 0xC0000000UL) >> PAGE_SHIFT) << 2; PAGE_SHIFT 54 arch/nios2/mm/tlb.c WRCTL(CTL_PTEADDR, (addr >> PAGE_SHIFT) << 2); PAGE_SHIFT 65 arch/nios2/mm/tlb.c if (((pteaddr >> 2) & 0xfffff) != (addr >> PAGE_SHIFT)) PAGE_SHIFT 135 arch/nios2/mm/tlb.c WRCTL(CTL_PTEADDR, (addr >> PAGE_SHIFT) << 2); PAGE_SHIFT 145 arch/nios2/mm/tlb.c if (((pteaddr >> 2) & 0xfffff) != (addr >> PAGE_SHIFT)) PAGE_SHIFT 174 arch/nios2/mm/tlb.c line << (PAGE_SHIFT + cpuinfo.tlb_num_ways_log2)); PAGE_SHIFT 191 arch/nios2/mm/tlb.c if ((tlbacc << PAGE_SHIFT) != 0) { PAGE_SHIFT 194 arch/nios2/mm/tlb.c (pteaddr << (PAGE_SHIFT-2)), PAGE_SHIFT 195 arch/nios2/mm/tlb.c (tlbacc << PAGE_SHIFT), PAGE_SHIFT 49 arch/openrisc/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 53 arch/openrisc/include/asm/fixmap.h #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) PAGE_SHIFT 54 arch/openrisc/include/asm/fixmap.h #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT) PAGE_SHIFT 23 arch/openrisc/include/asm/page.h #define PAGE_SIZE (1 << PAGE_SHIFT) PAGE_SHIFT 25 arch/openrisc/include/asm/page.h #define PAGE_SIZE (1UL << PAGE_SHIFT) PAGE_SHIFT 75 arch/openrisc/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 76 arch/openrisc/include/asm/page.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 79 arch/openrisc/include/asm/page.h (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) PAGE_SHIFT 81 arch/openrisc/include/asm/page.h #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 33 arch/openrisc/include/asm/pgalloc.h (unsigned long) PAGE_SHIFT))); PAGE_SHIFT 57 arch/openrisc/include/asm/pgtable.h #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-2)) PAGE_SHIFT 67 arch/openrisc/include/asm/pgtable.h #define PTRS_PER_PTE (1UL << (PAGE_SHIFT-2)) PAGE_SHIFT 215 arch/openrisc/include/asm/pgtable.h ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK) PAGE_SHIFT 351 arch/openrisc/include/asm/pgtable.h #define pte_pagenr(pte) ((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT) PAGE_SHIFT 355 arch/openrisc/include/asm/pgtable.h #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) PAGE_SHIFT 368 arch/openrisc/include/asm/pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 391 arch/openrisc/include/asm/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 401 arch/openrisc/include/asm/pgtable.h #define pte_pfn(x) ((unsigned long)(((x).pte)) >> PAGE_SHIFT) PAGE_SHIFT 402 arch/openrisc/include/asm/pgtable.h #define pfn_pte(pfn, prot) __pte((((pfn) << PAGE_SHIFT)) | pgprot_val(prot)) PAGE_SHIFT 21 arch/openrisc/mm/cache.c unsigned long paddr = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 45 arch/openrisc/mm/cache.c unsigned long pfn = pte_val(*pte) >> PAGE_SHIFT; PAGE_SHIFT 24 arch/openrisc/mm/fault.c #define TLB_OFFSET(add) (((add) >> PAGE_SHIFT) & (NUM_TLB_ENTRIES-1)) PAGE_SHIFT 62 arch/openrisc/mm/ioremap.c if ((fixmaps_used + (size >> PAGE_SHIFT)) > FIX_N_IOREMAPS) PAGE_SHIFT 65 arch/openrisc/mm/ioremap.c fixmaps_used += (size >> PAGE_SHIFT); PAGE_SHIFT 73 arch/openrisc/mm/ioremap.c fixmaps_used -= (size >> PAGE_SHIFT); PAGE_SHIFT 36 arch/openrisc/mm/tlb.c #define DTLB_OFFSET(addr) (((addr) >> PAGE_SHIFT) & (NUM_DTLB_SETS-1)) PAGE_SHIFT 37 arch/openrisc/mm/tlb.c #define ITLB_OFFSET(addr) (((addr) >> PAGE_SHIFT) & (NUM_ITLB_SETS-1)) PAGE_SHIFT 19 arch/parisc/include/asm/fixmap.h #define FIXMAP_SIZE (FIX_BITMAP_COUNT << PAGE_SHIFT) PAGE_SHIFT 42 arch/parisc/include/asm/fixmap.h #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) PAGE_SHIFT 16 arch/parisc/include/asm/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 158 arch/parisc/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 172 arch/parisc/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 174 arch/parisc/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 175 arch/parisc/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 129 arch/parisc/include/asm/pgtable.h #define PLD_SHIFT PAGE_SHIFT PAGE_SHIFT 131 arch/parisc/include/asm/pgtable.h #define BITS_PER_PTE (PAGE_SHIFT - BITS_PER_PTE_ENTRY) PAGE_SHIFT 139 arch/parisc/include/asm/pgtable.h #define BITS_PER_PMD (PAGE_SHIFT + PMD_ORDER - BITS_PER_PMD_ENTRY) PAGE_SHIFT 148 arch/parisc/include/asm/pgtable.h #if (PGDIR_SHIFT + PAGE_SHIFT + PGD_ORDER - BITS_PER_PGD_ENTRY) > BITS_PER_LONG PAGE_SHIFT 151 arch/parisc/include/asm/pgtable.h #define BITS_PER_PGD (PAGE_SHIFT + PGD_ORDER - BITS_PER_PGD_ENTRY) PAGE_SHIFT 413 arch/parisc/include/asm/pgtable.h pte_val(__pte) = ((((addr)>>PAGE_SHIFT)<<PFN_PTE_SHIFT) + pgprot_val(pgprot)); \ PAGE_SHIFT 461 arch/parisc/include/asm/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) PAGE_SHIFT 189 arch/parisc/include/asm/ropes.h #define IOVP_SHIFT PAGE_SHIFT PAGE_SHIFT 44 arch/parisc/include/asm/thread_info.h #define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER) PAGE_SHIFT 352 arch/parisc/kernel/cache.c offset = (pgoff - mpnt->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 126 arch/parisc/kernel/inventory.c #define PDC_PAGE_ADJ_SHIFT (PAGE_SHIFT - 12) /* pdc pages are always 4k */ PAGE_SHIFT 145 arch/parisc/kernel/inventory.c pmem_ptr->start_pfn = (start >> PAGE_SHIFT); PAGE_SHIFT 166 arch/parisc/kernel/inventory.c npages = (PAGE_ALIGN(PAGE0->imm_max_mem) >> PAGE_SHIFT); PAGE_SHIFT 249 arch/parisc/kernel/pci-dma.c unsigned int pages_needed = size >> PAGE_SHIFT; PAGE_SHIFT 289 arch/parisc/kernel/pci-dma.c return (pcxl_dma_start + (res_idx << (PAGE_SHIFT + 3))); PAGE_SHIFT 304 arch/parisc/kernel/pci-dma.c unsigned int res_idx = (vaddr - pcxl_dma_start) >> (PAGE_SHIFT + 3); PAGE_SHIFT 305 arch/parisc/kernel/pci-dma.c unsigned int pages_mapped = size >> PAGE_SHIFT; PAGE_SHIFT 375 arch/parisc/kernel/pci-dma.c pcxl_res_size = PCXL_DMA_MAP_SIZE >> (PAGE_SHIFT + 3); PAGE_SHIFT 408 arch/parisc/kernel/pci-dma.c size = 1 << (order + PAGE_SHIFT); PAGE_SHIFT 435 arch/parisc/kernel/pci-dma.c size = 1 << (order + PAGE_SHIFT); PAGE_SHIFT 328 arch/parisc/kernel/pdt.c memory_failure(pde >> PAGE_SHIFT, 0); PAGE_SHIFT 331 arch/parisc/kernel/pdt.c pfn_to_page(pde >> PAGE_SHIFT), 0); PAGE_SHIFT 313 arch/parisc/kernel/process.c return (get_random_int() & BRK_RND_MASK) << PAGE_SHIFT; PAGE_SHIFT 36 arch/parisc/kernel/sys_parisc.c return (last_mmap & (SHM_COLOUR-1)) >> PAGE_SHIFT; PAGE_SHIFT 42 arch/parisc/kernel/sys_parisc.c return (get_offset(last_mmap) + pgoff) << PAGE_SHIFT; PAGE_SHIFT 50 arch/parisc/kernel/sys_parisc.c (shared_align_offset(last_mmap, pgoff) << PAGE_SHIFT); PAGE_SHIFT 76 arch/parisc/kernel/sys_parisc.c stack_base += (STACK_RND_MASK << PAGE_SHIFT); PAGE_SHIFT 130 arch/parisc/kernel/sys_parisc.c SET_LAST_MMAP(filp, addr - (pgoff << PAGE_SHIFT)); PAGE_SHIFT 198 arch/parisc/kernel/sys_parisc.c SET_LAST_MMAP(filp, addr - (pgoff << PAGE_SHIFT)); PAGE_SHIFT 224 arch/parisc/kernel/sys_parisc.c return rnd << PAGE_SHIFT; PAGE_SHIFT 229 arch/parisc/kernel/sys_parisc.c return (get_random_int() & MMAP_RND_MASK) << PAGE_SHIFT; PAGE_SHIFT 262 arch/parisc/kernel/sys_parisc.c pgoff >> (PAGE_SHIFT - 12)); PAGE_SHIFT 271 arch/parisc/kernel/sys_parisc.c offset >> PAGE_SHIFT); PAGE_SHIFT 404 arch/parisc/mm/fault.c lsb = PAGE_SHIFT; PAGE_SHIFT 113 arch/parisc/mm/init.c #define MAX_GAP (0x40000000UL >> PAGE_SHIFT) PAGE_SHIFT 178 arch/parisc/mm/init.c size = (pmem_ranges[i].pages << PAGE_SHIFT); PAGE_SHIFT 179 arch/parisc/mm/init.c start = (pmem_ranges[i].start_pfn << PAGE_SHIFT); PAGE_SHIFT 208 arch/parisc/mm/init.c rsize = pmem_ranges[i].pages << PAGE_SHIFT; PAGE_SHIFT 214 arch/parisc/mm/init.c pmem_ranges[i].pages = (mem_limit >> PAGE_SHIFT) PAGE_SHIFT 215 arch/parisc/mm/init.c - (mem_max >> PAGE_SHIFT); PAGE_SHIFT 264 arch/parisc/mm/init.c start = start_pfn << PAGE_SHIFT; PAGE_SHIFT 265 arch/parisc/mm/init.c size = npages << PAGE_SHIFT; PAGE_SHIFT 302 arch/parisc/mm/init.c memblock_reserve((pmem_holes[i].start_pfn << PAGE_SHIFT), PAGE_SHIFT 303 arch/parisc/mm/init.c (pmem_holes[i].pages << PAGE_SHIFT)); PAGE_SHIFT 382 arch/parisc/mm/init.c start_pte = ((start_vaddr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); PAGE_SHIFT 587 arch/parisc/mm/init.c BUILD_BUG_ON(PAGE_SHIFT + BITS_PER_PTE + BITS_PER_PMD + BITS_PER_PGD PAGE_SHIFT 590 arch/parisc/mm/init.c high_memory = __va((max_pfn << PAGE_SHIFT)); PAGE_SHIFT 660 arch/parisc/mm/init.c start_paddr = pmem_ranges[range].start_pfn << PAGE_SHIFT; PAGE_SHIFT 661 arch/parisc/mm/init.c size = pmem_ranges[range].pages << PAGE_SHIFT; PAGE_SHIFT 17 arch/powerpc/boot/page.h #define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) PAGE_SHIFT 32 arch/powerpc/include/asm/book3s/32/pgtable.h #define PTE_RPN_SHIFT (PAGE_SHIFT) PAGE_SHIFT 132 arch/powerpc/include/asm/book3s/32/pgtable.h #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) PAGE_SHIFT 350 arch/powerpc/include/asm/book3s/32/pgtable.h pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT) PAGE_SHIFT 361 arch/powerpc/include/asm/book3s/32/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 147 arch/powerpc/include/asm/book3s/64/hash-64k.h unsigned long __end = vpn + (1UL << (PAGE_SHIFT - VPN_SHIFT)); \ PAGE_SHIFT 165 arch/powerpc/include/asm/book3s/64/hash-64k.h if (pfn > (PTE_RPN_MASK >> PAGE_SHIFT)) { PAGE_SHIFT 30 arch/powerpc/include/asm/book3s/64/hash.h H_PUD_INDEX_SIZE + H_PGD_INDEX_SIZE + PAGE_SHIFT) PAGE_SHIFT 679 arch/powerpc/include/asm/book3s/64/mmu-hash.h #define SBP_L1_BITS (PAGE_SHIFT - 2) PAGE_SHIFT 680 arch/powerpc/include/asm/book3s/64/mmu-hash.h #define SBP_L2_BITS (PAGE_SHIFT - 3) PAGE_SHIFT 683 arch/powerpc/include/asm/book3s/64/mmu-hash.h #define SBP_L2_SHIFT (PAGE_SHIFT + SBP_L1_BITS) PAGE_SHIFT 56 arch/powerpc/include/asm/book3s/64/pgtable-4k.h #define H_16M_CACHE_INDEX (PAGE_SHIFT + H_PTE_INDEX_SIZE + H_PMD_INDEX_SIZE - 24) PAGE_SHIFT 58 arch/powerpc/include/asm/book3s/64/pgtable-4k.h (PAGE_SHIFT + H_PTE_INDEX_SIZE + H_PMD_INDEX_SIZE + H_PUD_INDEX_SIZE - 34) PAGE_SHIFT 235 arch/powerpc/include/asm/book3s/64/pgtable.h #define PMD_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) PAGE_SHIFT 280 arch/powerpc/include/asm/book3s/64/pgtable.h return 7 + PAGE_SHIFT; /* default from linux/vmalloc.h */ PAGE_SHIFT 611 arch/powerpc/include/asm/book3s/64/pgtable.h VM_BUG_ON(pfn >> (64 - PAGE_SHIFT)); PAGE_SHIFT 612 arch/powerpc/include/asm/book3s/64/pgtable.h VM_BUG_ON((pfn << PAGE_SHIFT) & ~PTE_RPN_MASK); PAGE_SHIFT 614 arch/powerpc/include/asm/book3s/64/pgtable.h return __pte(((pte_basic_t)pfn << PAGE_SHIFT) | pgprot_val(pgprot)); PAGE_SHIFT 619 arch/powerpc/include/asm/book3s/64/pgtable.h return (pte_val(pte) & PTE_RPN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 732 arch/powerpc/include/asm/book3s/64/pgtable.h #define __swp_offset(x) (((x).val & PTE_RPN_MASK) >> PAGE_SHIFT) PAGE_SHIFT 735 arch/powerpc/include/asm/book3s/64/pgtable.h | (((offset) << PAGE_SHIFT) & PTE_RPN_MASK)}) PAGE_SHIFT 1004 arch/powerpc/include/asm/book3s/64/pgtable.h #define pte_index(address) (((address) >> (PAGE_SHIFT)) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 35 arch/powerpc/include/asm/book3s/64/radix.h #define RADIX_PMD_SHIFT (PAGE_SHIFT + RADIX_PTE_INDEX_SIZE) PAGE_SHIFT 42 arch/powerpc/include/asm/book3s/64/radix.h RADIX_PUD_INDEX_SIZE + RADIX_PGD_INDEX_SIZE + PAGE_SHIFT) PAGE_SHIFT 125 arch/powerpc/include/asm/elf.h (0x7ff >> (PAGE_SHIFT - 12)) : \ PAGE_SHIFT 126 arch/powerpc/include/asm/elf.h (0x3ffff >> (PAGE_SHIFT - 12))) PAGE_SHIFT 12 arch/powerpc/include/asm/fb.h vma->vm_page_prot = phys_mem_access_prot(file, off >> PAGE_SHIFT, PAGE_SHIFT 70 arch/powerpc/include/asm/fixmap.h #define __FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 59 arch/powerpc/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 60 arch/powerpc/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 377 arch/powerpc/include/asm/kvm_book3s_64.h return ((ptel & HPTE_R_RPN) & ~(psize - 1)) >> PAGE_SHIFT; PAGE_SHIFT 489 arch/powerpc/include/asm/kvm_book3s_64.h unsigned long mask = (pagesize >> PAGE_SHIFT) - 1; PAGE_SHIFT 22 arch/powerpc/include/asm/nohash/32/hugetlb-8xx.h unsigned long idx = (addr & ((1UL << pdshift) - 1)) >> PAGE_SHIFT; PAGE_SHIFT 49 arch/powerpc/include/asm/nohash/32/pgtable.h #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) PAGE_SHIFT 142 arch/powerpc/include/asm/nohash/32/pgtable.h #define PTE_RPN_SHIFT (PAGE_SHIFT) PAGE_SHIFT 349 arch/powerpc/include/asm/nohash/32/pgtable.h pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT) PAGE_SHIFT 354 arch/powerpc/include/asm/nohash/32/pgtable.h pfn_to_page((__pa(pmd_val(pmd)) >> PAGE_SHIFT)) PAGE_SHIFT 366 arch/powerpc/include/asm/nohash/32/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 30 arch/powerpc/include/asm/nohash/64/pgtable-4k.h #define PMD_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) PAGE_SHIFT 19 arch/powerpc/include/asm/nohash/64/pgtable.h PUD_INDEX_SIZE + PGD_INDEX_SIZE + PAGE_SHIFT) PAGE_SHIFT 197 arch/powerpc/include/asm/nohash/64/pgtable.h (((pte_t *) pmd_page_vaddr(*(dir))) + (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) PAGE_SHIFT 24 arch/powerpc/include/asm/page.h #define PAGE_SIZE (ASM_CONST(1) << PAGE_SHIFT) PAGE_SHIFT 28 arch/powerpc/include/asm/page.h #define HPAGE_SHIFT PAGE_SHIFT PAGE_SHIFT 39 arch/powerpc/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 48 arch/powerpc/include/asm/page.h #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) PAGE_SHIFT 119 arch/powerpc/include/asm/page.h #define ARCH_PFN_OFFSET ((unsigned long)(MEMORY_START >> PAGE_SHIFT)) PAGE_SHIFT 131 arch/powerpc/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 133 arch/powerpc/include/asm/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 27 arch/powerpc/include/asm/page_32.h #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2 - 2) /* 1/4 of a page */ PAGE_SHIFT 29 arch/powerpc/include/asm/page_32.h #define PTE_SHIFT (PAGE_SHIFT - PTE_T_LOG2) /* full page */ PAGE_SHIFT 24 arch/powerpc/include/asm/page_64.h #define PAGE_FACTOR (PAGE_SHIFT - HW_PAGE_SHIFT) PAGE_SHIFT 119 arch/powerpc/include/asm/pgtable.h #define PTE_FRAG_SIZE_SHIFT PAGE_SHIFT PAGE_SHIFT 468 arch/powerpc/include/asm/rtas.h unsigned long paddr = (pfn << PAGE_SHIFT); PAGE_SHIFT 57 arch/powerpc/include/asm/thread_info.h #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 105 arch/powerpc/kernel/crash_dump.c paddr = pfn << PAGE_SHIFT; PAGE_SHIFT 143 arch/powerpc/kernel/crash_dump.c free_reserved_page(pfn_to_page(addr >> PAGE_SHIFT)); PAGE_SHIFT 375 arch/powerpc/kernel/eeh.c pa <<= PAGE_SHIFT; PAGE_SHIFT 82 arch/powerpc/kernel/io-workarounds.c paddr = pte_pfn(*ptep) << PAGE_SHIFT; PAGE_SHIFT 459 arch/powerpc/kernel/iommu.c if (tbl->it_page_shift < PAGE_SHIFT && slen >= PAGE_SIZE && PAGE_SHIFT 461 arch/powerpc/kernel/iommu.c align = PAGE_SHIFT - tbl->it_page_shift; PAGE_SHIFT 812 arch/powerpc/kernel/iommu.c if (tbl->it_page_shift < PAGE_SHIFT && size >= PAGE_SIZE && PAGE_SHIFT 814 arch/powerpc/kernel/iommu.c align = PAGE_SHIFT - tbl->it_page_shift; PAGE_SHIFT 1029 arch/powerpc/kernel/iommu.c SetPageDirty(pfn_to_page(*hpa >> PAGE_SHIFT)); PAGE_SHIFT 285 arch/powerpc/kernel/mce.c PAGE_SHIFT; PAGE_SHIFT 48 arch/powerpc/kernel/mce_power.c if (shift <= PAGE_SHIFT) PAGE_SHIFT 375 arch/powerpc/kernel/mce_power.c instr_addr = (pfn << PAGE_SHIFT) + (regs->nip & ~PAGE_MASK); PAGE_SHIFT 380 arch/powerpc/kernel/mce_power.c *phys_addr = (pfn << PAGE_SHIFT); PAGE_SHIFT 463 arch/powerpc/kernel/mce_power.c (pfn << PAGE_SHIFT); PAGE_SHIFT 79 arch/powerpc/kernel/paca.c shared_lppaca_total_size >> PAGE_SHIFT); PAGE_SHIFT 428 arch/powerpc/kernel/pci-common.c vma->vm_pgoff += (ioaddr + hose->io_base_phys) >> PAGE_SHIFT; PAGE_SHIFT 444 arch/powerpc/kernel/pci-common.c resource_size_t offset = ((resource_size_t)pfn) << PAGE_SHIFT; PAGE_SHIFT 573 arch/powerpc/kernel/pci-common.c ((resource_size_t)vma->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 612 arch/powerpc/kernel/pci-common.c vma->vm_pgoff = offset >> PAGE_SHIFT; PAGE_SHIFT 37 arch/powerpc/kernel/proc_powerpc.c __pa(PDE_DATA(file_inode(file))) >> PAGE_SHIFT, PAGE_SHIFT 2158 arch/powerpc/kernel/process.c rnd = (get_random_long() % (1UL<<(23-PAGE_SHIFT))); PAGE_SHIFT 2160 arch/powerpc/kernel/process.c rnd = (get_random_long() % (1UL<<(30-PAGE_SHIFT))); PAGE_SHIFT 2162 arch/powerpc/kernel/process.c return rnd << PAGE_SHIFT; PAGE_SHIFT 2011 arch/powerpc/kernel/prom_init.c tce_entry = (i << PAGE_SHIFT); PAGE_SHIFT 930 arch/powerpc/kernel/setup-common.c early_memtest(min_low_pfn << PAGE_SHIFT, max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 20 arch/powerpc/kernel/suspend.c unsigned long nosave_begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; PAGE_SHIFT 21 arch/powerpc/kernel/suspend.c unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; PAGE_SHIFT 64 arch/powerpc/kernel/syscalls.c return do_mmap2(addr, len, prot, flags, fd, pgoff, PAGE_SHIFT-12); PAGE_SHIFT 71 arch/powerpc/kernel/syscalls.c return do_mmap2(addr, len, prot, flags, fd, offset, PAGE_SHIFT); PAGE_SHIFT 177 arch/powerpc/kernel/vdso.c (vdso_pages << PAGE_SHIFT) + PAGE_SHIFT 205 arch/powerpc/kernel/vdso.c rc = install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, PAGE_SHIFT 506 arch/powerpc/kernel/vdso.c (vdso64_pages << PAGE_SHIFT) - PAGE_SHIFT 518 arch/powerpc/kernel/vdso.c (vdso32_pages << PAGE_SHIFT) - PAGE_SHIFT 729 arch/powerpc/kernel/vdso.c vdso64_pages = (&vdso64_end - &vdso64_start) >> PAGE_SHIFT; PAGE_SHIFT 745 arch/powerpc/kernel/vdso.c vdso32_pages = (&vdso32_end - &vdso32_start) >> PAGE_SHIFT; PAGE_SHIFT 430 arch/powerpc/kvm/book3s.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 441 arch/powerpc/kvm/book3s.c pfn = (kvm_pfn_t)virt_to_phys((void*)shared_page) >> PAGE_SHIFT; PAGE_SHIFT 120 arch/powerpc/kvm/book3s_32_mmu.c r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); PAGE_SHIFT 34 arch/powerpc/kvm/book3s_32_mmu_host.c #if PAGE_SHIFT != 12 PAGE_SHIFT 155 arch/powerpc/kvm/book3s_32_mmu_host.c hpaddr <<= PAGE_SHIFT; PAGE_SHIFT 200 arch/powerpc/kvm/book3s_32_mmu_host.c mark_page_dirty(vcpu->kvm, orig_pte->raddr >> PAGE_SHIFT); PAGE_SHIFT 206 arch/powerpc/kvm/book3s_32_mmu_host.c kvmppc_mmu_flush_icache(hpaddr >> PAGE_SHIFT); PAGE_SHIFT 235 arch/powerpc/kvm/book3s_32_mmu_host.c kvm_release_pfn_clean(hpaddr >> PAGE_SHIFT); PAGE_SHIFT 249 arch/powerpc/kvm/book3s_32_mmu_host.c pte->pfn = hpaddr >> PAGE_SHIFT; PAGE_SHIFT 253 arch/powerpc/kvm/book3s_32_mmu_host.c kvm_release_pfn_clean(hpaddr >> PAGE_SHIFT); PAGE_SHIFT 162 arch/powerpc/kvm/book3s_64_mmu.c r = gfn_to_hva(vcpu->kvm, pteg >> PAGE_SHIFT); PAGE_SHIFT 88 arch/powerpc/kvm/book3s_64_mmu_host.c unsigned long gfn = orig_pte->raddr >> PAGE_SHIFT; PAGE_SHIFT 103 arch/powerpc/kvm/book3s_64_mmu_host.c hpaddr = pfn << PAGE_SHIFT; PAGE_SHIFT 81 arch/powerpc/kvm/book3s_64_mmu_hv.c page = kvm_alloc_hpt_cma(1ul << (order - PAGE_SHIFT)); PAGE_SHIFT 90 arch/powerpc/kvm/book3s_64_mmu_hv.c |__GFP_NOWARN, order - PAGE_SHIFT); PAGE_SHIFT 102 arch/powerpc/kvm/book3s_64_mmu_hv.c kvm_free_hpt_cma(page, 1 << (order - PAGE_SHIFT)); PAGE_SHIFT 104 arch/powerpc/kvm/book3s_64_mmu_hv.c free_pages(hpt, order - PAGE_SHIFT); PAGE_SHIFT 185 arch/powerpc/kvm/book3s_64_mmu_hv.c 1 << (info->order - PAGE_SHIFT)); PAGE_SHIFT 187 arch/powerpc/kvm/book3s_64_mmu_hv.c free_pages(info->virt, info->order - PAGE_SHIFT); PAGE_SHIFT 218 arch/powerpc/kvm/book3s_64_mmu_hv.c npages = memslot->npages >> (porder - PAGE_SHIFT); PAGE_SHIFT 531 arch/powerpc/kvm/book3s_64_mmu_hv.c gfn_base = gpa_base >> PAGE_SHIFT; PAGE_SHIFT 560 arch/powerpc/kvm/book3s_64_mmu_hv.c gfn_base = gpa_base >> PAGE_SHIFT; PAGE_SHIFT 562 arch/powerpc/kvm/book3s_64_mmu_hv.c gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 600 arch/powerpc/kvm/book3s_64_mmu_hv.c ((hva - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 657 arch/powerpc/kvm/book3s_64_mmu_hv.c ((pfn << PAGE_SHIFT) & ~(psize - 1)); PAGE_SHIFT 786 arch/powerpc/kvm/book3s_64_mmu_hv.c (memslot->npages << PAGE_SHIFT)); PAGE_SHIFT 1115 arch/powerpc/kvm/book3s_64_mmu_hv.c n = (n + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1137 arch/powerpc/kvm/book3s_64_mmu_hv.c gfn = vpa->gpa >> PAGE_SHIFT; PAGE_SHIFT 1174 arch/powerpc/kvm/book3s_64_mmu_hv.c unsigned long gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 1215 arch/powerpc/kvm/book3s_64_mmu_hv.c gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 306 arch/powerpc/kvm/book3s_64_mmu_radix.c pshift = PAGE_SHIFT; PAGE_SHIFT 382 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 438 arch/powerpc/kvm/book3s_64_mmu_radix.c pte_pfn(*p) << PAGE_SHIFT, PAGE_SHIFT 439 arch/powerpc/kvm/book3s_64_mmu_radix.c PAGE_SHIFT, NULL, lpid); PAGE_SHIFT 461 arch/powerpc/kvm/book3s_64_mmu_radix.c pte_pfn(*(pte_t *)p) << PAGE_SHIFT, PAGE_SHIFT 775 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long hva, gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 845 arch/powerpc/kvm/book3s_64_mmu_radix.c if (shift > PAGE_SHIFT) { PAGE_SHIFT 914 arch/powerpc/kvm/book3s_64_mmu_radix.c gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 972 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 987 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 1012 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 1027 arch/powerpc/kvm/book3s_64_mmu_radix.c unsigned long gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 1037 arch/powerpc/kvm/book3s_64_mmu_radix.c ret = 1 << (shift - PAGE_SHIFT); PAGE_SHIFT 1085 arch/powerpc/kvm/book3s_64_mmu_radix.c gpa = memslot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 1308 arch/powerpc/kvm/book3s_64_mmu_radix.c shift = PAGE_SHIFT; PAGE_SHIFT 336 arch/powerpc/kvm/book3s_64_vio.c unsigned long gfn = tce >> PAGE_SHIFT; PAGE_SHIFT 81 arch/powerpc/kvm/book3s_64_vio_hv.c unsigned long gfn = tce >> PAGE_SHIFT; PAGE_SHIFT 462 arch/powerpc/kvm/book3s_64_vio_hv.c shift = PAGE_SHIFT; PAGE_SHIFT 465 arch/powerpc/kvm/book3s_64_vio_hv.c if (shift > PAGE_SHIFT) PAGE_SHIFT 471 arch/powerpc/kvm/book3s_64_vio_hv.c *phpa = (pte_pfn(pte) << PAGE_SHIFT) | (ua & ((1ULL << shift) - 1)) | PAGE_SHIFT 810 arch/powerpc/kvm/book3s_hv.c from_memslot = gfn_to_memslot(kvm, from >> PAGE_SHIFT); PAGE_SHIFT 814 arch/powerpc/kvm/book3s_hv.c << PAGE_SHIFT)) PAGE_SHIFT 816 arch/powerpc/kvm/book3s_hv.c from_addr = gfn_to_hva_memslot(from_memslot, from >> PAGE_SHIFT); PAGE_SHIFT 822 arch/powerpc/kvm/book3s_hv.c to_memslot = gfn_to_memslot(kvm, to >> PAGE_SHIFT); PAGE_SHIFT 826 arch/powerpc/kvm/book3s_hv.c << PAGE_SHIFT)) PAGE_SHIFT 828 arch/powerpc/kvm/book3s_hv.c to_addr = gfn_to_hva_memslot(to_memslot, to >> PAGE_SHIFT); PAGE_SHIFT 838 arch/powerpc/kvm/book3s_hv.c mark_page_dirty(kvm, to >> PAGE_SHIFT); PAGE_SHIFT 4490 arch/powerpc/kvm/book3s_hv.c unsigned long npages = mem->memory_size >> PAGE_SHIFT; PAGE_SHIFT 55 arch/powerpc/kvm/book3s_hv_builtin.c #define HPT_ALIGN_PAGES ((1 << 18) >> PAGE_SHIFT) /* 256k */ PAGE_SHIFT 74 arch/powerpc/kvm/book3s_hv_builtin.c VM_BUG_ON(order_base_2(nr_pages) < KVM_CMA_CHUNK_ORDER - PAGE_SHIFT); PAGE_SHIFT 114 arch/powerpc/kvm/book3s_hv_builtin.c selected_size = (selected_size * kvm_cma_resv_ratio / 100) << PAGE_SHIFT; PAGE_SHIFT 118 arch/powerpc/kvm/book3s_hv_builtin.c align_size = HPT_ALIGN_PAGES << PAGE_SHIFT; PAGE_SHIFT 120 arch/powerpc/kvm/book3s_hv_builtin.c KVM_CMA_CHUNK_ORDER - PAGE_SHIFT, false, "kvm_cma", PAGE_SHIFT 456 arch/powerpc/kvm/book3s_hv_nested.c !kvm_is_visible_gfn(vcpu->kvm, (ptcr & PRTB_MASK) >> PAGE_SHIFT)) PAGE_SHIFT 887 arch/powerpc/kvm/book3s_hv_nested.c gfn = (gpa >> PAGE_SHIFT) - memslot->base_gfn; PAGE_SHIFT 888 arch/powerpc/kvm/book3s_hv_nested.c end_gfn = gfn + (nbytes >> PAGE_SHIFT); PAGE_SHIFT 926 arch/powerpc/kvm/book3s_hv_nested.c shift = PAGE_SHIFT; PAGE_SHIFT 989 arch/powerpc/kvm/book3s_hv_nested.c npages = 1UL << (shift - PAGE_SHIFT); PAGE_SHIFT 1000 arch/powerpc/kvm/book3s_hv_nested.c npages -= 1UL << (shadow_shift - PAGE_SHIFT); PAGE_SHIFT 1243 arch/powerpc/kvm/book3s_hv_nested.c return PAGE_SHIFT; PAGE_SHIFT 1253 arch/powerpc/kvm/book3s_hv_nested.c if (shift == PAGE_SHIFT) PAGE_SHIFT 1324 arch/powerpc/kvm/book3s_hv_nested.c if (l1_shift < PAGE_SHIFT) { PAGE_SHIFT 1327 arch/powerpc/kvm/book3s_hv_nested.c l1_shift, PAGE_SHIFT); PAGE_SHIFT 1331 arch/powerpc/kvm/book3s_hv_nested.c gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 1367 arch/powerpc/kvm/book3s_hv_nested.c shift = PAGE_SHIFT; PAGE_SHIFT 1383 arch/powerpc/kvm/book3s_hv_nested.c gfn = (gpa & ~((1UL << shift) - 1)) >> PAGE_SHIFT; PAGE_SHIFT 1399 arch/powerpc/kvm/book3s_hv_nested.c unsigned int actual_shift = PAGE_SHIFT; PAGE_SHIFT 38 arch/powerpc/kvm/book3s_hv_rm_mmu.c addr = (pte_pfn(*p) << PAGE_SHIFT) | (addr & ~PAGE_MASK); PAGE_SHIFT 231 arch/powerpc/kvm/book3s_hv_rm_mmu.c gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 285 arch/powerpc/kvm/book3s_hv_rm_mmu.c pa = pte_pfn(pte) << PAGE_SHIFT; PAGE_SHIFT 897 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long gfn, hva, pa, psize = PAGE_SHIFT; PAGE_SHIFT 902 arch/powerpc/kvm/book3s_hv_rm_mmu.c gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 921 arch/powerpc/kvm/book3s_hv_rm_mmu.c pa = pte_pfn(pte) << PAGE_SHIFT; PAGE_SHIFT 960 arch/powerpc/kvm/book3s_hv_rm_mmu.c kvmppc_update_dirty_map(memslot, dest >> PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 996 arch/powerpc/kvm/book3s_hv_rm_mmu.c kvmppc_update_dirty_map(dest_memslot, dest >> PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 407 arch/powerpc/kvm/book3s_pr.c (memslot->npages << PAGE_SHIFT)); PAGE_SHIFT 417 arch/powerpc/kvm/book3s_pr.c kvmppc_mmu_pte_pflush(vcpu, gfn << PAGE_SHIFT, PAGE_SHIFT 418 arch/powerpc/kvm/book3s_pr.c gfn_end << PAGE_SHIFT); PAGE_SHIFT 632 arch/powerpc/kvm/book3s_pr.c hpage = gfn_to_page(vcpu->kvm, pte->raddr >> PAGE_SHIFT); PAGE_SHIFT 664 arch/powerpc/kvm/book3s_pr.c return kvm_is_visible_gfn(vcpu->kvm, gpa >> PAGE_SHIFT); PAGE_SHIFT 1884 arch/powerpc/kvm/book3s_pr.c ga = memslot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 1885 arch/powerpc/kvm/book3s_pr.c ga_end = ga + (memslot->npages << PAGE_SHIFT); PAGE_SHIFT 2023 arch/powerpc/kvm/book3s_xive.c if (xive->q_order < PAGE_SHIFT) PAGE_SHIFT 2026 arch/powerpc/kvm/book3s_xive.c xive->q_page_order = xive->q_order - PAGE_SHIFT; PAGE_SHIFT 217 arch/powerpc/kvm/book3s_xive_native.c esb_pgoff << PAGE_SHIFT, PAGE_SHIFT 218 arch/powerpc/kvm/book3s_xive_native.c 2ull << PAGE_SHIFT, 1); PAGE_SHIFT 272 arch/powerpc/kvm/book3s_xive_native.c vmf_insert_pfn(vma, vmf->address, page >> PAGE_SHIFT); PAGE_SHIFT 289 arch/powerpc/kvm/book3s_xive_native.c vmf_insert_pfn(vma, vmf->address, xive_tima_os >> PAGE_SHIFT); PAGE_SHIFT 1268 arch/powerpc/kvm/booke.c gfn = gpaddr >> PAGE_SHIFT; PAGE_SHIFT 1316 arch/powerpc/kvm/booke.c gfn = gpaddr >> PAGE_SHIFT; PAGE_SHIFT 1975 arch/powerpc/kvm/booke.c pte->vpage = eaddr >> PAGE_SHIFT; PAGE_SHIFT 2004 arch/powerpc/kvm/booke.c pte->vpage = eaddr >> PAGE_SHIFT; PAGE_SHIFT 268 arch/powerpc/kvm/e500.h if (!gfn_to_memslot(vcpu->kvm, gpa >> PAGE_SHIFT)) PAGE_SHIFT 52 arch/powerpc/kvm/e500_mmu.c set_base = (addr >> PAGE_SHIFT) & (sets - 1); PAGE_SHIFT 166 arch/powerpc/kvm/e500_mmu_host.c pfn = (kvm_pfn_t)virt_to_phys((void *)shared_page) >> PAGE_SHIFT; PAGE_SHIFT 175 arch/powerpc/kvm/e500_mmu_host.c magic.mas7_3 = ((u64)pfn << PAGE_SHIFT) | PAGE_SHIFT 318 arch/powerpc/kvm/e500_mmu_host.c stlbe->mas7_3 = ((u64)pfn << PAGE_SHIFT) | PAGE_SHIFT 379 arch/powerpc/kvm/e500_mmu_host.c pfn = start + ((hva - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 420 arch/powerpc/kvm/e500_mmu_host.c gvaddr &= ~((tsize_pages << PAGE_SHIFT) - 1); PAGE_SHIFT 448 arch/powerpc/kvm/e500_mmu_host.c tsize_pages = 1UL << (tsize + 10 - PAGE_SHIFT); PAGE_SHIFT 459 arch/powerpc/kvm/e500_mmu_host.c gvaddr &= ~((tsize_pages << PAGE_SHIFT) - 1); PAGE_SHIFT 524 arch/powerpc/kvm/e500_mmu_host.c get_tlb_raddr(gtlbe) >> PAGE_SHIFT, PAGE_SHIFT 612 arch/powerpc/kvm/e500_mmu_host.c gfn_t gfn = gpaddr >> PAGE_SHIFT; PAGE_SHIFT 697 arch/powerpc/kvm/e500_mmu_host.c pfn = addr >> PAGE_SHIFT; PAGE_SHIFT 94 arch/powerpc/lib/code-patching.c pfn = __pa_symbol(addr) >> PAGE_SHIFT; PAGE_SHIFT 96 arch/powerpc/lib/code-patching.c err = map_kernel_page(text_poke_addr, (pfn << PAGE_SHIFT), PAGE_KERNEL); PAGE_SHIFT 96 arch/powerpc/mm/book3s32/tlb.c count = ((pmd_end - start) >> PAGE_SHIFT) + 1; PAGE_SHIFT 79 arch/powerpc/mm/book3s64/hash_4k.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; PAGE_SHIFT 152 arch/powerpc/mm/book3s64/hash_64k.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; PAGE_SHIFT 286 arch/powerpc/mm/book3s64/hash_64k.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; PAGE_SHIFT 133 arch/powerpc/mm/book3s64/hash_hugepage.c pa = pmd_pfn(__pmd(old_pmd)) << PAGE_SHIFT; PAGE_SHIFT 103 arch/powerpc/mm/book3s64/hash_hugetlbpage.c pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; PAGE_SHIFT 167 arch/powerpc/mm/book3s64/hash_pgtable.c set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot)); PAGE_SHIFT 311 arch/powerpc/mm/book3s64/hash_utils.c (paddr >> PAGE_SHIFT) < linear_map_hash_count) PAGE_SHIFT 312 arch/powerpc/mm/book3s64/hash_utils.c linear_map_hash_slots[paddr >> PAGE_SHIFT] = ret | 0x80; PAGE_SHIFT 920 arch/powerpc/mm/book3s64/hash_utils.c linear_map_hash_count = memblock_end_of_DRAM() >> PAGE_SHIFT; PAGE_SHIFT 1186 arch/powerpc/mm/book3s64/hash_utils.c spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; PAGE_SHIFT 1879 arch/powerpc/mm/book3s64/hash_utils.c hash = hpt_hash(vpn, PAGE_SHIFT, mmu_kernel_ssize); PAGE_SHIFT 1902 arch/powerpc/mm/book3s64/hash_utils.c hash = hpt_hash(vpn, PAGE_SHIFT, mmu_kernel_ssize); PAGE_SHIFT 1925 arch/powerpc/mm/book3s64/hash_utils.c lmi = __pa(vaddr) >> PAGE_SHIFT; PAGE_SHIFT 80 arch/powerpc/mm/book3s64/iommu_api.c mem->pageshift = __ffs(dev_hpa | (entries << PAGE_SHIFT)); PAGE_SHIFT 91 arch/powerpc/mm/book3s64/iommu_api.c mem->pageshift = __ffs(ua | (entries << PAGE_SHIFT)); PAGE_SHIFT 100 arch/powerpc/mm/book3s64/iommu_api.c chunk = (1UL << (PAGE_SHIFT + MAX_ORDER - 1)) / PAGE_SHIFT 106 arch/powerpc/mm/book3s64/iommu_api.c ret = get_user_pages(ua + (entry << PAGE_SHIFT), n, PAGE_SHIFT 124 arch/powerpc/mm/book3s64/iommu_api.c pageshift = PAGE_SHIFT; PAGE_SHIFT 132 arch/powerpc/mm/book3s64/iommu_api.c if ((mem->pageshift > PAGE_SHIFT) && PageHuge(page)) PAGE_SHIFT 139 arch/powerpc/mm/book3s64/iommu_api.c mem->hpas[i] = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 152 arch/powerpc/mm/book3s64/iommu_api.c if ((mem2->ua < (ua + (entries << PAGE_SHIFT))) && PAGE_SHIFT 154 arch/powerpc/mm/book3s64/iommu_api.c (mem2->entries << PAGE_SHIFT)))) { PAGE_SHIFT 211 arch/powerpc/mm/book3s64/iommu_api.c page = pfn_to_page(mem->hpas[i] >> PAGE_SHIFT); PAGE_SHIFT 292 arch/powerpc/mm/book3s64/iommu_api.c (mem->entries << PAGE_SHIFT))) { PAGE_SHIFT 311 arch/powerpc/mm/book3s64/iommu_api.c (mem->entries << PAGE_SHIFT))) { PAGE_SHIFT 344 arch/powerpc/mm/book3s64/iommu_api.c const long entry = (ua - mem->ua) >> PAGE_SHIFT; PAGE_SHIFT 368 arch/powerpc/mm/book3s64/iommu_api.c const long entry = (ua - mem->ua) >> PAGE_SHIFT; PAGE_SHIFT 405 arch/powerpc/mm/book3s64/iommu_api.c entry = (ua - mem->ua) >> PAGE_SHIFT; PAGE_SHIFT 425 arch/powerpc/mm/book3s64/iommu_api.c end = mem->dev_hpa + (mem->entries << PAGE_SHIFT); PAGE_SHIFT 132 arch/powerpc/mm/book3s64/pgtable.c pmdv = (pfn << PAGE_SHIFT) & PTE_RPN_MASK; PAGE_SHIFT 64 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long pfn = pa >> PAGE_SHIFT; PAGE_SHIFT 114 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long pfn = pa >> PAGE_SHIFT; PAGE_SHIFT 899 arch/powerpc/mm/book3s64/radix_pgtable.c int nid = early_pfn_to_nid(phys >> PAGE_SHIFT); PAGE_SHIFT 116 arch/powerpc/mm/book3s64/subpage_prot.c spp += (addr >> PAGE_SHIFT) & (SBP_L1_COUNT - 1); PAGE_SHIFT 118 arch/powerpc/mm/book3s64/subpage_prot.c i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); PAGE_SHIFT 120 arch/powerpc/mm/book3s64/subpage_prot.c if (addr + (nw << PAGE_SHIFT) > next) PAGE_SHIFT 121 arch/powerpc/mm/book3s64/subpage_prot.c nw = (next - addr) >> PAGE_SHIFT; PAGE_SHIFT 217 arch/powerpc/mm/book3s64/subpage_prot.c if (!access_ok(map, (len >> PAGE_SHIFT) * sizeof(u32))) PAGE_SHIFT 259 arch/powerpc/mm/book3s64/subpage_prot.c spp += (addr >> PAGE_SHIFT) & (SBP_L1_COUNT - 1); PAGE_SHIFT 265 arch/powerpc/mm/book3s64/subpage_prot.c i = (addr >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); PAGE_SHIFT 267 arch/powerpc/mm/book3s64/subpage_prot.c if (addr + (nw << PAGE_SHIFT) > next) PAGE_SHIFT 268 arch/powerpc/mm/book3s64/subpage_prot.c nw = (next - addr) >> PAGE_SHIFT; PAGE_SHIFT 96 arch/powerpc/mm/dma-noncoherent.c struct page *page = pfn_to_page(paddr >> PAGE_SHIFT); PAGE_SHIFT 159 arch/powerpc/mm/fault.c lsb = PAGE_SHIFT; PAGE_SHIFT 519 arch/powerpc/mm/hugetlbpage.c page += ((address & mask) >> PAGE_SHIFT); PAGE_SHIFT 581 arch/powerpc/mm/hugetlbpage.c hugetlb_add_hstate(shift - PAGE_SHIFT); PAGE_SHIFT 304 arch/powerpc/mm/init_64.c page = pfn_to_page(addr >> PAGE_SHIFT); PAGE_SHIFT 131 arch/powerpc/mm/mem.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 132 arch/powerpc/mm/mem.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 153 arch/powerpc/mm/mem.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 154 arch/powerpc/mm/mem.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 179 arch/powerpc/mm/mem.c max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; PAGE_SHIFT 180 arch/powerpc/mm/mem.c min_low_pfn = MEMORY_START >> PAGE_SHIFT; PAGE_SHIFT 182 arch/powerpc/mm/mem.c max_low_pfn = lowmem_end_addr >> PAGE_SHIFT; PAGE_SHIFT 264 arch/powerpc/mm/mem.c 1UL << (ARCH_ZONE_DMA_BITS - PAGE_SHIFT)); PAGE_SHIFT 304 arch/powerpc/mm/mem.c highmem_mapnr = lowmem_end_addr >> PAGE_SHIFT; PAGE_SHIFT 306 arch/powerpc/mm/mem.c phys_addr_t paddr = (phys_addr_t)pfn << PAGE_SHIFT; PAGE_SHIFT 499 arch/powerpc/mm/mem.c unsigned long addr = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 50 arch/powerpc/mm/mmap.c return rnd << PAGE_SHIFT; PAGE_SHIFT 17 arch/powerpc/mm/nohash/8xx.c #define IMMR_SIZE (FIX_IMMR_SIZE << PAGE_SHIFT) PAGE_SHIFT 164 arch/powerpc/mm/nohash/book3e_hugetlbpage.c mas7_3 = (u64)pte_pfn(pte) << PAGE_SHIFT; PAGE_SHIFT 112 arch/powerpc/mm/nohash/book3e_pgtable.c set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot)); PAGE_SHIFT 431 arch/powerpc/mm/nohash/tlb.c vpte = (vpte >> (PAGE_SHIFT - 3)) & ~0xffful; PAGE_SHIFT 116 arch/powerpc/mm/numa.c if ((end_pfn << PAGE_SHIFT) > mem) { PAGE_SHIFT 625 arch/powerpc/mm/numa.c fake_numa_create_new_node(((base + size) >> PAGE_SHIFT), PAGE_SHIFT 715 arch/powerpc/mm/numa.c fake_numa_create_new_node(((start + size) >> PAGE_SHIFT), &nid); PAGE_SHIFT 819 arch/powerpc/mm/numa.c tnid = early_pfn_to_nid(nd_pa >> PAGE_SHIFT); PAGE_SHIFT 885 arch/powerpc/mm/numa.c max_low_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; PAGE_SHIFT 78 arch/powerpc/mm/pgtable_32.c set_pte_at(&init_mm, va, pg, pfn_pte(pa >> PAGE_SHIFT, prot)); PAGE_SHIFT 283 arch/powerpc/mm/slice.c int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); PAGE_SHIFT 329 arch/powerpc/mm/slice.c int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); PAGE_SHIFT 438 arch/powerpc/mm/slice.c int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); PAGE_SHIFT 131 arch/powerpc/perf/callchain.c shift = PAGE_SHIFT; PAGE_SHIFT 225 arch/powerpc/platforms/cell/ras.c 1 << (area->order + PAGE_SHIFT)); PAGE_SHIFT 230 arch/powerpc/platforms/cell/spufs/file.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 245 arch/powerpc/platforms/cell/spufs/file.c pfn = (ctx->spu->local_store_phys + offset) >> PAGE_SHIFT; PAGE_SHIFT 308 arch/powerpc/platforms/cell/spufs/file.c unsigned long area, offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 347 arch/powerpc/platforms/cell/spufs/file.c (area + offset) >> PAGE_SHIFT); PAGE_SHIFT 724 arch/powerpc/platforms/cell/spufs/inode.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 106 arch/powerpc/platforms/powernv/memtrace.c nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 121 arch/powerpc/platforms/powernv/memtrace.c for (pfn = base_pfn; pfn < end_pfn; pfn += bytes>> PAGE_SHIFT) { PAGE_SHIFT 122 arch/powerpc/platforms/powernv/memtrace.c __remove_memory(nid, pfn << PAGE_SHIFT, bytes); PAGE_SHIFT 125 arch/powerpc/platforms/powernv/memtrace.c return base_pfn << PAGE_SHIFT; PAGE_SHIFT 50 arch/powerpc/platforms/powernv/opal-memory-errors.c memory_failure(paddr_start >> PAGE_SHIFT, 0); PAGE_SHIFT 114 arch/powerpc/platforms/powernv/opal-prd.c addr = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1059 arch/powerpc/platforms/powernv/opal.c uint64_t data = vmalloc_to_pfn(vmalloc_addr) << PAGE_SHIFT; PAGE_SHIFT 40 arch/powerpc/platforms/powernv/pci-ioda-tce.c shift - PAGE_SHIFT); PAGE_SHIFT 273 arch/powerpc/platforms/powernv/pci-ioda-tce.c PAGE_SHIFT); PAGE_SHIFT 285 arch/powerpc/platforms/powernv/pci-ioda-tce.c level_shift = max_t(unsigned int, level_shift, PAGE_SHIFT); PAGE_SHIFT 2410 arch/powerpc/platforms/powernv/pci-ioda.c const u64 maxblock = 1UL << (PAGE_SHIFT + MAX_ORDER - 1); PAGE_SHIFT 2420 arch/powerpc/platforms/powernv/pci-ioda.c const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); PAGE_SHIFT 2422 arch/powerpc/platforms/powernv/pci-ioda.c unsigned long tces_order = ilog2(window_size >> PAGE_SHIFT); PAGE_SHIFT 2434 arch/powerpc/platforms/powernv/pci-ioda.c rc = pnv_pci_ioda2_create_table(&pe->table_group, 0, PAGE_SHIFT, PAGE_SHIFT 2517 arch/powerpc/platforms/powernv/pci-ioda.c table_shift = max_t(unsigned, table_shift, PAGE_SHIFT); PAGE_SHIFT 157 arch/powerpc/platforms/ps3/spu.c result = lv1_construct_logical_spe(PAGE_SHIFT, PAGE_SHIFT, PAGE_SHIFT, PAGE_SHIFT 158 arch/powerpc/platforms/ps3/spu.c PAGE_SHIFT, PAGE_SHIFT, get_vas_id(), SPE_TYPE_LOGICAL, PAGE_SHIFT 39 arch/powerpc/platforms/pseries/cmm.c #define KB2PAGES(_p) ((_p)>>(PAGE_SHIFT-10)) PAGE_SHIFT 40 arch/powerpc/platforms/pseries/cmm.c #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) PAGE_SHIFT 501 arch/powerpc/platforms/pseries/cmm.c unsigned long end = start + (marg->nr_pages << PAGE_SHIFT); PAGE_SHIFT 554 arch/powerpc/platforms/pseries/cmm.c unsigned long end_page = start_page + (marg->nr_pages << PAGE_SHIFT); PAGE_SHIFT 288 arch/powerpc/platforms/pseries/hotplug-memory.c start_pfn = base >> PAGE_SHIFT; PAGE_SHIFT 366 arch/powerpc/platforms/pseries/iommu.c next = start_pfn << PAGE_SHIFT; PAGE_SHIFT 367 arch/powerpc/platforms/pseries/iommu.c num_tce = num_pfn << PAGE_SHIFT; PAGE_SHIFT 407 arch/powerpc/platforms/pseries/iommu.c unsigned long dmastart = (start_pfn << PAGE_SHIFT) + PAGE_SHIFT 410 arch/powerpc/platforms/pseries/iommu.c unsigned long npages = num_pfn << PAGE_SHIFT >> tceshift; PAGE_SHIFT 411 arch/powerpc/platforms/pseries/iommu.c void *uaddr = __va(start_pfn << PAGE_SHIFT); PAGE_SHIFT 435 arch/powerpc/platforms/pseries/iommu.c next = start_pfn << PAGE_SHIFT; PAGE_SHIFT 436 arch/powerpc/platforms/pseries/iommu.c num_tce = num_pfn << PAGE_SHIFT; PAGE_SHIFT 793 arch/powerpc/platforms/pseries/iommu.c 1ULL << (be32_to_cpu(dwp->window_shift) - PAGE_SHIFT), dwp); PAGE_SHIFT 1100 arch/powerpc/platforms/pseries/iommu.c ret = walk_system_ram_range(0, memblock_end_of_DRAM() >> PAGE_SHIFT, PAGE_SHIFT 589 arch/powerpc/platforms/pseries/ras.c paddr = pfn << PAGE_SHIFT; PAGE_SHIFT 589 arch/powerpc/sysdev/xive/native.c if (val == PAGE_SHIFT) PAGE_SHIFT 831 arch/powerpc/sysdev/xive/spapr.c if (val == PAGE_SHIFT) PAGE_SHIFT 69 arch/powerpc/sysdev/xive/xive-internal.h return (queue_shift > PAGE_SHIFT) ? (queue_shift - PAGE_SHIFT) : 0; PAGE_SHIFT 16 arch/riscv/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 27 arch/riscv/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 98 arch/riscv/include/asm/pgtable.h (CONFIG_VA_BITS - PAGE_SHIFT - 1 + STRUCT_PAGE_MAX_SHIFT) PAGE_SHIFT 194 arch/riscv/include/asm/pgtable.h #define pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 20 arch/riscv/kernel/sys_riscv.c offset >> (PAGE_SHIFT - page_shift_offset)); PAGE_SHIFT 35 arch/riscv/kernel/vdso.c vdso_pages = (vdso_end - vdso_start) >> PAGE_SHIFT; PAGE_SHIFT 46 arch/riscv/kernel/vdso.c pg = virt_to_page(vdso_start + (i << PAGE_SHIFT)); PAGE_SHIFT 62 arch/riscv/kernel/vdso.c vdso_len = (vdso_pages + 1) << PAGE_SHIFT; PAGE_SHIFT 22 arch/riscv/mm/hugetlbpage.c hugetlb_add_hstate(HPAGE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 24 arch/riscv/mm/hugetlbpage.c hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 40 arch/riscv/mm/hugetlbpage.c hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 171 arch/riscv/mm/init.c set_pte(ptep, pfn_pte(phys >> PAGE_SHIFT, prot)); PAGE_SHIFT 23 arch/s390/appldata/appldata_mem.c #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ PAGE_SHIFT 269 arch/s390/hypfs/inode.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 50 arch/s390/include/asm/diag.h start_addr = start_pfn << PAGE_SHIFT; PAGE_SHIFT 51 arch/s390/include/asm/diag.h end_addr = (start_pfn + num_pfn - 1) << PAGE_SHIFT; PAGE_SHIFT 28 arch/s390/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 164 arch/s390/include/asm/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 165 arch/s390/include/asm/page.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 171 arch/s390/include/asm/page.h #define phys_to_pfn(kaddr) ((kaddr) >> PAGE_SHIFT) PAGE_SHIFT 172 arch/s390/include/asm/page.h #define pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) PAGE_SHIFT 175 arch/s390/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 177 arch/s390/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 56 arch/s390/include/asm/pci_dma.h #define ZPCI_ST_SHIFT (ZPCI_PT_BITS + PAGE_SHIFT) PAGE_SHIFT 97 arch/s390/include/asm/pci_dma.h return ((unsigned long) ptr >> PAGE_SHIFT) & ZPCI_PT_MASK; PAGE_SHIFT 629 arch/s390/include/asm/pgtable.h return (pgd_val(pgd) & origin_mask) >> PAGE_SHIFT; PAGE_SHIFT 656 arch/s390/include/asm/pgtable.h return (p4d_val(p4d) & origin_mask) >> PAGE_SHIFT; PAGE_SHIFT 692 arch/s390/include/asm/pgtable.h return (pud_val(pud) & origin_mask) >> PAGE_SHIFT; PAGE_SHIFT 750 arch/s390/include/asm/pgtable.h return (pmd_val(pmd) & origin_mask) >> PAGE_SHIFT; PAGE_SHIFT 1217 arch/s390/include/asm/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) PAGE_SHIFT 1287 arch/s390/include/asm/pgtable.h #define pfn_pte(pfn,pgprot) mk_pte_phys(__pa((pfn) << PAGE_SHIFT),(pgprot)) PAGE_SHIFT 1288 arch/s390/include/asm/pgtable.h #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) PAGE_SHIFT 1615 arch/s390/include/asm/pgtable.h #define pfn_pmd(pfn, pgprot) mk_pmd_phys(__pa((pfn) << PAGE_SHIFT), (pgprot)) PAGE_SHIFT 213 arch/s390/kernel/compat_linux.c a.offset >> PAGE_SHIFT); PAGE_SHIFT 225 arch/s390/kernel/crash_dump.c src = (void *) (pfn << PAGE_SHIFT) + offset; PAGE_SHIFT 246 arch/s390/kernel/crash_dump.c if (pfn < OLDMEM_SIZE >> PAGE_SHIFT) { PAGE_SHIFT 247 arch/s390/kernel/crash_dump.c size_old = min(size, OLDMEM_SIZE - (pfn << PAGE_SHIFT)); PAGE_SHIFT 249 arch/s390/kernel/crash_dump.c pfn + (OLDMEM_BASE >> PAGE_SHIFT), PAGE_SHIFT 255 arch/s390/kernel/crash_dump.c pfn += size_old >> PAGE_SHIFT; PAGE_SHIFT 274 arch/s390/kernel/crash_dump.c if (pfn < hsa_end >> PAGE_SHIFT) { PAGE_SHIFT 275 arch/s390/kernel/crash_dump.c size_hsa = min(size, hsa_end - (pfn << PAGE_SHIFT)); PAGE_SHIFT 280 arch/s390/kernel/crash_dump.c pfn += size_hsa >> PAGE_SHIFT; PAGE_SHIFT 61 arch/s390/kernel/early.c page_set_storage_key(init_pfn << PAGE_SHIFT, PAGE_SHIFT 206 arch/s390/kernel/irq.c if (((new - old) >> (PAGE_SHIFT + THREAD_SIZE_ORDER)) != 0) { PAGE_SHIFT 183 arch/s390/kernel/machine_kexec.c free_reserved_page(pfn_to_page(addr >> PAGE_SHIFT)); PAGE_SHIFT 199 arch/s390/kernel/machine_kexec.c set_memory_ro(crashk_res.start, size >> PAGE_SHIFT); PAGE_SHIFT 201 arch/s390/kernel/machine_kexec.c set_memory_rw(crashk_res.start, size >> PAGE_SHIFT); PAGE_SHIFT 1388 arch/s390/kernel/perf_cpum_sf.c perf_aux_output_end(handle, i << PAGE_SHIFT); PAGE_SHIFT 1418 arch/s390/kernel/perf_cpum_sf.c aux->head = handle->head >> PAGE_SHIFT; PAGE_SHIFT 1419 arch/s390/kernel/perf_cpum_sf.c range = (handle->size + 1) >> PAGE_SHIFT; PAGE_SHIFT 1588 arch/s390/kernel/perf_cpum_sf.c size = AUX_SDB_NUM_ALERT(aux) << PAGE_SHIFT; PAGE_SHIFT 1607 arch/s390/kernel/perf_cpum_sf.c aux->head = handle->head >> PAGE_SHIFT; PAGE_SHIFT 1608 arch/s390/kernel/perf_cpum_sf.c range = (handle->size + 1) >> PAGE_SHIFT; PAGE_SHIFT 1619 arch/s390/kernel/perf_cpum_sf.c size = range << PAGE_SHIFT; PAGE_SHIFT 1627 arch/s390/kernel/perf_cpum_sf.c size = AUX_SDB_NUM_ALERT(aux) << PAGE_SHIFT; PAGE_SHIFT 223 arch/s390/kernel/process.c return (get_random_int() & BRK_RND_MASK) << PAGE_SHIFT; PAGE_SHIFT 1155 arch/s390/kernel/setup.c memblock_trim_memory(1UL << (MAX_ORDER - 1 + PAGE_SHIFT)); PAGE_SHIFT 84 arch/s390/kernel/vdso.c if ((vdso_pages << PAGE_SHIFT) != vma->vm_end - vma->vm_start) PAGE_SHIFT 232 arch/s390/kernel/vdso.c vdso_base = get_unmapped_area(NULL, 0, vdso_pages << PAGE_SHIFT, 0, 0); PAGE_SHIFT 248 arch/s390/kernel/vdso.c vma = _install_special_mapping(mm, vdso_base, vdso_pages << PAGE_SHIFT, PAGE_SHIFT 273 arch/s390/kernel/vdso.c + PAGE_SIZE - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 290 arch/s390/kernel/vdso.c + PAGE_SIZE - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 534 arch/s390/kvm/gaccess.c tec->addr = gva >> PAGE_SHIFT; PAGE_SHIFT 847 arch/s390/kvm/gaccess.c nr_pages = (((ga & ~PAGE_MASK) + len - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 2734 arch/s390/kvm/interrupt.c mark_page_dirty(kvm, info->guest_addr >> PAGE_SHIFT); PAGE_SHIFT 2745 arch/s390/kvm/interrupt.c mark_page_dirty(kvm, info->guest_addr >> PAGE_SHIFT); PAGE_SHIFT 1134 arch/s390/kvm/priv.c gfn = vcpu->run->s.regs.gprs[r2] >> PAGE_SHIFT; PAGE_SHIFT 1170 arch/s390/kvm/priv.c cbrlo[entries] = gfn << PAGE_SHIFT; PAGE_SHIFT 657 arch/s390/kvm/vsie.c kvm_release_pfn_dirty(hpa >> PAGE_SHIFT); PAGE_SHIFT 1280 arch/s390/kvm/vsie.c struct page *page = pfn_to_page(__pa(vsie_page) >> PAGE_SHIFT); PAGE_SHIFT 96 arch/s390/mm/cmm.c diag10_range(addr >> PAGE_SHIFT, 1); PAGE_SHIFT 209 arch/s390/mm/extmem.c unsigned long start = qout->segstart >> PAGE_SHIFT; PAGE_SHIFT 216 arch/s390/mm/extmem.c if (start != qout->range[i].start >> PAGE_SHIFT) { PAGE_SHIFT 220 arch/s390/mm/extmem.c start = (qout->range[i].end >> PAGE_SHIFT) + 1; PAGE_SHIFT 585 arch/s390/mm/extmem.c seg->range[i].start >> PAGE_SHIFT, PAGE_SHIFT 586 arch/s390/mm/extmem.c seg->range[i].end >> PAGE_SHIFT, PAGE_SHIFT 1183 arch/s390/mm/gmap.c slot = radix_tree_lookup_slot(&sg->host_to_rmap, vmaddr >> PAGE_SHIFT); PAGE_SHIFT 1190 arch/s390/mm/gmap.c radix_tree_insert(&sg->host_to_rmap, vmaddr >> PAGE_SHIFT, PAGE_SHIFT 1339 arch/s390/mm/gmap.c page = pfn_to_page(__pa(pgt) >> PAGE_SHIFT); PAGE_SHIFT 1367 arch/s390/mm/gmap.c page = pfn_to_page(__pa(pgt) >> PAGE_SHIFT); PAGE_SHIFT 1396 arch/s390/mm/gmap.c page = pfn_to_page(__pa(sgt) >> PAGE_SHIFT); PAGE_SHIFT 1424 arch/s390/mm/gmap.c page = pfn_to_page(__pa(sgt) >> PAGE_SHIFT); PAGE_SHIFT 1453 arch/s390/mm/gmap.c page = pfn_to_page(__pa(r3t) >> PAGE_SHIFT); PAGE_SHIFT 1481 arch/s390/mm/gmap.c page = pfn_to_page(__pa(r3t) >> PAGE_SHIFT); PAGE_SHIFT 1510 arch/s390/mm/gmap.c page = pfn_to_page(__pa(r2t) >> PAGE_SHIFT); PAGE_SHIFT 1541 arch/s390/mm/gmap.c page = pfn_to_page(__pa(r2t) >> PAGE_SHIFT); PAGE_SHIFT 1999 arch/s390/mm/gmap.c page = pfn_to_page(*table >> PAGE_SHIFT); PAGE_SHIFT 2199 arch/s390/mm/gmap.c head = radix_tree_delete(&sg->host_to_rmap, vmaddr >> PAGE_SHIFT); PAGE_SHIFT 254 arch/s390/mm/hugetlbpage.c return pud_page(*pud) + ((address & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 264 arch/s390/mm/hugetlbpage.c hugetlb_add_hstate(PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 266 arch/s390/mm/hugetlbpage.c hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 131 arch/s390/mm/init.c set_memory_ro((unsigned long)__start_ro_after_init, size >> PAGE_SHIFT); PAGE_SHIFT 202 arch/s390/mm/init.c (unsigned long)(_einittext - _sinittext) >> PAGE_SHIFT, PAGE_SHIFT 250 arch/s390/mm/init.c mem_data.start = arg->start_pfn << PAGE_SHIFT; PAGE_SHIFT 251 arch/s390/mm/init.c mem_data.end = mem_data.start + (arg->nr_pages << PAGE_SHIFT); PAGE_SHIFT 292 arch/s390/mm/init.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 293 arch/s390/mm/init.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 27 arch/s390/mm/mmap.c return STACK_RND_MASK << PAGE_SHIFT; PAGE_SHIFT 41 arch/s390/mm/mmap.c return (get_random_int() & MMAP_RND_MASK) << PAGE_SHIFT; PAGE_SHIFT 103 arch/s390/mm/mmap.c info.align_mask = MMAP_ALIGN_MASK << PAGE_SHIFT; PAGE_SHIFT 106 arch/s390/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 154 arch/s390/mm/mmap.c info.align_mask = MMAP_ALIGN_MASK << PAGE_SHIFT; PAGE_SHIFT 157 arch/s390/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 120 arch/s390/mm/pageattr.c pte_addr = pmd_pfn(*pmdp) << PAGE_SHIFT; PAGE_SHIFT 197 arch/s390/mm/pageattr.c pmd_addr = pud_pfn(*pudp) << PAGE_SHIFT; PAGE_SHIFT 253 arch/s390/mm/pgalloc.c page = pfn_to_page(__pa(table) >> PAGE_SHIFT); PAGE_SHIFT 283 arch/s390/mm/pgalloc.c page = pfn_to_page(__pa(table) >> PAGE_SHIFT); PAGE_SHIFT 307 arch/s390/mm/pgalloc.c struct page *page = pfn_to_page(__pa(table) >> PAGE_SHIFT); PAGE_SHIFT 408 arch/s390/mm/vmem.c (unsigned long)(_etext - _stext) >> PAGE_SHIFT, PAGE_SHIFT 411 arch/s390/mm/vmem.c (unsigned long)(__end_rodata - _etext) >> PAGE_SHIFT, PAGE_SHIFT 414 arch/s390/mm/vmem.c (unsigned long)(_einittext - _sinittext) >> PAGE_SHIFT, PAGE_SHIFT 416 arch/s390/mm/vmem.c __set_memory(__stext_dma, (__etext_dma - __stext_dma) >> PAGE_SHIFT, PAGE_SHIFT 523 arch/s390/numa/mode_emu.c return (pfn / (emu_size >> PAGE_SHIFT)) % emu_nodes; PAGE_SHIFT 136 arch/s390/pci/pci_dma.c unsigned int nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 267 arch/s390/pci/pci_dma.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 269 arch/s390/pci/pci_dma.c start, size, zdev->start_dma >> PAGE_SHIFT, PAGE_SHIFT 310 arch/s390/pci/pci_dma.c offset = (dma_addr - zdev->start_dma) >> PAGE_SHIFT; PAGE_SHIFT 441 arch/s390/pci/pci_dma.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 581 arch/s390/pci/pci_dma.c zdev->iommu_pages = zdev->iommu_size >> PAGE_SHIFT; PAGE_SHIFT 180 arch/s390/pci/pci_mmio.c io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | PAGE_SHIFT 308 arch/s390/pci/pci_mmio.c io_addr = (void __iomem *)((pfn << PAGE_SHIFT) | (mmio_addr & ~PAGE_MASK)); PAGE_SHIFT 371 arch/sh/drivers/pci/pcie-sh7786.c dma_pfn_offset = memstart >> PAGE_SHIFT; PAGE_SHIFT 91 arch/sh/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 24 arch/sh/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 45 arch/sh/include/asm/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT) PAGE_SHIFT 168 arch/sh/include/asm/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 169 arch/sh/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 177 arch/sh/include/asm/page.h #define PFN_START (__MEMORY_START >> PAGE_SHIFT) PAGE_SHIFT 179 arch/sh/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 183 arch/sh/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 16 arch/sh/include/asm/pgtable-2level.h #define PTE_SHIFT PAGE_SHIFT PAGE_SHIFT 23 arch/sh/include/asm/pgtable-3level.h #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - PTE_MAGNITUDE)) PAGE_SHIFT 77 arch/sh/include/asm/pgtable.h #define PTE_FLAGS_MASK (~(PTE_PHYS_MASK) << PAGE_SHIFT) PAGE_SHIFT 124 arch/sh/include/asm/pgtable.h #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT))) PAGE_SHIFT 319 arch/sh/include/asm/pgtable_32.h __pte(((unsigned long long)(pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 321 arch/sh/include/asm/pgtable_32.h __pmd(((unsigned long long)(pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 333 arch/sh/include/asm/pgtable_32.h #define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT)) PAGE_SHIFT 419 arch/sh/include/asm/pgtable_32.h #define pte_index(address) ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 76 arch/sh/include/asm/pgtable_64.h ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 241 arch/sh/include/asm/pgtable_64.h __MEMORY_START) >> PAGE_SHIFT) PAGE_SHIFT 251 arch/sh/include/asm/pgtable_64.h #define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT)) PAGE_SHIFT 280 arch/sh/include/asm/pgtable_64.h set_pte(&__pte, __pte((((page)-mem_map) << PAGE_SHIFT) | \ PAGE_SHIFT 304 arch/sh/include/asm/pgtable_64.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 305 arch/sh/include/asm/pgtable_64.h #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 91 arch/sh/include/asm/thread_info.h #define THREAD_SIZE_ORDER (THREAD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 10 arch/sh/include/mach-dreamcast/mach/maple.h #define MAPLE_DMA_PAGES ((MAPLE_DMA_ORDER > PAGE_SHIFT) ? \ PAGE_SHIFT 11 arch/sh/include/mach-dreamcast/mach/maple.h MAPLE_DMA_ORDER - PAGE_SHIFT : 0) PAGE_SHIFT 169 arch/sh/kernel/cpu/sh4/sq.c page = bitmap_find_free_region(sq_bitmap, 0x04000000 >> PAGE_SHIFT, PAGE_SHIFT 176 arch/sh/kernel/cpu/sh4/sq.c map->sq_addr = P4SEG_STORE_QUE + (page << PAGE_SHIFT); PAGE_SHIFT 182 arch/sh/kernel/cpu/sh4/sq.c psz = (size + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 221 arch/sh/kernel/cpu/sh4/sq.c page = (map->sq_addr - P4SEG_STORE_QUE) >> PAGE_SHIFT; PAGE_SHIFT 372 arch/sh/kernel/cpu/sh4/sq.c unsigned int nr_pages = 0x04000000 >> PAGE_SHIFT; PAGE_SHIFT 34 arch/sh/kernel/crash_dump.c vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 37 arch/sh/kernel/dma-coherent.c split_page(pfn_to_page(virt_to_phys(ret) >> PAGE_SHIFT), order); PAGE_SHIFT 50 arch/sh/kernel/dma-coherent.c unsigned long pfn = (dma_handle >> PAGE_SHIFT); PAGE_SHIFT 65 arch/sh/kernel/io_trapped.c n = len >> PAGE_SHIFT; PAGE_SHIFT 204 arch/sh/kernel/setup.c start = start_pfn << PAGE_SHIFT; PAGE_SHIFT 205 arch/sh/kernel/setup.c end = end_pfn << PAGE_SHIFT; PAGE_SHIFT 21 arch/sh/kernel/swsusp.c unsigned long begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; PAGE_SHIFT 22 arch/sh/kernel/swsusp.c unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; PAGE_SHIFT 38 arch/sh/kernel/sys_sh.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, off>>PAGE_SHIFT); PAGE_SHIFT 49 arch/sh/kernel/sys_sh.c if (pgoff & ((1 << (PAGE_SHIFT - 12)) - 1)) PAGE_SHIFT 52 arch/sh/kernel/sys_sh.c pgoff >>= PAGE_SHIFT - 12; PAGE_SHIFT 66 arch/sh/mm/cache-sh2a.c if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { PAGE_SHIFT 135 arch/sh/mm/cache-sh2a.c if (((end - begin) >> PAGE_SHIFT) >= MAX_OCACHE_PAGES) { PAGE_SHIFT 169 arch/sh/mm/cache-sh2a.c if (((end - start) >> PAGE_SHIFT) >= MAX_ICACHE_PAGES) { PAGE_SHIFT 51 arch/sh/mm/cache-sh4.c if (((end - start) >> PAGE_SHIFT) >= MAX_ICACHE_PAGES) { PAGE_SHIFT 220 arch/sh/mm/cache-sh4.c phys = pfn << PAGE_SHIFT; PAGE_SHIFT 154 arch/sh/mm/cache-sh5.c n_pages = ((end - start) >> PAGE_SHIFT); PAGE_SHIFT 470 arch/sh/mm/cache-sh5.c int n_pages = ((end - start) >> PAGE_SHIFT); PAGE_SHIFT 558 arch/sh/mm/cache-sh5.c sh64_dcache_purge_phy_page(pfn << PAGE_SHIFT); PAGE_SHIFT 169 arch/sh/mm/cache-sh7705.c __flush_dcache_page(pfn << PAGE_SHIFT); PAGE_SHIFT 254 arch/sh/mm/cache.c c->n_aliases = c->alias_mask ? (c->alias_mask >> PAGE_SHIFT) + 1 : 0; PAGE_SHIFT 95 arch/sh/mm/fault.c if (PageHighMem(pfn_to_page(pmd_val(*pmd) >> PAGE_SHIFT))) PAGE_SHIFT 82 arch/sh/mm/init.c set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, prot)); PAGE_SHIFT 302 arch/sh/mm/init.c max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; PAGE_SHIFT 303 arch/sh/mm/init.c min_low_pfn = __MEMORY_START >> PAGE_SHIFT; PAGE_SHIFT 349 arch/sh/mm/init.c __va(pgdat_end_pfn(pgdat) << PAGE_SHIFT)); PAGE_SHIFT 412 arch/sh/mm/init.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 436 arch/sh/mm/init.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 79 arch/sh/mm/ioremap_fixed.c nrpages = size >> PAGE_SHIFT; PAGE_SHIFT 122 arch/sh/mm/ioremap_fixed.c nrpages = map->size >> PAGE_SHIFT; PAGE_SHIFT 42 arch/sh/mm/kmap.c (((addr >> PAGE_SHIFT) & (FIX_N_COLOURS - 1)) + PAGE_SHIFT 29 arch/sh/mm/mmap.c unsigned long off = (pgoff << PAGE_SHIFT) & shm_align_mask; PAGE_SHIFT 47 arch/sh/mm/mmap.c ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) PAGE_SHIFT 76 arch/sh/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 96 arch/sh/mm/mmap.c ((addr - (pgoff << PAGE_SHIFT)) & shm_align_mask)) PAGE_SHIFT 126 arch/sh/mm/mmap.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 543 arch/sh/mm/pmb.c pmbe->vpn >> PAGE_SHIFT, pmbe->ppn >> PAGE_SHIFT, PAGE_SHIFT 50 arch/sh/mm/tlbflush_32.c size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 85 arch/sh/mm/tlbflush_32.c size = (end - start + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 44 arch/sparc/include/asm/highmem.h #define PKMAP_SIZE (LAST_PKMAP << PAGE_SHIFT) PAGE_SHIFT 45 arch/sparc/include/asm/highmem.h #define PKMAP_BASE PMD_ALIGN(SRMMU_NOCACHE_VADDR + (SRMMU_MAX_NOCACHE_PAGES << PAGE_SHIFT)) PAGE_SHIFT 48 arch/sparc/include/asm/highmem.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 49 arch/sparc/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 45 arch/sparc/include/asm/io-unit.h unsigned long bmap[(IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 3)) / sizeof(unsigned long)]; PAGE_SHIFT 53 arch/sparc/include/asm/io-unit.h #define IOUNIT_BMAP1_END (IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 1)) PAGE_SHIFT 55 arch/sparc/include/asm/io-unit.h #define IOUNIT_BMAP2_END IOUNIT_BMAP2_START + (IOUNIT_DMA_SIZE >> (PAGE_SHIFT + 2)) PAGE_SHIFT 57 arch/sparc/include/asm/io-unit.h #define IOUNIT_BMAPM_END ((IOUNIT_DMA_SIZE - IOUNIT_DVMA_SIZE) >> PAGE_SHIFT) PAGE_SHIFT 253 arch/sparc/include/asm/leon.h #define PFN(x) ((x) >> PAGE_SHIFT) PAGE_SHIFT 5 arch/sparc/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 15 arch/sparc/include/asm/page_32.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 131 arch/sparc/include/asm/page_32.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 134 arch/sparc/include/asm/page_32.h #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr) PAGE_SHIFT 9 arch/sparc/include/asm/page_64.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 15 arch/sparc/include/asm/page_64.h #if PAGE_SHIFT < 14 PAGE_SHIFT 30 arch/sparc/include/asm/page_64.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 150 arch/sparc/include/asm/page_64.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 152 arch/sparc/include/asm/page_64.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr)>>PAGE_SHIFT) PAGE_SHIFT 154 arch/sparc/include/asm/page_64.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 132 arch/sparc/include/asm/pgtable_32.h return pfn_to_page((pmd_val(pmd) & SRMMU_PTD_PMASK) >> (PAGE_SHIFT-4)); PAGE_SHIFT 275 arch/sparc/include/asm/pgtable_32.h return (pte_val(pte) & SRMMU_PTE_PMASK) >> (PAGE_SHIFT-4); PAGE_SHIFT 286 arch/sparc/include/asm/pgtable_32.h return __pte((page_to_pfn(page) << (PAGE_SHIFT-4)) | pgprot_val(pgprot)); PAGE_SHIFT 419 arch/sparc/include/asm/pgtable_32.h offset = ((unsigned long long) GET_PFN(pfn)) << PAGE_SHIFT; PAGE_SHIFT 423 arch/sparc/include/asm/pgtable_32.h return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); PAGE_SHIFT 51 arch/sparc/include/asm/pgtable_64.h #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-3)) PAGE_SHIFT 54 arch/sparc/include/asm/pgtable_64.h #define PMD_BITS (PAGE_SHIFT - 3) PAGE_SHIFT 62 arch/sparc/include/asm/pgtable_64.h #define PUD_BITS (PAGE_SHIFT - 3) PAGE_SHIFT 68 arch/sparc/include/asm/pgtable_64.h #define PGDIR_BITS (PAGE_SHIFT - 3) PAGE_SHIFT 93 arch/sparc/include/asm/pgtable_64.h #define PTRS_PER_PTE (1UL << (PAGE_SHIFT-3)) PAGE_SHIFT 241 arch/sparc/include/asm/pgtable_64.h unsigned long paddr = pfn << PAGE_SHIFT; PAGE_SHIFT 273 arch/sparc/include/asm/pgtable_64.h "i" (21), "i" (21 + PAGE_SHIFT), PAGE_SHIFT 274 arch/sparc/include/asm/pgtable_64.h "i" (8), "i" (8 + PAGE_SHIFT)); PAGE_SHIFT 844 arch/sparc/include/asm/pgtable_64.h return ((unsigned long) __va(pfn << PAGE_SHIFT)); PAGE_SHIFT 854 arch/sparc/include/asm/pgtable_64.h return ((unsigned long) __va(pfn << PAGE_SHIFT)); PAGE_SHIFT 910 arch/sparc/include/asm/pgtable_64.h ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) PAGE_SHIFT 953 arch/sparc/include/asm/pgtable_64.h maybe_tlb_batch_add(mm, addr, ptep, orig, fullmm, PAGE_SHIFT); PAGE_SHIFT 1010 arch/sparc/include/asm/pgtable_64.h #define __swp_type(entry) (((entry).val >> PAGE_SHIFT) & 0xffUL) PAGE_SHIFT 1011 arch/sparc/include/asm/pgtable_64.h #define __swp_offset(entry) ((entry).val >> (PAGE_SHIFT + 8UL)) PAGE_SHIFT 1015 arch/sparc/include/asm/pgtable_64.h (((long)(type) << PAGE_SHIFT) | \ PAGE_SHIFT 1016 arch/sparc/include/asm/pgtable_64.h ((long)(offset) << (PAGE_SHIFT + 8UL))) \ PAGE_SHIFT 1071 arch/sparc/include/asm/pgtable_64.h unsigned long offset = GET_PFN(pfn) << PAGE_SHIFT; PAGE_SHIFT 1077 arch/sparc/include/asm/pgtable_64.h return remap_pfn_range(vma, from, phys_base >> PAGE_SHIFT, size, prot); PAGE_SHIFT 25 arch/sparc/include/asm/processor_64.h #define VPTE_SIZE (1UL << (VA_BITS - PAGE_SHIFT + 3)) PAGE_SHIFT 27 arch/sparc/include/asm/processor_64.h #define VPTE_SIZE (1 << (VA_BITS - PAGE_SHIFT + 3)) PAGE_SHIFT 103 arch/sparc/include/asm/thread_info_64.h #if PAGE_SHIFT == 13 PAGE_SHIFT 105 arch/sparc/include/asm/thread_info_64.h #define THREAD_SHIFT (PAGE_SHIFT + 1) PAGE_SHIFT 108 arch/sparc/include/asm/thread_info_64.h #define THREAD_SHIFT PAGE_SHIFT PAGE_SHIFT 132 arch/sparc/include/asm/thread_info_64.h #if PAGE_SHIFT == 13 PAGE_SHIFT 160 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 165 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 177 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 192 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 273 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 278 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 284 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 289 arch/sparc/include/asm/tsb.h srlx REG2, 64 - PAGE_SHIFT, REG2; \ PAGE_SHIFT 348 arch/sparc/include/asm/tsb.h srlx VADDR, PAGE_SHIFT, REG2; \ PAGE_SHIFT 51 arch/sparc/include/asm/vaddrs.h #define FIXADDR_SIZE ((FIX_KMAP_END + 1) << PAGE_SHIFT) PAGE_SHIFT 54 arch/sparc/include/asm/vaddrs.h #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) PAGE_SHIFT 231 arch/sparc/include/asm/viking.h vaddr >>= PAGE_SHIFT; PAGE_SHIFT 241 arch/sparc/include/asm/viking.h vaddr >>= PAGE_SHIFT; PAGE_SHIFT 330 arch/sparc/kernel/ioport.c printk("%s: no %zd pages\n", __func__, size >> PAGE_SHIFT); PAGE_SHIFT 1061 arch/sparc/kernel/ldc.c iommu_tbl_pool_init(iommu, num_tsb_entries, PAGE_SHIFT, PAGE_SHIFT 2012 arch/sparc/kernel/ldc.c (index << PAGE_SHIFT) | PAGE_SHIFT 2122 arch/sparc/kernel/ldc.c unsigned long base = page_to_pfn(sg_page(sg)) << PAGE_SHIFT; PAGE_SHIFT 2185 arch/sparc/kernel/ldc.c fill_cookies(&state, page_to_pfn(sg_page(s)) << PAGE_SHIFT, PAGE_SHIFT 2238 arch/sparc/kernel/ldc.c npages = PAGE_ALIGN(((cookie & ~PAGE_MASK) + size)) >> PAGE_SHIFT; PAGE_SHIFT 776 arch/sparc/kernel/pci.c user_offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 785 arch/sparc/kernel/pci.c user_offset) >> PAGE_SHIFT; PAGE_SHIFT 788 arch/sparc/kernel/pci.c user_offset) >> PAGE_SHIFT; PAGE_SHIFT 828 arch/sparc/kernel/pci.c user_paddr = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 354 arch/sparc/kernel/setup_32.c pfn_base = phys_base >> PAGE_SHIFT; PAGE_SHIFT 51 arch/sparc/kernel/sys_sparc_32.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) PAGE_SHIFT 68 arch/sparc/kernel/sys_sparc_32.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 108 arch/sparc/kernel/sys_sparc_32.c pgoff >> (PAGE_SHIFT - 12)); PAGE_SHIFT 116 arch/sparc/kernel/sys_sparc_32.c return ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); PAGE_SHIFT 127 arch/sparc/kernel/sys_sparc_32.c (pgoff >> (PAGE_SHIFT - 12)), flags); PAGE_SHIFT 85 arch/sparc/kernel/sys_sparc_64.c unsigned long off = (pgoff<<PAGE_SHIFT) & (SHMLBA-1); PAGE_SHIFT 103 arch/sparc/kernel/sys_sparc_64.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) PAGE_SHIFT 134 arch/sparc/kernel/sys_sparc_64.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 167 arch/sparc/kernel/sys_sparc_64.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) PAGE_SHIFT 197 arch/sparc/kernel/sys_sparc_64.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 273 arch/sparc/kernel/sys_sparc_64.c rnd = (val % (1UL << (23UL-PAGE_SHIFT))); PAGE_SHIFT 275 arch/sparc/kernel/sys_sparc_64.c rnd = (val % (1UL << (30UL-PAGE_SHIFT))); PAGE_SHIFT 277 arch/sparc/kernel/sys_sparc_64.c return rnd << PAGE_SHIFT; PAGE_SHIFT 465 arch/sparc/kernel/sys_sparc_64.c retval = ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); PAGE_SHIFT 1739 arch/sparc/kernel/traps_64.c if (pfn_valid(afar >> PAGE_SHIFT)) PAGE_SHIFT 1740 arch/sparc/kernel/traps_64.c get_page(pfn_to_page(afar >> PAGE_SHIFT)); PAGE_SHIFT 2177 arch/sparc/kernel/traps_64.c if (pfn_valid(addr >> PAGE_SHIFT)) PAGE_SHIFT 2178 arch/sparc/kernel/traps_64.c get_page(pfn_to_page(addr >> PAGE_SHIFT)); PAGE_SHIFT 30 arch/sparc/lib/copy_page.S #if (PAGE_SHIFT == 13) PAGE_SHIFT 32 arch/sparc/lib/copy_page.S #elif (PAGE_SHIFT == 16) PAGE_SHIFT 204 arch/sparc/lib/copy_page.S #if (PAGE_SHIFT == 16) PAGE_SHIFT 104 arch/sparc/mm/fault_64.c pa = pmd_pfn(*pmdp) << PAGE_SHIFT; PAGE_SHIFT 117 arch/sparc/mm/fault_64.c pa = (pte_pfn(pte) << PAGE_SHIFT); PAGE_SHIFT 223 arch/sparc/mm/hugetlbpage.c shift = PAGE_SHIFT; PAGE_SHIFT 245 arch/sparc/mm/hugetlbpage.c shift = PAGE_SHIFT; PAGE_SHIFT 260 arch/sparc/mm/hugetlbpage.c if (shift == PAGE_SHIFT) PAGE_SHIFT 329 arch/sparc/mm/hugetlbpage.c shift = PAGE_SHIFT; PAGE_SHIFT 335 arch/sparc/mm/hugetlbpage.c shift = PAGE_SHIFT; PAGE_SHIFT 344 arch/sparc/mm/hugetlbpage.c orig_shift = pte_none(orig) ? PAGE_SHIFT : huge_tte_to_shift(orig); PAGE_SHIFT 366 arch/sparc/mm/hugetlbpage.c shift = PAGE_SHIFT; PAGE_SHIFT 372 arch/sparc/mm/hugetlbpage.c shift = PAGE_SHIFT; PAGE_SHIFT 375 arch/sparc/mm/hugetlbpage.c orig_shift = pte_none(entry) ? PAGE_SHIFT : huge_tte_to_shift(entry); PAGE_SHIFT 66 arch/sparc/mm/init_32.c unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; PAGE_SHIFT 67 arch/sparc/mm/init_32.c unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; PAGE_SHIFT 84 arch/sparc/mm/init_32.c unsigned long tmp = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); PAGE_SHIFT 87 arch/sparc/mm/init_32.c last_pfn = (sp_banks[0].base_addr + sp_banks[0].num_bytes) >> PAGE_SHIFT; PAGE_SHIFT 89 arch/sparc/mm/init_32.c curr_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; PAGE_SHIFT 97 arch/sparc/mm/init_32.c last_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; PAGE_SHIFT 176 arch/sparc/mm/init_32.c start_pfn >>= PAGE_SHIFT; PAGE_SHIFT 178 arch/sparc/mm/init_32.c max_pfn = end_of_phys_memory >> PAGE_SHIFT; PAGE_SHIFT 183 arch/sparc/mm/init_32.c if (max_low_pfn > pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT)) { PAGE_SHIFT 184 arch/sparc/mm/init_32.c highstart_pfn = pfn_base + (SRMMU_MAXMEM >> PAGE_SHIFT); PAGE_SHIFT 188 arch/sparc/mm/init_32.c high_pages >> (20 - PAGE_SHIFT)); PAGE_SHIFT 194 arch/sparc/mm/init_32.c size = (start_pfn << PAGE_SHIFT) - phys_base; PAGE_SHIFT 198 arch/sparc/mm/init_32.c *pages_avail = (size >> PAGE_SHIFT) - high_pages; PAGE_SHIFT 263 arch/sparc/mm/init_32.c i = last_valid_pfn >> ((20 - PAGE_SHIFT) + 5); PAGE_SHIFT 277 arch/sparc/mm/init_32.c high_memory = __va(max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 281 arch/sparc/mm/init_32.c unsigned long start_pfn = sp_banks[i].base_addr >> PAGE_SHIFT; PAGE_SHIFT 282 arch/sparc/mm/init_32.c unsigned long end_pfn = (sp_banks[i].base_addr + sp_banks[i].num_bytes) >> PAGE_SHIFT; PAGE_SHIFT 335 arch/sparc/mm/init_64.c order = ilog2(size) - PAGE_SHIFT; PAGE_SHIFT 469 arch/sparc/mm/init_64.c __update_mmu_tsb_insert(mm, MM_TSB_BASE, PAGE_SHIFT, PAGE_SHIFT 1630 arch/sparc/mm/init_64.c end_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; PAGE_SHIFT 1632 arch/sparc/mm/init_64.c min_low_pfn = (phys_base >> PAGE_SHIFT); PAGE_SHIFT 1666 arch/sparc/mm/init_64.c return pfn_valid(pa >> PAGE_SHIFT); PAGE_SHIFT 1923 arch/sparc/mm/init_64.c unsigned long phys_start = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 2515 arch/sparc/mm/init_64.c high_memory = __va(last_valid_pfn << PAGE_SHIFT); PAGE_SHIFT 101 arch/sparc/mm/io-unit.c npages = ((vaddr & ~PAGE_MASK) + size + (PAGE_SIZE-1)) >> PAGE_SHIFT; PAGE_SHIFT 134 arch/sparc/mm/io-unit.c vaddr = IOUNIT_DMA_BASE + (scan << PAGE_SHIFT) + (vaddr & ~PAGE_MASK); PAGE_SHIFT 186 arch/sparc/mm/io-unit.c len = ((vaddr & ~PAGE_MASK) + len + (PAGE_SIZE-1)) >> PAGE_SHIFT; PAGE_SHIFT 187 arch/sparc/mm/io-unit.c vaddr = (vaddr - IOUNIT_DMA_BASE) >> PAGE_SHIFT; PAGE_SHIFT 204 arch/sparc/mm/io-unit.c len = ((sg->dma_address & ~PAGE_MASK) + sg->length + (PAGE_SIZE-1)) >> PAGE_SHIFT; PAGE_SHIFT 205 arch/sparc/mm/io-unit.c vaddr = (sg->dma_address - IOUNIT_DMA_BASE) >> PAGE_SHIFT; PAGE_SHIFT 252 arch/sparc/mm/io-unit.c i = ((addr - IOUNIT_DMA_BASE) >> PAGE_SHIFT); PAGE_SHIFT 123 arch/sparc/mm/iommu.c iommu->usemap.num_colors = vac_cache_size >> PAGE_SHIFT; PAGE_SHIFT 184 arch/sparc/mm/iommu.c unsigned long npages = (off + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 211 arch/sparc/mm/iommu.c busa0 = iommu->start + (ioptex << PAGE_SHIFT); PAGE_SHIFT 280 arch/sparc/mm/iommu.c unsigned int npages = (off + len + PAGE_SIZE-1) >> PAGE_SHIFT; PAGE_SHIFT 281 arch/sparc/mm/iommu.c unsigned int ioptex = (busa - iommu->start) >> PAGE_SHIFT; PAGE_SHIFT 334 arch/sparc/mm/iommu.c ioptex = bit_map_string_get(&iommu->usemap, len >> PAGE_SHIFT, PAGE_SHIFT 335 arch/sparc/mm/iommu.c addr >> PAGE_SHIFT); PAGE_SHIFT 379 arch/sparc/mm/iommu.c iommu_flush_iotlb(first, len >> PAGE_SHIFT); PAGE_SHIFT 383 arch/sparc/mm/iommu.c *dma_handle = iommu->start + (ioptex << PAGE_SHIFT); PAGE_SHIFT 397 arch/sparc/mm/iommu.c int ioptex = (busa - iommu->start) >> PAGE_SHIFT; PAGE_SHIFT 414 arch/sparc/mm/iommu.c bit_map_clear(&iommu->usemap, ioptex, len >> PAGE_SHIFT); PAGE_SHIFT 98 arch/sparc/mm/srmmu.c #define SRMMU_NOCACHE_BITMAP_SHIFT (PAGE_SHIFT - 4) PAGE_SHIFT 154 arch/sparc/mm/srmmu.c ptp = page_to_pfn(ptep) << (PAGE_SHIFT-4); /* watch for overflow */ PAGE_SHIFT 168 arch/sparc/mm/srmmu.c ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); PAGE_SHIFT 380 arch/sparc/mm/srmmu.c page = pfn_to_page(__nocache_pa(pte) >> PAGE_SHIFT); PAGE_SHIFT 396 arch/sparc/mm/srmmu.c p = page_to_pfn(pte) << PAGE_SHIFT; /* Physical address */ PAGE_SHIFT 158 arch/sparc/mm/tlb.c tlb_batch_add_one(mm, vaddr, exec, PAGE_SHIFT); PAGE_SHIFT 56 arch/sparc/mm/tsb.c if ((end - start) >> PAGE_SHIFT >= 2 * KERNEL_TSB_NENTRIES) PAGE_SHIFT 60 arch/sparc/mm/tsb.c unsigned long hash = tsb_hash(v, PAGE_SHIFT, PAGE_SHIFT 131 arch/sparc/mm/tsb.c if (tb->hugepage_shift == PAGE_SHIFT) PAGE_SHIFT 132 arch/sparc/mm/tsb.c __flush_tsb_one(tb, PAGE_SHIFT, base, nentries); PAGE_SHIFT 135 arch/sparc/mm/tsb.c __flush_huge_tsb_one(tb, PAGE_SHIFT, base, nentries, PAGE_SHIFT 164 arch/sparc/mm/tsb.c if (hugepage_shift == PAGE_SHIFT) PAGE_SHIFT 165 arch/sparc/mm/tsb.c __flush_tsb_one_entry(base, vaddr, PAGE_SHIFT, PAGE_SHIFT 169 arch/sparc/mm/tsb.c __flush_huge_tsb_one_entry(base, vaddr, PAGE_SHIFT, PAGE_SHIFT 511 arch/sparc/mm/tsb.c PAGE_SHIFT : REAL_HPAGE_SHIFT); PAGE_SHIFT 207 arch/sparc/mm/ultra.S #if (PAGE_SHIFT != 13) PAGE_SHIFT 358 arch/sparc/vdso/vma.c return start + (offset << PAGE_SHIFT); PAGE_SHIFT 65 arch/um/drivers/mmapper_kern.c if (remap_pfn_range(vma, vma->vm_start, p_buf >> PAGE_SHIFT, size, PAGE_SHIFT 52 arch/um/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 14 arch/um/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 108 arch/um/include/asm/page.h #define phys_to_pfn(p) ((p) >> PAGE_SHIFT) PAGE_SHIFT 21 arch/um/include/asm/pgalloc.h (unsigned long long) PAGE_SHIFT))) PAGE_SHIFT 113 arch/um/include/asm/pgtable-3level.h return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); PAGE_SHIFT 339 arch/um/include/asm/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 8 arch/um/include/shared/common-offsets.h DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT); PAGE_SHIFT 169 arch/um/kernel/mem.c zones_size[ZONE_NORMAL] = (end_iomem >> PAGE_SHIFT) - PAGE_SHIFT 170 arch/um/kernel/mem.c (uml_physmem >> PAGE_SHIFT); PAGE_SHIFT 32 arch/um/kernel/physmem.c phys_pages = physmem >> PAGE_SHIFT; PAGE_SHIFT 33 arch/um/kernel/physmem.c iomem_pages = iomem >> PAGE_SHIFT; PAGE_SHIFT 34 arch/um/kernel/physmem.c highmem_pages = highmem >> PAGE_SHIFT; PAGE_SHIFT 115 arch/um/kernel/physmem.c max_low_pfn = min_low_pfn + (map_size >> PAGE_SHIFT); PAGE_SHIFT 25 arch/um/kernel/syscall.c err = ksys_mmap_pgoff(addr, len, prot, flags, fd, offset >> PAGE_SHIFT); PAGE_SHIFT 309 arch/um/kernel/um_arch.c max_physmem &= ~((1 << (PAGE_SHIFT + MAX_ORDER)) - 1); PAGE_SHIFT 16 arch/unicore32/include/asm/cacheflush.h #define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT) PAGE_SHIFT 62 arch/unicore32/include/asm/io.h if (iomem_is_exclusive(pfn << PAGE_SHIFT)) PAGE_SHIFT 36 arch/unicore32/include/asm/memblock.h #define bank_pfn_size(bank) ((bank)->size >> PAGE_SHIFT) PAGE_SHIFT 74 arch/unicore32/include/asm/memory.h #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 81 arch/unicore32/include/asm/memory.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 94 arch/unicore32/include/asm/memory.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 14 arch/unicore32/include/asm/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 83 arch/unicore32/include/asm/pgalloc.h page_to_pfn(ptep) << PAGE_SHIFT | _PAGE_USER_TABLE); PAGE_SHIFT 150 arch/unicore32/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 151 arch/unicore32/include/asm/pgtable.h #define pfn_pte(pfn, prot) (__pte(((pfn) << PAGE_SHIFT) \ PAGE_SHIFT 237 arch/unicore32/include/asm/pgtable.h #define __pte_index(addr) (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 144 arch/unicore32/kernel/hibernate.c unsigned long begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; PAGE_SHIFT 145 arch/unicore32/kernel/hibernate.c unsigned long end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; PAGE_SHIFT 139 arch/unicore32/kernel/pci.c unsigned int sz = SZ_128M >> PAGE_SHIFT; PAGE_SHIFT 74 arch/unicore32/mm/fault.c if (PageHighMem(pfn_to_page(pmd_val(*pmd) >> PAGE_SHIFT))) PAGE_SHIFT 108 arch/unicore32/mm/init.c return memblock_is_memory(pfn << PAGE_SHIFT); PAGE_SHIFT 185 arch/unicore32/mm/init.c high_memory = __va((max_low << PAGE_SHIFT) - 1) + 1; PAGE_SHIFT 115 arch/unicore32/mm/ioremap.c pfn += SZ_4M >> PAGE_SHIFT; PAGE_SHIFT 591 arch/x86/boot/compressed/eboot.c entry->size = d->num_pages << PAGE_SHIFT; PAGE_SHIFT 183 arch/x86/entry/calling.h #define PTI_USER_PGTABLE_BIT PAGE_SHIFT PAGE_SHIFT 47 arch/x86/entry/vdso/vma.c if (!image || (vmf->pgoff << PAGE_SHIFT) >= image->size) PAGE_SHIFT 50 arch/x86/entry/vdso/vma.c vmf->page = virt_to_page(image->data + (vmf->pgoff << PAGE_SHIFT)); PAGE_SHIFT 96 arch/x86/entry/vdso/vma.c sym_offset = (long)(vmf->pgoff << PAGE_SHIFT) + PAGE_SHIFT 111 arch/x86/entry/vdso/vma.c __pa_symbol(&__vvar_page) >> PAGE_SHIFT); PAGE_SHIFT 117 arch/x86/entry/vdso/vma.c __pa(pvti) >> PAGE_SHIFT, PAGE_SHIFT 125 arch/x86/entry/vdso/vma.c virt_to_phys(tsc_pg) >> PAGE_SHIFT); PAGE_SHIFT 230 arch/x86/entry/vdso/vma.c offset = get_random_int() % (((end - start) >> PAGE_SHIFT) + 1); PAGE_SHIFT 231 arch/x86/entry/vdso/vma.c addr = start + (offset << PAGE_SHIFT); PAGE_SHIFT 88 arch/x86/events/intel/bts.c size_t size = nr_pages << PAGE_SHIFT; PAGE_SHIFT 127 arch/x86/events/intel/bts.c offset += __nr_pages << PAGE_SHIFT; PAGE_SHIFT 321 arch/x86/events/intel/bts.c buf->nr_pages << PAGE_SHIFT); PAGE_SHIFT 379 arch/x86/events/intel/bts.c head = handle->head & ((buf->nr_pages << PAGE_SHIFT) - 1); PAGE_SHIFT 816 arch/x86/events/intel/pt.c ((buf->nr_pages << PAGE_SHIFT) - 1)); PAGE_SHIFT 818 arch/x86/events/intel/pt.c base += buf->nr_pages << PAGE_SHIFT; PAGE_SHIFT 938 arch/x86/events/intel/pt.c if (topa->offset + topa->size > pg << PAGE_SHIFT) PAGE_SHIFT 1054 arch/x86/events/intel/pt.c npages = handle->size >> PAGE_SHIFT; PAGE_SHIFT 1060 arch/x86/events/intel/pt.c idx = (head >> PAGE_SHIFT) + npages; PAGE_SHIFT 1069 arch/x86/events/intel/pt.c wakeup = handle->wakeup >> PAGE_SHIFT; PAGE_SHIFT 1072 arch/x86/events/intel/pt.c idx = (head >> PAGE_SHIFT) + npages - 1; PAGE_SHIFT 1112 arch/x86/events/intel/pt.c head &= (buf->nr_pages << PAGE_SHIFT) - 1; PAGE_SHIFT 1114 arch/x86/events/intel/pt.c pg = (head >> PAGE_SHIFT) & (buf->nr_pages - 1); PAGE_SHIFT 1494 arch/x86/events/intel/pt.c buf->nr_pages << PAGE_SHIFT); PAGE_SHIFT 44 arch/x86/hyperv/mmu.c gva_list[gva_n] |= (diff - 1) >> PAGE_SHIFT; PAGE_SHIFT 170 arch/x86/ia32/sys_ia32.c a.offset>>PAGE_SHIFT); PAGE_SHIFT 185 arch/x86/include/asm/acpi.h #define ACPI_TABLE_UPGRADE_MAX_PHYS (max_low_pfn_mapped << PAGE_SHIFT) PAGE_SHIFT 18 arch/x86/include/asm/boot.h # define MIN_KERNEL_ALIGN_LG2 (PAGE_SHIFT + THREAD_SIZE_ORDER) PAGE_SHIFT 74 arch/x86/include/asm/dma.h #define MAX_DMA_PFN ((16UL * 1024 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 77 arch/x86/include/asm/dma.h #define MAX_DMA32_PFN (1UL << (32 - PAGE_SHIFT)) PAGE_SHIFT 84 arch/x86/include/asm/dma.h #define MAX_DMA_ADDRESS ((unsigned long)__va(MAX_DMA_PFN << PAGE_SHIFT)) PAGE_SHIFT 80 arch/x86/include/asm/fixmap.h VSYSCALL_PAGE = (FIXADDR_TOP - VSYSCALL_ADDR) >> PAGE_SHIFT, PAGE_SHIFT 147 arch/x86/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 149 arch/x86/include/asm/fixmap.h #define FIXADDR_TOT_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 58 arch/x86/include/asm/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 59 arch/x86/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 157 arch/x86/include/asm/io.h #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 115 arch/x86/include/asm/kvm_host.h #define KVM_HPAGE_SHIFT(x) (PAGE_SHIFT + KVM_HPAGE_GFN_SHIFT(x)) PAGE_SHIFT 1472 arch/x86/include/asm/kvm_host.h struct page *page = pfn_to_page(shadow_page >> PAGE_SHIFT); PAGE_SHIFT 69 arch/x86/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 70 arch/x86/include/asm/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 11 arch/x86/include/asm/page_types.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 32 arch/x86/include/asm/page_types.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 71 arch/x86/include/asm/page_types.h return (phys_addr_t)max_pfn_mapped << PAGE_SHIFT; PAGE_SHIFT 66 arch/x86/include/asm/pgalloc.h paravirt_alloc_pte(mm, __pa(pte) >> PAGE_SHIFT); PAGE_SHIFT 73 arch/x86/include/asm/pgalloc.h paravirt_alloc_pte(mm, __pa(pte) >> PAGE_SHIFT); PAGE_SHIFT 83 arch/x86/include/asm/pgalloc.h set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT) | _PAGE_TABLE)); PAGE_SHIFT 126 arch/x86/include/asm/pgalloc.h paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 132 arch/x86/include/asm/pgalloc.h paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 140 arch/x86/include/asm/pgalloc.h paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT); PAGE_SHIFT 146 arch/x86/include/asm/pgalloc.h paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT); PAGE_SHIFT 178 arch/x86/include/asm/pgalloc.h paravirt_alloc_p4d(mm, __pa(p4d) >> PAGE_SHIFT); PAGE_SHIFT 186 arch/x86/include/asm/pgalloc.h paravirt_alloc_p4d(mm, __pa(p4d) >> PAGE_SHIFT); PAGE_SHIFT 215 arch/x86/include/asm/pgtable.h return (pfn & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 222 arch/x86/include/asm/pgtable.h return (pfn & pmd_pfn_mask(pmd)) >> PAGE_SHIFT; PAGE_SHIFT 229 arch/x86/include/asm/pgtable.h return (pfn & pud_pfn_mask(pud)) >> PAGE_SHIFT; PAGE_SHIFT 234 arch/x86/include/asm/pgtable.h return (p4d_val(p4d) & p4d_pfn_mask(p4d)) >> PAGE_SHIFT; PAGE_SHIFT 239 arch/x86/include/asm/pgtable.h return (pgd_val(pgd) & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 568 arch/x86/include/asm/pgtable.h phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; PAGE_SHIFT 576 arch/x86/include/asm/pgtable.h phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; PAGE_SHIFT 584 arch/x86/include/asm/pgtable.h phys_addr_t pfn = (phys_addr_t)page_nr << PAGE_SHIFT; PAGE_SHIFT 835 arch/x86/include/asm/pgtable.h return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); PAGE_SHIFT 850 arch/x86/include/asm/pgtable.h return npg >> (20 - PAGE_SHIFT); PAGE_SHIFT 1249 arch/x86/include/asm/pgtable.h #define PTI_PGTABLE_SWITCH_BIT PAGE_SHIFT PAGE_SHIFT 1316 arch/x86/include/asm/pgtable.h return (PAGE_SHIFT - PTE_SHIFT) + level * PTE_SHIFT; PAGE_SHIFT 107 arch/x86/include/asm/pgtable_32.h #define LOWMEM_PAGES ((((_ULL(2)<<31) - __PAGE_OFFSET) >> PAGE_SHIFT)) PAGE_SHIFT 180 arch/x86/include/asm/processor.h return BIT_ULL(boot_cpu_data.x86_cache_bits - 1 - PAGE_SHIFT); PAGE_SHIFT 111 arch/x86/include/asm/set_memory.h decoy_addr = (pfn << PAGE_SHIFT) + (PAGE_OFFSET ^ BIT(63)); PAGE_SHIFT 575 arch/x86/include/asm/tlbflush.h : PAGE_SHIFT, false) PAGE_SHIFT 585 arch/x86/include/asm/tlbflush.h flush_tlb_mm_range(vma->vm_mm, a, a + PAGE_SIZE, PAGE_SHIFT, false); PAGE_SHIFT 25 arch/x86/include/asm/vga.h set_memory_decrypted(start, (s) >> PAGE_SHIFT); \ PAGE_SHIFT 309 arch/x86/include/asm/xen/page.h #define mfn_to_virt(m) (__va(mfn_to_pfn(m) << PAGE_SHIFT)) PAGE_SHIFT 313 arch/x86/include/asm/xen/page.h #define gfn_to_virt(g) (__va(gfn_to_pfn(g) << PAGE_SHIFT)) PAGE_SHIFT 317 arch/x86/include/asm/xen/page.h return (pte.pte & XEN_PTE_MFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 324 arch/x86/include/asm/xen/page.h pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) | PAGE_SHIFT 879 arch/x86/kernel/alternative.c PAGE_SHIFT, false); PAGE_SHIFT 99 arch/x86/kernel/amd_gart_64.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 101 arch/x86/kernel/amd_gart_64.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 268 arch/x86/kernel/amd_gart_64.c iommu_page = (dma_addr - iommu_bus_base)>>PAGE_SHIFT; PAGE_SHIFT 459 arch/x86/kernel/amd_gart_64.c iommu_full(dev, pages << PAGE_SHIFT, dir); PAGE_SHIFT 647 arch/x86/kernel/amd_gart_64.c gatt_size = (aper_size >> PAGE_SHIFT) * sizeof(u32); PAGE_SHIFT 652 arch/x86/kernel/amd_gart_64.c if (set_memory_uc((unsigned long)gatt, gatt_size >> PAGE_SHIFT)) PAGE_SHIFT 745 arch/x86/kernel/amd_gart_64.c end_pfn = (aper_base>>PAGE_SHIFT) + (aper_size>>PAGE_SHIFT); PAGE_SHIFT 749 arch/x86/kernel/amd_gart_64.c init_memory_mapping(start_pfn<<PAGE_SHIFT, end_pfn<<PAGE_SHIFT); PAGE_SHIFT 753 arch/x86/kernel/amd_gart_64.c iommu_pages = iommu_size >> PAGE_SHIFT; PAGE_SHIFT 766 arch/x86/kernel/amd_gart_64.c iommu_gatt_base = agp_gatt_table + (iommu_start>>PAGE_SHIFT); PAGE_SHIFT 778 arch/x86/kernel/amd_gart_64.c iommu_size >> PAGE_SHIFT); PAGE_SHIFT 78 arch/x86/kernel/aperture_64.c aperture_pfn_start = aper_base >> PAGE_SHIFT; PAGE_SHIFT 79 arch/x86/kernel/aperture_64.c aperture_page_count = (32 * 1024 * 1024) << aper_order >> PAGE_SHIFT; PAGE_SHIFT 122 arch/x86/kernel/aperture_64.c register_nosave_region(addr >> PAGE_SHIFT, PAGE_SHIFT 123 arch/x86/kernel/aperture_64.c (addr+aper_size) >> PAGE_SHIFT); PAGE_SHIFT 1542 arch/x86/kernel/apic/x2apic_uv_x.c paddr = node_start_pfn(nodeid) << PAGE_SHIFT; PAGE_SHIFT 120 arch/x86/kernel/cpu/amd.c int mbytes = get_num_physpages() >> (20-PAGE_SHIFT); PAGE_SHIFT 506 arch/x86/kernel/cpu/amd.c unsigned long pfn = tseg >> PAGE_SHIFT; PAGE_SHIFT 1477 arch/x86/kernel/cpu/bugs.c half_pa = (u64)l1tf_pfn_limit() << PAGE_SHIFT; PAGE_SHIFT 215 arch/x86/kernel/cpu/hygon.c unsigned long pfn = tseg >> PAGE_SHIFT; PAGE_SHIFT 498 arch/x86/kernel/cpu/mce/core.c if (MCI_MISC_ADDR_LSB(m->misc) > PAGE_SHIFT) PAGE_SHIFT 540 arch/x86/kernel/cpu/mce/core.c return MCI_MISC_ADDR_LSB(m->misc) >= PAGE_SHIFT; PAGE_SHIFT 567 arch/x86/kernel/cpu/mce/core.c if (!cec_add_elem(m->addr >> PAGE_SHIFT)) PAGE_SHIFT 609 arch/x86/kernel/cpu/mce/core.c pfn = mce->addr >> PAGE_SHIFT; PAGE_SHIFT 1109 arch/x86/kernel/cpu/mce/core.c ret = memory_failure(m->addr >> PAGE_SHIFT, flags); PAGE_SHIFT 1113 arch/x86/kernel/cpu/mce/core.c set_mce_nospec(m->addr >> PAGE_SHIFT, whole_page(m)); PAGE_SHIFT 436 arch/x86/kernel/cpu/microcode/core.c if ((len >> PAGE_SHIFT) > nr_pages) { PAGE_SHIFT 20 arch/x86/kernel/cpu/mtrr/amd.c *base = (low & 0xFFFE0000) >> PAGE_SHIFT; PAGE_SHIFT 46 arch/x86/kernel/cpu/mtrr/amd.c *size = (low + 4) << (15 - PAGE_SHIFT); PAGE_SHIFT 83 arch/x86/kernel/cpu/mtrr/amd.c regs[reg] = (-size >> (15 - PAGE_SHIFT) & 0x0001FFFC) PAGE_SHIFT 84 arch/x86/kernel/cpu/mtrr/amd.c | (base << PAGE_SHIFT) | (type + 1); PAGE_SHIFT 106 arch/x86/kernel/cpu/mtrr/amd.c if (type > MTRR_TYPE_WRCOMB || size < (1 << (17 - PAGE_SHIFT)) PAGE_SHIFT 61 arch/x86/kernel/cpu/mtrr/centaur.c *base = centaur_mcr[reg].high >> PAGE_SHIFT; PAGE_SHIFT 62 arch/x86/kernel/cpu/mtrr/centaur.c *size = -(centaur_mcr[reg].low & 0xfffff000) >> PAGE_SHIFT; PAGE_SHIFT 83 arch/x86/kernel/cpu/mtrr/centaur.c high = base << PAGE_SHIFT; PAGE_SHIFT 86 arch/x86/kernel/cpu/mtrr/centaur.c low = -size << PAGE_SHIFT | 0x1f; PAGE_SHIFT 89 arch/x86/kernel/cpu/mtrr/centaur.c low = -size << PAGE_SHIFT | 0x02; /* NC */ PAGE_SHIFT 91 arch/x86/kernel/cpu/mtrr/centaur.c low = -size << PAGE_SHIFT | 0x09; /* WWO, WC */ PAGE_SHIFT 99 arch/x86/kernel/cpu/mtrr/cleanup.c if (base < (1<<(20-PAGE_SHIFT)) && mtrr_state.have_fixed && PAGE_SHIFT 104 arch/x86/kernel/cpu/mtrr/cleanup.c if (base + size <= (1<<(20-PAGE_SHIFT))) PAGE_SHIFT 106 arch/x86/kernel/cpu/mtrr/cleanup.c size -= (1<<(20-PAGE_SHIFT)) - base; PAGE_SHIFT 107 arch/x86/kernel/cpu/mtrr/cleanup.c base = 1<<(20-PAGE_SHIFT); PAGE_SHIFT 207 arch/x86/kernel/cpu/mtrr/cleanup.c range_state[reg].base_pfn = basek >> (PAGE_SHIFT - 10); PAGE_SHIFT 208 arch/x86/kernel/cpu/mtrr/cleanup.c range_state[reg].size_pfn = sizek >> (PAGE_SHIFT - 10); PAGE_SHIFT 219 arch/x86/kernel/cpu/mtrr/cleanup.c basek = range_state[reg].base_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 220 arch/x86/kernel/cpu/mtrr/cleanup.c sizek = range_state[reg].size_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 418 arch/x86/kernel/cpu/mtrr/cleanup.c basek = base_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 419 arch/x86/kernel/cpu/mtrr/cleanup.c sizek = size_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 522 arch/x86/kernel/cpu/mtrr/cleanup.c #define PSHIFT (PAGE_SHIFT - 10) PAGE_SHIFT 536 arch/x86/kernel/cpu/mtrr/cleanup.c size_base = range_state[i].size_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 541 arch/x86/kernel/cpu/mtrr/cleanup.c start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 719 arch/x86/kernel/cpu/mtrr/cleanup.c x_remove_base = 1 << (32 - PAGE_SHIFT); PAGE_SHIFT 721 arch/x86/kernel/cpu/mtrr/cleanup.c x_remove_size = (mtrr_tom2 >> PAGE_SHIFT) - x_remove_base; PAGE_SHIFT 728 arch/x86/kernel/cpu/mtrr/cleanup.c 1ULL<<(20 - PAGE_SHIFT)); PAGE_SHIFT 735 arch/x86/kernel/cpu/mtrr/cleanup.c range_sums >> (20 - PAGE_SHIFT)); PAGE_SHIFT 857 arch/x86/kernel/cpu/mtrr/cleanup.c trim_start <<= PAGE_SHIFT; PAGE_SHIFT 860 arch/x86/kernel/cpu/mtrr/cleanup.c trim_size <<= PAGE_SHIFT; PAGE_SHIFT 947 arch/x86/kernel/cpu/mtrr/cleanup.c range[nr_range].start = (1ULL<<(32 - PAGE_SHIFT)); PAGE_SHIFT 948 arch/x86/kernel/cpu/mtrr/cleanup.c range[nr_range].end = mtrr_tom2 >> PAGE_SHIFT; PAGE_SHIFT 35 arch/x86/kernel/cpu/mtrr/cyrix.c *base >>= PAGE_SHIFT; PAGE_SHIFT 228 arch/x86/kernel/cpu/mtrr/cyrix.c base <<= PAGE_SHIFT; PAGE_SHIFT 72 arch/x86/kernel/cpu/mtrr/generic.c mask >>= PAGE_SHIFT; PAGE_SHIFT 75 arch/x86/kernel/cpu/mtrr/generic.c size <<= PAGE_SHIFT; PAGE_SHIFT 428 arch/x86/kernel/cpu/mtrr/generic.c high_width = (__ffs64(size_or_mask) - (32 - PAGE_SHIFT) + 3) / 4; PAGE_SHIFT 605 arch/x86/kernel/cpu/mtrr/generic.c tmp = (u64)mask_hi << (32 - PAGE_SHIFT) | mask_lo >> PAGE_SHIFT; PAGE_SHIFT 625 arch/x86/kernel/cpu/mtrr/generic.c *base = (u64)base_hi << (32 - PAGE_SHIFT) | base_lo >> PAGE_SHIFT; PAGE_SHIFT 665 arch/x86/kernel/cpu/mtrr/generic.c || (vr->base_hi & (size_and_mask >> (32 - PAGE_SHIFT))) != PAGE_SHIFT 666 arch/x86/kernel/cpu/mtrr/generic.c (hi & (size_and_mask >> (32 - PAGE_SHIFT)))) { PAGE_SHIFT 675 arch/x86/kernel/cpu/mtrr/generic.c || (vr->mask_hi & (size_and_mask >> (32 - PAGE_SHIFT))) != PAGE_SHIFT 676 arch/x86/kernel/cpu/mtrr/generic.c (hi & (size_and_mask >> (32 - PAGE_SHIFT)))) { PAGE_SHIFT 850 arch/x86/kernel/cpu/mtrr/generic.c vr->base_lo = base << PAGE_SHIFT | type; PAGE_SHIFT 851 arch/x86/kernel/cpu/mtrr/generic.c vr->base_hi = (base & size_and_mask) >> (32 - PAGE_SHIFT); PAGE_SHIFT 852 arch/x86/kernel/cpu/mtrr/generic.c vr->mask_lo = -size << PAGE_SHIFT | 0x800; PAGE_SHIFT 853 arch/x86/kernel/cpu/mtrr/generic.c vr->mask_hi = (-size & size_and_mask) >> (32 - PAGE_SHIFT); PAGE_SHIFT 875 arch/x86/kernel/cpu/mtrr/generic.c if (base & ((1 << (22 - PAGE_SHIFT)) - 1)) { PAGE_SHIFT 54 arch/x86/kernel/cpu/mtrr/if.c base >>= PAGE_SHIFT; PAGE_SHIFT 55 arch/x86/kernel/cpu/mtrr/if.c size >>= PAGE_SHIFT; PAGE_SHIFT 73 arch/x86/kernel/cpu/mtrr/if.c base >>= PAGE_SHIFT; PAGE_SHIFT 74 arch/x86/kernel/cpu/mtrr/if.c size >>= PAGE_SHIFT; PAGE_SHIFT 149 arch/x86/kernel/cpu/mtrr/if.c base >>= PAGE_SHIFT; PAGE_SHIFT 150 arch/x86/kernel/cpu/mtrr/if.c size >>= PAGE_SHIFT; PAGE_SHIFT 268 arch/x86/kernel/cpu/mtrr/if.c if (base + size - 1 >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT)) PAGE_SHIFT 269 arch/x86/kernel/cpu/mtrr/if.c || size >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT))) PAGE_SHIFT 272 arch/x86/kernel/cpu/mtrr/if.c gentry.base = base << PAGE_SHIFT; PAGE_SHIFT 273 arch/x86/kernel/cpu/mtrr/if.c gentry.size = size << PAGE_SHIFT; PAGE_SHIFT 412 arch/x86/kernel/cpu/mtrr/if.c if (size < (0x100000 >> PAGE_SHIFT)) { PAGE_SHIFT 415 arch/x86/kernel/cpu/mtrr/if.c size <<= PAGE_SHIFT - 10; PAGE_SHIFT 418 arch/x86/kernel/cpu/mtrr/if.c size >>= 20 - PAGE_SHIFT; PAGE_SHIFT 422 arch/x86/kernel/cpu/mtrr/if.c i, base, base >> (20 - PAGE_SHIFT), PAGE_SHIFT 332 arch/x86/kernel/cpu/mtrr/mtrr.c (boot_cpu_data.x86_phys_bits - PAGE_SHIFT)) { PAGE_SHIFT 460 arch/x86/kernel/cpu/mtrr/mtrr.c return mtrr_add_page(base >> PAGE_SHIFT, size >> PAGE_SHIFT, type, PAGE_SHIFT 549 arch/x86/kernel/cpu/mtrr/mtrr.c return mtrr_del_page(reg, base >> PAGE_SHIFT, size >> PAGE_SHIFT); PAGE_SHIFT 681 arch/x86/kernel/cpu/mtrr/mtrr.c #define SIZE_OR_MASK_BITS(n) (~((1ULL << ((n) - PAGE_SHIFT)) - 1)) PAGE_SHIFT 1474 arch/x86/kernel/cpu/resctrl/pseudo_lock.c unsigned long off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1507 arch/x86/kernel/cpu/resctrl/pseudo_lock.c physical = __pa(plr->kmem) >> PAGE_SHIFT; PAGE_SHIFT 24 arch/x86/kernel/crash_dump_64.c vaddr = (__force void *)ioremap_encrypted(pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 26 arch/x86/kernel/crash_dump_64.c vaddr = (__force void *)ioremap_cache(pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 110 arch/x86/kernel/dumpstack_64.c k = (stk - begin) >> PAGE_SHIFT; PAGE_SHIFT 653 arch/x86/kernel/e820.c gapstart = (max_pfn << PAGE_SHIFT) + 1024*1024; PAGE_SHIFT 804 arch/x86/kernel/e820.c # define MAX_ARCH_PFN (1ULL<<(36-PAGE_SHIFT)) PAGE_SHIFT 806 arch/x86/kernel/e820.c # define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT)) PAGE_SHIFT 809 arch/x86/kernel/e820.c # define MAX_ARCH_PFN MAXMEM>>PAGE_SHIFT PAGE_SHIFT 829 arch/x86/kernel/e820.c start_pfn = entry->addr >> PAGE_SHIFT; PAGE_SHIFT 830 arch/x86/kernel/e820.c end_pfn = (entry->addr + entry->size) >> PAGE_SHIFT; PAGE_SHIFT 857 arch/x86/kernel/e820.c return e820_end_pfn(1UL << (32 - PAGE_SHIFT), E820_TYPE_RAM); PAGE_SHIFT 45 arch/x86/kernel/espfix_64.c #define ESPFIX_PAGE_SPACE (1UL << (P4D_SHIFT-PAGE_SHIFT-16)) PAGE_SHIFT 82 arch/x86/kernel/espfix_64.c addr = (page << PAGE_SHIFT) + (slot * ESPFIX_STACK_SIZE); PAGE_SHIFT 171 arch/x86/kernel/espfix_64.c paravirt_alloc_pmd(&init_mm, __pa(pmd_p) >> PAGE_SHIFT); PAGE_SHIFT 183 arch/x86/kernel/espfix_64.c paravirt_alloc_pte(&init_mm, __pa(pte_p) >> PAGE_SHIFT); PAGE_SHIFT 875 arch/x86/kernel/ftrace.c npages = PAGE_ALIGN(ops->trampoline_size) >> PAGE_SHIFT; PAGE_SHIFT 882 arch/x86/kernel/ftrace.c npages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 83 arch/x86/kernel/head32.c (PAGE_TABLE_SIZE(LOWMEM_PAGES) << PAGE_SHIFT); PAGE_SHIFT 114 arch/x86/kernel/head32.c *ptr = (pte.pte & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 41 arch/x86/kernel/irq_64.c phys_addr_t pa = per_cpu_ptr_to_phys(stack + (i << PAGE_SHIFT)); PAGE_SHIFT 43 arch/x86/kernel/irq_64.c pages[i] = pfn_to_page(pa >> PAGE_SHIFT); PAGE_SHIFT 228 arch/x86/kernel/ldt.c unsigned long offset = i << PAGE_SHIFT; PAGE_SHIFT 280 arch/x86/kernel/ldt.c unsigned long offset = i << PAGE_SHIFT; PAGE_SHIFT 291 arch/x86/kernel/ldt.c flush_tlb_mm_range(mm, va, va + nr_pages * PAGE_SIZE, PAGE_SHIFT, false); PAGE_SHIFT 109 arch/x86/kernel/machine_kexec_32.c set_pte(pte, pfn_pte(paddr >> PAGE_SHIFT, PAGE_KERNEL_EXEC)); PAGE_SHIFT 219 arch/x86/kernel/machine_kexec_32.c << PAGE_SHIFT); PAGE_SHIFT 173 arch/x86/kernel/machine_kexec_64.c set_pte(pte, pfn_pte(paddr >> PAGE_SHIFT, prot)); PAGE_SHIFT 219 arch/x86/kernel/machine_kexec_64.c mstart = pfn_mapped[i].start << PAGE_SHIFT; PAGE_SHIFT 220 arch/x86/kernel/machine_kexec_64.c mend = pfn_mapped[i].end << PAGE_SHIFT; PAGE_SHIFT 349 arch/x86/kernel/machine_kexec_64.c start_pgtable = page_to_pfn(image->control_code_page) << PAGE_SHIFT; PAGE_SHIFT 413 arch/x86/kernel/machine_kexec_64.c << PAGE_SHIFT); PAGE_SHIFT 625 arch/x86/kernel/machine_kexec_64.c page = pfn_to_page(start >> PAGE_SHIFT); PAGE_SHIFT 626 arch/x86/kernel/machine_kexec_64.c nr_pages = (end >> PAGE_SHIFT) - (start >> PAGE_SHIFT) + 1; PAGE_SHIFT 197 arch/x86/kernel/pci-calgary_64.c index = start_addr >> PAGE_SHIFT; PAGE_SHIFT 223 arch/x86/kernel/pci-calgary_64.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 268 arch/x86/kernel/pci-calgary_64.c ret = (entry << PAGE_SHIFT) | ((unsigned long)vaddr & ~PAGE_MASK); PAGE_SHIFT 289 arch/x86/kernel/pci-calgary_64.c entry = dma_addr >> PAGE_SHIFT; PAGE_SHIFT 373 arch/x86/kernel/pci-calgary_64.c s->dma_address = (entry << PAGE_SHIFT) | s->offset; PAGE_SHIFT 427 arch/x86/kernel/pci-calgary_64.c npages = size >> PAGE_SHIFT; PAGE_SHIFT 457 arch/x86/kernel/pci-calgary_64.c npages = size >> PAGE_SHIFT; PAGE_SHIFT 648 arch/x86/kernel/pci-calgary_64.c numpages = ((limit - start) >> PAGE_SHIFT); PAGE_SHIFT 723 arch/x86/kernel/pci-calgary_64.c npages = ((1024 - 640) * 1024) >> PAGE_SHIFT; PAGE_SHIFT 726 arch/x86/kernel/pci-calgary_64.c npages = (1 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 1542 arch/x86/kernel/pci-calgary_64.c npages = resource_size(r) >> PAGE_SHIFT; PAGE_SHIFT 483 arch/x86/kernel/setup.c total_low_mem = memblock_mem_size(1UL << (32 - PAGE_SHIFT)); PAGE_SHIFT 1094 arch/x86/kernel/setup.c if (max_pfn > (1UL<<(32 - PAGE_SHIFT))) PAGE_SHIFT 1146 arch/x86/kernel/setup.c (max_pfn_mapped<<PAGE_SHIFT) - 1); PAGE_SHIFT 1214 arch/x86/kernel/setup.c dma_contiguous_reserve(max_pfn_mapped << PAGE_SHIFT); PAGE_SHIFT 100 arch/x86/kernel/sys_x86_64.c error = ksys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); PAGE_SHIFT 165 arch/x86/kernel/sys_x86_64.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 227 arch/x86/kernel/sys_x86_64.c info.align_offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 165 arch/x86/kernel/tboot.c if (map_tboot_pages(map_base << PAGE_SHIFT, map_base, map_size)) PAGE_SHIFT 436 arch/x86/kernel/tboot.c TXT_PRIV_CONFIG_REGS_BASE) >> PAGE_SHIFT) PAGE_SHIFT 50 arch/x86/kernel/tce_64.c rpn = (virt_to_bus((void*)uaddr)) >> PAGE_SHIFT; PAGE_SHIFT 202 arch/x86/kernel/vm86_32.c flush_tlb_mm_range(mm, 0xA0000, 0xA0000 + 32*PAGE_SIZE, PAGE_SHIFT, false); PAGE_SHIFT 576 arch/x86/kvm/hyperv.c msg_page_gfn = synic->msg_page >> PAGE_SHIFT; PAGE_SHIFT 131 arch/x86/kvm/mmu.c (PAGE_SHIFT + (level - 1) * PT64_LEVEL_BITS) PAGE_SHIFT 140 arch/x86/kvm/mmu.c (PAGE_SHIFT + (level - 1) * PT32_LEVEL_BITS) PAGE_SHIFT 143 arch/x86/kvm/mmu.c (PT32_BASE_ADDR_MASK & ((1ULL << (PAGE_SHIFT + (((level) - 1) \ PAGE_SHIFT 156 arch/x86/kvm/mmu.c (PT64_BASE_ADDR_MASK & ~((1ULL << (PAGE_SHIFT + (((level) - 1) \ PAGE_SHIFT 159 arch/x86/kvm/mmu.c (PT64_BASE_ADDR_MASK & ((1ULL << (PAGE_SHIFT + (((level) - 1) \ PAGE_SHIFT 164 arch/x86/kvm/mmu.c (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + PT32_LEVEL_BITS)) - 1)) PAGE_SHIFT 166 arch/x86/kvm/mmu.c (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + (((level) - 1) \ PAGE_SHIFT 461 arch/x86/kvm/mmu.c u64 gpa = gfn << PAGE_SHIFT; PAGE_SHIFT 480 arch/x86/kvm/mmu.c return gpa >> PAGE_SHIFT; PAGE_SHIFT 596 arch/x86/kvm/mmu.c GENMASK_ULL(low_phys_bits - 1, PAGE_SHIFT); PAGE_SHIFT 635 arch/x86/kvm/mmu.c return (pte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT; PAGE_SHIFT 640 arch/x86/kvm/mmu.c int shift = 32 - PT32_DIR_PSE36_SHIFT - PAGE_SHIFT; PAGE_SHIFT 1902 arch/x86/kvm/mmu.c new_spte |= (u64)new_pfn << PAGE_SHIFT; PAGE_SHIFT 2015 arch/x86/kvm/mmu.c (memslot->npages << PAGE_SHIFT)); PAGE_SHIFT 2573 arch/x86/kvm/mmu.c quadrant = gaddr >> (PAGE_SHIFT + (PT64_PT_BITS * level)); PAGE_SHIFT 3104 arch/x86/kvm/mmu.c spte |= (u64)pfn << PAGE_SHIFT; PAGE_SHIFT 3332 arch/x86/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 3371 arch/x86/kvm/mmu.c send_sig_mceerr(BUS_MCEERR_AR, (void __user *)address, PAGE_SHIFT, tsk); PAGE_SHIFT 3803 arch/x86/kvm/mmu.c sp = kvm_mmu_get_page(vcpu, i << (30 - PAGE_SHIFT), PAGE_SHIFT 3826 arch/x86/kvm/mmu.c root_gfn = root_cr3 >> PAGE_SHIFT; PAGE_SHIFT 3873 arch/x86/kvm/mmu.c root_gfn = pdptr >> PAGE_SHIFT; PAGE_SHIFT 4161 arch/x86/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 4285 arch/x86/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 4400 arch/x86/kvm/mmu.c if (mmu_check_root(vcpu, new_cr3 >> PAGE_SHIFT)) PAGE_SHIFT 5421 arch/x86/kvm/mmu.c quadrant = page_offset >> PAGE_SHIFT; PAGE_SHIFT 5435 arch/x86/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 5509 arch/x86/kvm/mmu.c r = kvm_mmu_unprotect_page(vcpu->kvm, gpa >> PAGE_SHIFT); PAGE_SHIFT 119 arch/x86/kvm/mmu_audit.c hpa = pfn << PAGE_SHIFT; PAGE_SHIFT 110 arch/x86/kvm/mmutrace.h __entry->gpa = ((u64)table_gfn << PAGE_SHIFT) PAGE_SHIFT 377 arch/x86/kvm/mmutrace.h __entry->gfn = addr >> PAGE_SHIFT; PAGE_SHIFT 101 arch/x86/kvm/paging_tmpl.h return (gpte & PT_LVL_ADDR_MASK(lvl)) >> PAGE_SHIFT; PAGE_SHIFT 159 arch/x86/kvm/paging_tmpl.h pfn = ((vaddr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 160 arch/x86/kvm/paging_tmpl.h paddr = pfn << PAGE_SHIFT; PAGE_SHIFT 422 arch/x86/kvm/paging_tmpl.h gfn += (addr & PT_LVL_OFFSET_MASK(walker->level)) >> PAGE_SHIFT; PAGE_SHIFT 431 arch/x86/kvm/paging_tmpl.h walker->gfn = real_gpa >> PAGE_SHIFT; PAGE_SHIFT 673 arch/x86/kvm/paging_tmpl.h gfn = gw->gfn | ((addr & PT_LVL_OFFSET_MASK(gw->level)) >> PAGE_SHIFT); PAGE_SHIFT 424 arch/x86/kvm/svm.c #define __sme_page_pa(x) __sme_set(page_to_pfn(x) << PAGE_SHIFT) PAGE_SHIFT 941 arch/x86/kvm/svm.c wrmsrl(MSR_VM_HSAVE_PA, page_to_pfn(sd->save_area) << PAGE_SHIFT); PAGE_SHIFT 1355 arch/x86/kvm/svm.c iopm_base = page_to_pfn(iopm_pages) << PAGE_SHIFT; PAGE_SHIFT 1469 arch/x86/kvm/svm.c __free_pages(pfn_to_page(iopm_base >> PAGE_SHIFT), IOPM_ALLOC_ORDER); PAGE_SHIFT 1840 arch/x86/kvm/svm.c first = (uaddr & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1841 arch/x86/kvm/svm.c last = ((uaddr + ulen - 1) & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1845 arch/x86/kvm/svm.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 2255 arch/x86/kvm/svm.c svm->vmcb_pa = __sme_set(page_to_pfn(page) << PAGE_SHIFT); PAGE_SHIFT 2302 arch/x86/kvm/svm.c __free_page(pfn_to_page(__sme_clr(svm->vmcb_pa) >> PAGE_SHIFT)); PAGE_SHIFT 3396 arch/x86/kvm/vmx/nested.c gfn = vmcs12->virtual_apic_page_addr >> PAGE_SHIFT; PAGE_SHIFT 3401 arch/x86/kvm/vmx/nested.c gfn = vmcs12->posted_intr_desc_addr >> PAGE_SHIFT; PAGE_SHIFT 4516 arch/x86/kvm/vmx/nested.c vmx->nested.current_vmptr >> PAGE_SHIFT, PAGE_SHIFT 5052 arch/x86/kvm/vmx/nested.c if (kvm_vcpu_read_guest_page(vcpu, vmcs12->eptp_list_address >> PAGE_SHIFT, PAGE_SHIFT 3433 arch/x86/kvm/vmx/vmx.c fn = to_kvm_vmx(kvm)->tss_addr >> PAGE_SHIFT; PAGE_SHIFT 3472 arch/x86/kvm/vmx/vmx.c identity_map_pfn = kvm_vmx->ept_identity_map_addr >> PAGE_SHIFT; PAGE_SHIFT 3530 arch/x86/kvm/vmx/vmx.c page = gfn_to_page(kvm, APIC_DEFAULT_PHYS_BASE >> PAGE_SHIFT); PAGE_SHIFT 5640 arch/x86/kvm/vmx/vmx.c kvm_vcpu_mark_page_dirty(vcpu, gpa >> PAGE_SHIFT); PAGE_SHIFT 700 arch/x86/kvm/x86.c gfn_t pdpt_gfn = cr3 >> PAGE_SHIFT; PAGE_SHIFT 748 arch/x86/kvm/x86.c gfn = (kvm_read_cr3(vcpu) & 0xffffffe0ul) >> PAGE_SHIFT; PAGE_SHIFT 2656 arch/x86/kvm/x86.c if (kvm_map_gfn(vcpu, vcpu->arch.st.msr_val >> PAGE_SHIFT, PAGE_SHIFT 3554 arch/x86/kvm/x86.c if (kvm_map_gfn(vcpu, vcpu->arch.st.msr_val >> PAGE_SHIFT, &map, PAGE_SHIFT 5402 arch/x86/kvm/x86.c ret = kvm_vcpu_read_guest_page(vcpu, gpa >> PAGE_SHIFT, data, PAGE_SHIFT 5436 arch/x86/kvm/x86.c ret = kvm_vcpu_read_guest_page(vcpu, gpa >> PAGE_SHIFT, val, PAGE_SHIFT 5595 arch/x86/kvm/x86.c *gpa = vcpu->arch.mmio_gfn << PAGE_SHIFT | PAGE_SHIFT 7990 arch/x86/kvm/x86.c apic_address = gfn_to_hva(kvm, APIC_DEFAULT_PHYS_BASE >> PAGE_SHIFT); PAGE_SHIFT 8005 arch/x86/kvm/x86.c page = gfn_to_page(vcpu->kvm, APIC_DEFAULT_PHYS_BASE >> PAGE_SHIFT); PAGE_SHIFT 9777 arch/x86/kvm/x86.c ugfn = slot->userspace_addr >> PAGE_SHIFT; PAGE_SHIFT 9833 arch/x86/kvm/x86.c mem->memory_size >> PAGE_SHIFT); PAGE_SHIFT 235 arch/x86/kvm/x86.h vcpu->arch.mmio_gfn == gpa >> PAGE_SHIFT) PAGE_SHIFT 32 arch/x86/mm/cpu_entry_area.c pte_t pte = pfn_pte(pa >> PAGE_SHIFT, flags); PAGE_SHIFT 280 arch/x86/mm/fault.c bit = (address - 0xA0000) >> PAGE_SHIFT; PAGE_SHIFT 302 arch/x86/mm/fault.c if (!low_pfn(pgd_val(*pgd) >> PAGE_SHIFT) || !pgd_present(*pgd)) PAGE_SHIFT 1046 arch/x86/mm/fault.c lsb = PAGE_SHIFT; PAGE_SHIFT 193 arch/x86/mm/hugetlbpage.c hugetlb_add_hstate(PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 195 arch/x86/mm/hugetlbpage.c hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 211 arch/x86/mm/hugetlbpage.c hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 99 arch/x86/mm/init.c order = get_order((unsigned long)num << PAGE_SHIFT); PAGE_SHIFT 108 arch/x86/mm/init.c min_pfn_mapped << PAGE_SHIFT, PAGE_SHIFT 109 arch/x86/mm/init.c max_pfn_mapped << PAGE_SHIFT, PAGE_SHIFT 120 arch/x86/mm/init.c pfn = ret >> PAGE_SHIFT; PAGE_SHIFT 125 arch/x86/mm/init.c pfn << PAGE_SHIFT, (pgt_buf_end << PAGE_SHIFT) - 1); PAGE_SHIFT 131 arch/x86/mm/init.c adr = __va((pfn + i) << PAGE_SHIFT); PAGE_SHIFT 135 arch/x86/mm/init.c return __va(pfn << PAGE_SHIFT); PAGE_SHIFT 158 arch/x86/mm/init.c pgt_buf_start = base >> PAGE_SHIFT; PAGE_SHIFT 160 arch/x86/mm/init.c pgt_buf_top = pgt_buf_start + (tables >> PAGE_SHIFT); PAGE_SHIFT 268 arch/x86/mm/init.c mr[nr_range].start = start_pfn<<PAGE_SHIFT; PAGE_SHIFT 269 arch/x86/mm/init.c mr[nr_range].end = end_pfn<<PAGE_SHIFT; PAGE_SHIFT 293 arch/x86/mm/init.c if ((end >> PAGE_SHIFT) > max_low_pfn) PAGE_SHIFT 447 arch/x86/mm/init.c if (start_pfn < (1UL<<(32-PAGE_SHIFT))) PAGE_SHIFT 449 arch/x86/mm/init.c min(end_pfn, 1UL<<(32-PAGE_SHIFT))); PAGE_SHIFT 486 arch/x86/mm/init.c add_pfn_range_mapped(start >> PAGE_SHIFT, ret >> PAGE_SHIFT); PAGE_SHIFT 488 arch/x86/mm/init.c return ret >> PAGE_SHIFT; PAGE_SHIFT 522 arch/x86/mm/init.c can_use_brk_pgt = max(start, (u64)pgt_buf_end<<PAGE_SHIFT) >= PAGE_SHIFT 523 arch/x86/mm/init.c min(end, (u64)pgt_buf_top<<PAGE_SHIFT); PAGE_SHIFT 548 arch/x86/mm/init.c return step_size << (PMD_SHIFT - PAGE_SHIFT - 1); PAGE_SHIFT 576 arch/x86/mm/init.c min_pfn_mapped = real_end >> PAGE_SHIFT; PAGE_SHIFT 595 arch/x86/mm/init.c min_pfn_mapped = last_start >> PAGE_SHIFT; PAGE_SHIFT 624 arch/x86/mm/init.c min_pfn_mapped = start >> PAGE_SHIFT; PAGE_SHIFT 658 arch/x86/mm/init.c end = max_pfn << PAGE_SHIFT; PAGE_SHIFT 660 arch/x86/mm/init.c end = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 703 arch/x86/mm/init.c early_memtest(0, max_pfn_mapped << PAGE_SHIFT); PAGE_SHIFT 772 arch/x86/mm/init.c if (iomem_is_exclusive(pagenr << PAGE_SHIFT)) { PAGE_SHIFT 812 arch/x86/mm/init.c set_memory_np(begin, (end - begin) >> PAGE_SHIFT); PAGE_SHIFT 819 arch/x86/mm/init.c set_memory_nx(begin, (end - begin) >> PAGE_SHIFT); PAGE_SHIFT 820 arch/x86/mm/init.c set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); PAGE_SHIFT 836 arch/x86/mm/init.c unsigned long len_pages = (end_ul - begin_ul) >> PAGE_SHIFT; PAGE_SHIFT 985 arch/x86/mm/init.c l1tf_limit <<= PAGE_SHIFT - SWP_OFFSET_FIRST_BIT; PAGE_SHIFT 76 arch/x86/mm/init_32.c paravirt_alloc_pmd(&init_mm, __pa(pmd_table) >> PAGE_SHIFT); PAGE_SHIFT 101 arch/x86/mm/init_32.c paravirt_alloc_pte(&init_mm, __pa(page_table) >> PAGE_SHIFT); PAGE_SHIFT 183 arch/x86/mm/init_32.c paravirt_alloc_pte(&init_mm, __pa(newpte) >> PAGE_SHIFT); PAGE_SHIFT 188 arch/x86/mm/init_32.c paravirt_release_pte(__pa(pte) >> PAGE_SHIFT); PAGE_SHIFT 269 arch/x86/mm/init_32.c start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 270 arch/x86/mm/init_32.c end_pfn = end >> PAGE_SHIFT; PAGE_SHIFT 294 arch/x86/mm/init_32.c pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); PAGE_SHIFT 302 arch/x86/mm/init_32.c pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); PAGE_SHIFT 326 arch/x86/mm/init_32.c pfn &= PMD_MASK >> PAGE_SHIFT; PAGE_SHIFT 345 arch/x86/mm/init_32.c pte_ofs = pte_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); PAGE_SHIFT 362 arch/x86/mm/init_32.c last_map_addr = (pfn << PAGE_SHIFT) + PAGE_SIZE; PAGE_SHIFT 489 arch/x86/mm/init_32.c for (pfn = max_low_pfn; pfn < 1<<(32-PAGE_SHIFT); pfn++) { PAGE_SHIFT 490 arch/x86/mm/init_32.c va = PAGE_OFFSET + (pfn<<PAGE_SHIFT); PAGE_SHIFT 516 arch/x86/mm/init_32.c paravirt_alloc_pmd(&init_mm, __pa(base) >> PAGE_SHIFT); PAGE_SHIFT 583 arch/x86/mm/init_32.c highmem_pages = memparse(arg, &arg) >> PAGE_SHIFT; PAGE_SHIFT 713 arch/x86/mm/init_32.c max_pfn_mapped<<PAGE_SHIFT); PAGE_SHIFT 714 arch/x86/mm/init_32.c printk(KERN_INFO " low ram: 0 - %08lx\n", max_low_pfn<<PAGE_SHIFT); PAGE_SHIFT 857 arch/x86/mm/init_32.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 858 arch/x86/mm/init_32.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 866 arch/x86/mm/init_32.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 867 arch/x86/mm/init_32.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 886 arch/x86/mm/init_32.c set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 900 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 917 arch/x86/mm/init_32.c set_memory_nx(start, size >> PAGE_SHIFT); PAGE_SHIFT 925 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 933 arch/x86/mm/init_32.c set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 936 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 433 arch/x86/mm/init_64.c vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); PAGE_SHIFT 485 arch/x86/mm/init_64.c pfn_pte(paddr >> PAGE_SHIFT, PAGE_KERNEL).pte); PAGE_SHIFT 487 arch/x86/mm/init_64.c set_pte_init(pte, pfn_pte(paddr >> PAGE_SHIFT, prot), init); PAGE_SHIFT 561 arch/x86/mm/init_64.c pfn_pte((paddr & PMD_MASK) >> PAGE_SHIFT, PAGE_SHIFT 648 arch/x86/mm/init_64.c pfn_pte((paddr & PUD_MASK) >> PAGE_SHIFT, PAGE_SHIFT 855 arch/x86/mm/init_64.c update_end_of_memory_vars(start_pfn << PAGE_SHIFT, PAGE_SHIFT 856 arch/x86/mm/init_64.c nr_pages << PAGE_SHIFT); PAGE_SHIFT 864 arch/x86/mm/init_64.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 865 arch/x86/mm/init_64.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 1213 arch/x86/mm/init_64.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1214 arch/x86/mm/init_64.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 1277 arch/x86/mm/init_64.c set_memory_rw(start, (end - start) >> PAGE_SHIFT); PAGE_SHIFT 1294 arch/x86/mm/init_64.c set_memory_ro(start, (end - start) >> PAGE_SHIFT); PAGE_SHIFT 1308 arch/x86/mm/init_64.c set_memory_ro(start, (end - start) >> PAGE_SHIFT); PAGE_SHIFT 1325 arch/x86/mm/init_64.c set_memory_nx(text_end, (all_end - text_end) >> PAGE_SHIFT); PAGE_SHIFT 1329 arch/x86/mm/init_64.c set_memory_rw(start, (end-start) >> PAGE_SHIFT); PAGE_SHIFT 1332 arch/x86/mm/init_64.c set_memory_ro(start, (end-start) >> PAGE_SHIFT); PAGE_SHIFT 1407 arch/x86/mm/init_64.c unsigned long boot_mem_end = max_pfn << PAGE_SHIFT; PAGE_SHIFT 1485 arch/x86/mm/init_64.c entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_SHIFT 46 arch/x86/mm/ioremap.c unsigned long nrpages = size >> PAGE_SHIFT; PAGE_SHIFT 77 arch/x86/mm/ioremap.c start_pfn = (res->start + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 78 arch/x86/mm/ioremap.c stop_pfn = (res->end + 1) >> PAGE_SHIFT; PAGE_SHIFT 878 arch/x86/mm/ioremap.c set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); PAGE_SHIFT 106 arch/x86/mm/kaslr.c memory_tb = DIV_ROUND_UP(max_pfn << PAGE_SHIFT, 1UL << TB_SHIFT) + PAGE_SHIFT 117 arch/x86/mm/kaslr.c vmemmap_size = (kaslr_regions[0].size_tb << (TB_SHIFT - PAGE_SHIFT)) * PAGE_SHIFT 387 arch/x86/mm/mem_encrypt.c npages = (vaddr_end - vaddr) >> PAGE_SHIFT; PAGE_SHIFT 44 arch/x86/mm/mmap.c max <<= PAGE_SHIFT; PAGE_SHIFT 72 arch/x86/mm/mmap.c return (get_random_long() & ((1UL << rndbits) - 1)) << PAGE_SHIFT; PAGE_SHIFT 226 arch/x86/mm/mmap.c phys_addr_t addr = (phys_addr_t)pfn << PAGE_SHIFT; PAGE_SHIFT 210 arch/x86/mm/numa.c tnid = early_pfn_to_nid(nd_pa >> PAGE_SHIFT); PAGE_SHIFT 443 arch/x86/mm/numa.c u64 s = mi->blk[i].start >> PAGE_SHIFT; PAGE_SHIFT 444 arch/x86/mm/numa.c u64 e = mi->blk[i].end >> PAGE_SHIFT; PAGE_SHIFT 454 arch/x86/mm/numa.c if ((s64)(e820ram - numaram) >= (1 << (20 - PAGE_SHIFT))) { PAGE_SHIFT 456 arch/x86/mm/numa.c (numaram << PAGE_SHIFT) >> 20, PAGE_SHIFT 457 arch/x86/mm/numa.c (e820ram << PAGE_SHIFT) >> 20); PAGE_SHIFT 105 arch/x86/mm/numa_emulation.c size = PFN_PHYS((unsigned long)(size >> PAGE_SHIFT) / nr_nodes); PAGE_SHIFT 59 arch/x86/mm/pageattr-test.c unsigned long addr = (unsigned long)__va(i << PAGE_SHIFT); PAGE_SHIFT 142 arch/x86/mm/pageattr-test.c addr[i] = (unsigned long)__va(pfn << PAGE_SHIFT); PAGE_SHIFT 207 arch/x86/mm/pageattr.c return __pa_symbol(_text) >> PAGE_SHIFT; PAGE_SHIFT 213 arch/x86/mm/pageattr.c return __pa_symbol(roundup(_brk_end, PMD_SIZE) - 1) >> PAGE_SHIFT; PAGE_SHIFT 686 arch/x86/mm/pageattr.c phys_addr = (phys_addr_t)pud_pfn(*(pud_t *)pte) << PAGE_SHIFT; PAGE_SHIFT 690 arch/x86/mm/pageattr.c phys_addr = (phys_addr_t)pmd_pfn(*(pmd_t *)pte) << PAGE_SHIFT; PAGE_SHIFT 694 arch/x86/mm/pageattr.c phys_addr = (phys_addr_t)pte_pfn(*pte) << PAGE_SHIFT; PAGE_SHIFT 785 arch/x86/mm/pageattr.c numpages = (lpaddr - address) >> PAGE_SHIFT; PAGE_SHIFT 815 arch/x86/mm/pageattr.c pfn = old_pfn + ((address & (psize - 1)) >> PAGE_SHIFT); PAGE_SHIFT 823 arch/x86/mm/pageattr.c numpages = psize >> PAGE_SHIFT; PAGE_SHIFT 979 arch/x86/mm/pageattr.c pfninc = PMD_PAGE_SIZE >> PAGE_SHIFT; PAGE_SHIFT 1252 arch/x86/mm/pageattr.c unsigned long pre_end = start + (num_pages << PAGE_SHIFT); PAGE_SHIFT 1256 arch/x86/mm/pageattr.c cur_pages = (pre_end - start) >> PAGE_SHIFT; PAGE_SHIFT 1295 arch/x86/mm/pageattr.c cpa->pfn += PMD_SIZE >> PAGE_SHIFT; PAGE_SHIFT 1296 arch/x86/mm/pageattr.c cur_pages += PMD_SIZE >> PAGE_SHIFT; PAGE_SHIFT 1322 arch/x86/mm/pageattr.c end = start + (cpa->numpages << PAGE_SHIFT); PAGE_SHIFT 1333 arch/x86/mm/pageattr.c cur_pages = (pre_end - start) >> PAGE_SHIFT; PAGE_SHIFT 1368 arch/x86/mm/pageattr.c cpa->pfn += PUD_SIZE >> PAGE_SHIFT; PAGE_SHIFT 1369 arch/x86/mm/pageattr.c cur_pages += PUD_SIZE >> PAGE_SHIFT; PAGE_SHIFT 1437 arch/x86/mm/pageattr.c addr + (cpa->numpages << PAGE_SHIFT)); PAGE_SHIFT 1473 arch/x86/mm/pageattr.c PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT))) { PAGE_SHIFT 1475 arch/x86/mm/pageattr.c cpa->pfn = __pa(vaddr) >> PAGE_SHIFT; PAGE_SHIFT 1568 arch/x86/mm/pageattr.c unsigned long laddr = (unsigned long)__va(cpa->pfn << PAGE_SHIFT); PAGE_SHIFT 1581 arch/x86/mm/pageattr.c PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT)))) { PAGE_SHIFT 1603 arch/x86/mm/pageattr.c unsigned long temp_cpa_vaddr = (cpa->pfn << PAGE_SHIFT) + PAGE_SHIFT 2019 arch/x86/mm/pageattr.c start = page_to_pfn(pages[i]) << PAGE_SHIFT; PAGE_SHIFT 2045 arch/x86/mm/pageattr.c start = page_to_pfn(pages[i]) << PAGE_SHIFT; PAGE_SHIFT 2094 arch/x86/mm/pageattr.c start = page_to_pfn(pages[i]) << PAGE_SHIFT; PAGE_SHIFT 427 arch/x86/mm/pat.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 428 arch/x86/mm/pat.c unsigned long end_pfn = (end + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 438 arch/x86/mm/pat.c if (start_pfn < ISA_END_ADDRESS >> PAGE_SHIFT) PAGE_SHIFT 439 arch/x86/mm/pat.c start_pfn = ISA_END_ADDRESS >> PAGE_SHIFT; PAGE_SHIFT 479 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < (end >> PAGE_SHIFT); ++pfn) { PAGE_SHIFT 497 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < (end >> PAGE_SHIFT); ++pfn) { PAGE_SHIFT 509 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < (end >> PAGE_SHIFT); ++pfn) { PAGE_SHIFT 690 arch/x86/mm/pat.c page = pfn_to_page(paddr >> PAGE_SHIFT); PAGE_SHIFT 792 arch/x86/mm/pat.c if (!phys_mem_access_encrypted(pfn << PAGE_SHIFT, size)) PAGE_SHIFT 808 arch/x86/mm/pat.c u64 from = ((u64)pfn) << PAGE_SHIFT; PAGE_SHIFT 857 arch/x86/mm/pat.c if (!page_is_ram(base >> PAGE_SHIFT)) PAGE_SHIFT 997 arch/x86/mm/pat.c resource_size_t paddr = (resource_size_t)pfn << PAGE_SHIFT; PAGE_SHIFT 1062 arch/x86/mm/pat.c paddr = (resource_size_t)pfn << PAGE_SHIFT; PAGE_SHIFT 57 arch/x86/mm/pgtable.c paravirt_release_pmd(__pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 72 arch/x86/mm/pgtable.c paravirt_release_pud(__pa(pud) >> PAGE_SHIFT); PAGE_SHIFT 79 arch/x86/mm/pgtable.c paravirt_release_p4d(__pa(p4d) >> PAGE_SHIFT); PAGE_SHIFT 183 arch/x86/mm/pgtable.c paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 264 arch/x86/mm/pgtable.c paravirt_release_pmd(pgd_val(pgd) >> PAGE_SHIFT); PAGE_SHIFT 652 arch/x86/mm/pgtable.c __native_set_fixmap(idx, pfn_pte(phys >> PAGE_SHIFT, flags)); PAGE_SHIFT 712 arch/x86/mm/pgtable.c (u64)addr >> PAGE_SHIFT, PAGE_SHIFT 744 arch/x86/mm/pgtable.c (u64)addr >> PAGE_SHIFT, PAGE_SHIFT 64 arch/x86/mm/physaddr.c return pfn_valid(x >> PAGE_SHIFT); PAGE_SHIFT 79 arch/x86/mm/physaddr.c VIRTUAL_BUG_ON((phys_addr >> PAGE_SHIFT) > max_low_pfn); PAGE_SHIFT 95 arch/x86/mm/physaddr.c return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT); PAGE_SHIFT 467 arch/x86/mm/pti.c *target_pte = pfn_pte(pa >> PAGE_SHIFT, PAGE_KERNEL); PAGE_SHIFT 598 arch/x86/mm/pti.c set_memory_global(start, (end_global - start) >> PAGE_SHIFT); PAGE_SHIFT 617 arch/x86/mm/pti.c set_memory_nonglobal(start, (end - start) >> PAGE_SHIFT); PAGE_SHIFT 671 arch/x86/mm/tlb.c (info->end - info->start) >> PAGE_SHIFT); PAGE_SHIFT 831 arch/x86/mm/tlb.c (end - start) > tlb_single_page_flush_ceiling << PAGE_SHIFT) { PAGE_SHIFT 48 arch/x86/pci/pcbios.c set_memory_x(PAGE_OFFSET + BIOS_BEGIN, (BIOS_END - BIOS_BEGIN) >> PAGE_SHIFT); PAGE_SHIFT 619 arch/x86/platform/efi/efi.c size = md->num_pages << PAGE_SHIFT; PAGE_SHIFT 900 arch/x86/platform/efi/efi.c num_pages >>= PAGE_SHIFT; PAGE_SHIFT 92 arch/x86/platform/efi/efi_64.c n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT), PGDIR_SIZE); PAGE_SHIFT 130 arch/x86/platform/efi/efi_64.c if (addr_pud > (max_pfn << PAGE_SHIFT)) PAGE_SHIFT 166 arch/x86/platform/efi/efi_64.c nr_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE); PAGE_SHIFT 355 arch/x86/platform/efi/efi_64.c pfn = pa_memmap >> PAGE_SHIFT; PAGE_SHIFT 399 arch/x86/platform/efi/efi_64.c npages = (_etext - _text) >> PAGE_SHIFT; PAGE_SHIFT 401 arch/x86/platform/efi/efi_64.c pfn = text >> PAGE_SHIFT; PAGE_SHIFT 424 arch/x86/platform/efi/efi_64.c pfn = md->phys_addr >> PAGE_SHIFT; PAGE_SHIFT 432 arch/x86/platform/efi/efi_64.c unsigned long size = md->num_pages << PAGE_SHIFT; PAGE_SHIFT 501 arch/x86/platform/efi/efi_64.c if ((last_map_pfn << PAGE_SHIFT) < phys_addr + size) { PAGE_SHIFT 502 arch/x86/platform/efi/efi_64.c unsigned long top = last_map_pfn << PAGE_SHIFT; PAGE_SHIFT 524 arch/x86/platform/efi/efi_64.c pfn = md->phys_addr >> PAGE_SHIFT; PAGE_SHIFT 51 arch/x86/power/hibernate.c nosave_begin_pfn = __pa_symbol(&__nosave_begin) >> PAGE_SHIFT; PAGE_SHIFT 52 arch/x86/power/hibernate.c nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; PAGE_SHIFT 115 arch/x86/power/hibernate_64.c mstart = pfn_mapped[i].start << PAGE_SHIFT; PAGE_SHIFT 116 arch/x86/power/hibernate_64.c mend = pfn_mapped[i].end << PAGE_SHIFT; PAGE_SHIFT 61 arch/x86/realmode/init.c set_memory_decrypted((unsigned long)base, size >> PAGE_SHIFT); PAGE_SHIFT 138 arch/x86/realmode/init.c set_memory_nx((unsigned long) base, size >> PAGE_SHIFT); PAGE_SHIFT 139 arch/x86/realmode/init.c set_memory_ro((unsigned long) base, ro_size >> PAGE_SHIFT); PAGE_SHIFT 140 arch/x86/realmode/init.c set_memory_x((unsigned long) text_start, text_size >> PAGE_SHIFT); PAGE_SHIFT 37 arch/x86/xen/mmu.c return XMADDR(((phys_addr_t)pte_mfn(*pte) << PAGE_SHIFT) + offset); PAGE_SHIFT 336 arch/x86/xen/mmu_pv.c unsigned long mfn = (val & XEN_PTE_MFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 343 arch/x86/xen/mmu_pv.c val = ((pteval_t)pfn << PAGE_SHIFT) | flags; PAGE_SHIFT 352 arch/x86/xen/mmu_pv.c unsigned long pfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 369 arch/x86/xen/mmu_pv.c val = ((pteval_t)mfn << PAGE_SHIFT) | flags; PAGE_SHIFT 1153 arch/x86/xen/mmu_pv.c pa = pte_pfn(pte_tbl[i]) << PAGE_SHIFT; PAGE_SHIFT 1551 arch/x86/xen/mmu_pv.c pfn = (pte & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1623 arch/x86/xen/mmu_pv.c unsigned long addr = (unsigned long)__va(pfn << PAGE_SHIFT); PAGE_SHIFT 1749 arch/x86/xen/mmu_pv.c paddr = mfn_to_pfn(maddr >> PAGE_SHIFT) << PAGE_SHIFT; PAGE_SHIFT 1764 arch/x86/xen/mmu_pv.c unsigned long pfn = __pa(addr) >> PAGE_SHIFT; PAGE_SHIFT 2047 arch/x86/xen/mmu_pv.c pa = pte_pfn(pte) << PAGE_SHIFT; PAGE_SHIFT 2068 arch/x86/xen/mmu_pv.c n_pte = roundup(size, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 2299 arch/x86/xen/mmu_pv.c phys >>= PAGE_SHIFT; PAGE_SHIFT 2742 arch/x86/xen/mmu_pv.c range = (unsigned long)batch << PAGE_SHIFT; PAGE_SHIFT 346 arch/x86/xen/p2m.c paravirt_alloc_pte(&init_mm, __pa(p2m_missing_pte) >> PAGE_SHIFT); PAGE_SHIFT 348 arch/x86/xen/p2m.c paravirt_alloc_pte(&init_mm, __pa(p2m_identity_pte) >> PAGE_SHIFT); PAGE_SHIFT 497 arch/x86/xen/p2m.c paravirt_alloc_pte(&init_mm, __pa(pte_newpg[i]) >> PAGE_SHIFT); PAGE_SHIFT 518 arch/x86/xen/p2m.c paravirt_release_pte(__pa(pte_newpg[i]) >> PAGE_SHIFT); PAGE_SHIFT 291 arch/x86/xen/setup.c .ptr = ((uint64_t)mfn << PAGE_SHIFT) | MMU_MACHPHYS_UPDATE, PAGE_SHIFT 313 arch/x86/xen/setup.c if (HYPERVISOR_update_va_mapping((unsigned long)__va(pfn << PAGE_SHIFT), PAGE_SHIFT 437 arch/x86/xen/setup.c (unsigned long)__va(pfn << PAGE_SHIFT), PAGE_SHIFT 687 arch/x86/xen/setup.c if (dest_len > (NR_FIX_BTMAPS << PAGE_SHIFT) - dest_off) PAGE_SHIFT 688 arch/x86/xen/setup.c dest_len = (NR_FIX_BTMAPS << PAGE_SHIFT) - dest_off; PAGE_SHIFT 690 arch/x86/xen/setup.c if (src_len > (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off) PAGE_SHIFT 691 arch/x86/xen/setup.c src_len = (NR_FIX_BTMAPS << PAGE_SHIFT) - src_off; PAGE_SHIFT 48 arch/xtensa/include/asm/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 51 arch/xtensa/include/asm/fixmap.h #define __fix_to_virt(x) (FIXADDR_START + ((x) << PAGE_SHIFT)) PAGE_SHIFT 52 arch/xtensa/include/asm/fixmap.h #define __virt_to_fix(x) (((x) - FIXADDR_START) >> PAGE_SHIFT) PAGE_SHIFT 25 arch/xtensa/include/asm/highmem.h #define PKMAP_NR(virt) (((virt) - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 26 arch/xtensa/include/asm/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 24 arch/xtensa/include/asm/page.h #define PAGE_SIZE (__XTENSA_UL_CONST(1) << PAGE_SHIFT) PAGE_SHIFT 67 arch/xtensa/include/asm/page.h # define DCACHE_ALIAS_ORDER (DCACHE_WAY_SHIFT - PAGE_SHIFT) PAGE_SHIFT 69 arch/xtensa/include/asm/page.h # define DCACHE_ALIAS(a) (((a) & DCACHE_ALIAS_MASK) >> PAGE_SHIFT) PAGE_SHIFT 78 arch/xtensa/include/asm/page.h # define ICACHE_ALIAS_ORDER (ICACHE_WAY_SHIFT - PAGE_SHIFT) PAGE_SHIFT 80 arch/xtensa/include/asm/page.h # define ICACHE_ALIAS(a) (((a) & ICACHE_ALIAS_MASK) >> PAGE_SHIFT) PAGE_SHIFT 120 arch/xtensa/include/asm/page.h asm ("nsau %0, %1" : "=r" (lz) : "r" ((size - 1) >> PAGE_SHIFT)); PAGE_SHIFT 162 arch/xtensa/include/asm/page.h #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 188 arch/xtensa/include/asm/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 189 arch/xtensa/include/asm/page.h #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 190 arch/xtensa/include/asm/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 191 arch/xtensa/include/asm/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 294 arch/xtensa/include/asm/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 297 arch/xtensa/include/asm/pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 378 arch/xtensa/include/asm/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 416 arch/xtensa/include/asm/pgtable.h #define _PTE_INDEX(rt,rs) extui rt, rs, PAGE_SHIFT, PTRS_PER_PTE_SHIFT PAGE_SHIFT 423 arch/xtensa/include/asm/pgtable.h srli pmd, pmd, PAGE_SHIFT; \ PAGE_SHIFT 424 arch/xtensa/include/asm/pgtable.h slli pmd, pmd, PAGE_SHIFT; \ PAGE_SHIFT 125 arch/xtensa/include/asm/thread_info.h #define THREAD_SIZE_ORDER (KERNEL_STACK_SHIFT - PAGE_SHIFT) PAGE_SHIFT 144 arch/xtensa/kernel/pci-dma.c unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 188 arch/xtensa/kernel/pci-dma.c unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 85 arch/xtensa/kernel/pci.c vma->vm_pgoff += (ioaddr + pci_ctrl->io_space.start) >> PAGE_SHIFT; PAGE_SHIFT 41 arch/xtensa/kernel/syscall.c (((pgoff) << PAGE_SHIFT) & (SHMLBA - 1))) PAGE_SHIFT 71 arch/xtensa/kernel/syscall.c ((addr - (pgoff << PAGE_SHIFT)) & (SHMLBA - 1))) PAGE_SHIFT 146 arch/xtensa/mm/cache.c unsigned long temp = page->index << PAGE_SHIFT; PAGE_SHIFT 60 arch/xtensa/mm/init.c early_memtest((phys_addr_t)min_low_pfn << PAGE_SHIFT, PAGE_SHIFT 61 arch/xtensa/mm/init.c (phys_addr_t)max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 153 arch/xtensa/mm/init.c high_memory = (void *)__va(max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 30 arch/xtensa/mm/tlb.c int e = w + (i << PAGE_SHIFT); PAGE_SHIFT 43 arch/xtensa/mm/tlb.c int e = w + (i << PAGE_SHIFT); PAGE_SHIFT 102 arch/xtensa/mm/tlb.c if (end-start + (PAGE_SIZE-1) <= _TLB_ENTRIES << PAGE_SHIFT) { PAGE_SHIFT 153 arch/xtensa/mm/tlb.c end - start < _TLB_ENTRIES << PAGE_SHIFT) { PAGE_SHIFT 216 arch/xtensa/mm/tlb.c unsigned tlbidx = w | (e << PAGE_SHIFT); PAGE_SHIFT 221 arch/xtensa/mm/tlb.c unsigned vpn = (r0 & PAGE_MASK) | (e << PAGE_SHIFT); PAGE_SHIFT 240 arch/xtensa/mm/tlb.c struct page *p = pfn_to_page(r1 >> PAGE_SHIFT); PAGE_SHIFT 244 block/bio-integrity.c end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 245 block/bio-integrity.c start = ((unsigned long) buf) >> PAGE_SHIFT; PAGE_SHIFT 1521 block/bio.c unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1522 block/bio.c unsigned long start = kaddr >> PAGE_SHIFT; PAGE_SHIFT 1603 block/bio.c unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1604 block/bio.c unsigned long start = kaddr >> PAGE_SHIFT; PAGE_SHIFT 418 block/blk-merge.c page += (offset >> PAGE_SHIFT); PAGE_SHIFT 57 block/blk-settings.c lim->bounce_pfn = (unsigned long)(BLK_BOUNCE_ANY >> PAGE_SHIFT); PAGE_SHIFT 138 block/blk-settings.c unsigned long b_pfn = max_addr >> PAGE_SHIFT; PAGE_SHIFT 148 block/blk-settings.c if (b_pfn < (min_t(u64, 0xffffffffUL, BLK_BOUNCE_HIGH) >> PAGE_SHIFT)) PAGE_SHIFT 189 block/blk-settings.c max_hw_sectors = 1 << (PAGE_SHIFT - 9); PAGE_SHIFT 198 block/blk-settings.c q->backing_dev_info->io_pages = max_sectors >> (PAGE_SHIFT - 9); PAGE_SHIFT 669 block/blk-settings.c t->limits.max_sectors >> (PAGE_SHIFT - 9); PAGE_SHIFT 91 block/blk-sysfs.c (PAGE_SHIFT - 10); PAGE_SHIFT 105 block/blk-sysfs.c q->backing_dev_info->ra_pages = ra_kb >> (PAGE_SHIFT - 10); PAGE_SHIFT 226 block/blk-sysfs.c page_kb = 1 << (PAGE_SHIFT - 10); PAGE_SHIFT 240 block/blk-sysfs.c q->backing_dev_info->io_pages = max_sectors_kb >> (PAGE_SHIFT - 10); PAGE_SHIFT 667 block/partition-generic.c page = read_mapping_page(mapping, (pgoff_t)(n >> (PAGE_SHIFT-9)), NULL); PAGE_SHIFT 672 block/partition-generic.c return (unsigned char *)page_address(page) + ((n & ((1 << (PAGE_SHIFT - 9)) - 1)) << 9); PAGE_SHIFT 403 crypto/af_alg.c npages = (off + n + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 70 crypto/ahash.c walk->pg = sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); PAGE_SHIFT 428 drivers/acpi/apei/ghes.c pfn = mem_err->physical_addr >> PAGE_SHIFT; PAGE_SHIFT 285 drivers/acpi/osl.c pfn = pg_off >> PAGE_SHIFT; PAGE_SHIFT 298 drivers/acpi/osl.c pfn = pg_off >> PAGE_SHIFT; PAGE_SHIFT 512 drivers/acpi/tables.c #define MAP_CHUNK_SIZE (NR_FIX_BTMAPS << PAGE_SHIFT) PAGE_SHIFT 1081 drivers/android/binder_alloc.c size_t index = buffer_space_offset >> PAGE_SHIFT; PAGE_SHIFT 666 drivers/android/binderfs.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 672 drivers/ata/libata-sff.c page = nth_page(page, (offset >> PAGE_SHIFT)); PAGE_SHIFT 799 drivers/ata/libata-sff.c page = nth_page(page, (offset >> PAGE_SHIFT)); PAGE_SHIFT 381 drivers/atm/lanai.c int order = get_order(lanai_buf_size(buf)) + (PAGE_SHIFT - 10); PAGE_SHIFT 318 drivers/base/firmware_loader/fallback.c int page_nr = offset >> PAGE_SHIFT; PAGE_SHIFT 375 drivers/base/firmware_loader/fallback.c PAGE_ALIGN(min_size) >> PAGE_SHIFT); PAGE_SHIFT 484 drivers/base/memory.c if (phys_addr & ((pages_per_block << PAGE_SHIFT) - 1)) PAGE_SHIFT 523 drivers/base/memory.c pfn >>= PAGE_SHIFT; PAGE_SHIFT 544 drivers/base/memory.c pfn >>= PAGE_SHIFT; PAGE_SHIFT 360 drivers/base/node.c #define K(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 28 drivers/block/brd.c #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) PAGE_SHIFT 280 drivers/block/drbd/drbd_actlog.c #if (PAGE_SHIFT + 3) < (AL_EXTENT_SHIFT - BM_BLOCK_SHIFT) PAGE_SHIFT 293 drivers/block/drbd/drbd_actlog.c ((PAGE_SHIFT + 3) - PAGE_SHIFT 299 drivers/block/drbd/drbd_bitmap.c unsigned int page_nr = long_nr >> (PAGE_SHIFT - LN2_BPL + 3); PAGE_SHIFT 307 drivers/block/drbd/drbd_bitmap.c unsigned int page_nr = bitnr >> (PAGE_SHIFT + 3); PAGE_SHIFT 476 drivers/block/drbd/drbd_bitmap.c #define BITS_PER_PAGE (1UL << (PAGE_SHIFT + 3)) PAGE_SHIFT 479 drivers/block/drbd/drbd_bitmap.c # if BITS_PER_PAGE != (1UL << (PAGE_SHIFT + 3)) PAGE_SHIFT 688 drivers/block/drbd/drbd_bitmap.c want = ALIGN(words*sizeof(long), PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 990 drivers/block/drbd/drbd_bitmap.c on_disk_sector += ((sector_t)page_nr) << (PAGE_SHIFT-9); PAGE_SHIFT 1501 drivers/block/drbd/drbd_bitmap.c first_page = sl >> (3 + PAGE_SHIFT); PAGE_SHIFT 1502 drivers/block/drbd/drbd_bitmap.c last_page = el >> (3 + PAGE_SHIFT); PAGE_SHIFT 1607 drivers/block/drbd/drbd_bitmap.c c += (0 != test_bit_le(bitnr - (page_nr << (PAGE_SHIFT+3)), p_addr)); PAGE_SHIFT 1328 drivers/block/drbd/drbd_int.h #if DRBD_MAX_BIO_SIZE > (BIO_MAX_PAGES << PAGE_SHIFT) PAGE_SHIFT 364 drivers/block/drbd/drbd_receiver.c unsigned nr_pages = (payload_size + PAGE_SIZE -1) >> PAGE_SHIFT; PAGE_SHIFT 1647 drivers/block/drbd/drbd_receiver.c unsigned nr_pages = (data_size + PAGE_SIZE -1) >> PAGE_SHIFT; PAGE_SHIFT 1037 drivers/block/drbd/drbd_worker.c int i = (peer_req->i.size + PAGE_SIZE -1) >> PAGE_SHIFT; PAGE_SHIFT 14 drivers/block/null_blk_main.c #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) PAGE_SHIFT 916 drivers/block/null_blk_main.c flushed += one_round << PAGE_SHIFT; PAGE_SHIFT 260 drivers/block/zram/zram_drv.c zram->limit_pages = PAGE_ALIGN(limit) >> PAGE_SHIFT; PAGE_SHIFT 291 drivers/block/zram/zram_drv.c unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; PAGE_SHIFT 497 drivers/block/zram/zram_drv.c nr_pages = i_size_read(inode) >> PAGE_SHIFT; PAGE_SHIFT 624 drivers/block/zram/zram_drv.c unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; PAGE_SHIFT 757 drivers/block/zram/zram_drv.c zram->bd_wb_limit -= 1UL << (PAGE_SHIFT - 12); PAGE_SHIFT 868 drivers/block/zram/zram_drv.c unsigned long nr_pages = zram->disksize >> PAGE_SHIFT; PAGE_SHIFT 1069 drivers/block/zram/zram_drv.c orig_size << PAGE_SHIFT, PAGE_SHIFT 1071 drivers/block/zram/zram_drv.c mem_used << PAGE_SHIFT, PAGE_SHIFT 1072 drivers/block/zram/zram_drv.c zram->limit_pages << PAGE_SHIFT, PAGE_SHIFT 1073 drivers/block/zram/zram_drv.c max_used << PAGE_SHIFT, PAGE_SHIFT 1083 drivers/block/zram/zram_drv.c #define FOUR_K(x) ((x) * (1 << (PAGE_SHIFT - 12))) PAGE_SHIFT 1129 drivers/block/zram/zram_drv.c size_t num_pages = disksize >> PAGE_SHIFT; PAGE_SHIFT 1144 drivers/block/zram/zram_drv.c num_pages = disksize >> PAGE_SHIFT; PAGE_SHIFT 24 drivers/block/zram/zram_drv.h #define SECTORS_PER_PAGE_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) PAGE_SHIFT 117 drivers/char/agp/backend.c #if PAGE_SHIFT < 20 PAGE_SHIFT 118 drivers/char/agp/backend.c memory = totalram_pages() >> (20 - PAGE_SHIFT); PAGE_SHIFT 120 drivers/char/agp/backend.c memory = totalram_pages() << (PAGE_SHIFT - 20); PAGE_SHIFT 132 drivers/char/agp/backend.c result = result << (20 - PAGE_SHIFT); PAGE_SHIFT 585 drivers/char/agp/frontend.c offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 604 drivers/char/agp/frontend.c (kerninfo.aper_base + offset) >> PAGE_SHIFT, PAGE_SHIFT 621 drivers/char/agp/frontend.c kerninfo.aper_base >> PAGE_SHIFT, PAGE_SHIFT 347 drivers/char/agp/generic.c num_entries -= agp_memory_reserved>>PAGE_SHIFT; PAGE_SHIFT 41 drivers/char/agp/i460-agp.c #define I460_KPAGES_PER_IOPAGE (1 << (I460_IO_PAGE_SHIFT - PAGE_SHIFT)) PAGE_SHIFT 154 drivers/char/agp/i460-agp.c values[i].page_order = ilog2((sizeof(u32)*values[i].num_entries) >> PAGE_SHIFT); PAGE_SHIFT 195 drivers/char/agp/i460-agp.c if (I460_IO_PAGE_SHIFT > PAGE_SHIFT) PAGE_SHIFT 233 drivers/char/agp/i460-agp.c if (I460_IO_PAGE_SHIFT > PAGE_SHIFT) { PAGE_SHIFT 368 drivers/char/agp/i460-agp.c unsigned long order = I460_IO_PAGE_SHIFT - PAGE_SHIFT; PAGE_SHIFT 396 drivers/char/agp/i460-agp.c __free_pages(lp->page, I460_IO_PAGE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 503 drivers/char/agp/i460-agp.c if (I460_IO_PAGE_SHIFT <= PAGE_SHIFT) PAGE_SHIFT 512 drivers/char/agp/i460-agp.c if (I460_IO_PAGE_SHIFT <= PAGE_SHIFT) PAGE_SHIFT 530 drivers/char/agp/i460-agp.c if (I460_IO_PAGE_SHIFT <= PAGE_SHIFT) { PAGE_SHIFT 541 drivers/char/agp/i460-agp.c if (I460_IO_PAGE_SHIFT <= PAGE_SHIFT) { PAGE_SHIFT 225 drivers/char/agp/intel-gtt.c dma_addr_t addr = i << PAGE_SHIFT; PAGE_SHIFT 545 drivers/char/agp/intel-gtt.c return aperture_size >> PAGE_SHIFT; PAGE_SHIFT 680 drivers/char/agp/intel-gtt.c aper_size = (intel_private.gtt_mappable_entries << PAGE_SHIFT) / MB(1); PAGE_SHIFT 868 drivers/char/agp/intel-gtt.c len = sg_dma_len(sg) >> PAGE_SHIFT; PAGE_SHIFT 870 drivers/char/agp/intel-gtt.c dma_addr_t addr = sg_dma_address(sg) + (m << PAGE_SHIFT); PAGE_SHIFT 1432 drivers/char/agp/intel-gtt.c *gtt_total = intel_private.gtt_total_entries << PAGE_SHIFT; PAGE_SHIFT 1434 drivers/char/agp/intel-gtt.c *mappable_end = intel_private.gtt_mappable_entries << PAGE_SHIFT; PAGE_SHIFT 271 drivers/char/agp/parisc-agp.c info->gatt = &io_pdir[(PLUTO_IOVA_SIZE/2) >> PAGE_SHIFT]; PAGE_SHIFT 186 drivers/char/agp/uninorth-agp.c gp[i] = (page_to_phys(mem->pages[i]) >> PAGE_SHIFT) | 0x80000000UL; PAGE_SHIFT 432 drivers/char/agp/uninorth-agp.c scratch_value = (page_to_phys(agp_bridge->scratch_page_page) >> PAGE_SHIFT) | 0x80000000UL; PAGE_SHIFT 126 drivers/char/bsr.c dev->bsr_addr >> PAGE_SHIFT, PAGE_SHIFT 70 drivers/char/mem.c u64 from = ((u64)pfn) << PAGE_SHIFT; PAGE_SHIFT 152 drivers/char/mem.c allowed = page_is_allowed(p >> PAGE_SHIFT); PAGE_SHIFT 231 drivers/char/mem.c allowed = page_is_allowed(p >> PAGE_SHIFT); PAGE_SHIFT 317 drivers/char/mem.c phys_addr_t offset = pfn << PAGE_SHIFT; PAGE_SHIFT 335 drivers/char/mem.c return pgoff << PAGE_SHIFT; PAGE_SHIFT 372 drivers/char/mem.c phys_addr_t offset = (phys_addr_t)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 375 drivers/char/mem.c if (offset >> PAGE_SHIFT != vma->vm_pgoff) PAGE_SHIFT 417 drivers/char/mem.c pfn = __pa((u64)vma->vm_pgoff << PAGE_SHIFT) >> PAGE_SHIFT; PAGE_SHIFT 115 drivers/char/mspec.c last_index = (vdata->vm_end - vdata->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 163 drivers/char/mspec.c pfn = paddr >> PAGE_SHIFT; PAGE_SHIFT 2465 drivers/char/random.c range >>= PAGE_SHIFT; PAGE_SHIFT 2470 drivers/char/random.c return start + (get_random_long() % range << PAGE_SHIFT); PAGE_SHIFT 166 drivers/char/uv_mmtimer.c if (remap_pfn_range(vma, vma->vm_start, uv_mmtimer_addr >> PAGE_SHIFT, PAGE_SHIFT 1942 drivers/char/xillybus/xillybus_core.c int idtbuffersize = (1 << PAGE_SHIFT); PAGE_SHIFT 1952 drivers/char/xillybus/xillybus_core.c unsigned char bogus_idt[8] = { 1, 224, (PAGE_SHIFT)-2, 0, PAGE_SHIFT 1953 drivers/char/xillybus/xillybus_core.c 3, 192, PAGE_SHIFT, 0 }; PAGE_SHIFT 35 drivers/crypto/chelsio/chtls/chtls_main.c static uint send_page_order = (14 - PAGE_SHIFT < 0) ? 0 : 14 - PAGE_SHIFT; PAGE_SHIFT 342 drivers/dax/device.c off = pgoff << PAGE_SHIFT; PAGE_SHIFT 131 drivers/dma-buf/dma-buf.c dmabuf->size >> PAGE_SHIFT) PAGE_SHIFT 1059 drivers/dma-buf/dma-buf.c dmabuf->size >> PAGE_SHIFT) PAGE_SHIFT 60 drivers/dma-buf/udmabuf.c 0, ubuf->pagecount << PAGE_SHIFT, PAGE_SHIFT 138 drivers/dma-buf/udmabuf.c pglimit = (size_limit_mb * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 144 drivers/dma-buf/udmabuf.c ubuf->pagecount += list[i].size >> PAGE_SHIFT; PAGE_SHIFT 170 drivers/dma-buf/udmabuf.c pgoff = list[i].offset >> PAGE_SHIFT; PAGE_SHIFT 171 drivers/dma-buf/udmabuf.c pgcnt = list[i].size >> PAGE_SHIFT; PAGE_SHIFT 186 drivers/dma-buf/udmabuf.c exp_info.size = ubuf->pagecount << PAGE_SHIFT; PAGE_SHIFT 103 drivers/edac/altera_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 391 drivers/edac/altera_edac.c dimm->nr_pages = ((mem_size - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 694 drivers/edac/amd64_edac.c err->page = (u32) (error_address >> PAGE_SHIFT); PAGE_SHIFT 2893 drivers/edac/amd64_edac.c nr_pages <<= 20 - PAGE_SHIFT; PAGE_SHIFT 209 drivers/edac/amd76x_edac.c csrow->first_page = mba_base >> PAGE_SHIFT; PAGE_SHIFT 210 drivers/edac/amd76x_edac.c dimm->nr_pages = (mba_mask + 1) >> PAGE_SHIFT; PAGE_SHIFT 212 drivers/edac/amd76x_edac.c csrow->page_mask = mba_mask >> PAGE_SHIFT; PAGE_SHIFT 213 drivers/edac/amd76x_edac.c dimm->grain = dimm->nr_pages << PAGE_SHIFT; PAGE_SHIFT 203 drivers/edac/armada_xp_edac.c addr_val >> PAGE_SHIFT, PAGE_SHIFT 211 drivers/edac/armada_xp_edac.c addr_val >> PAGE_SHIFT, PAGE_SHIFT 114 drivers/edac/aspeed_edac.c page = rec_addr >> PAGE_SHIFT; PAGE_SHIFT 135 drivers/edac/aspeed_edac.c page = un_rec_addr >> PAGE_SHIFT; PAGE_SHIFT 258 drivers/edac/aspeed_edac.c r.start, resource_size(&r), PAGE_SHIFT); PAGE_SHIFT 260 drivers/edac/aspeed_edac.c csrow->first_page = r.start >> PAGE_SHIFT; PAGE_SHIFT 261 drivers/edac/aspeed_edac.c nr_pages = resource_size(&r) >> PAGE_SHIFT; PAGE_SHIFT 47 drivers/edac/cell_edac.c pfn = address >> PAGE_SHIFT; PAGE_SHIFT 70 drivers/edac/cell_edac.c pfn = address >> PAGE_SHIFT; PAGE_SHIFT 148 drivers/edac/cell_edac.c csrow->first_page = r.start >> PAGE_SHIFT; PAGE_SHIFT 149 drivers/edac/cell_edac.c nr_pages = resource_size(&r) >> PAGE_SHIFT; PAGE_SHIFT 341 drivers/edac/cpc925_edac.c nr_pages = row_size >> PAGE_SHIFT; PAGE_SHIFT 460 drivers/edac/cpc925_edac.c pa = mci->csrows[rank]->first_page << PAGE_SHIFT; PAGE_SHIFT 499 drivers/edac/cpc925_edac.c *pfn = pa >> PAGE_SHIFT; PAGE_SHIFT 339 drivers/edac/e752x_edac.c page = sec1_add >> (PAGE_SHIFT - 4); PAGE_SHIFT 401 drivers/edac/e752x_edac.c block_page = error_2b >> (PAGE_SHIFT - 4); PAGE_SHIFT 420 drivers/edac/e752x_edac.c block_page = error_2b >> (PAGE_SHIFT - 4); PAGE_SHIFT 468 drivers/edac/e752x_edac.c page = error_1b >> (PAGE_SHIFT - 4); /* convert the addr to 4k page */ PAGE_SHIFT 1102 drivers/edac/e752x_edac.c cumul_size = value << (25 + drc_drbg - PAGE_SHIFT); PAGE_SHIFT 384 drivers/edac/e7xxx_edac.c cumul_size = value << (25 + drc_drbg - PAGE_SHIFT); PAGE_SHIFT 1242 drivers/edac/edac_mc.c (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, PAGE_SHIFT 40 drivers/edac/edac_mc.h #if PAGE_SHIFT < 20 PAGE_SHIFT 41 drivers/edac/edac_mc.h #define PAGES_TO_MiB(pages) ((pages) >> (20 - PAGE_SHIFT)) PAGE_SHIFT 42 drivers/edac/edac_mc.h #define MiB_TO_PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) PAGE_SHIFT 44 drivers/edac/edac_mc.h #define PAGES_TO_MiB(pages) ((pages) << (PAGE_SHIFT - 20)) PAGE_SHIFT 45 drivers/edac/edac_mc.h #define MiB_TO_PAGES(mb) ((mb) >> (PAGE_SHIFT - 20)) PAGE_SHIFT 318 drivers/edac/fsl_ddr_edac.c pfn = err_addr >> PAGE_SHIFT; PAGE_SHIFT 459 drivers/edac/fsl_ddr_edac.c start <<= (24 - PAGE_SHIFT); PAGE_SHIFT 460 drivers/edac/fsl_ddr_edac.c end <<= (24 - PAGE_SHIFT); PAGE_SHIFT 461 drivers/edac/fsl_ddr_edac.c end |= (1 << (24 - PAGE_SHIFT)) - 1; PAGE_SHIFT 324 drivers/edac/ghes_edac.c e->page_frame_number = mem_err->physical_addr >> PAGE_SHIFT; PAGE_SHIFT 457 drivers/edac/ghes_edac.c (e->page_frame_number << PAGE_SHIFT) | e->offset_in_page, PAGE_SHIFT 65 drivers/edac/highbank_mc_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 75 drivers/edac/highbank_mc_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 222 drivers/edac/highbank_mc_edac.c dimm->nr_pages = (~0UL >> PAGE_SHIFT) + 1; PAGE_SHIFT 53 drivers/edac/i3000_edac.c deap >>= PAGE_SHIFT; PAGE_SHIFT 54 drivers/edac/i3000_edac.c deap |= (edeap & 1) << (32 - PAGE_SHIFT); PAGE_SHIFT 396 drivers/edac/i3000_edac.c cumul_size = value << (I3000_DRB_SHIFT - PAGE_SHIFT); PAGE_SHIFT 332 drivers/edac/i3200_edac.c n <<= (I3200_DRB_SHIFT - PAGE_SHIFT); PAGE_SHIFT 406 drivers/edac/i3200_edac.c dimm->grain = nr_pages << PAGE_SHIFT; PAGE_SHIFT 1781 drivers/edac/i7core_edac.c m->addr >> PAGE_SHIFT, PAGE_SHIFT 151 drivers/edac/i82443bxgx_edac.c page = eapaddr >> PAGE_SHIFT; PAGE_SHIFT 152 drivers/edac/i82443bxgx_edac.c pageoffset = eapaddr - (page << PAGE_SHIFT); PAGE_SHIFT 218 drivers/edac/i82443bxgx_edac.c csrow->first_page = row_base >> PAGE_SHIFT; PAGE_SHIFT 219 drivers/edac/i82443bxgx_edac.c csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; PAGE_SHIFT 116 drivers/edac/i82860_edac.c info->eap >>= PAGE_SHIFT; PAGE_SHIFT 168 drivers/edac/i82860_edac.c (I82860_GBA_SHIFT - PAGE_SHIFT); PAGE_SHIFT 244 drivers/edac/i82875p_edac.c info->eap >>= PAGE_SHIFT; PAGE_SHIFT 366 drivers/edac/i82875p_edac.c cumul_size = value << (I82875P_DRB_SHIFT - PAGE_SHIFT); PAGE_SHIFT 299 drivers/edac/i82975x_edac.c page >>= (PAGE_SHIFT - 1); PAGE_SHIFT 312 drivers/edac/i82975x_edac.c & ((1 << PAGE_SHIFT) - PAGE_SHIFT 388 drivers/edac/i82975x_edac.c cumul_size <<= (I82975X_DRB_SHIFT - PAGE_SHIFT); PAGE_SHIFT 170 drivers/edac/ie31200_edac.c (n << (28 + (2 * skl) - PAGE_SHIFT)) PAGE_SHIFT 611 drivers/edac/mv64x60_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 617 drivers/edac/mv64x60_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 672 drivers/edac/mv64x60_edac.c dimm->nr_pages = pdata->total_mem >> PAGE_SHIFT; PAGE_SHIFT 145 drivers/edac/pasemi_edac.c dimm->nr_pages = 128 << (20 - PAGE_SHIFT); PAGE_SHIFT 148 drivers/edac/pasemi_edac.c dimm->nr_pages = 256 << (20 - PAGE_SHIFT); PAGE_SHIFT 152 drivers/edac/pasemi_edac.c dimm->nr_pages = 512 << (20 - PAGE_SHIFT); PAGE_SHIFT 155 drivers/edac/pasemi_edac.c dimm->nr_pages = 1024 << (20 - PAGE_SHIFT); PAGE_SHIFT 158 drivers/edac/pasemi_edac.c dimm->nr_pages = 2048 << (20 - PAGE_SHIFT); PAGE_SHIFT 1213 drivers/edac/pnd2_edac.c edac_mc_handle_error(tp_event, mci, core_err_cnt, m->addr >> PAGE_SHIFT, PAGE_SHIFT 135 drivers/edac/ppc4xx_edac.c << (20 - PAGE_SHIFT + \ PAGE_SHIFT 747 drivers/edac/ppc4xx_edac.c const unsigned long page = bear >> PAGE_SHIFT; PAGE_SHIFT 175 drivers/edac/r82600_edac.c page = eapaddr >> PAGE_SHIFT; PAGE_SHIFT 252 drivers/edac/r82600_edac.c csrow->first_page = row_base >> PAGE_SHIFT; PAGE_SHIFT 253 drivers/edac/r82600_edac.c csrow->last_page = (row_high_limit >> PAGE_SHIFT) - 1; PAGE_SHIFT 3054 drivers/edac/sb_edac.c m->addr >> PAGE_SHIFT, m->addr & ~PAGE_MASK, 0, PAGE_SHIFT 3117 drivers/edac/sb_edac.c m->addr >> PAGE_SHIFT, m->addr & ~PAGE_MASK, 0, PAGE_SHIFT 356 drivers/edac/skx_common.c dimm->nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 560 drivers/edac/skx_common.c m->addr >> PAGE_SHIFT, m->addr & ~PAGE_MASK, 0, PAGE_SHIFT 787 drivers/edac/synopsys_edac.c dimm->nr_pages = (size >> PAGE_SHIFT) / csi->nr_channels; PAGE_SHIFT 107 drivers/edac/ti_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 115 drivers/edac/ti_edac.c err_addr >> PAGE_SHIFT, PAGE_SHIFT 181 drivers/edac/ti_edac.c dimm->nr_pages = memsize >> PAGE_SHIFT; PAGE_SHIFT 314 drivers/edac/x38_edac.c n <<= (X38_DRB_SHIFT - PAGE_SHIFT); PAGE_SHIFT 387 drivers/edac/x38_edac.c dimm->grain = nr_pages << PAGE_SHIFT; PAGE_SHIFT 1073 drivers/firewire/core-cdev.c buffer_end = client->buffer.page_count << PAGE_SHIFT; PAGE_SHIFT 1678 drivers/firewire/core-cdev.c page_count = size >> PAGE_SHIFT; PAGE_SHIFT 133 drivers/firewire/core-iso.c return (i << PAGE_SHIFT) + offset; PAGE_SHIFT 3216 drivers/firewire/ohci.c end_page = PAGE_ALIGN(payload_index + p->payload_length) >> PAGE_SHIFT; PAGE_SHIFT 3218 drivers/firewire/ohci.c payload_z = end_page - (payload_index >> PAGE_SHIFT); PAGE_SHIFT 3263 drivers/firewire/ohci.c page = payload_index >> PAGE_SHIFT; PAGE_SHIFT 3265 drivers/firewire/ohci.c next_page_index = (page + 1) << PAGE_SHIFT; PAGE_SHIFT 3317 drivers/firewire/ohci.c page = payload >> PAGE_SHIFT; PAGE_SHIFT 3386 drivers/firewire/ohci.c page = payload >> PAGE_SHIFT; PAGE_SHIFT 207 drivers/firmware/efi/arm-init.c size = npages << PAGE_SHIFT; PAGE_SHIFT 46 drivers/fpga/dfl-afu-dma-region.c int npages = region->length >> PAGE_SHIFT; PAGE_SHIFT 94 drivers/fpga/dfl-afu-dma-region.c long npages = region->length >> PAGE_SHIFT; PAGE_SHIFT 113 drivers/fpga/dfl-afu-dma-region.c int npages = region->length >> PAGE_SHIFT; PAGE_SHIFT 763 drivers/fpga/dfl-afu-main.c offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 781 drivers/fpga/dfl-afu-main.c (region.phys + (offset - region.offset)) >> PAGE_SHIFT, PAGE_SHIFT 696 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->job->gds_base = amdgpu_bo_gpu_offset(gds) >> PAGE_SHIFT; PAGE_SHIFT 697 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; PAGE_SHIFT 700 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->job->gws_base = amdgpu_bo_gpu_offset(gws) >> PAGE_SHIFT; PAGE_SHIFT 701 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT; PAGE_SHIFT 704 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->job->oa_base = amdgpu_bo_gpu_offset(oa) >> PAGE_SHIFT; PAGE_SHIFT 705 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->job->oa_size = amdgpu_bo_size(oa) >> PAGE_SHIFT; PAGE_SHIFT 126 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c vma->vm_pgoff += amdgpu_bo_mmap_offset(bo) >> PAGE_SHIFT; PAGE_SHIFT 695 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c info.alignment = robj->tbo.mem.page_alignment << PAGE_SHIFT; PAGE_SHIFT 100 drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c size = (adev->gmc.gart_size >> PAGE_SHIFT) - start; PAGE_SHIFT 486 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c range->pfn_shift = PAGE_SHIFT; PAGE_SHIFT 134 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c unsigned visible_pfn = adev->gmc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 381 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c (*bo_ptr)->placements[i].fpfn = offset >> PAGE_SHIFT; PAGE_SHIFT 382 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c (*bo_ptr)->placements[i].lpfn = (offset + size) >> PAGE_SHIFT; PAGE_SHIFT 450 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (size < (man->size << PAGE_SHIFT)) PAGE_SHIFT 459 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c if (size < (man->size << PAGE_SHIFT)) PAGE_SHIFT 471 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c man->size << PAGE_SHIFT); PAGE_SHIFT 529 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c size <<= PAGE_SHIFT; PAGE_SHIFT 533 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c size = ALIGN(size, 4) << PAGE_SHIFT; PAGE_SHIFT 536 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 583 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c bo->tbo.mem.start < adev->gmc.visible_vram_size >> PAGE_SHIFT) PAGE_SHIFT 933 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c fpfn = min_offset >> PAGE_SHIFT; PAGE_SHIFT 934 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c lpfn = max_offset >> PAGE_SHIFT; PAGE_SHIFT 1349 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c size = bo->mem.num_pages << PAGE_SHIFT; PAGE_SHIFT 1350 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c offset = bo->mem.start << PAGE_SHIFT; PAGE_SHIFT 1371 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c offset = bo->mem.start << PAGE_SHIFT; PAGE_SHIFT 173 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h return bo->tbo.num_pages << PAGE_SHIFT; PAGE_SHIFT 178 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h return (bo->tbo.num_pages << PAGE_SHIFT) / AMDGPU_GPU_PAGE_SIZE; PAGE_SHIFT 183 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h return (bo->tbo.mem.page_alignment << PAGE_SHIFT) / AMDGPU_GPU_PAGE_SIZE; PAGE_SHIFT 203 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h unsigned fpfn = adev->gmc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 1287 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c if (amdgpu_bo_create_kernel_at(adev, bp << PAGE_SHIFT, PAGE_SIZE, PAGE_SHIFT 192 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c abo->placements[0].fpfn = adev->gmc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 268 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c addr = mm_node->start << PAGE_SHIFT; PAGE_SHIFT 287 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c while (*offset >= (mm_node->size << PAGE_SHIFT)) { PAGE_SHIFT 288 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c *offset -= (mm_node->size << PAGE_SHIFT); PAGE_SHIFT 327 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c src_node_size = (src_mm->size << PAGE_SHIFT) - src->offset; PAGE_SHIFT 333 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c dst_node_size = (dst_mm->size << PAGE_SHIFT) - dst->offset; PAGE_SHIFT 394 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c src_node_size = (src_mm->size << PAGE_SHIFT); PAGE_SHIFT 404 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c dst_node_size = (dst_mm->size << PAGE_SHIFT); PAGE_SHIFT 443 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c new_mem->num_pages << PAGE_SHIFT, PAGE_SHIFT 608 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return ((nodes->start + nodes->size) << PAGE_SHIFT) PAGE_SHIFT 696 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c atomic64_add((u64)bo->num_pages << PAGE_SHIFT, &adev->num_bytes_moved); PAGE_SHIFT 713 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mem->bus.size = mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 725 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 755 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c unsigned long offset = (page_offset << PAGE_SHIFT); PAGE_SHIFT 758 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c return (bo->mem.bus.base >> PAGE_SHIFT) + mm->start + PAGE_SHIFT 759 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c (offset >> PAGE_SHIFT); PAGE_SHIFT 951 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ttm->num_pages << PAGE_SHIFT, PAGE_SHIFT 1024 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset + (page_idx << PAGE_SHIFT), PAGE_SHIFT 1081 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; PAGE_SHIFT 1110 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c bo->mem.start = addr >> PAGE_SHIFT; PAGE_SHIFT 1121 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c placements.lpfn = adev->gmc.gart_size >> PAGE_SHIFT; PAGE_SHIFT 1133 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c gtt->offset = (u64)tmp.start << PAGE_SHIFT; PAGE_SHIFT 1144 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c bo->offset = (bo->mem.start << PAGE_SHIFT) + PAGE_SHIFT 1555 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c pos = (nodes->start << PAGE_SHIFT) + offset; PAGE_SHIFT 1588 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c if (pos >= (nodes->start + nodes->size) << PAGE_SHIFT) { PAGE_SHIFT 1590 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c pos = (nodes->start << PAGE_SHIFT); PAGE_SHIFT 1695 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c adev->gmc.real_vram_size >> PAGE_SHIFT); PAGE_SHIFT 1764 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c r = ttm_bo_init_mm(&adev->mman.bdev, TTM_PL_TT, gtt_size >> PAGE_SHIFT); PAGE_SHIFT 1882 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c man->size = size >> PAGE_SHIFT; PAGE_SHIFT 1942 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c dma_address = >t->ttm.dma_address[offset >> PAGE_SHIFT]; PAGE_SHIFT 2068 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c uint64_t byte_count = mm_node->size << PAGE_SHIFT; PAGE_SHIFT 2096 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c uint64_t byte_count = mm_node->size << PAGE_SHIFT; PAGE_SHIFT 2337 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c pfn = addr >> PAGE_SHIFT; PAGE_SHIFT 2388 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c pfn = addr >> PAGE_SHIFT; PAGE_SHIFT 450 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c abo->placements[i].fpfn = 0 >> PAGE_SHIFT; PAGE_SHIFT 451 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c abo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 591 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c fpfn = PAGE_ALIGN(offset) >> PAGE_SHIFT; PAGE_SHIFT 592 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c lpfn = 0x100000000ULL >> PAGE_SHIFT; PAGE_SHIFT 595 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c lpfn = (0x100000000ULL - PAGE_ALIGN(offset)) >> PAGE_SHIFT; PAGE_SHIFT 1171 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c result = pages_addr[addr >> PAGE_SHIFT]; PAGE_SHIFT 1602 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c pfn = mapping->offset >> PAGE_SHIFT; PAGE_SHIFT 1616 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c addr = nodes->start << PAGE_SHIFT; PAGE_SHIFT 1638 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c addr = pfn << PAGE_SHIFT; PAGE_SHIFT 1647 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c addr += pfn << PAGE_SHIFT; PAGE_SHIFT 197 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c uint64_t start = node->start << PAGE_SHIFT; PAGE_SHIFT 198 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c uint64_t end = (node->size + node->start) << PAGE_SHIFT; PAGE_SHIFT 226 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c if (mem->start >= adev->gmc.visible_vram_size >> PAGE_SHIFT) PAGE_SHIFT 287 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c mem_bytes = (u64)mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 302 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c pages_per_node = (2UL << (20UL - PAGE_SHIFT)); PAGE_SHIFT 368 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c atomic64_sub(mem->num_pages << PAGE_SHIFT, &mgr->usage); PAGE_SHIFT 400 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c usage += nodes->size << PAGE_SHIFT; PAGE_SHIFT 299 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->doorbell_offset <<= PAGE_SHIFT; PAGE_SHIFT 1317 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->mmap_offset <<= PAGE_SHIFT; PAGE_SHIFT 1890 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c address >> PAGE_SHIFT, PAGE_SHIFT 869 drivers/gpu/drm/amd/amdkfd/kfd_crat.c mem_in_bytes <<= PAGE_SHIFT; PAGE_SHIFT 160 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c address >> PAGE_SHIFT, PAGE_SHIFT 349 drivers/gpu/drm/amd/amdkfd/kfd_events.c *event_page_offset <<= PAGE_SHIFT; PAGE_SHIFT 803 drivers/gpu/drm/amd/amdkfd/kfd_events.c pfn >>= PAGE_SHIFT; PAGE_SHIFT 989 drivers/gpu/drm/amd/amdkfd/kfd_events.c memory_exception_data.va = (info->page_addr) << PAGE_SHIFT; PAGE_SHIFT 58 drivers/gpu/drm/amd/amdkfd/kfd_priv.h #define KFD_MMAP_TYPE_SHIFT (62 - PAGE_SHIFT) PAGE_SHIFT 65 drivers/gpu/drm/amd/amdkfd/kfd_priv.h #define KFD_MMAP_GPU_ID_SHIFT (46 - PAGE_SHIFT) PAGE_SHIFT 73 drivers/gpu/drm/amd/amdkfd/kfd_priv.h #define KFD_MMAP_OFFSET_VALUE_MASK (0x3FFFFFFFFFFFULL >> PAGE_SHIFT) PAGE_SHIFT 564 drivers/gpu/drm/amd/amdkfd/kfd_process.c << PAGE_SHIFT; PAGE_SHIFT 22 drivers/gpu/drm/armada/armada_gem.c unsigned long pfn = obj->phys_addr >> PAGE_SHIFT; PAGE_SHIFT 24 drivers/gpu/drm/armada/armada_gem.c pfn += (vmf->address - vmf->vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 73 drivers/gpu/drm/drm_agpsupport.c info->memory_allowed = kern->max_memory << PAGE_SHIFT; PAGE_SHIFT 74 drivers/gpu/drm/drm_agpsupport.c info->memory_used = kern->current_memory << PAGE_SHIFT; PAGE_SHIFT 332 drivers/gpu/drm/drm_agpsupport.c entry->bound = dev->agp->base + (page << PAGE_SHIFT); PAGE_SHIFT 105 drivers/gpu/drm/drm_bufs.c hash->key = user_token >> PAGE_SHIFT; PAGE_SHIFT 112 drivers/gpu/drm/drm_bufs.c add = DRM_MAP_HASH_OFFSET >> PAGE_SHIFT; PAGE_SHIFT 114 drivers/gpu/drm/drm_bufs.c int bits = ilog2(SHMLBA >> PAGE_SHIFT) + 1; PAGE_SHIFT 129 drivers/gpu/drm/drm_bufs.c add |= ((user_token >> PAGE_SHIFT) & ((1UL << bits) - 1UL)); PAGE_SHIFT 133 drivers/gpu/drm/drm_bufs.c user_token, 32 - PAGE_SHIFT - 3, PAGE_SHIFT 368 drivers/gpu/drm/drm_bufs.c list->user_token = list->hash.key << PAGE_SHIFT; PAGE_SHIFT 526 drivers/gpu/drm/drm_bufs.c r_list->user_token >> PAGE_SHIFT); PAGE_SHIFT 738 drivers/gpu/drm/drm_bufs.c page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; PAGE_SHIFT 855 drivers/gpu/drm/drm_bufs.c dma->page_count += byte_count >> PAGE_SHIFT; PAGE_SHIFT 915 drivers/gpu/drm/drm_bufs.c page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; PAGE_SHIFT 1113 drivers/gpu/drm/drm_bufs.c page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; PAGE_SHIFT 1218 drivers/gpu/drm/drm_bufs.c dma->page_count += byte_count >> PAGE_SHIFT; PAGE_SHIFT 666 drivers/gpu/drm/drm_fb_helper.c start = page->index << PAGE_SHIFT; PAGE_SHIFT 569 drivers/gpu/drm/drm_gem.c npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 632 drivers/gpu/drm/drm_gem.c npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 1195 drivers/gpu/drm/drm_gem.c ret = drm_gem_mmap_obj(obj, drm_vma_node_size(node) << PAGE_SHIFT, PAGE_SHIFT 360 drivers/gpu/drm/drm_gem_cma_helper.c len >> PAGE_SHIFT); PAGE_SHIFT 260 drivers/gpu/drm/drm_gem_shmem_helper.c shmem->vaddr = vmap(shmem->pages, obj->size >> PAGE_SHIFT, PAGE_SHIFT 476 drivers/gpu/drm/drm_gem_shmem_helper.c loff_t num_pages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 591 drivers/gpu/drm/drm_gem_shmem_helper.c return drm_prime_pages_to_sg(shmem->pages, obj->size >> PAGE_SHIFT); PAGE_SHIFT 661 drivers/gpu/drm/drm_gem_shmem_helper.c size_t npages = size >> PAGE_SHIFT; PAGE_SHIFT 783 drivers/gpu/drm/drm_ioc32.c if (put_user(request.handle >> PAGE_SHIFT, &argp->handle)) PAGE_SHIFT 798 drivers/gpu/drm/drm_ioc32.c request.handle = x << PAGE_SHIFT; PAGE_SHIFT 77 drivers/gpu/drm/drm_memory.c && (agpmem->bound + (agpmem->pages << PAGE_SHIFT)) >= PAGE_SHIFT 805 drivers/gpu/drm/drm_prime.c nr_pages << PAGE_SHIFT, GFP_KERNEL); PAGE_SHIFT 126 drivers/gpu/drm/drm_scatter.c entry->virtual = drm_vmalloc_dma(pages << PAGE_SHIFT); PAGE_SHIFT 137 drivers/gpu/drm/drm_scatter.c memset(entry->virtual, 0, pages << PAGE_SHIFT); PAGE_SHIFT 172 drivers/gpu/drm/drm_vm.c offset = (baddr - agpmem->bound) >> PAGE_SHIFT; PAGE_SHIFT 324 drivers/gpu/drm/drm_vm.c page_nr = offset >> PAGE_SHIFT; /* page_nr could just be vmf->pgoff */ PAGE_SHIFT 361 drivers/gpu/drm/drm_vm.c page_offset = (offset >> PAGE_SHIFT) + (map_offset >> PAGE_SHIFT); PAGE_SHIFT 481 drivers/gpu/drm/drm_vm.c if (!dma || (length >> PAGE_SHIFT) != dma->page_count) { PAGE_SHIFT 607 drivers/gpu/drm/drm_vm.c (map->offset + offset) >> PAGE_SHIFT, PAGE_SHIFT 111 drivers/gpu/drm/drm_vram_mm_helper.c mem->bus.size = mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 120 drivers/gpu/drm/drm_vram_mm_helper.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 179 drivers/gpu/drm/drm_vram_mm_helper.c ret = ttm_bo_init_mm(&vmm->bdev, TTM_PL_VRAM, vram_size >> PAGE_SHIFT); PAGE_SHIFT 143 drivers/gpu/drm/etnaviv/etnaviv_dump.c n_bomap_pages += obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 212 drivers/gpu/drm/etnaviv/etnaviv_dump.c for (j = 0; j < obj->base.size >> PAGE_SHIFT; j++) PAGE_SHIFT 103 drivers/gpu/drm/etnaviv/etnaviv_gem.c int npages = etnaviv_obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 200 drivers/gpu/drm/etnaviv/etnaviv_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 205 drivers/gpu/drm/etnaviv/etnaviv_gem.c page_to_pfn(page), page_to_pfn(page) << PAGE_SHIFT); PAGE_SHIFT 361 drivers/gpu/drm/etnaviv/etnaviv_gem.c return vmap(pages, obj->base.size >> PAGE_SHIFT, PAGE_SHIFT 662 drivers/gpu/drm/etnaviv/etnaviv_gem.c int ret, pinned = 0, npages = etnaviv_obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 703 drivers/gpu/drm/etnaviv/etnaviv_gem.c int npages = etnaviv_obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 17 drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c int npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 93 drivers/gpu/drm/exynos/exynos_drm_fbdev.c nr_pages = exynos_gem->size >> PAGE_SHIFT; PAGE_SHIFT 476 drivers/gpu/drm/exynos/exynos_drm_g2d.c npages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 526 drivers/gpu/drm/exynos/exynos_drm_g2d.c if (g2d->current_pool + (npages << PAGE_SHIFT) < g2d->max_pool) { PAGE_SHIFT 527 drivers/gpu/drm/exynos/exynos_drm_g2d.c g2d->current_pool += npages << PAGE_SHIFT; PAGE_SHIFT 56 drivers/gpu/drm/exynos/exynos_drm_gem.c nr_pages = exynos_gem->size >> PAGE_SHIFT; PAGE_SHIFT 392 drivers/gpu/drm/exynos/exynos_drm_gem.c page_offset = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 394 drivers/gpu/drm/exynos/exynos_drm_gem.c if (page_offset >= (exynos_gem->size >> PAGE_SHIFT)) { PAGE_SHIFT 467 drivers/gpu/drm/exynos/exynos_drm_gem.c npages = exynos_gem->size >> PAGE_SHIFT; PAGE_SHIFT 489 drivers/gpu/drm/exynos/exynos_drm_gem.c npages = exynos_gem->size >> PAGE_SHIFT; PAGE_SHIFT 115 drivers/gpu/drm/gma500/framebuffer.c address = vmf->address - (vmf->pgoff << PAGE_SHIFT); PAGE_SHIFT 120 drivers/gpu/drm/gma500/framebuffer.c pfn = (phys_addr >> PAGE_SHIFT); PAGE_SHIFT 153 drivers/gpu/drm/gma500/framebuffer.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 162 drivers/gpu/drm/gma500/gem.c page_offset = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 166 drivers/gpu/drm/gma500/gem.c pfn = (dev_priv->stolen_base + r->offset) >> PAGE_SHIFT; PAGE_SHIFT 35 drivers/gpu/drm/gma500/gtt.c BUG_ON(pfn & ~(0xFFFFFFFF >> PAGE_SHIFT)); PAGE_SHIFT 44 drivers/gpu/drm/gma500/gtt.c return (pfn << PAGE_SHIFT) | mask; PAGE_SHIFT 62 drivers/gpu/drm/gma500/gtt.c return dev_priv->gtt_map + (offset >> PAGE_SHIFT); PAGE_SHIFT 450 drivers/gpu/drm/gma500/gtt.c >> PAGE_SHIFT; PAGE_SHIFT 460 drivers/gpu/drm/gma500/gtt.c >> PAGE_SHIFT; PAGE_SHIFT 470 drivers/gpu/drm/gma500/gtt.c pg->gatt_pages = (128 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 507 drivers/gpu/drm/gma500/gtt.c gtt_pages << PAGE_SHIFT); PAGE_SHIFT 528 drivers/gpu/drm/gma500/gtt.c pfn_base = dev_priv->stolen_base >> PAGE_SHIFT; PAGE_SHIFT 529 drivers/gpu/drm/gma500/gtt.c num_pages = vram_stolen_size >> PAGE_SHIFT; PAGE_SHIFT 531 drivers/gpu/drm/gma500/gtt.c num_pages, pfn_base << PAGE_SHIFT, 0); PAGE_SHIFT 136 drivers/gpu/drm/gma500/mmu.c PSB_WSGX32(page_to_pfn(pd->p) << PAGE_SHIFT, offset); PAGE_SHIFT 162 drivers/gpu/drm/gma500/mmu.c return (pfn << PAGE_SHIFT) | mask; PAGE_SHIFT 272 drivers/gpu/drm/gma500/mmu.c uint32_t clflush_add = pd->driver->clflush_add >> PAGE_SHIFT; PAGE_SHIFT 425 drivers/gpu/drm/gma500/mmu.c return page_to_pfn(pd->p) << PAGE_SHIFT; PAGE_SHIFT 522 drivers/gpu/drm/gma500/mmu.c add = desired_tile_stride << PAGE_SHIFT; PAGE_SHIFT 523 drivers/gpu/drm/gma500/mmu.c row_add = hw_tile_stride << PAGE_SHIFT; PAGE_SHIFT 567 drivers/gpu/drm/gma500/mmu.c end = addr + (num_pages << PAGE_SHIFT); PAGE_SHIFT 613 drivers/gpu/drm/gma500/mmu.c add = desired_tile_stride << PAGE_SHIFT; PAGE_SHIFT 614 drivers/gpu/drm/gma500/mmu.c row_add = hw_tile_stride << PAGE_SHIFT; PAGE_SHIFT 665 drivers/gpu/drm/gma500/mmu.c end = addr + (num_pages << PAGE_SHIFT); PAGE_SHIFT 721 drivers/gpu/drm/gma500/mmu.c add = desired_tile_stride << PAGE_SHIFT; PAGE_SHIFT 722 drivers/gpu/drm/gma500/mmu.c row_add = hw_tile_stride << PAGE_SHIFT; PAGE_SHIFT 788 drivers/gpu/drm/gma500/mmu.c *pfn = pd->invalid_pte >> PAGE_SHIFT; PAGE_SHIFT 796 drivers/gpu/drm/gma500/mmu.c *pfn = tmp >> PAGE_SHIFT; PAGE_SHIFT 119 drivers/gpu/drm/gma500/psb_drv.c stolen_gtt = (pg->stolen_size >> PAGE_SHIFT) * 4; PAGE_SHIFT 120 drivers/gpu/drm/gma500/psb_drv.c stolen_gtt = (stolen_gtt + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 124 drivers/gpu/drm/gma500/psb_drv.c (stolen_gtt << PAGE_SHIFT) * 1024; PAGE_SHIFT 175 drivers/gpu/drm/gma500/psb_drv.c dev_priv->vram_stolen_size >> PAGE_SHIFT); PAGE_SHIFT 331 drivers/gpu/drm/gma500/psb_drv.c dev_priv->stolen_base >> PAGE_SHIFT, PAGE_SHIFT 333 drivers/gpu/drm/gma500/psb_drv.c pg->stolen_size >> PAGE_SHIFT, 0); PAGE_SHIFT 77 drivers/gpu/drm/gma500/psb_drv.h #define PSB_TT_PRIV0_PLIMIT (PSB_TT_PRIV0_LIMIT >> PAGE_SHIFT) PAGE_SHIFT 101 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c if (page_num >= obj->base.size >> PAGE_SHIFT) PAGE_SHIFT 1069 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c offset += page << PAGE_SHIFT; PAGE_SHIFT 1329 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c vaddr = reloc_vaddr(vma->obj, &eb->reloc_cache, offset >> PAGE_SHIFT); PAGE_SHIFT 53 drivers/gpu/drm/i915/gem/i915_gem_internal.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 117 drivers/gpu/drm/i915/gem/i915_gem_mman.c return i915_gem_object_get_tile_row_size(obj) >> PAGE_SHIFT; PAGE_SHIFT 190 drivers/gpu/drm/i915/gem/i915_gem_mman.c (obj->base.size >> PAGE_SHIFT) - view.partial.offset); PAGE_SHIFT 193 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (chunk >= obj->base.size >> PAGE_SHIFT) PAGE_SHIFT 219 drivers/gpu/drm/i915/gem/i915_gem_mman.c #define MIN_CHUNK_PAGES (SZ_1M >> PAGE_SHIFT) PAGE_SHIFT 238 drivers/gpu/drm/i915/gem/i915_gem_mman.c page_offset = (vmf->address - area->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 300 drivers/gpu/drm/i915/gem/i915_gem_mman.c area->vm_start + (vma->ggtt_view.partial.offset << PAGE_SHIFT), PAGE_SHIFT 301 drivers/gpu/drm/i915/gem/i915_gem_mman.c (ggtt->gmadr.start + vma->node.start) >> PAGE_SHIFT, PAGE_SHIFT 53 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); PAGE_SHIFT 59 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c *cmd++ = size >> PAGE_SHIFT << 16 | PAGE_SIZE / 4; PAGE_SHIFT 67 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c *cmd++ = size >> PAGE_SHIFT << 16 | PAGE_SIZE / 4; PAGE_SHIFT 237 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); PAGE_SHIFT 243 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c *cmd++ = size >> PAGE_SHIFT << 16 | PAGE_SIZE / 4; PAGE_SHIFT 254 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c *cmd++ = size >> PAGE_SHIFT << 16 | PAGE_SIZE / 4; PAGE_SHIFT 264 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c *cmd++ = size >> PAGE_SHIFT << 16 | PAGE_SIZE; PAGE_SHIFT 230 drivers/gpu/drm/i915/gem/i915_gem_pages.c unsigned long n_pages = obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 383 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(n >= obj->base.size >> PAGE_SHIFT); PAGE_SHIFT 523 drivers/gpu/drm/i915/gem/i915_gem_pages.c *len = sg_dma_len(sg) - (offset << PAGE_SHIFT); PAGE_SHIFT 525 drivers/gpu/drm/i915/gem/i915_gem_pages.c return sg_dma_address(sg) + (offset << PAGE_SHIFT); PAGE_SHIFT 252 drivers/gpu/drm/i915/gem/i915_gem_shmem.c for (i = 0; i < obj->base.size >> PAGE_SHIFT; i++) { PAGE_SHIFT 472 drivers/gpu/drm/i915/gem/i915_gem_shmem.c if (size >> PAGE_SHIFT > INT_MAX) PAGE_SHIFT 261 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c count += obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 266 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c scanned += obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 322 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c count = READ_ONCE(i915->mm.shrink_memory) >> PAGE_SHIFT; PAGE_SHIFT 406 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c unevictable += obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 408 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c available += obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 444 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c unsigned long count = vma->node.size >> PAGE_SHIFT; PAGE_SHIFT 287 drivers/gpu/drm/i915/gem/i915_gem_tiling.c obj->bit_17 = bitmap_zalloc(obj->base.size >> PAGE_SHIFT, PAGE_SHIFT 443 drivers/gpu/drm/i915/gem/i915_gem_userptr.c 0, num_pages << PAGE_SHIFT, PAGE_SHIFT 476 drivers/gpu/drm/i915/gem/i915_gem_userptr.c const unsigned long npages = obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 582 drivers/gpu/drm/i915/gem/i915_gem_userptr.c const unsigned long num_pages = obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 69 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { PAGE_SHIFT 158 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (size >> PAGE_SHIFT > INT_MAX) PAGE_SHIFT 193 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { PAGE_SHIFT 307 drivers/gpu/drm/i915/gem/selftests/huge_pages.c if (size >> PAGE_SHIFT > UINT_MAX) PAGE_SHIFT 602 drivers/gpu/drm/i915/gem/selftests/huge_pages.c unsigned long max_pages = ppgtt->vm.total >> PAGE_SHIFT; PAGE_SHIFT 611 drivers/gpu/drm/i915/gem/selftests/huge_pages.c u64 size = page_num << PAGE_SHIFT; PAGE_SHIFT 897 drivers/gpu/drm/i915/gem/selftests/huge_pages.c vma->size >> PAGE_SHIFT, val); PAGE_SHIFT 910 drivers/gpu/drm/i915/gem/selftests/huge_pages.c for (n = 0; n < obj->base.size >> PAGE_SHIFT; ++n) { PAGE_SHIFT 28 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c page = i915_gem_object_get_page(obj, offset >> PAGE_SHIFT); PAGE_SHIFT 60 drivers/gpu/drm/i915/gem/selftests/i915_gem_coherency.c page = i915_gem_object_get_page(obj, offset >> PAGE_SHIFT); PAGE_SHIFT 161 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c return huge_gem_object_phys_size(obj) >> PAGE_SHIFT; PAGE_SHIFT 166 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c return huge_gem_object_dma_size(obj) >> PAGE_SHIFT; PAGE_SHIFT 206 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c (dw * real_page_count(obj)) << PAGE_SHIFT | PAGE_SHIFT 143 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c offset = tiled_offset(tile, page << PAGE_SHIFT); PAGE_SHIFT 149 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c p = i915_gem_object_get_page(obj, offset >> PAGE_SHIFT); PAGE_SHIFT 157 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c vma->size >> PAGE_SHIFT, PAGE_SHIFT 160 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c offset >> PAGE_SHIFT, PAGE_SHIFT 196 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c nreal << PAGE_SHIFT, PAGE_SHIFT 197 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c (1 + next_prime_number(i915->ggtt.vm.total >> PAGE_SHIFT)) << PAGE_SHIFT); PAGE_SHIFT 28 drivers/gpu/drm/i915/gt/intel_engine_pool.c n = fls(sz >> PAGE_SHIFT) - 1; PAGE_SHIFT 641 drivers/gpu/drm/i915/gt/intel_reset.c vma_offset = vma->ggtt_view.partial.offset << PAGE_SHIFT; PAGE_SHIFT 145 drivers/gpu/drm/i915/gt/uc/intel_guc.c base >>= PAGE_SHIFT; PAGE_SHIFT 154 drivers/gpu/drm/i915/gt/uc/intel_guc.c u32 offset = intel_guc_ggtt_offset(guc, guc->log.vma) >> PAGE_SHIFT; PAGE_SHIFT 195 drivers/gpu/drm/i915/gt/uc/intel_guc.c u32 ads = intel_guc_ggtt_offset(guc, guc->ads_vma) >> PAGE_SHIFT; PAGE_SHIFT 136 drivers/gpu/drm/i915/gvt/cfg_space.c first_gfn = (val + vgpu_aperture_offset(vgpu)) >> PAGE_SHIFT; PAGE_SHIFT 139 drivers/gpu/drm/i915/gvt/cfg_space.c aperture_pa >> PAGE_SHIFT, PAGE_SHIFT 140 drivers/gpu/drm/i915/gvt/cfg_space.c aperture_sz >> PAGE_SHIFT, PAGE_SHIFT 58 drivers/gpu/drm/i915/gvt/dmabuf.c page_num = obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 65 drivers/gpu/drm/i915/gvt/dmabuf.c (fb_info->start >> PAGE_SHIFT); PAGE_SHIFT 367 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_1G_MASK) >> PAGE_SHIFT; PAGE_SHIFT 369 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_2M_MASK) >> PAGE_SHIFT; PAGE_SHIFT 371 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_64K_MASK) >> PAGE_SHIFT; PAGE_SHIFT 373 drivers/gpu/drm/i915/gvt/gtt.c pfn = (e->val64 & ADDR_4K_MASK) >> PAGE_SHIFT; PAGE_SHIFT 381 drivers/gpu/drm/i915/gvt/gtt.c pfn &= (ADDR_1G_MASK >> PAGE_SHIFT); PAGE_SHIFT 384 drivers/gpu/drm/i915/gvt/gtt.c pfn &= (ADDR_2M_MASK >> PAGE_SHIFT); PAGE_SHIFT 387 drivers/gpu/drm/i915/gvt/gtt.c pfn &= (ADDR_64K_MASK >> PAGE_SHIFT); PAGE_SHIFT 390 drivers/gpu/drm/i915/gvt/gtt.c pfn &= (ADDR_4K_MASK >> PAGE_SHIFT); PAGE_SHIFT 393 drivers/gpu/drm/i915/gvt/gtt.c e->val64 |= (pfn << PAGE_SHIFT); PAGE_SHIFT 989 drivers/gpu/drm/i915/gvt/gtt.c intel_gvt_hypervisor_dma_unmap_guest_page(vgpu, pfn << PAGE_SHIFT); PAGE_SHIFT 1199 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&sub_se, dma_addr >> PAGE_SHIFT); PAGE_SHIFT 1238 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&entry, dma_addr >> PAGE_SHIFT); PAGE_SHIFT 1293 drivers/gpu/drm/i915/gvt/gtt.c pte_ops->set_pfn(&se, dma_addr >> PAGE_SHIFT); PAGE_SHIFT 1442 drivers/gpu/drm/i915/gvt/gtt.c spt->guest_page.gfn << PAGE_SHIFT, vgpu); PAGE_SHIFT 2203 drivers/gpu/drm/i915/gvt/gtt.c pfn << PAGE_SHIFT); PAGE_SHIFT 2304 drivers/gpu/drm/i915/gvt/gtt.c ops->set_pfn(&m, dma_addr >> PAGE_SHIFT); PAGE_SHIFT 2792 drivers/gpu/drm/i915/gvt/gtt.c index = vgpu_aperture_gmadr_base(vgpu) >> PAGE_SHIFT; PAGE_SHIFT 2793 drivers/gpu/drm/i915/gvt/gtt.c num_entries = vgpu_aperture_sz(vgpu) >> PAGE_SHIFT; PAGE_SHIFT 2802 drivers/gpu/drm/i915/gvt/gtt.c index = vgpu_hidden_gmadr_base(vgpu) >> PAGE_SHIFT; PAGE_SHIFT 2803 drivers/gpu/drm/i915/gvt/gtt.c num_entries = vgpu_hidden_sz(vgpu) >> PAGE_SHIFT; PAGE_SHIFT 385 drivers/gpu/drm/i915/gvt/gvt.h ((gvt->dev_priv->ggtt.vm.total >> PAGE_SHIFT) << 3) PAGE_SHIFT 708 drivers/gpu/drm/i915/gvt/kvmgt.c iov_pfn = unmap->iova >> PAGE_SHIFT; PAGE_SHIFT 1154 drivers/gpu/drm/i915/gvt/kvmgt.c index = vma->vm_pgoff >> (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT); PAGE_SHIFT 1169 drivers/gpu/drm/i915/gvt/kvmgt.c ((1U << (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT)) - 1); PAGE_SHIFT 1170 drivers/gpu/drm/i915/gvt/kvmgt.c req_start = pgoff << PAGE_SHIFT; PAGE_SHIFT 1178 drivers/gpu/drm/i915/gvt/kvmgt.c pgoff = (gvt_aperture_pa_base(vgpu->gvt) >> PAGE_SHIFT) + pgoff; PAGE_SHIFT 305 drivers/gpu/drm/i915/gvt/opregion.c vgpu_opregion(vgpu)->gfn[i] = (gpa >> PAGE_SHIFT) + i; PAGE_SHIFT 316 drivers/gpu/drm/i915/gvt/opregion.c vgpu_opregion(vgpu)->gfn[i] = (gpa >> PAGE_SHIFT) + i; PAGE_SHIFT 482 drivers/gpu/drm/i915/gvt/opregion.c scic_pa = (vgpu_opregion(vgpu)->gfn[0] << PAGE_SHIFT) + PAGE_SHIFT 484 drivers/gpu/drm/i915/gvt/opregion.c parm_pa = (vgpu_opregion(vgpu)->gfn[0] << PAGE_SHIFT) + PAGE_SHIFT 167 drivers/gpu/drm/i915/gvt/page_track.c page_track = intel_vgpu_find_page_track(vgpu, gpa >> PAGE_SHIFT); PAGE_SHIFT 175 drivers/gpu/drm/i915/gvt/page_track.c intel_vgpu_disable_page_track(vgpu, gpa >> PAGE_SHIFT); PAGE_SHIFT 182 drivers/gpu/drm/i915/gvt/scheduler.c context_page_num = context_page_num >> PAGE_SHIFT; PAGE_SHIFT 835 drivers/gpu/drm/i915/gvt/scheduler.c context_page_num = context_page_num >> PAGE_SHIFT; PAGE_SHIFT 1183 drivers/gpu/drm/i915/i915_cmd_parser.c for (n = batch_start_offset >> PAGE_SHIFT; batch_len; n++) { PAGE_SHIFT 180 drivers/gpu/drm/i915/i915_debugfs.c vma->ggtt_view.partial.offset << PAGE_SHIFT, PAGE_SHIFT 181 drivers/gpu/drm/i915/i915_debugfs.c vma->ggtt_view.partial.size << PAGE_SHIFT); PAGE_SHIFT 285 drivers/gpu/drm/i915/i915_gem.c for (idx = args->offset >> PAGE_SHIFT; remain; idx++) { PAGE_SHIFT 398 drivers/gpu/drm/i915/i915_gem.c i915_gem_object_get_dma_address(obj, offset >> PAGE_SHIFT), PAGE_SHIFT 611 drivers/gpu/drm/i915/i915_gem.c i915_gem_object_get_dma_address(obj, offset >> PAGE_SHIFT), PAGE_SHIFT 711 drivers/gpu/drm/i915/i915_gem.c for (idx = args->offset >> PAGE_SHIFT; remain; idx++) { PAGE_SHIFT 794 drivers/gpu/drm/i915/i915_gem_fence_reg.c const unsigned int page_count = obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 684 drivers/gpu/drm/i915/i915_gem_gtt.c dma_unmap_page(vm->dma, p->daddr, BIT(order) << PAGE_SHIFT, PAGE_SHIFT 2162 drivers/gpu/drm/i915/i915_gem_gtt.c obj->base.size >> PAGE_SHIFT, NULL, PAGE_SHIFT 2408 drivers/gpu/drm/i915/i915_gem_gtt.c intel_gtt_insert_page(addr, offset >> PAGE_SHIFT, flags); PAGE_SHIFT 2419 drivers/gpu/drm/i915/i915_gem_gtt.c intel_gtt_insert_sg_entries(vma->pages, vma->node.start >> PAGE_SHIFT, PAGE_SHIFT 2426 drivers/gpu/drm/i915/i915_gem_gtt.c intel_gtt_clear_range(start >> PAGE_SHIFT, length >> PAGE_SHIFT); PAGE_SHIFT 3534 drivers/gpu/drm/i915/i915_gem_gtt.c len = min(iter->length - (offset << PAGE_SHIFT), PAGE_SHIFT 3535 drivers/gpu/drm/i915/i915_gem_gtt.c count << PAGE_SHIFT); PAGE_SHIFT 3538 drivers/gpu/drm/i915/i915_gem_gtt.c sg_dma_address(iter) + (offset << PAGE_SHIFT); PAGE_SHIFT 3542 drivers/gpu/drm/i915/i915_gem_gtt.c count -= len >> PAGE_SHIFT; PAGE_SHIFT 76 drivers/gpu/drm/i915/i915_gem_gtt.h #define ggtt_total_entries(ggtt) ((ggtt)->vm.total >> PAGE_SHIFT) PAGE_SHIFT 90 drivers/gpu/drm/i915/i915_gem_gtt.h #define NUM_PTE(pde_shift) (1 << (pde_shift - PAGE_SHIFT)) PAGE_SHIFT 473 drivers/gpu/drm/i915/i915_gem_gtt.h return (address >> PAGE_SHIFT) & mask; PAGE_SHIFT 974 drivers/gpu/drm/i915/i915_gpu_error.c num_pages = min_t(u64, vma->size, vma->obj->base.size) >> PAGE_SHIFT; PAGE_SHIFT 77 drivers/gpu/drm/i915/i915_mm.c zap_vma_ptes(vma, addr, (r.pfn - pfn) << PAGE_SHIFT); PAGE_SHIFT 44 drivers/gpu/drm/i915/i915_scatterlist.h return sg->length >> PAGE_SHIFT; PAGE_SHIFT 91 drivers/gpu/drm/i915/i915_scatterlist.h pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \ PAGE_SHIFT 174 drivers/gpu/drm/i915/i915_utils.h #define page_mask_bits(ptr) ptr_mask_bits(ptr, PAGE_SHIFT) PAGE_SHIFT 175 drivers/gpu/drm/i915/i915_utils.h #define page_unmask_bits(ptr) ptr_unmask_bits(ptr, PAGE_SHIFT) PAGE_SHIFT 176 drivers/gpu/drm/i915/i915_utils.h #define page_pack_bits(ptr, bits) ptr_pack_bits(ptr, bits, PAGE_SHIFT) PAGE_SHIFT 177 drivers/gpu/drm/i915/i915_utils.h #define page_unpack_bits(ptr, bits) ptr_unpack_bits(ptr, bits, PAGE_SHIFT) PAGE_SHIFT 138 drivers/gpu/drm/i915/i915_vma.c obj->base.size >> PAGE_SHIFT)); PAGE_SHIFT 140 drivers/gpu/drm/i915/i915_vma.c vma->size <<= PAGE_SHIFT; PAGE_SHIFT 144 drivers/gpu/drm/i915/i915_vma.c vma->size <<= PAGE_SHIFT; PAGE_SHIFT 147 drivers/gpu/drm/i915/i915_vma.c vma->size <<= PAGE_SHIFT; PAGE_SHIFT 875 drivers/gpu/drm/i915/i915_vma.c vma_offset = vma->ggtt_view.partial.offset << PAGE_SHIFT; PAGE_SHIFT 174 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c limit = totalram_pages() << PAGE_SHIFT; PAGE_SHIFT 350 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c min_t(u64, ULONG_MAX - 1, hole_size/2 >> PAGE_SHIFT); PAGE_SHIFT 365 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c const u64 full_size = npages << PAGE_SHIFT; PAGE_SHIFT 561 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c min_t(u64, ULONG_MAX - 1, hole_size >> PAGE_SHIFT); PAGE_SHIFT 577 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c obj = fake_dma_object(i915, size << PAGE_SHIFT); PAGE_SHIFT 1250 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c const u64 limit = totalram_pages() << PAGE_SHIFT; PAGE_SHIFT 199 drivers/gpu/drm/i915/selftests/scatterlist.c BIT(12) >> PAGE_SHIFT, PAGE_SHIFT 200 drivers/gpu/drm/i915/selftests/scatterlist.c BIT(16) >> PAGE_SHIFT, PAGE_SHIFT 201 drivers/gpu/drm/i915/selftests/scatterlist.c BIT(21) >> PAGE_SHIFT, PAGE_SHIFT 100 drivers/gpu/drm/lima/lima_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 31 drivers/gpu/drm/lima/lima_gem_prime.c int npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 17 drivers/gpu/drm/lima/lima_object.c int i, npages = bo->gem.size >> PAGE_SHIFT; PAGE_SHIFT 70 drivers/gpu/drm/lima/lima_object.c npages = bo->gem.size >> PAGE_SHIFT; PAGE_SHIFT 260 drivers/gpu/drm/mediatek/mtk_drm_gem.c npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 886 drivers/gpu/drm/msm/adreno/a6xx_gmu.c count = bo->size >> PAGE_SHIFT; PAGE_SHIFT 910 drivers/gpu/drm/msm/adreno/a6xx_gmu.c count = bo->size >> PAGE_SHIFT; PAGE_SHIFT 358 drivers/gpu/drm/msm/msm_drv.c drm_mm_init(&priv->vram.mm, 0, (size >> PAGE_SHIFT) - 1); PAGE_SHIFT 27 drivers/gpu/drm/msm/msm_gem.c return (((dma_addr_t)msm_obj->vram_node->start) << PAGE_SHIFT) + PAGE_SHIFT 114 drivers/gpu/drm/msm/msm_gem.c int npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 284 drivers/gpu/drm/msm/msm_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 289 drivers/gpu/drm/msm/msm_gem.c pfn, pfn << PAGE_SHIFT); PAGE_SHIFT 407 drivers/gpu/drm/msm/msm_gem.c ret = msm_gem_init_vma(aspace, vma, obj->size >> PAGE_SHIFT); PAGE_SHIFT 443 drivers/gpu/drm/msm/msm_gem.c msm_obj->sgt, obj->size >> PAGE_SHIFT); PAGE_SHIFT 580 drivers/gpu/drm/msm/msm_gem.c msm_obj->vaddr = vmap(pages, obj->size >> PAGE_SHIFT, PAGE_SHIFT 17 drivers/gpu/drm/msm/msm_gem_prime.c int npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 55 drivers/gpu/drm/msm/msm_gem_shrinker.c count += msm_obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 82 drivers/gpu/drm/msm/msm_gem_shrinker.c freed += msm_obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 90 drivers/gpu/drm/msm/msm_gem_shrinker.c pr_info_ratelimited("Purging %lu bytes\n", freed << PAGE_SHIFT); PAGE_SHIFT 34 drivers/gpu/drm/msm/msm_gem_vma.c unsigned size = vma->node.size << PAGE_SHIFT; PAGE_SHIFT 63 drivers/gpu/drm/msm/msm_gem_vma.c unsigned size = npages << PAGE_SHIFT; PAGE_SHIFT 120 drivers/gpu/drm/msm/msm_gem_vma.c vma->iova = vma->node.start << PAGE_SHIFT; PAGE_SHIFT 145 drivers/gpu/drm/msm/msm_gem_vma.c drm_mm_init(&aspace->mm, (domain->geometry.aperture_start >> PAGE_SHIFT), PAGE_SHIFT 146 drivers/gpu/drm/msm/msm_gem_vma.c size >> PAGE_SHIFT); PAGE_SHIFT 168 drivers/gpu/drm/msm/msm_gem_vma.c drm_mm_init(&aspace->mm, (va_start >> PAGE_SHIFT), PAGE_SHIFT 169 drivers/gpu/drm/msm/msm_gem_vma.c size >> PAGE_SHIFT); PAGE_SHIFT 264 drivers/gpu/drm/nouveau/nouveau_bo.c (!vmm->page[i].host || vmm->page[i].shift > PAGE_SHIFT)) PAGE_SHIFT 305 drivers/gpu/drm/nouveau/nouveau_bo.c nvbo->bo.mem.num_pages = size >> PAGE_SHIFT; PAGE_SHIFT 309 drivers/gpu/drm/nouveau/nouveau_bo.c &nvbo->placement, align >> PAGE_SHIFT, false, PAGE_SHIFT 358 drivers/gpu/drm/nouveau/nouveau_bo.c u32 vram_pages = drm->client.device.info.ram_size >> PAGE_SHIFT; PAGE_SHIFT 910 drivers/gpu/drm/nouveau/nouveau_bo.c OUT_RING (chan, new_reg->num_pages << PAGE_SHIFT); PAGE_SHIFT 923 drivers/gpu/drm/nouveau/nouveau_bo.c OUT_RING (chan, new_reg->num_pages << PAGE_SHIFT); PAGE_SHIFT 954 drivers/gpu/drm/nouveau/nouveau_bo.c u64 length = (new_reg->num_pages << PAGE_SHIFT); PAGE_SHIFT 1049 drivers/gpu/drm/nouveau/nouveau_bo.c u32 src_offset = old_reg->start << PAGE_SHIFT; PAGE_SHIFT 1050 drivers/gpu/drm/nouveau/nouveau_bo.c u32 dst_offset = new_reg->start << PAGE_SHIFT; PAGE_SHIFT 1335 drivers/gpu/drm/nouveau/nouveau_bo.c u64 offset = new_reg->start << PAGE_SHIFT; PAGE_SHIFT 1447 drivers/gpu/drm/nouveau/nouveau_bo.c reg->bus.size = reg->num_pages << PAGE_SHIFT; PAGE_SHIFT 1459 drivers/gpu/drm/nouveau/nouveau_bo.c reg->bus.offset = reg->start << PAGE_SHIFT; PAGE_SHIFT 1469 drivers/gpu/drm/nouveau/nouveau_bo.c reg->bus.offset = reg->start << PAGE_SHIFT; PAGE_SHIFT 1543 drivers/gpu/drm/nouveau/nouveau_bo.c u32 mappable = device->func->resource_size(device, 1) >> PAGE_SHIFT; PAGE_SHIFT 45 drivers/gpu/drm/nouveau/nouveau_dmem.c #define DMEM_CHUNK_NPAGES (DMEM_CHUNK_SIZE >> PAGE_SHIFT) PAGE_SHIFT 92 drivers/gpu/drm/nouveau/nouveau_dmem.c return (idx << PAGE_SHIFT) + chunk->bo->bo.offset; PAGE_SHIFT 532 drivers/gpu/drm/nouveau/nouveau_dmem.c pfn_first = res->start >> PAGE_SHIFT; PAGE_SHIFT 628 drivers/gpu/drm/nouveau/nouveau_dmem.c unsigned long npages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 651 drivers/gpu/drm/nouveau/nouveau_dmem.c args.end = start + (c << PAGE_SHIFT); PAGE_SHIFT 684 drivers/gpu/drm/nouveau/nouveau_dmem.c npages = (range->end - range->start) >> PAGE_SHIFT; PAGE_SHIFT 705 drivers/gpu/drm/nouveau/nouveau_dmem.c range->pfns[i] |= (addr >> PAGE_SHIFT) << range->pfn_shift; PAGE_SHIFT 381 drivers/gpu/drm/nouveau/nouveau_fbcon.c info->fix.smem_len = fb->nvbo->bo.mem.num_pages << PAGE_SHIFT; PAGE_SHIFT 384 drivers/gpu/drm/nouveau/nouveau_fbcon.c info->screen_size = fb->nvbo->bo.mem.num_pages << PAGE_SHIFT; PAGE_SHIFT 244 drivers/gpu/drm/nouveau/nouveau_gem.c rep->size = nvbo->bo.mem.num_pages << PAGE_SHIFT; PAGE_SHIFT 642 drivers/gpu/drm/nouveau/nouveau_gem.c nvbo->bo.mem.num_pages << PAGE_SHIFT)) { PAGE_SHIFT 124 drivers/gpu/drm/nouveau/nouveau_mem.c ret = nvif_mem_init_type(mmu, cli->mem->oclass, type, PAGE_SHIFT, PAGE_SHIFT 125 drivers/gpu/drm/nouveau/nouveau_mem.c reg->num_pages << PAGE_SHIFT, PAGE_SHIFT 140 drivers/gpu/drm/nouveau/nouveau_mem.c u64 size = ALIGN(reg->num_pages << PAGE_SHIFT, 1 << page); PAGE_SHIFT 171 drivers/gpu/drm/nouveau/nouveau_mem.c reg->start = mem->mem.addr >> PAGE_SHIFT; PAGE_SHIFT 161 drivers/gpu/drm/nouveau/nouveau_svm.c size = ((unsigned long)args->npages) << PAGE_SHIFT; PAGE_SHIFT 607 drivers/gpu/drm/nouveau/nouveau_svm.c limit = start + (ARRAY_SIZE(args.phys) << PAGE_SHIFT); PAGE_SHIFT 641 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.page = PAGE_SHIFT; PAGE_SHIFT 655 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.size = pi << PAGE_SHIFT; PAGE_SHIFT 679 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn - 1]->addr) >> PAGE_SHIFT; PAGE_SHIFT 723 drivers/gpu/drm/nouveau/nouveau_svm.c pi = (fault->addr - range.start) >> PAGE_SHIFT; PAGE_SHIFT 139 drivers/gpu/drm/nouveau/nouveau_ttm.c reg->num_pages << PAGE_SHIFT, &mem->vma[0]); PAGE_SHIFT 149 drivers/gpu/drm/nouveau/nouveau_ttm.c reg->start = mem->vma[0].addr >> PAGE_SHIFT; PAGE_SHIFT 248 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->gem.vram_available >> PAGE_SHIFT); PAGE_SHIFT 265 drivers/gpu/drm/nouveau/nouveau_ttm.c drm->gem.gart_available >> PAGE_SHIFT); PAGE_SHIFT 138 drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c tdev->iommu.pgshift = PAGE_SHIFT; PAGE_SHIFT 209 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c node->base.vaddr = vmap(node->pages, size >> PAGE_SHIFT, VM_MAP, PAGE_SHIFT 304 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c dma_free_attrs(dev, (u64)node->base.mn->length << PAGE_SHIFT, PAGE_SHIFT 397 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c node->base.vaddr = dma_alloc_attrs(dev, npages << PAGE_SHIFT, PAGE_SHIFT 414 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c node->r.length = (npages << PAGE_SHIFT) >> 12; PAGE_SHIFT 530 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c ret = gk20a_instobj_ctor_iommu(imem, size >> PAGE_SHIFT, PAGE_SHIFT 533 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c ret = gk20a_instobj_ctor_dma(imem, size >> PAGE_SHIFT, PAGE_SHIFT 51 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c return PAGE_SHIFT; PAGE_SHIFT 66 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c return nvkm_mem(memory)->pages << PAGE_SHIFT; PAGE_SHIFT 163 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if (page != PAGE_SHIFT) PAGE_SHIFT 183 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c mem->pages = size >> PAGE_SHIFT; PAGE_SHIFT 192 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c size = ALIGN(size, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 175 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c page = max_t(u8, page, PAGE_SHIFT); PAGE_SHIFT 1485 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c map->dma += map->offset >> PAGE_SHIFT; PAGE_SHIFT 68 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (map->page->shift == PAGE_SHIFT) { PAGE_SHIFT 133 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (map->page->shift == PAGE_SHIFT) { PAGE_SHIFT 49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c #if PAGE_SHIFT == 12 PAGE_SHIFT 48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv41.c #if PAGE_SHIFT == 12 PAGE_SHIFT 115 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv44.c #if PAGE_SHIFT == 12 PAGE_SHIFT 68 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (map->page->shift == PAGE_SHIFT) { PAGE_SHIFT 582 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c int num_pages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 44 drivers/gpu/drm/omapdrm/omap_fbdev.c npages = fbi->fix.line_length >> PAGE_SHIFT; PAGE_SHIFT 174 drivers/gpu/drm/omapdrm/omap_gem.c (entry->obj_pgoff << PAGE_SHIFT); PAGE_SHIFT 226 drivers/gpu/drm/omapdrm/omap_gem.c int npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 297 drivers/gpu/drm/omapdrm/omap_gem.c unsigned int npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 354 drivers/gpu/drm/omapdrm/omap_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 361 drivers/gpu/drm/omapdrm/omap_gem.c pfn = (omap_obj->dma_addr >> PAGE_SHIFT) + pgoff; PAGE_SHIFT 365 drivers/gpu/drm/omapdrm/omap_gem.c pfn, pfn << PAGE_SHIFT); PAGE_SHIFT 403 drivers/gpu/drm/omapdrm/omap_gem.c pgoff = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 414 drivers/gpu/drm/omapdrm/omap_gem.c vaddr = vmf->address - ((pgoff - base_pgoff) << PAGE_SHIFT); PAGE_SHIFT 435 drivers/gpu/drm/omapdrm/omap_gem.c vaddr += off << PAGE_SHIFT; PAGE_SHIFT 457 drivers/gpu/drm/omapdrm/omap_gem.c pfn = entry->dma_addr >> PAGE_SHIFT; PAGE_SHIFT 460 drivers/gpu/drm/omapdrm/omap_gem.c pfn, pfn << PAGE_SHIFT); PAGE_SHIFT 647 drivers/gpu/drm/omapdrm/omap_gem.c u32 npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 723 drivers/gpu/drm/omapdrm/omap_gem.c int i, npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 777 drivers/gpu/drm/omapdrm/omap_gem.c u32 npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 970 drivers/gpu/drm/omapdrm/omap_gem.c omap_obj->vaddr = vmap(omap_obj->pages, obj->size >> PAGE_SHIFT, PAGE_SHIFT 998 drivers/gpu/drm/omapdrm/omap_gem.c u32 npages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 1346 drivers/gpu/drm/omapdrm/omap_gem.c usergart[i].stride_pfn = tiler_stride(fmts[i], 0) >> PAGE_SHIFT; PAGE_SHIFT 1365 drivers/gpu/drm/omapdrm/omap_gem.c usergart[i].stride_pfn << PAGE_SHIFT); PAGE_SHIFT 106 drivers/gpu/drm/panfrost/panfrost_drv.c args->offset = mapping->mmnode.start << PAGE_SHIFT; PAGE_SHIFT 380 drivers/gpu/drm/panfrost/panfrost_drv.c args->offset = mapping->mmnode.start << PAGE_SHIFT; PAGE_SHIFT 453 drivers/gpu/drm/panfrost/panfrost_drv.c #define PFN_4G (SZ_4G >> PAGE_SHIFT) PAGE_SHIFT 455 drivers/gpu/drm/panfrost/panfrost_drv.c #define PFN_16M (SZ_16M >> PAGE_SHIFT) PAGE_SHIFT 496 drivers/gpu/drm/panfrost/panfrost_drv.c drm_mm_init(&panfrost_priv->mm, SZ_32M >> PAGE_SHIFT, (SZ_4G - SZ_32M) >> PAGE_SHIFT); PAGE_SHIFT 144 drivers/gpu/drm/panfrost/panfrost_gem.c align = size >> PAGE_SHIFT; PAGE_SHIFT 146 drivers/gpu/drm/panfrost/panfrost_gem.c align = size >= SZ_2M ? SZ_2M >> PAGE_SHIFT : 0; PAGE_SHIFT 151 drivers/gpu/drm/panfrost/panfrost_gem.c size >> PAGE_SHIFT, align, color, 0); PAGE_SHIFT 31 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c count += shmem->base.size >> PAGE_SHIFT; PAGE_SHIFT 73 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c freed += shmem->base.size >> PAGE_SHIFT; PAGE_SHIFT 81 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c pr_info_ratelimited("Purging %lu bytes\n", freed << PAGE_SHIFT); PAGE_SHIFT 69 drivers/gpu/drm/panfrost/panfrost_mmu.c region_width = 10 + fls(size >> PAGE_SHIFT); PAGE_SHIFT 70 drivers/gpu/drm/panfrost/panfrost_mmu.c if ((size >> PAGE_SHIFT) != (1ul << (region_width - 11))) { PAGE_SHIFT 295 drivers/gpu/drm/panfrost/panfrost_mmu.c mmu_map_sg(pfdev, mapping->mmu, mapping->mmnode.start << PAGE_SHIFT, PAGE_SHIFT 308 drivers/gpu/drm/panfrost/panfrost_mmu.c u64 iova = mapping->mmnode.start << PAGE_SHIFT; PAGE_SHIFT 309 drivers/gpu/drm/panfrost/panfrost_mmu.c size_t len = mapping->mmnode.size << PAGE_SHIFT; PAGE_SHIFT 331 drivers/gpu/drm/panfrost/panfrost_mmu.c mapping->mmnode.start << PAGE_SHIFT, len); PAGE_SHIFT 413 drivers/gpu/drm/panfrost/panfrost_mmu.c u64 offset = addr >> PAGE_SHIFT; PAGE_SHIFT 464 drivers/gpu/drm/panfrost/panfrost_mmu.c bomapping->mmnode.start << PAGE_SHIFT); PAGE_SHIFT 472 drivers/gpu/drm/panfrost/panfrost_mmu.c page_offset = addr >> PAGE_SHIFT; PAGE_SHIFT 486 drivers/gpu/drm/panfrost/panfrost_mmu.c pages = kvmalloc_array(bo->base.base.size >> PAGE_SHIFT, PAGE_SHIFT 52 drivers/gpu/drm/panfrost/panfrost_perfcnt.c gpuva = pfdev->perfcnt->mapping->mmnode.start << PAGE_SHIFT; PAGE_SHIFT 146 drivers/gpu/drm/qxl/qxl_image.c ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, page << PAGE_SHIFT); PAGE_SHIFT 58 drivers/gpu/drm/qxl/qxl_object.h return bo->tbo.num_pages << PAGE_SHIFT; PAGE_SHIFT 170 drivers/gpu/drm/qxl/qxl_ttm.c mem->bus.size = mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 182 drivers/gpu/drm/qxl/qxl_ttm.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 187 drivers/gpu/drm/qxl/qxl_ttm.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 214 drivers/gpu/drm/qxl/qxl_ttm.c gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); PAGE_SHIFT 84 drivers/gpu/drm/radeon/radeon_gart.c rdev->gart.table_size >> PAGE_SHIFT); PAGE_SHIFT 110 drivers/gpu/drm/radeon/radeon_gart.c rdev->gart.table_size >> PAGE_SHIFT); PAGE_SHIFT 230 drivers/gpu/drm/radeon/radeon_gem.c args->vram_size = (u64)man->size << PAGE_SHIFT; PAGE_SHIFT 57 drivers/gpu/drm/radeon/radeon_object.c u64 size = (u64)bo->tbo.num_pages << PAGE_SHIFT; PAGE_SHIFT 114 drivers/gpu/drm/radeon/radeon_object.c rbo->rdev->mc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 177 drivers/gpu/drm/radeon/radeon_object.c rbo->rdev->mc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 191 drivers/gpu/drm/radeon/radeon_object.c unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 367 drivers/gpu/drm/radeon/radeon_object.c bo->rdev->mc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 369 drivers/gpu/drm/radeon/radeon_object.c bo->placements[i].lpfn = max_offset >> PAGE_SHIFT; PAGE_SHIFT 655 drivers/gpu/drm/radeon/radeon_object.c bo->tbo.mem.start << PAGE_SHIFT, PAGE_SHIFT 656 drivers/gpu/drm/radeon/radeon_object.c bo->tbo.num_pages << PAGE_SHIFT); PAGE_SHIFT 813 drivers/gpu/drm/radeon/radeon_object.c size = bo->mem.num_pages << PAGE_SHIFT; PAGE_SHIFT 814 drivers/gpu/drm/radeon/radeon_object.c offset = bo->mem.start << PAGE_SHIFT; PAGE_SHIFT 824 drivers/gpu/drm/radeon/radeon_object.c lpfn = rdev->mc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 839 drivers/gpu/drm/radeon/radeon_object.c offset = bo->mem.start << PAGE_SHIFT; PAGE_SHIFT 98 drivers/gpu/drm/radeon/radeon_object.h return bo->tbo.num_pages << PAGE_SHIFT; PAGE_SHIFT 103 drivers/gpu/drm/radeon/radeon_object.h return (bo->tbo.num_pages << PAGE_SHIFT) / RADEON_GPU_PAGE_SIZE; PAGE_SHIFT 108 drivers/gpu/drm/radeon/radeon_object.h return (bo->tbo.mem.page_alignment << PAGE_SHIFT) / RADEON_GPU_PAGE_SIZE; PAGE_SHIFT 149 drivers/gpu/drm/radeon/radeon_ttm.c bo->mem.start < (rbo->rdev->mc.visible_vram_size >> PAGE_SHIFT)) { PAGE_SHIFT 150 drivers/gpu/drm/radeon/radeon_ttm.c unsigned fpfn = rbo->rdev->mc.visible_vram_size >> PAGE_SHIFT; PAGE_SHIFT 214 drivers/gpu/drm/radeon/radeon_ttm.c old_start = (u64)old_mem->start << PAGE_SHIFT; PAGE_SHIFT 215 drivers/gpu/drm/radeon/radeon_ttm.c new_start = (u64)new_mem->start << PAGE_SHIFT; PAGE_SHIFT 398 drivers/gpu/drm/radeon/radeon_ttm.c atomic64_add((u64)bo->num_pages << PAGE_SHIFT, &rdev->num_bytes_moved); PAGE_SHIFT 409 drivers/gpu/drm/radeon/radeon_ttm.c mem->bus.size = mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 422 drivers/gpu/drm/radeon/radeon_ttm.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 429 drivers/gpu/drm/radeon/radeon_ttm.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 524 drivers/gpu/drm/radeon/radeon_ttm.c ttm->num_pages << PAGE_SHIFT, PAGE_SHIFT 589 drivers/gpu/drm/radeon/radeon_ttm.c gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); PAGE_SHIFT 804 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mc.real_vram_size >> PAGE_SHIFT); PAGE_SHIFT 830 drivers/gpu/drm/radeon/radeon_ttm.c rdev->mc.gtt_size >> PAGE_SHIFT); PAGE_SHIFT 880 drivers/gpu/drm/radeon/radeon_ttm.c man->size = size >> PAGE_SHIFT; PAGE_SHIFT 308 drivers/gpu/drm/radeon/radeon_uvd.c rbo->placements[i].fpfn = 0 >> PAGE_SHIFT; PAGE_SHIFT 309 drivers/gpu/drm/radeon/radeon_uvd.c rbo->placements[i].lpfn = (256 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 322 drivers/gpu/drm/radeon/radeon_uvd.c rbo->placements[1].fpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 323 drivers/gpu/drm/radeon/radeon_uvd.c rbo->placements[1].lpfn += (256 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 949 drivers/gpu/drm/radeon/radeon_vm.c addr = (u64)mem->start << PAGE_SHIFT; PAGE_SHIFT 85 drivers/gpu/drm/rockchip/rockchip_drm_gem.c rk_obj->num_pages = rk_obj->base.size >> PAGE_SHIFT; PAGE_SHIFT 216 drivers/gpu/drm/rockchip/rockchip_drm_gem.c unsigned int count = obj->size >> PAGE_SHIFT; PAGE_SHIFT 224 drivers/gpu/drm/tegra/gem.c bo->num_pages = bo->gem.size >> PAGE_SHIFT; PAGE_SHIFT 436 drivers/gpu/drm/tegra/gem.c offset = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 403 drivers/gpu/drm/ttm/ttm_bo.c bo->offset = (bo->mem.start << PAGE_SHIFT) + PAGE_SHIFT 408 drivers/gpu/drm/ttm/ttm_bo.c ctx->bytes_moved += bo->num_pages << PAGE_SHIFT; PAGE_SHIFT 1192 drivers/gpu/drm/ttm/ttm_bo.c mem.size = mem.num_pages << PAGE_SHIFT; PAGE_SHIFT 1314 drivers/gpu/drm/ttm/ttm_bo.c num_pages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1337 drivers/gpu/drm/ttm/ttm_bo.c bo->mem.size = num_pages << PAGE_SHIFT; PAGE_SHIFT 1434 drivers/gpu/drm/ttm/ttm_bo.c unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; PAGE_SHIFT 1448 drivers/gpu/drm/ttm/ttm_bo.c unsigned npages = (PAGE_ALIGN(bo_size)) >> PAGE_SHIFT; PAGE_SHIFT 254 drivers/gpu/drm/ttm/ttm_bo_util.c (uint32_t *) ((unsigned long)dst + (page << PAGE_SHIFT)); PAGE_SHIFT 256 drivers/gpu/drm/ttm/ttm_bo_util.c (uint32_t *) ((unsigned long)src + (page << PAGE_SHIFT)); PAGE_SHIFT 322 drivers/gpu/drm/ttm/ttm_bo_util.c src = (void *)((unsigned long)src + (page << PAGE_SHIFT)); PAGE_SHIFT 344 drivers/gpu/drm/ttm/ttm_bo_util.c dst = (void *)((unsigned long)dst + (page << PAGE_SHIFT)); PAGE_SHIFT 643 drivers/gpu/drm/ttm/ttm_bo_util.c offset = start_page << PAGE_SHIFT; PAGE_SHIFT 644 drivers/gpu/drm/ttm/ttm_bo_util.c size = num_pages << PAGE_SHIFT; PAGE_SHIFT 105 drivers/gpu/drm/ttm/ttm_bo_vm.c return ((bo->mem.bus.base + bo->mem.bus.offset) >> PAGE_SHIFT) PAGE_SHIFT 213 drivers/gpu/drm/ttm/ttm_bo_vm.c page_offset = ((address - vma->vm_start) >> PAGE_SHIFT) + PAGE_SHIFT 323 drivers/gpu/drm/ttm/ttm_bo_vm.c unsigned long page = offset >> PAGE_SHIFT; PAGE_SHIFT 330 drivers/gpu/drm/ttm/ttm_bo_vm.c offset -= page << PAGE_SHIFT; PAGE_SHIFT 365 drivers/gpu/drm/ttm/ttm_bo_vm.c if (len < 1 || (offset + len) >> PAGE_SHIFT > bo->num_pages) PAGE_SHIFT 191 drivers/gpu/drm/ttm/ttm_memory.c val <<= (PAGE_SHIFT - 10); PAGE_SHIFT 213 drivers/gpu/drm/ttm/ttm_memory.c val64 >>= (PAGE_SHIFT - 10); PAGE_SHIFT 403 drivers/gpu/drm/ttm/ttm_tt.c ttm->num_pages << PAGE_SHIFT, PAGE_SHIFT 167 drivers/gpu/drm/udl/udl_fb.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 170 drivers/gpu/drm/udl/udl_fb.c offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 110 drivers/gpu/drm/udl/udl_gem.c page_offset = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 40 drivers/gpu/drm/v3d/v3d_bo.c v3d->bo_stats.pages_allocated -= obj->size >> PAGE_SHIFT; PAGE_SHIFT 108 drivers/gpu/drm/v3d/v3d_bo.c obj->size >> PAGE_SHIFT, PAGE_SHIFT 109 drivers/gpu/drm/v3d/v3d_bo.c GMP_GRANULARITY >> PAGE_SHIFT, 0, 0); PAGE_SHIFT 117 drivers/gpu/drm/v3d/v3d_bo.c v3d->bo_stats.pages_allocated += obj->size >> PAGE_SHIFT; PAGE_SHIFT 185 drivers/gpu/drm/v3d/v3d_bo.c args->offset = bo->node.start << PAGE_SHIFT; PAGE_SHIFT 230 drivers/gpu/drm/v3d/v3d_bo.c args->offset = bo->node.start << PAGE_SHIFT; PAGE_SHIFT 206 drivers/gpu/drm/v3d/v3d_debugfs.c (long)v3d->bo_stats.pages_allocated << (PAGE_SHIFT - 10)); PAGE_SHIFT 71 drivers/gpu/drm/v3d/v3d_irq.c V3D_CORE_WRITE(0, V3D_PTB_BPOA, bo->node.start << PAGE_SHIFT); PAGE_SHIFT 80 drivers/gpu/drm/vgem/vgem_drv.c page_offset = (vaddr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 323 drivers/gpu/drm/vgem/vgem_drv.c long n_pages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 349 drivers/gpu/drm/vgem/vgem_drv.c return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT); PAGE_SHIFT 388 drivers/gpu/drm/vgem/vgem_drv.c long n_pages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 50 drivers/gpu/drm/via/via_dmablit.c #define VIA_PFN(x) ((unsigned long)(x) >> PAGE_SHIFT) PAGE_SHIFT 230 drivers/gpu/drm/virtio/virtgpu_object.c nr_pages << PAGE_SHIFT, PAGE_SHIFT 166 drivers/gpu/drm/virtio/virtgpu_ttm.c mem->bus.size = mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 52 drivers/gpu/drm/vkms/vkms_gem.c page_offset = (vaddr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 198 drivers/gpu/drm/vkms/vkms_gem.c unsigned int n_pages = obj->size >> PAGE_SHIFT; PAGE_SHIFT 365 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c u32 dst_page = dst_offset >> PAGE_SHIFT; PAGE_SHIFT 366 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c u32 src_page = src_offset >> PAGE_SHIFT; PAGE_SHIFT 434 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c size_t num_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 803 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c info.page_size = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 884 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c header->size = header->node.size << PAGE_SHIFT; PAGE_SHIFT 886 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c offset = header->node.start << PAGE_SHIFT; PAGE_SHIFT 1254 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c ret = ttm_bo_kmap(man->cmd_space, 0, size >> PAGE_SHIFT, PAGE_SHIFT 1263 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c drm_mm_init(&man->mm, 0, size >> PAGE_SHIFT); PAGE_SHIFT 844 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c (dev_priv->vram_size >> PAGE_SHIFT)); PAGE_SHIFT 333 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c start = page->index << PAGE_SHIFT; PAGE_SHIFT 86 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c *cmd = vmw_piter_dma_addr(iter) >> PAGE_SHIFT; PAGE_SHIFT 89 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c PAGE_SHIFT; PAGE_SHIFT 104 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c kmap_num = (width*height*4 + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 198 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c kmap_offset = cmd->dma.guest.ptr.offset >> PAGE_SHIFT; PAGE_SHIFT 199 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c kmap_num = (64*64*4) >> PAGE_SHIFT; PAGE_SHIFT 127 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c vmw_piter_start(&iter, vsgt, offset >> PAGE_SHIFT); PAGE_SHIFT 130 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c mob = vmw_mob_create(otable->size >> PAGE_SHIFT); PAGE_SHIFT 147 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c vmw_mob_pt_setup(mob, iter, otable->size >> PAGE_SHIFT); PAGE_SHIFT 161 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c cmd->body.baseAddress = mob->pt_root_page >> PAGE_SHIFT; PAGE_SHIFT 401 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c return tot_size >> PAGE_SHIFT; PAGE_SHIFT 484 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c *((u64 *) *addr) = val >> PAGE_SHIFT; PAGE_SHIFT 490 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c *(*addr)++ = val >> PAGE_SHIFT; PAGE_SHIFT 690 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c cmd->body.base = mob->pt_root_page >> PAGE_SHIFT; PAGE_SHIFT 991 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c ret = ttm_bo_kmap(&buf->base, 0, PAGE_ALIGN(size) >> PAGE_SHIFT, PAGE_SHIFT 446 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c (unsigned long) vsgt->num_pages << PAGE_SHIFT, PAGE_SHIFT 805 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c mem->bus.size = mem->num_pages << PAGE_SHIFT; PAGE_SHIFT 815 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c mem->bus.offset = mem->start << PAGE_SHIFT; PAGE_SHIFT 212 drivers/gpu/host1x/job.c if (last_page != reloc->cmdbuf.offset >> PAGE_SHIFT) { PAGE_SHIFT 218 drivers/gpu/host1x/job.c reloc->cmdbuf.offset >> PAGE_SHIFT); PAGE_SHIFT 219 drivers/gpu/host1x/job.c last_page = reloc->cmdbuf.offset >> PAGE_SHIFT; PAGE_SHIFT 25 drivers/hv/channel.c ((PAGE_ALIGN(addr + len) >> PAGE_SHIFT) - (addr >> PAGE_SHIFT)) PAGE_SHIFT 37 drivers/hv/channel.c return paddr >> PAGE_SHIFT; PAGE_SHIFT 79 drivers/hv/channel.c << PAGE_SHIFT)); PAGE_SHIFT 107 drivers/hv/channel.c newchannel->ringbuffer_pagecount = (send_size + recv_size) >> PAGE_SHIFT; PAGE_SHIFT 108 drivers/hv/channel.c newchannel->ringbuffer_send_offset = send_size >> PAGE_SHIFT; PAGE_SHIFT 156 drivers/hv/channel.c (send_pages + recv_pages) << PAGE_SHIFT, PAGE_SHIFT 308 drivers/hv/channel.c pagecount = size >> PAGE_SHIFT; PAGE_SHIFT 170 drivers/hv/hv.c >> PAGE_SHIFT; PAGE_SHIFT 178 drivers/hv/hv.c >> PAGE_SHIFT; PAGE_SHIFT 734 drivers/hv/hv_balloon.c (HA_CHUNK << PAGE_SHIFT)); PAGE_SHIFT 1079 drivers/hv/hv_balloon.c (*max_page_count) >> (20 - PAGE_SHIFT)); PAGE_SHIFT 1092 drivers/hv/hv_balloon.c #define MB2PAGES(mb) ((mb) << (20 - PAGE_SHIFT)) PAGE_SHIFT 1227 drivers/hv/hv_balloon.c get_order(alloc_unit << PAGE_SHIFT)); PAGE_SHIFT 1240 drivers/hv/hv_balloon.c split_page(pg, get_order(alloc_unit << PAGE_SHIFT)); PAGE_SHIFT 1243 drivers/hv/hv_balloon.c for (j = 0; j < (1 << get_order(alloc_unit << PAGE_SHIFT)); j++) PAGE_SHIFT 228 drivers/hv/ring_buffer.c ring_info->ring_size = page_cnt << PAGE_SHIFT; PAGE_SHIFT 272 drivers/hwtracing/coresight/coresight-catu.c size >> PAGE_SHIFT, pages); PAGE_SHIFT 411 drivers/hwtracing/coresight/coresight-etb10.c head = handle->head & ((buf->nr_pages << PAGE_SHIFT) - 1); PAGE_SHIFT 427 drivers/hwtracing/coresight/coresight-tmc-etf.c head = handle->head & ((buf->nr_pages << PAGE_SHIFT) - 1); PAGE_SHIFT 50 drivers/hwtracing/coresight/coresight-tmc-etr.c #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) PAGE_SHIFT 356 drivers/hwtracing/coresight/coresight-tmc-etr.c start = offset >> PAGE_SHIFT; PAGE_SHIFT 388 drivers/hwtracing/coresight/coresight-tmc-etr.c int pg_idx = offset >> PAGE_SHIFT; PAGE_SHIFT 560 drivers/hwtracing/coresight/coresight-tmc-etr.c int nr_dpages = size >> PAGE_SHIFT; PAGE_SHIFT 1215 drivers/hwtracing/coresight/coresight-tmc-etr.c if ((nr_pages << PAGE_SHIFT) > drvdata->size) { PAGE_SHIFT 1216 drivers/hwtracing/coresight/coresight-tmc-etr.c etr_buf = tmc_alloc_etr_buf(drvdata, (nr_pages << PAGE_SHIFT), PAGE_SHIFT 1431 drivers/hwtracing/coresight/coresight-tmc-etr.c pg_idx = head >> PAGE_SHIFT; PAGE_SHIFT 323 drivers/hwtracing/coresight/coresight-tmc.h return sg_table->data_pages.nr_pages << PAGE_SHIFT; PAGE_SHIFT 330 drivers/hwtracing/intel_th/msu.c return (size_t)win->nr_blocks << PAGE_SHIFT; PAGE_SHIFT 776 drivers/hwtracing/intel_th/msu.c reg = msc->base_addr >> PAGE_SHIFT; PAGE_SHIFT 835 drivers/hwtracing/intel_th/msu.c msc->single_sz = reg & ((msc->nr_pages << PAGE_SHIFT) - 1); PAGE_SHIFT 910 drivers/hwtracing/intel_th/msu.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 963 drivers/hwtracing/intel_th/msu.c for (off = 0; off < msc->nr_pages << PAGE_SHIFT; off += PAGE_SIZE) { PAGE_SHIFT 986 drivers/hwtracing/intel_th/msu.c return virt_to_page(msc->base + (pgoff << PAGE_SHIFT)); PAGE_SHIFT 1089 drivers/hwtracing/intel_th/msu.c nr_blocks << PAGE_SHIFT); PAGE_SHIFT 1294 drivers/hwtracing/intel_th/msu.c ret = msc_buffer_contig_alloc(msc, nr_pages[0] << PAGE_SHIFT); PAGE_SHIFT 1461 drivers/hwtracing/intel_th/msu.c unsigned long size = msc->nr_pages << PAGE_SHIFT, rem = len; PAGE_SHIFT 1509 drivers/hwtracing/intel_th/msu.c size = msc->nr_pages << PAGE_SHIFT; PAGE_SHIFT 1623 drivers/hwtracing/intel_th/msu.c if (size >> PAGE_SHIFT != msc->nr_pages) PAGE_SHIFT 247 drivers/ide/ide-taskfile.c page = nth_page(page, (offset >> PAGE_SHIFT)); PAGE_SHIFT 87 drivers/infiniband/core/umem.c if (!first && (page_to_pfn(sg_page(sg)) + (sg->length >> PAGE_SHIFT) == PAGE_SHIFT 102 drivers/infiniband/core/umem.c len < (max_seg_sz >> PAGE_SHIFT); PAGE_SHIFT 108 drivers/infiniband/core/umem.c if ((max_seg_sz - sg->length) >= (len << PAGE_SHIFT)) { PAGE_SHIFT 110 drivers/infiniband/core/umem.c sg->length + (len << PAGE_SHIFT), PAGE_SHIFT 123 drivers/infiniband/core/umem.c sg_set_page(sg, first_page, len << PAGE_SHIFT, 0); PAGE_SHIFT 155 drivers/infiniband/core/umem.c if (WARN_ON(!(pgsz_bitmap & GENMASK(PAGE_SHIFT, 0)))) PAGE_SHIFT 256 drivers/infiniband/core/umem.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 354 drivers/infiniband/core/umem.c n += sg_dma_len(sg) >> PAGE_SHIFT; PAGE_SHIFT 319 drivers/infiniband/core/umem_odp.c umem_odp->page_shift = PAGE_SHIFT; PAGE_SHIFT 362 drivers/infiniband/core/umem_odp.c odp_data->page_shift = PAGE_SHIFT; PAGE_SHIFT 415 drivers/infiniband/core/umem_odp.c umem_odp->page_shift = PAGE_SHIFT; PAGE_SHIFT 659 drivers/infiniband/core/umem_odp.c bcnt -= min_t(size_t, npages << PAGE_SHIFT, bcnt); PAGE_SHIFT 3705 drivers/infiniband/hw/bnxt_re/ib_verbs.c pfn = virt_to_phys(uctx->shpg) >> PAGE_SHIFT; PAGE_SHIFT 488 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c req.log2_dbr_pg_size = cpu_to_le16(PAGE_SHIFT - PAGE_SHIFT 957 drivers/infiniband/hw/cxgb3/cxio_hal.c rdev_p->qpshift = PAGE_SHIFT - PAGE_SHIFT 960 drivers/infiniband/hw/cxgb3/cxio_hal.c PAGE_SHIFT)); PAGE_SHIFT 961 drivers/infiniband/hw/cxgb3/cxio_hal.c rdev_p->qpnr = rdev_p->rnic_info.udbell_len >> PAGE_SHIFT; PAGE_SHIFT 240 drivers/infiniband/hw/cxgb3/iwch_provider.c u32 key = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 278 drivers/infiniband/hw/cxgb3/iwch_provider.c addr >> PAGE_SHIFT, PAGE_SHIFT 286 drivers/infiniband/hw/cxgb3/iwch_provider.c addr >> PAGE_SHIFT, PAGE_SHIFT 461 drivers/infiniband/hw/cxgb3/iwch_provider.c shift = PAGE_SHIFT; PAGE_SHIFT 550 drivers/infiniband/hw/cxgb4/mem.c shift = PAGE_SHIFT; PAGE_SHIFT 127 drivers/infiniband/hw/cxgb4/provider.c u32 key = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 158 drivers/infiniband/hw/cxgb4/provider.c addr >> PAGE_SHIFT, PAGE_SHIFT 178 drivers/infiniband/hw/cxgb4/provider.c addr >> PAGE_SHIFT, PAGE_SHIFT 186 drivers/infiniband/hw/cxgb4/provider.c addr >> PAGE_SHIFT, PAGE_SHIFT 41 drivers/infiniband/hw/efa/efa_verbs.c ((u64)efa->mmap_page << PAGE_SHIFT); PAGE_SHIFT 211 drivers/infiniband/hw/efa/efa_verbs.c mmap_page = (key & EFA_MMAP_PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 248 drivers/infiniband/hw/efa/efa_verbs.c (u32)(length >> PAGE_SHIFT), PAGE_SHIFT 1051 drivers/infiniband/hw/efa/efa_verbs.c u32 pages_in_hp = BIT(hp_shift - PAGE_SHIFT); PAGE_SHIFT 1611 drivers/infiniband/hw/efa/efa_verbs.c pfn = entry->address >> PAGE_SHIFT; PAGE_SHIFT 1650 drivers/infiniband/hw/efa/efa_verbs.c u64 key = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 356 drivers/infiniband/hw/hfi1/file_ops.c u64 token = vma->vm_pgoff << PAGE_SHIFT, PAGE_SHIFT 609 drivers/infiniband/hw/hfi1/file_ops.c page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); PAGE_SHIFT 737 drivers/infiniband/hw/hfi1/file_ops.c paddr = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 164 drivers/infiniband/hw/hfi1/tid_rdma.c (((u64)((p->max_len >> PAGE_SHIFT) - 1) & PAGE_SHIFT 179 drivers/infiniband/hw/hfi1/tid_rdma.c TID_OPFN_MAX_LEN_MASK) + 1) << PAGE_SHIFT; PAGE_SHIFT 921 drivers/infiniband/hw/hfi1/tid_rdma.c PAGE_SHIFT; PAGE_SHIFT 925 drivers/infiniband/hw/hfi1/tid_rdma.c PAGE_SHIFT; PAGE_SHIFT 1204 drivers/infiniband/hw/hfi1/tid_rdma.c (TID_RDMA_MAX_SEGMENT_SIZE >> PAGE_SHIFT)); PAGE_SHIFT 1301 drivers/infiniband/hw/hfi1/tid_rdma.c u32 pmtu_pg = flow->req->qp->pmtu >> PAGE_SHIFT; PAGE_SHIFT 2346 drivers/infiniband/hw/hfi1/tid_rdma.c u32 tidlen = EXP_TID_GET(tidentry, LEN) << PAGE_SHIFT; PAGE_SHIFT 4202 drivers/infiniband/hw/hfi1/tid_rdma.c u32 tidlen = EXP_TID_GET(tidentry, LEN) << PAGE_SHIFT; PAGE_SHIFT 19 drivers/infiniband/hw/hfi1/tid_rdma.h #define TID_RDMA_MAX_PAGES (BIT(18) >> PAGE_SHIFT) PAGE_SHIFT 631 drivers/infiniband/hw/hfi1/user_exp_rcv.c PAGE_SHIFT; PAGE_SHIFT 635 drivers/infiniband/hw/hfi1/user_exp_rcv.c PAGE_SHIFT; PAGE_SHIFT 84 drivers/infiniband/hw/hfi1/user_exp_rcv.h return 1 + ((epage - spage) >> PAGE_SHIFT); PAGE_SHIFT 752 drivers/infiniband/hw/hfi1/user_sdma.c PAGE_SHIFT); PAGE_SHIFT 64 drivers/infiniband/hw/hfi1/user_sdma.h #define num_pages(x) (1 + ((((x) - 1) & PAGE_MASK) >> PAGE_SHIFT)) PAGE_SHIFT 192 drivers/infiniband/hw/hns/hns_roce_alloc.c if (order <= page_shift - PAGE_SHIFT) PAGE_SHIFT 195 drivers/infiniband/hw/hns/hns_roce_alloc.c order -= page_shift - PAGE_SHIFT; PAGE_SHIFT 274 drivers/infiniband/hw/hns/hns_roce_alloc.c if (page_shift < PAGE_SHIFT) { PAGE_SHIFT 230 drivers/infiniband/hw/hns/hns_roce_cq.c page_shift = PAGE_SHIFT + hr_dev->caps.cqe_buf_pg_sz; PAGE_SHIFT 235 drivers/infiniband/hw/hns/hns_roce_cq.c PAGE_SHIFT, &buf->hr_mtt); PAGE_SHIFT 258 drivers/infiniband/hw/hns/hns_roce_cq.c u32 page_shift = PAGE_SHIFT + hr_dev->caps.cqe_buf_pg_sz; PAGE_SHIFT 118 drivers/infiniband/hw/hns/hns_roce_device.h #define PG_SHIFT_OFFSET (PAGE_SHIFT - 12) PAGE_SHIFT 132 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 134 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 140 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 142 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 148 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 150 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 156 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 158 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 164 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 166 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 172 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 174 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 180 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 182 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 188 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 190 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 196 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 198 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 204 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 206 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 212 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 214 drivers/infiniband/hw/hns/hns_roce_hem.c + PAGE_SHIFT); PAGE_SHIFT 556 drivers/infiniband/hw/hns/hns_roce_hem.c size >> PAGE_SHIFT, PAGE_SHIFT 635 drivers/infiniband/hw/hns/hns_roce_hem.c table->table_chunk_size >> PAGE_SHIFT, PAGE_SHIFT 4334 drivers/infiniband/hw/hns/hns_roce_hw_v1.c eq->log_page_size = PAGE_SHIFT; PAGE_SHIFT 1878 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (hr_dev->caps.tsq_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 1884 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (hr_dev->caps.tpq_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 3689 drivers/infiniband/hw/hns/hns_roce_hw_v2.c page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 3933 drivers/infiniband/hw/hns/hns_roce_hw_v2.c page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 4986 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (eq->eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 4998 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (eq->eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5116 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (eq->eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5128 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (eq->eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5323 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5324 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5383 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (eq->eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5564 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5565 drivers/infiniband/hw/hns/hns_roce_hw_v2.c bt_chk_sz = 1 << (hr_dev->caps.eqe_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 5766 drivers/infiniband/hw/hns/hns_roce_hw_v2.c buf_chk_sz = 1 << (hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 373 drivers/infiniband/hw/hns/hns_roce_main.c hr_dev->tptr_dma_addr >> PAGE_SHIFT, PAGE_SHIFT 305 drivers/infiniband/hw/hns/hns_roce_mr.c pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 515 drivers/infiniband/hw/hns/hns_roce_mr.c pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 629 drivers/infiniband/hw/hns/hns_roce_mr.c pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 799 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.mtt_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 803 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.cqe_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 807 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.srqwqe_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 811 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.idx_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 856 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.mtt_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 859 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.cqe_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 862 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.srqwqe_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 865 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (hr_dev->caps.idx_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 1052 drivers/infiniband/hw/hns/hns_roce_mr.c bt_page_size = 1 << (order + PAGE_SHIFT); PAGE_SHIFT 1062 drivers/infiniband/hw/hns/hns_roce_mr.c if (!(npage % (1 << (mtt->page_shift - PAGE_SHIFT)))) { PAGE_SHIFT 1102 drivers/infiniband/hw/hns/hns_roce_mr.c pbl_bt_sz = 1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT); PAGE_SHIFT 1165 drivers/infiniband/hw/hns/hns_roce_mr.c bt_size = (1 << (hr_dev->caps.pbl_ba_pg_sz + PAGE_SHIFT)) / PAGE_SHIFT 1384 drivers/infiniband/hw/hns/hns_roce_mr.c page_size = 1 << (hr_dev->caps.pbl_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 114 drivers/infiniband/hw/hns/hns_roce_pd.c uar->pfn = ((res->start) >> PAGE_SHIFT) + uar->index; PAGE_SHIFT 117 drivers/infiniband/hw/hns/hns_roce_pd.c >> PAGE_SHIFT); PAGE_SHIFT 405 drivers/infiniband/hw/hns/hns_roce_qp.c page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 505 drivers/infiniband/hw/hns/hns_roce_qp.c bt_pg_shift = PAGE_SHIFT + hr_dev->caps.mtt_ba_pg_sz; PAGE_SHIFT 518 drivers/infiniband/hw/hns/hns_roce_qp.c return bt_pg_shift - PAGE_SHIFT; PAGE_SHIFT 594 drivers/infiniband/hw/hns/hns_roce_qp.c page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT); PAGE_SHIFT 732 drivers/infiniband/hw/hns/hns_roce_qp.c page_shift = PAGE_SHIFT + hr_dev->caps.mtt_buf_pg_sz; PAGE_SHIFT 909 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_mtr_init(&hr_qp->mtr, PAGE_SHIFT + hr_qp->wqe_bt_pg_shift, PAGE_SHIFT 197 drivers/infiniband/hw/hns/hns_roce_srq.c buf->page_shift = PAGE_SHIFT + hr_dev->caps.srqwqe_buf_pg_sz; PAGE_SHIFT 219 drivers/infiniband/hw/hns/hns_roce_srq.c buf->page_shift = PAGE_SHIFT + hr_dev->caps.idx_buf_pg_sz; PAGE_SHIFT 276 drivers/infiniband/hw/hns/hns_roce_srq.c u32 page_shift = PAGE_SHIFT + hr_dev->caps.srqwqe_buf_pg_sz; PAGE_SHIFT 295 drivers/infiniband/hw/hns/hns_roce_srq.c page_shift = PAGE_SHIFT + hr_dev->caps.idx_buf_pg_sz; PAGE_SHIFT 188 drivers/infiniband/hw/i40iw/i40iw_verbs.c vma->vm_pgoff += db_addr_offset >> PAGE_SHIFT; PAGE_SHIFT 190 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (vma->vm_pgoff == (db_addr_offset >> PAGE_SHIFT)) { PAGE_SHIFT 194 drivers/infiniband/hw/i40iw/i40iw_verbs.c if ((vma->vm_pgoff - (push_offset >> PAGE_SHIFT)) % 2) PAGE_SHIFT 201 drivers/infiniband/hw/i40iw/i40iw_verbs.c vma->vm_pgoff + (pci_resource_start(ucontext->iwdev->ldev->pcidev, 0) >> PAGE_SHIFT), PAGE_SHIFT 1185 drivers/infiniband/hw/mlx4/main.c PAGE_SHIFT, PAGE_SHIFT 2656 drivers/infiniband/hw/mlx4/main.c ibdev->uar_map = ioremap((phys_addr_t) ibdev->priv_uar.pfn << PAGE_SHIFT, PAGE_SHIFT 261 drivers/infiniband/hw/mlx4/mr.c u64 min_shift = PAGE_SHIFT; PAGE_SHIFT 516 drivers/infiniband/hw/mlx4/mr.c shift = PAGE_SHIFT; PAGE_SHIFT 118 drivers/infiniband/hw/mlx4/srq.c PAGE_SHIFT, &srq->mtt); PAGE_SHIFT 90 drivers/infiniband/hw/mlx5/cmd.c >> PAGE_SHIFT; PAGE_SHIFT 171 drivers/infiniband/hw/mlx5/cmd.c start_page_idx = (addr - hw_start_addr) >> PAGE_SHIFT; PAGE_SHIFT 1820 drivers/infiniband/hw/mlx5/main.c MLX5_ADAPTER_PAGE_SHIFT : PAGE_SHIFT; PAGE_SHIFT 2013 drivers/infiniband/hw/mlx5/main.c return (dev->mdev->bar_addr >> PAGE_SHIFT) + uar_idx / fw_uars_per_page; PAGE_SHIFT 2198 drivers/infiniband/hw/mlx5/main.c u32 npages = map_size >> PAGE_SHIFT; PAGE_SHIFT 2207 drivers/infiniband/hw/mlx5/main.c PAGE_SHIFT) + PAGE_SHIFT 2245 drivers/infiniband/hw/mlx5/main.c PAGE_SHIFT; PAGE_SHIFT 2304 drivers/infiniband/hw/mlx5/main.c PAGE_SHIFT; PAGE_SHIFT 2440 drivers/infiniband/hw/mlx5/main.c PAGE_SHIFT; PAGE_SHIFT 59 drivers/infiniband/hw/mlx5/mem.c addr = addr >> PAGE_SHIFT; PAGE_SHIFT 63 drivers/infiniband/hw/mlx5/mem.c m = min_t(unsigned long, max_page_shift - PAGE_SHIFT, m); PAGE_SHIFT 66 drivers/infiniband/hw/mlx5/mem.c len = sg_dma_len(sg) >> PAGE_SHIFT; PAGE_SHIFT 67 drivers/infiniband/hw/mlx5/mem.c pfn = sg_dma_address(sg) >> PAGE_SHIFT; PAGE_SHIFT 99 drivers/infiniband/hw/mlx5/mem.c *shift = PAGE_SHIFT + m; PAGE_SHIFT 132 drivers/infiniband/hw/mlx5/mem.c int shift = page_shift - PAGE_SHIFT; PAGE_SHIFT 156 drivers/infiniband/hw/mlx5/mem.c len = sg_dma_len(sg) >> PAGE_SHIFT; PAGE_SHIFT 175 drivers/infiniband/hw/mlx5/mem.c cur = base + (k << PAGE_SHIFT); PAGE_SHIFT 642 drivers/infiniband/hw/mlx5/mr.c ent->page = PAGE_SHIFT; PAGE_SHIFT 778 drivers/infiniband/hw/mlx5/mr.c *npages = *ncont << (*page_shift - PAGE_SHIFT); PAGE_SHIFT 1716 drivers/infiniband/hw/mlx5/mr.c page_shift = PAGE_SHIFT; PAGE_SHIFT 1739 drivers/infiniband/hw/mlx5/mr.c PAGE_SHIFT, MLX5_MKC_ACCESS_MODE_MTT, in, PAGE_SHIFT 86 drivers/infiniband/hw/mlx5/odp.c #define MLX5_IMR_MTT_BITS (30 - PAGE_SHIFT) PAGE_SHIFT 87 drivers/infiniband/hw/mlx5/odp.c #define MLX5_IMR_MTT_SHIFT (MLX5_IMR_MTT_BITS + PAGE_SHIFT) PAGE_SHIFT 344 drivers/infiniband/hw/mlx5/odp.c dev->odp_max_size = BIT_ULL(MLX5_MAX_UMR_SHIFT + PAGE_SHIFT); PAGE_SHIFT 451 drivers/infiniband/hw/mlx5/odp.c PAGE_SHIFT, PAGE_SHIFT 694 drivers/infiniband/hw/mlx5/odp.c npages += np << (page_shift - PAGE_SHIFT); PAGE_SHIFT 1258 drivers/infiniband/hw/mlx5/odp.c (address & PAGE_MASK)) >> PAGE_SHIFT; PAGE_SHIFT 1563 drivers/infiniband/hw/mlx5/odp.c ent->page = PAGE_SHIFT; PAGE_SHIFT 120 drivers/infiniband/hw/mthca/mthca_allocator.c int p = (index * sizeof (void *)) >> PAGE_SHIFT; PAGE_SHIFT 130 drivers/infiniband/hw/mthca/mthca_allocator.c int p = (index * sizeof (void *)) >> PAGE_SHIFT; PAGE_SHIFT 147 drivers/infiniband/hw/mthca/mthca_allocator.c int p = (index * sizeof (void *)) >> PAGE_SHIFT; PAGE_SHIFT 208 drivers/infiniband/hw/mthca/mthca_allocator.c shift = get_order(size) + PAGE_SHIFT; PAGE_SHIFT 232 drivers/infiniband/hw/mthca/mthca_allocator.c shift = PAGE_SHIFT; PAGE_SHIFT 862 drivers/infiniband/hw/mthca/mthca_cmd.c (PAGE_SHIFT - MTHCA_ICM_PAGE_SHIFT); PAGE_SHIFT 1417 drivers/infiniband/hw/mthca/mthca_cmd.c u8 uar_page_sz = PAGE_SHIFT - 12; PAGE_SHIFT 1597 drivers/infiniband/hw/mthca/mthca_cmd.c (PAGE_SHIFT - MTHCA_ICM_PAGE_SHIFT); PAGE_SHIFT 519 drivers/infiniband/hw/mthca/mthca_eq.c dma_list, PAGE_SHIFT, npages, PAGE_SHIFT 714 drivers/infiniband/hw/mthca/mthca_main.c dev->kar = ioremap((phys_addr_t) dev->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 234 drivers/infiniband/hw/mthca/mthca_memfree.c table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT, PAGE_SHIFT 390 drivers/infiniband/hw/mthca/mthca_memfree.c table->icm[i] = mthca_alloc_icm(dev, chunk_size >> PAGE_SHIFT, PAGE_SHIFT 932 drivers/infiniband/hw/mthca/mthca_provider.c err = mthca_mr_alloc(dev, to_mpd(pd)->pd_num, PAGE_SHIFT, virt, length, PAGE_SHIFT 213 drivers/infiniband/hw/mthca/mthca_qp.c return qp->queue.page_list[(n << qp->rq.wqe_shift) >> PAGE_SHIFT].buf + PAGE_SHIFT 225 drivers/infiniband/hw/mthca/mthca_qp.c PAGE_SHIFT].buf + PAGE_SHIFT 79 drivers/infiniband/hw/mthca/mthca_srq.c return srq->queue.page_list[(n << srq->wqe_shift) >> PAGE_SHIFT].buf + PAGE_SHIFT 44 drivers/infiniband/hw/mthca/mthca_uar.c uar->pfn = (pci_resource_start(dev->pdev, 2) >> PAGE_SHIFT) + uar->index; PAGE_SHIFT 549 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c unsigned long vm_page = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 557 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c found = ocrdma_search_mmap(ucontext, vma->vm_pgoff << PAGE_SHIFT, len); PAGE_SHIFT 391 drivers/infiniband/hw/qedr/verbs.c unsigned long phys_addr = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 631 drivers/infiniband/hw/qedr/verbs.c fw_pg_per_umem_pg = BIT(PAGE_SHIFT - pg_shift); PAGE_SHIFT 717 drivers/infiniband/hw/qedr/verbs.c (PAGE_SHIFT - FW_PAGE_SHIFT); PAGE_SHIFT 2635 drivers/infiniband/hw/qedr/verbs.c &mr->info.pbl_info, PAGE_SHIFT); PAGE_SHIFT 2656 drivers/infiniband/hw/qedr/verbs.c mr->hw_mr.page_size_log = PAGE_SHIFT; PAGE_SHIFT 93 drivers/infiniband/hw/qib/qib_file_ops.c paddr = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 739 drivers/infiniband/hw/qib/qib_file_ops.c pfn = virt_to_phys(kvaddr) >> PAGE_SHIFT; PAGE_SHIFT 774 drivers/infiniband/hw/qib/qib_file_ops.c phys >> PAGE_SHIFT, PAGE_SHIFT 820 drivers/infiniband/hw/qib/qib_file_ops.c ret = io_remap_pfn_range(vma, vma->vm_start, phys >> PAGE_SHIFT, PAGE_SHIFT 860 drivers/infiniband/hw/qib/qib_file_ops.c pfn = virt_to_phys(rcd->rcvegrbuf[i]) >> PAGE_SHIFT; PAGE_SHIFT 879 drivers/infiniband/hw/qib/qib_file_ops.c page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); PAGE_SHIFT 956 drivers/infiniband/hw/qib/qib_file_ops.c vma->vm_pgoff = (unsigned long) addr >> PAGE_SHIFT; PAGE_SHIFT 999 drivers/infiniband/hw/qib/qib_file_ops.c pgaddr = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 101 drivers/infiniband/hw/qib/qib_user_pages.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 612 drivers/infiniband/hw/qib/qib_user_sdma.c return 1 + ((epage - spage) >> PAGE_SHIFT); PAGE_SHIFT 691 drivers/infiniband/hw/usnic/usnic_ib_verbs.c vma->vm_pgoff, PAGE_SHIFT, vfid); PAGE_SHIFT 713 drivers/infiniband/hw/usnic/usnic_ib_verbs.c bus_addr >> PAGE_SHIFT, PAGE_SHIFT 123 drivers/infiniband/hw/usnic/usnic_uiom.c npages = PAGE_ALIGN(size + (addr & ~PAGE_MASK)) >> PAGE_SHIFT; PAGE_SHIFT 129 drivers/infiniband/hw/usnic/usnic_uiom.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 202 drivers/infiniband/hw/usnic/usnic_uiom.c va = interval->start << PAGE_SHIFT; PAGE_SHIFT 203 drivers/infiniband/hw/usnic/usnic_uiom.c size = ((interval->last - interval->start) + 1) << PAGE_SHIFT; PAGE_SHIFT 224 drivers/infiniband/hw/usnic/usnic_uiom.c npages = PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT; PAGE_SHIFT 225 drivers/infiniband/hw/usnic/usnic_uiom.c vpn_start = (uiomr->va & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 266 drivers/infiniband/hw/usnic/usnic_uiom.c if ((va >> PAGE_SHIFT) < interval_node->start) PAGE_SHIFT 269 drivers/infiniband/hw/usnic/usnic_uiom.c if ((va >> PAGE_SHIFT) == interval_node->start) { PAGE_SHIFT 296 drivers/infiniband/hw/usnic/usnic_uiom.c if ((va >> PAGE_SHIFT) == interval_node->last) { PAGE_SHIFT 355 drivers/infiniband/hw/usnic/usnic_uiom.c npages = PAGE_ALIGN(size + offset) >> PAGE_SHIFT; PAGE_SHIFT 356 drivers/infiniband/hw/usnic/usnic_uiom.c vpn_start = (addr & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 431 drivers/infiniband/hw/usnic/usnic_uiom.c return PAGE_ALIGN(uiomr->length + uiomr->offset) >> PAGE_SHIFT; PAGE_SHIFT 110 drivers/infiniband/hw/vmw_pvrdma/pvrdma_doorbell.c PAGE_SHIFT) + uar->index; PAGE_SHIFT 874 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c PAGE_SHIFT; PAGE_SHIFT 876 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c ioremap(dev->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 256 drivers/infiniband/hw/vmw_pvrdma/pvrdma_mr.c mr->page_shift = PAGE_SHIFT; PAGE_SHIFT 400 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 114 drivers/infiniband/sw/rdmavt/mmap.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 412 drivers/infiniband/sw/rdmavt/mr.c mr->mr.page_shift = PAGE_SHIFT; PAGE_SHIFT 639 drivers/infiniband/sw/rdmavt/mr.c mr->mr.page_shift = PAGE_SHIFT; PAGE_SHIFT 289 drivers/infiniband/sw/rdmavt/qp.c u32 page = ((unsigned long)address >> PAGE_SHIFT) & wss->pages_mask; PAGE_SHIFT 94 drivers/infiniband/sw/rxe/rxe_mmap.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 192 drivers/infiniband/sw/rxe/rxe_mr.c mem->page_shift = PAGE_SHIFT; PAGE_SHIFT 384 drivers/infiniband/sw/siw/siw_mem.c num_pages = PAGE_ALIGN(start + len - first_page_va) >> PAGE_SHIFT; PAGE_SHIFT 402 drivers/infiniband/sw/siw/siw_mem.c mlock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 65 drivers/infiniband/sw/siw/siw_mem.h unsigned int page_idx = (addr - umem->fp_addr) >> PAGE_SHIFT, PAGE_SHIFT 385 drivers/infiniband/sw/siw/siw_qp_tx.c i += PAGE_ALIGN(sge_bytes + offset) >> PAGE_SHIFT; PAGE_SHIFT 475 drivers/infiniband/sw/siw/siw_verbs.c uresp.sq_key = qp->xa_sq_index << PAGE_SHIFT; PAGE_SHIFT 476 drivers/infiniband/sw/siw/siw_verbs.c uresp.rq_key = qp->xa_rq_index << PAGE_SHIFT; PAGE_SHIFT 1166 drivers/infiniband/sw/siw/siw_verbs.c uresp.cq_key = cq->xa_cq_index << PAGE_SHIFT; PAGE_SHIFT 1321 drivers/infiniband/sw/siw/siw_verbs.c (PAGE_ALIGN(len + (start & ~PAGE_MASK))) >> PAGE_SHIFT; PAGE_SHIFT 1322 drivers/infiniband/sw/siw/siw_verbs.c mem_limit >>= PAGE_SHIFT; PAGE_SHIFT 55 drivers/iommu/amd_iommu.c #define IOVA_PFN(addr) ((addr) >> PAGE_SHIFT) PAGE_SHIFT 1778 drivers/iommu/amd_iommu.c return (pfn << PAGE_SHIFT); PAGE_SHIFT 1786 drivers/iommu/amd_iommu.c address >>= PAGE_SHIFT; PAGE_SHIFT 2139 drivers/iommu/amd_iommu.c ret = pci_enable_ats(pdev, PAGE_SHIFT); PAGE_SHIFT 2192 drivers/iommu/amd_iommu.c pci_enable_ats(pdev, PAGE_SHIFT) == 0) { PAGE_SHIFT 2498 drivers/iommu/amd_iommu.c queue_iova(&dma_dom->iovad, dma_addr >> PAGE_SHIFT, pages, 0); PAGE_SHIFT 2554 drivers/iommu/amd_iommu.c boundary_size = mask + 1 ? ALIGN(mask + 1, PAGE_SIZE) >> PAGE_SHIFT : PAGE_SHIFT 2555 drivers/iommu/amd_iommu.c 1UL << (BITS_PER_LONG - PAGE_SHIFT); PAGE_SHIFT 2560 drivers/iommu/amd_iommu.c s->dma_address = npages << PAGE_SHIFT; PAGE_SHIFT 2609 drivers/iommu/amd_iommu.c bus_addr = address + s->dma_address + (j << PAGE_SHIFT); PAGE_SHIFT 2610 drivers/iommu/amd_iommu.c phys_addr = (sg_phys(s) & PAGE_MASK) + (j << PAGE_SHIFT); PAGE_SHIFT 2647 drivers/iommu/amd_iommu.c bus_addr = address + s->dma_address + (j << PAGE_SHIFT); PAGE_SHIFT 2656 drivers/iommu/amd_iommu.c free_iova_fast(&dma_dom->iovad, address >> PAGE_SHIFT, npages); PAGE_SHIFT 2683 drivers/iommu/amd_iommu.c __unmap_single(dma_dom, startaddr, npages << PAGE_SHIFT, dir); PAGE_SHIFT 2717 drivers/iommu/amd_iommu.c page = dma_alloc_from_contiguous(dev, size >> PAGE_SHIFT, PAGE_SHIFT 2736 drivers/iommu/amd_iommu.c if (!dma_release_from_contiguous(dev, page, size >> PAGE_SHIFT)) PAGE_SHIFT 2765 drivers/iommu/amd_iommu.c if (!dma_release_from_contiguous(dev, page, size >> PAGE_SHIFT)) PAGE_SHIFT 287 drivers/iommu/amd_iommu_init.c unsigned shift = PAGE_SHIFT + PAGE_SHIFT 436 drivers/iommu/amd_iommu_types.h #define APERTURE_RANGE_PAGES (APERTURE_RANGE_SIZE >> PAGE_SHIFT) PAGE_SHIFT 198 drivers/iommu/arm-smmu-v3.c #define Q_MAX_SZ_SHIFT (PAGE_SHIFT + CONFIG_CMA_ALIGNMENT) PAGE_SHIFT 200 drivers/iommu/arm-smmu-v3.c #define Q_MAX_SZ_SHIFT (PAGE_SHIFT + MAX_ORDER - 1) PAGE_SHIFT 591 drivers/iommu/dma-iommu.c count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 592 drivers/iommu/dma-iommu.c pages = __iommu_dma_alloc_pages(dev, count, alloc_sizes >> PAGE_SHIFT, PAGE_SHIFT 649 drivers/iommu/dma-iommu.c return vm_map_pages(vma, pages, PAGE_ALIGN(size) >> PAGE_SHIFT); PAGE_SHIFT 925 drivers/iommu/dma-iommu.c int count = alloc_size >> PAGE_SHIFT; PAGE_SHIFT 1032 drivers/iommu/dma-iommu.c unsigned long nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 1071 drivers/iommu/dma-iommu.c PAGE_ALIGN(size) >> PAGE_SHIFT, PAGE_SHIFT 640 drivers/iommu/dmar.c if (dmar->width < PAGE_SHIFT - 1) { PAGE_SHIFT 345 drivers/iommu/exynos-iommu.c writel(pgd >> PAGE_SHIFT, PAGE_SHIFT 82 drivers/iommu/intel-iommu.c #define IOVA_PFN(addr) ((addr) >> PAGE_SHIFT) PAGE_SHIFT 155 drivers/iommu/intel-iommu.c return dma_pfn >> (PAGE_SHIFT - VTD_PAGE_SHIFT); PAGE_SHIFT 160 drivers/iommu/intel-iommu.c return mm_pfn << (PAGE_SHIFT - VTD_PAGE_SHIFT); PAGE_SHIFT 1076 drivers/iommu/intel-iommu.c pg = pfn_to_page(dma_pte_addr(pte) >> PAGE_SHIFT); PAGE_SHIFT 3501 drivers/iommu/intel-iommu.c unsigned long paddr_pfn = paddr >> PAGE_SHIFT; PAGE_SHIFT 3536 drivers/iommu/intel-iommu.c start_paddr = (phys_addr_t)iova_pfn << PAGE_SHIFT; PAGE_SHIFT 3647 drivers/iommu/intel-iommu.c unsigned int count = size >> PAGE_SHIFT; PAGE_SHIFT 3664 drivers/iommu/intel-iommu.c if (!dma_release_from_contiguous(dev, page, size >> PAGE_SHIFT)) PAGE_SHIFT 3683 drivers/iommu/intel-iommu.c if (!dma_release_from_contiguous(dev, page, size >> PAGE_SHIFT)) PAGE_SHIFT 3762 drivers/iommu/intel-iommu.c trace_map_sg(dev, iova_pfn << PAGE_SHIFT, PAGE_SHIFT 3877 drivers/iommu/intel-iommu.c trace_bounce_map_single(dev, iova_pfn << PAGE_SHIFT, paddr, size); PAGE_SHIFT 3879 drivers/iommu/intel-iommu.c return (phys_addr_t)iova_pfn << PAGE_SHIFT; PAGE_SHIFT 4658 drivers/iommu/intel-iommu.c start = mhp->start_pfn << PAGE_SHIFT; PAGE_SHIFT 4659 drivers/iommu/intel-iommu.c end = ((mhp->start_pfn + mhp->nr_pages) << PAGE_SHIFT) - 1; PAGE_SHIFT 164 drivers/iommu/intel-pasid.c pasid_table->max_pasid = 1 << (order + PAGE_SHIFT + 3); PAGE_SHIFT 684 drivers/iommu/mtk_iommu.c data->enable_4GB = !!(max_pfn > (BIT_ULL(32) >> PAGE_SHIFT)); PAGE_SHIFT 224 drivers/iommu/s390-iommu.c nr_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 337 drivers/iommu/tegra-gart.c BUILD_BUG_ON(PAGE_SHIFT != GART_PAGE_SHIFT); PAGE_SHIFT 1032 drivers/iommu/tegra-smmu.c smmu->pfn_mask = BIT_MASK(mc->soc->num_address_bits - PAGE_SHIFT) - 1; PAGE_SHIFT 663 drivers/md/bcache/sysfs.c ret += 1 << (b->keys.page_order + PAGE_SHIFT); PAGE_SHIFT 387 drivers/md/dm-bufio.c c->sectors_per_block_bits - (PAGE_SHIFT - SECTOR_SHIFT)); PAGE_SHIFT 425 drivers/md/dm-bufio.c c->sectors_per_block_bits - (PAGE_SHIFT - SECTOR_SHIFT)); PAGE_SHIFT 599 drivers/md/dm-bufio.c vec_size = b->c->block_size >> PAGE_SHIFT; PAGE_SHIFT 600 drivers/md/dm-bufio.c if (unlikely(b->c->sectors_per_block_bits < PAGE_SHIFT - SECTOR_SHIFT)) PAGE_SHIFT 1932 drivers/md/dm-bufio.c DM_BUFIO_MEMORY_PERCENT, 100) << PAGE_SHIFT; PAGE_SHIFT 1300 drivers/md/dm-crypt.c unsigned int nr_iovecs = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2770 drivers/md/dm-crypt.c if (unlikely(bio->bi_iter.bi_size > (BIO_MAX_PAGES << PAGE_SHIFT)) && PAGE_SHIFT 2772 drivers/md/dm-crypt.c dm_accept_partial_bio(bio, ((BIO_MAX_PAGES << PAGE_SHIFT) >> SECTOR_SHIFT)); PAGE_SHIFT 650 drivers/md/dm-integrity.c *pl_index = sector >> (PAGE_SHIFT - SECTOR_SHIFT); PAGE_SHIFT 800 drivers/md/dm-integrity.c atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); PAGE_SHIFT 949 drivers/md/dm-integrity.c pl_index = sector >> (PAGE_SHIFT - SECTOR_SHIFT); PAGE_SHIFT 1070 drivers/md/dm-integrity.c pl_index = sector >> (PAGE_SHIFT - SECTOR_SHIFT); PAGE_SHIFT 3321 drivers/md/dm-integrity.c PAGE_SIZE >> SECTOR_SHIFT) >> (PAGE_SHIFT - SECTOR_SHIFT); PAGE_SHIFT 4060 drivers/md/dm-integrity.c pl_index = sector >> (PAGE_SHIFT - SECTOR_SHIFT); PAGE_SHIFT 274 drivers/md/dm-log-writes.c num_pages = ALIGN(datalen, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 88 drivers/md/dm-stats.c if (a >> PAGE_SHIFT > totalram_pages() / DM_STATS_MEMORY_FACTOR) PAGE_SHIFT 1976 drivers/md/dm-table.c q->backing_dev_info->io_pages = limits->max_sectors >> (PAGE_SHIFT - 9); PAGE_SHIFT 24 drivers/md/dm-verity-fec.h (1 << (PAGE_SHIFT - DM_VERITY_FEC_BUF_RS_BITS)) PAGE_SHIFT 235 drivers/md/dm-writecache.c p = s >> PAGE_SHIFT; PAGE_SHIFT 240 drivers/md/dm-writecache.c if (p != s >> PAGE_SHIFT) { PAGE_SHIFT 370 drivers/md/md-bitmap.c (unsigned long long)index << PAGE_SHIFT); PAGE_SHIFT 378 drivers/md/md-bitmap.c block = index << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 415 drivers/md/md-bitmap.c (unsigned long long)index << PAGE_SHIFT, PAGE_SHIFT 2042 drivers/md/md-bitmap.c << (PAGE_SHIFT - 10), PAGE_SHIFT 84 drivers/md/md-bitmap.h #define PAGE_BIT_SHIFT (PAGE_SHIFT + 3) PAGE_SHIFT 1115 drivers/md/raid1.c unsigned vcnt = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2120 drivers/md/raid1.c vcnt = (r1_bio->sectors + PAGE_SIZE / 512 - 1) >> (PAGE_SHIFT - 9); PAGE_SHIFT 26 drivers/md/raid1.h #define BARRIER_BUCKETS_NR_BITS (PAGE_SHIFT - ilog2(sizeof(atomic_t))) PAGE_SHIFT 2032 drivers/md/raid10.c vcnt = (r10_bio->sectors + (PAGE_SIZE >> 9) - 1) >> (PAGE_SHIFT - 9); PAGE_SHIFT 3037 drivers/md/raid10.c max_sync = RESYNC_PAGES << (PAGE_SHIFT-9); PAGE_SHIFT 836 drivers/md/raid5-cache.c (PAGE_SHIFT - 9)); PAGE_SHIFT 1045 drivers/md/raid5-cache.c reserve = (1 + write_disks) << (PAGE_SHIFT - 9); PAGE_SHIFT 2056 drivers/md/raid5-cache.c (le32_to_cpu(payload->size) >> (PAGE_SHIFT - 9)); PAGE_SHIFT 2202 drivers/md/raid5-cache.c (le32_to_cpu(payload->size) >> (PAGE_SHIFT - 9)); PAGE_SHIFT 2919 drivers/md/raid5-cache.c reserve = (1 + pages) << (PAGE_SHIFT - 9); PAGE_SHIFT 342 drivers/md/raid5-ppl.c le32_add_cpu(&e->data_size, data_disks << PAGE_SHIFT); PAGE_SHIFT 476 drivers/md/raid5.h #define STRIPE_SHIFT (PAGE_SHIFT - 9) PAGE_SHIFT 2149 drivers/media/common/videobuf2/videobuf2-core.c unsigned long off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 2235 drivers/media/common/videobuf2/videobuf2-core.c unsigned long off = pgoff << PAGE_SHIFT; PAGE_SHIFT 120 drivers/media/common/videobuf2/videobuf2-dma-sg.c buf->num_pages = size >> PAGE_SHIFT; PAGE_SHIFT 45 drivers/media/common/videobuf2/videobuf2-memops.c first = start >> PAGE_SHIFT; PAGE_SHIFT 46 drivers/media/common/videobuf2/videobuf2-memops.c last = (start + length - 1) >> PAGE_SHIFT; PAGE_SHIFT 4385 drivers/media/pci/bt8xx/bttv-driver.c gbuffers, gbufsize >> 10, gbufsize >> PAGE_SHIFT); PAGE_SHIFT 77 drivers/media/pci/cx23885/cx23885-alsa.c buf->vaddr = vmalloc_32(nr_pages << PAGE_SHIFT); PAGE_SHIFT 84 drivers/media/pci/cx23885/cx23885-alsa.c buf->vaddr, nr_pages << PAGE_SHIFT); PAGE_SHIFT 86 drivers/media/pci/cx23885/cx23885-alsa.c memset(buf->vaddr, 0, nr_pages << PAGE_SHIFT); PAGE_SHIFT 384 drivers/media/pci/cx23885/cx23885-alsa.c (PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT)); PAGE_SHIFT 140 drivers/media/pci/cx25821/cx25821-alsa.c buf->vaddr = vmalloc_32(nr_pages << PAGE_SHIFT); PAGE_SHIFT 148 drivers/media/pci/cx25821/cx25821-alsa.c nr_pages << PAGE_SHIFT); PAGE_SHIFT 150 drivers/media/pci/cx25821/cx25821-alsa.c memset(buf->vaddr, 0, nr_pages << PAGE_SHIFT); PAGE_SHIFT 526 drivers/media/pci/cx25821/cx25821-alsa.c (PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT)); PAGE_SHIFT 280 drivers/media/pci/cx88/cx88-alsa.c buf->vaddr = vmalloc_32(nr_pages << PAGE_SHIFT); PAGE_SHIFT 287 drivers/media/pci/cx88/cx88-alsa.c buf->vaddr, nr_pages << PAGE_SHIFT); PAGE_SHIFT 289 drivers/media/pci/cx88/cx88-alsa.c memset(buf->vaddr, 0, nr_pages << PAGE_SHIFT); PAGE_SHIFT 476 drivers/media/pci/cx88/cx88-alsa.c (PAGE_ALIGN(chip->dma_size) >> PAGE_SHIFT)); PAGE_SHIFT 131 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2->dummy_lop[i] = cio2->dummy_page_bus_addr >> PAGE_SHIFT; PAGE_SHIFT 168 drivers/media/pci/intel/ipu3/ipu3-cio2.c entry[i].lop_page_addr = cio2->dummy_lop_bus_addr >> PAGE_SHIFT; PAGE_SHIFT 203 drivers/media/pci/intel/ipu3/ipu3-cio2.c entry->lop_page_addr = b->lop_bus_addr[i] >> PAGE_SHIFT; PAGE_SHIFT 212 drivers/media/pci/intel/ipu3/ipu3-cio2.c entry->lop_page_addr = cio2->dummy_lop_bus_addr >> PAGE_SHIFT; PAGE_SHIFT 478 drivers/media/pci/intel/ipu3/ipu3-cio2.c writel(q->fbpt_bus_addr >> PAGE_SHIFT, PAGE_SHIFT 879 drivers/media/pci/intel/ipu3/ipu3-cio2.c b->lop[i][j] = sg_page_iter_dma_address(&sg_iter) >> PAGE_SHIFT; PAGE_SHIFT 887 drivers/media/pci/intel/ipu3/ipu3-cio2.c b->lop[i][j] = cio2->dummy_page_bus_addr >> PAGE_SHIFT; PAGE_SHIFT 19 drivers/media/pci/ivtv/ivtv-udma.c dma_page->first = (first & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 20 drivers/media/pci/ivtv/ivtv-udma.c dma_page->last = ((first+size-1) & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1442 drivers/media/pci/meye/meye.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 261 drivers/media/pci/saa7134/saa7134-alsa.c dma->vaddr = vmalloc_32(nr_pages << PAGE_SHIFT); PAGE_SHIFT 268 drivers/media/pci/saa7134/saa7134-alsa.c dma->vaddr, nr_pages << PAGE_SHIFT); PAGE_SHIFT 270 drivers/media/pci/saa7134/saa7134-alsa.c memset(dma->vaddr, 0, nr_pages << PAGE_SHIFT); PAGE_SHIFT 348 drivers/media/pci/saa7134/saa7134-alsa.c (dev->dmasound.bufsize + PAGE_SIZE) >> PAGE_SHIFT); PAGE_SHIFT 850 drivers/media/platform/mtk-vpu/mtk_vpu.c vpu->enable_4GB = !!(totalram_pages() > (SZ_2G >> PAGE_SHIFT)); PAGE_SHIFT 132 drivers/media/platform/rockchip/rga/rga-buf.c len = sg_dma_len(sgl) >> PAGE_SHIFT; PAGE_SHIFT 137 drivers/media/platform/rockchip/rga/rga-buf.c ((dma_addr_t)p << PAGE_SHIFT); PAGE_SHIFT 1046 drivers/media/platform/s5p-mfc/s5p_mfc.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1054 drivers/media/platform/s5p-mfc/s5p_mfc.c vma->vm_pgoff -= (DST_QUEUE_OFF_BASE >> PAGE_SHIFT); PAGE_SHIFT 1192 drivers/media/platform/s5p-mfc/s5p_mfc.c bitmap_size = BITS_TO_LONGS(mem_size >> PAGE_SHIFT) * sizeof(long); PAGE_SHIFT 1217 drivers/media/platform/s5p-mfc/s5p_mfc.c bitmap_set(mfc_dev->mem_bitmap, 0, offset >> PAGE_SHIFT); PAGE_SHIFT 40 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int bits = dev->mem_size >> PAGE_SHIFT; PAGE_SHIFT 41 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int count = b->size >> PAGE_SHIFT; PAGE_SHIFT 42 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int align = (SZ_64K >> PAGE_SHIFT) - 1; PAGE_SHIFT 53 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c offset = start << PAGE_SHIFT; PAGE_SHIFT 102 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int start = (b->dma - dev->mem_base) >> PAGE_SHIFT; PAGE_SHIFT 103 drivers/media/platform/s5p-mfc/s5p_mfc_opr.c unsigned int count = b->size >> PAGE_SHIFT; PAGE_SHIFT 901 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c sdev->dev->dma_pfn_offset = PHYS_OFFSET >> PAGE_SHIFT; PAGE_SHIFT 2393 drivers/media/usb/cpia2/cpia2_core.c unsigned long start_offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 2410 drivers/media/usb/cpia2/cpia2_core.c if (remap_pfn_range(vma, start, page >> PAGE_SHIFT, PAGE_SIZE, PAGE_SHARED)) PAGE_SHIFT 128 drivers/media/usb/go7007/go7007-priv.h #define GO7007_BUF_SIZE (GO7007_BUF_PAGES << PAGE_SHIFT) PAGE_SHIFT 764 drivers/media/usb/stkwebcam/stk-webcam.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1021 drivers/media/usb/usbvision/usbvision-video.c if (((PAGE_ALIGN(usbvision->max_frame_size)*i) >> PAGE_SHIFT) == PAGE_SHIFT 691 drivers/media/v4l2-core/v4l2-mem2mem.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 698 drivers/media/v4l2-core/v4l2-mem2mem.c vma->vm_pgoff -= (DST_QUEUE_OFF_BASE >> PAGE_SHIFT); PAGE_SHIFT 483 drivers/media/v4l2-core/videobuf-core.c (unsigned int)((count * PAGE_ALIGN(size)) >> PAGE_SHIFT)); PAGE_SHIFT 1188 drivers/media/v4l2-core/videobuf-core.c buf->boff == (vma->vm_pgoff << PAGE_SHIFT)) { PAGE_SHIFT 185 drivers/media/v4l2-core/videobuf-dma-contig.c while (pages_done < (mem->size >> PAGE_SHIFT)) { PAGE_SHIFT 191 drivers/media/v4l2-core/videobuf-dma-contig.c mem->dma_handle = (this_pfn << PAGE_SHIFT) + offset; PAGE_SHIFT 170 drivers/media/v4l2-core/videobuf-dma-sg.c first = (data & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 171 drivers/media/v4l2-core/videobuf-dma-sg.c last = ((data+size-1) & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 246 drivers/media/v4l2-core/videobuf-dma-sg.c dma->vaddr, nr_pages << PAGE_SHIFT); PAGE_SHIFT 248 drivers/media/v4l2-core/videobuf-dma-sg.c memset(dma->vaddr, 0, nr_pages << PAGE_SHIFT); PAGE_SHIFT 523 drivers/media/v4l2-core/videobuf-dma-sg.c pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT; PAGE_SHIFT 559 drivers/media/v4l2-core/videobuf-dma-sg.c pages = PAGE_ALIGN(vb->size) >> PAGE_SHIFT; PAGE_SHIFT 615 drivers/media/v4l2-core/videobuf-dma-sg.c (vma->vm_pgoff << PAGE_SHIFT)); PAGE_SHIFT 636 drivers/memstick/core/mspro_block.c t_offset >> PAGE_SHIFT), PAGE_SHIFT 321 drivers/memstick/host/jmb38x_ms.c off >> PAGE_SHIFT); PAGE_SHIFT 205 drivers/memstick/host/tifm_ms.c off >> PAGE_SHIFT); PAGE_SHIFT 133 drivers/misc/cxl/context.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 168 drivers/misc/cxl/context.c ret = vmf_insert_pfn(vma, vmf->address, (area + offset) >> PAGE_SHIFT); PAGE_SHIFT 184 drivers/misc/cxl/context.c u64 start = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 796 drivers/misc/fastrpc.c pg_start = (ctx->args[i].ptr & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 798 drivers/misc/fastrpc.c PAGE_SHIFT; PAGE_SHIFT 819 drivers/misc/fastrpc.c pg_start = (args & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 820 drivers/misc/fastrpc.c pg_end = ((args + len - 1) & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 402 drivers/misc/genwqe/card_dev.c __func__, vma->vm_start, vma->vm_pgoff << PAGE_SHIFT, PAGE_SHIFT 461 drivers/misc/genwqe/card_dev.c pfn = virt_to_phys(dma_map->k_vaddr) >> PAGE_SHIFT; PAGE_SHIFT 166 drivers/misc/habanalabs/command_buffer.c *handle <<= PAGE_SHIFT; PAGE_SHIFT 190 drivers/misc/habanalabs/command_buffer.c cb_handle >>= PAGE_SHIFT; PAGE_SHIFT 405 drivers/misc/habanalabs/command_buffer.c cb_handle >>= PAGE_SHIFT; PAGE_SHIFT 415 drivers/misc/habanalabs/command_buffer.c hl_cb_destroy(hdev, &hdev->kernel_cb_mgr, cb_handle << PAGE_SHIFT); PAGE_SHIFT 423 drivers/misc/habanalabs/command_submission.c cb_handle = (u32) (chunk->cb_handle >> PAGE_SHIFT); PAGE_SHIFT 2705 drivers/misc/habanalabs/goya/goya.c rc = remap_pfn_range(vma, vma->vm_start, paddress >> PAGE_SHIFT, PAGE_SHIFT 3840 drivers/misc/habanalabs/goya/goya.c patched_cb_handle >>= PAGE_SHIFT; PAGE_SHIFT 3887 drivers/misc/habanalabs/goya/goya.c patched_cb_handle << PAGE_SHIFT); PAGE_SHIFT 3912 drivers/misc/habanalabs/goya/goya.c patched_cb_handle >>= PAGE_SHIFT; PAGE_SHIFT 3936 drivers/misc/habanalabs/goya/goya.c patched_cb_handle << PAGE_SHIFT); PAGE_SHIFT 4675 drivers/misc/habanalabs/goya/goya.c hl_cb_destroy(hdev, &hdev->kernel_cb_mgr, cb->id << PAGE_SHIFT); PAGE_SHIFT 24 drivers/misc/habanalabs/habanalabs.h #define HL_MMAP_CB_MASK (0x8000000000000000ull >> PAGE_SHIFT) PAGE_SHIFT 16 drivers/misc/habanalabs/memory.c #define PGS_IN_2MB_PAGE (PAGE_SIZE_2MB >> PAGE_SHIFT) PAGE_SHIFT 629 drivers/misc/habanalabs/memory.c (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 1260 drivers/misc/habanalabs/memory.c npages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 115 drivers/misc/ibmasm/ibmasmfs.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 1101 drivers/misc/mic/scif/scif_api.c int chunk_len = min(len, (1 << (MAX_ORDER + PAGE_SHIFT - 1))); PAGE_SHIFT 1162 drivers/misc/mic/scif/scif_api.c int chunk_len = min(len, (1 << (MAX_ORDER + PAGE_SHIFT - 1))); PAGE_SHIFT 124 drivers/misc/mic/scif/scif_dma.c end_va = start_va + (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 168 drivers/misc/mic/scif/scif_dma.c if ((cur_bytes >> PAGE_SHIFT) > scif_info.rma_tc_limit) PAGE_SHIFT 171 drivers/misc/mic/scif/scif_dma.c + (cur_bytes >> PAGE_SHIFT)) > PAGE_SHIFT 177 drivers/misc/mic/scif/scif_dma.c (1 + (cur_bytes >> PAGE_SHIFT))); PAGE_SHIFT 361 drivers/misc/mic/scif/scif_dma.c aligned_len >> PAGE_SHIFT, PAGE_SHIFT 367 drivers/misc/mic/scif/scif_dma.c *out_window = scif_create_window(ep, aligned_len >> PAGE_SHIFT, PAGE_SHIFT 648 drivers/misc/mic/scif/scif_dma.c int page_nr = (off - window->offset) >> PAGE_SHIFT; PAGE_SHIFT 755 drivers/misc/mic/scif/scif_dma.c page_nr = (off - window->offset) >> PAGE_SHIFT; PAGE_SHIFT 770 drivers/misc/mic/scif/scif_dma.c end = start + (window->num_pages[i] << PAGE_SHIFT); PAGE_SHIFT 780 drivers/misc/mic/scif/scif_dma.c start += (window->num_pages[i] << PAGE_SHIFT); PAGE_SHIFT 818 drivers/misc/mic/scif/scif_dma.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 823 drivers/misc/mic/scif/scif_dma.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 921 drivers/misc/mic/scif/scif_dma.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 929 drivers/misc/mic/scif/scif_dma.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1034 drivers/misc/mic/scif/scif_dma.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1110 drivers/misc/mic/scif/scif_dma.c (src_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1112 drivers/misc/mic/scif/scif_dma.c (dst_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1117 drivers/misc/mic/scif/scif_dma.c (src_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1123 drivers/misc/mic/scif/scif_dma.c (dst_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1275 drivers/misc/mic/scif/scif_dma.c (src_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1277 drivers/misc/mic/scif/scif_dma.c (dst_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1284 drivers/misc/mic/scif/scif_dma.c (src_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1290 drivers/misc/mic/scif/scif_dma.c (dst_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1514 drivers/misc/mic/scif/scif_dma.c (src_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 1516 drivers/misc/mic/scif/scif_dma.c (dst_window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 181 drivers/misc/mic/scif/scif_fence.c int page_nr = (off - window->offset) >> PAGE_SHIFT; PAGE_SHIFT 34 drivers/misc/mic/scif/scif_mmap.c req.nr_bytes = recv_window->nr_pages << PAGE_SHIFT; PAGE_SHIFT 233 drivers/misc/mic/scif/scif_mmap.c nr_pages = len >> PAGE_SHIFT; PAGE_SHIFT 388 drivers/misc/mic/scif/scif_mmap.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 390 drivers/misc/mic/scif/scif_mmap.c (end_offset - loop_offset) >> PAGE_SHIFT, PAGE_SHIFT 401 drivers/misc/mic/scif/scif_mmap.c phys_addr >> PAGE_SHIFT, PAGE_SHIFT 424 drivers/misc/mic/scif/scif_mmap.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 426 drivers/misc/mic/scif/scif_mmap.c (end_offset - loop_offset) >> PAGE_SHIFT, PAGE_SHIFT 430 drivers/misc/mic/scif/scif_mmap.c loop_offset += (loop_nr_pages << PAGE_SHIFT); PAGE_SHIFT 465 drivers/misc/mic/scif/scif_mmap.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 467 drivers/misc/mic/scif/scif_mmap.c (end_offset - loop_offset) >> PAGE_SHIFT, PAGE_SHIFT 484 drivers/misc/mic/scif/scif_mmap.c loop_offset += (loop_nr_pages << PAGE_SHIFT); PAGE_SHIFT 558 drivers/misc/mic/scif/scif_mmap.c (vma->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 607 drivers/misc/mic/scif/scif_mmap.c s64 start_offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 371 drivers/misc/mic/scif/scif_nodeqp.c page = pfn_to_page(pa >> PAGE_SHIFT); PAGE_SHIFT 387 drivers/misc/mic/scif/scif_nodeqp.c num_mmio_pages = psdev->mmio->len >> PAGE_SHIFT; PAGE_SHIFT 388 drivers/misc/mic/scif/scif_nodeqp.c num_aper_pages = psdev->aper->len >> PAGE_SHIFT; PAGE_SHIFT 399 drivers/misc/mic/scif/scif_nodeqp.c num_aper_chunks = num_aper_pages >> (sg_page_shift - PAGE_SHIFT); PAGE_SHIFT 504 drivers/misc/mic/scif/scif_nodeqp.c msg.payload[3] = p2p_ij->ppi_len[SCIF_PPI_APER] << PAGE_SHIFT; PAGE_SHIFT 522 drivers/misc/mic/scif/scif_nodeqp.c msg.payload[3] = p2p_ji->ppi_len[SCIF_PPI_APER] << PAGE_SHIFT; PAGE_SHIFT 244 drivers/misc/mic/scif/scif_rma.c PAGE_SHIFT); PAGE_SHIFT 283 drivers/misc/mic/scif/scif_rma.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 552 drivers/misc/mic/scif/scif_rma.c window->num_pages[i] = sg_dma_len(sg) >> PAGE_SHIFT; PAGE_SHIFT 556 drivers/misc/mic/scif/scif_rma.c (sg_dma_len(sg) >> PAGE_SHIFT); PAGE_SHIFT 610 drivers/misc/mic/scif/scif_rma.c nr_contig_pages << PAGE_SHIFT); PAGE_SHIFT 1012 drivers/misc/mic/scif/scif_rma.c *out_offset = (iova_ptr->pfn_lo) << PAGE_SHIFT; PAGE_SHIFT 1029 drivers/misc/mic/scif/scif_rma.c free_iova(&ep->rma_info.iovad, offset >> PAGE_SHIFT); PAGE_SHIFT 1187 drivers/misc/mic/scif/scif_rma.c req.nr_bytes = recv_window->nr_pages << PAGE_SHIFT; PAGE_SHIFT 1335 drivers/misc/mic/scif/scif_rma.c nr_pages = len >> PAGE_SHIFT; PAGE_SHIFT 1481 drivers/misc/mic/scif/scif_rma.c len = pinned_pages->nr_pages << PAGE_SHIFT; PAGE_SHIFT 1613 drivers/misc/mic/scif/scif_rma.c len >> PAGE_SHIFT, &computed_offset); PAGE_SHIFT 1624 drivers/misc/mic/scif/scif_rma.c window = scif_create_window(ep, len >> PAGE_SHIFT, PAGE_SHIFT 1632 drivers/misc/mic/scif/scif_rma.c window->nr_pages = len >> PAGE_SHIFT; PAGE_SHIFT 1720 drivers/misc/mic/scif/scif_rma.c nr_pages = len >> PAGE_SHIFT; PAGE_SHIFT 71 drivers/misc/mic/scif/scif_rma.h #define SCIF_IOVA_PFN(addr) ((addr) >> PAGE_SHIFT) PAGE_SHIFT 92 drivers/misc/mic/scif/scif_rma_list.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 100 drivers/misc/mic/scif/scif_rma_list.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 148 drivers/misc/mic/scif/scif_rma_list.c (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 205 drivers/misc/mic/scif/scif_rma_list.c end_offset = window->offset + (window->nr_pages << PAGE_SHIFT); PAGE_SHIFT 206 drivers/misc/mic/scif/scif_rma_list.c loop_nr_pages = min((int)((end_offset - offset) >> PAGE_SHIFT), PAGE_SHIFT 212 drivers/misc/mic/scif/scif_rma_list.c offset += (loop_nr_pages << PAGE_SHIFT); PAGE_SHIFT 1078 drivers/misc/mic/vop/vop_vringh.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1096 drivers/misc/mic/vop/vop_vringh.c pa >> PAGE_SHIFT, size, PAGE_SHIFT 21 drivers/misc/ocxl/afu_irq.c return (offset - ctx->afu->irq_base_offset) >> PAGE_SHIFT; PAGE_SHIFT 26 drivers/misc/ocxl/afu_irq.c return ctx->afu->irq_base_offset + (irq_id << PAGE_SHIFT); PAGE_SHIFT 160 drivers/misc/ocxl/afu_irq.c 1 << PAGE_SHIFT, 1); PAGE_SHIFT 106 drivers/misc/ocxl/context.c return vmf_insert_pfn(vma, address, trigger_addr >> PAGE_SHIFT); PAGE_SHIFT 132 drivers/misc/ocxl/context.c ret = vmf_insert_pfn(vma, address, pp_mmio_addr >> PAGE_SHIFT); PAGE_SHIFT 144 drivers/misc/ocxl/context.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 162 drivers/misc/ocxl/context.c int irq_id = ocxl_irq_offset_to_id(ctx, vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 189 drivers/misc/ocxl/context.c (ctx->afu->config.pp_mmio_stride >> PAGE_SHIFT)) PAGE_SHIFT 198 drivers/misc/ocxl/context.c if ((vma->vm_pgoff << PAGE_SHIFT) < ctx->afu->irq_base_offset) PAGE_SHIFT 347 drivers/misc/ocxl/link.c spa->spa_order = SPA_SPA_SIZE_LOG - PAGE_SHIFT; PAGE_SHIFT 80 drivers/misc/ocxl/sysfs.c if (vmf->pgoff >= (afu->config.global_mmio_size >> PAGE_SHIFT)) PAGE_SHIFT 84 drivers/misc/ocxl/sysfs.c offset += (afu->global_mmio_start >> PAGE_SHIFT); PAGE_SHIFT 99 drivers/misc/ocxl/sysfs.c (afu->config.global_mmio_size >> PAGE_SHIFT)) PAGE_SHIFT 184 drivers/misc/sgi-gru/grufault.c *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; PAGE_SHIFT 186 drivers/misc/sgi-gru/grufault.c *pageshift = PAGE_SHIFT; PAGE_SHIFT 240 drivers/misc/sgi-gru/grufault.c *paddr = pte_pfn(pte) << PAGE_SHIFT; PAGE_SHIFT 242 drivers/misc/sgi-gru/grufault.c *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; PAGE_SHIFT 244 drivers/misc/sgi-gru/grufault.c *pageshift = PAGE_SHIFT; PAGE_SHIFT 427 drivers/misc/sgi-gru/grufault.c if (unlikely(cbe) && pageshift == PAGE_SHIFT) { PAGE_SHIFT 338 drivers/misc/sgi-gru/grumain.c gts->ts_sizeavail = GRU_SIZEAVAIL(PAGE_SHIFT); PAGE_SHIFT 954 drivers/misc/sgi-gru/grumain.c paddr >> PAGE_SHIFT, GRU_GSEG_PAGESIZE, PAGE_SHIFT 155 drivers/misc/sgi-gru/grutlbpurge.c pageshift = PAGE_SHIFT; PAGE_SHIFT 239 drivers/misc/sgi-xp/xpc_uv.c mq->order = pg_order + PAGE_SHIFT; PAGE_SHIFT 329 drivers/misc/sgi-xp/xpc_uv.c pg_order = mq->order - PAGE_SHIFT; PAGE_SHIFT 81 drivers/misc/vmw_balloon.c #define VMW_BALLOON_2M_ORDER (PMD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 259 drivers/misc/vmw_balloon.c u64 reserved : PAGE_SHIFT - 5; PAGE_SHIFT 551 drivers/misc/vmw_vmci/vmci_guest.c vmci_dev->notification_base >> PAGE_SHIFT; PAGE_SHIFT 459 drivers/misc/vmw_vmci/vmci_queue_pair.c produce_q->kernel_if->u.g.pas[i] >> PAGE_SHIFT; PAGE_SHIFT 463 drivers/misc/vmw_vmci/vmci_queue_pair.c consume_q->kernel_if->u.g.pas[i] >> PAGE_SHIFT; PAGE_SHIFT 370 drivers/mmc/core/mmc_test.c order = get_order(max_seg_page_cnt << PAGE_SHIFT); PAGE_SHIFT 1076 drivers/mmc/host/bcm2835.c host->drain_page += host->drain_offset >> PAGE_SHIFT; PAGE_SHIFT 191 drivers/mmc/host/tifm_sd.c pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT); PAGE_SHIFT 240 drivers/mmc/host/tifm_sd.c pg = nth_page(sg_page(&sg[host->sg_pos]), off >> PAGE_SHIFT); PAGE_SHIFT 418 drivers/mmc/host/usdhi6rol0.c (host->page_idx << PAGE_SHIFT) + data->blksz - blk_head) PAGE_SHIFT 462 drivers/mmc/host/usdhi6rol0.c done = (host->page_idx << PAGE_SHIFT) + host->offset; PAGE_SHIFT 57 drivers/mtd/devices/block2mtd.c int index = to >> PAGE_SHIFT; // page index PAGE_SHIFT 58 drivers/mtd/devices/block2mtd.c int pages = len >> PAGE_SHIFT; PAGE_SHIFT 106 drivers/mtd/devices/block2mtd.c int index = from >> PAGE_SHIFT; PAGE_SHIFT 140 drivers/mtd/devices/block2mtd.c int index = to >> PAGE_SHIFT; // page index PAGE_SHIFT 1109 drivers/mtd/mtdchar.c if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT)) PAGE_SHIFT 1112 drivers/mtd/mtdchar.c offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 642 drivers/mtd/mtdswap.c writepos = (loff_t)*bp << PAGE_SHIFT; PAGE_SHIFT 686 drivers/mtd/mtdswap.c readpos = (loff_t) oldblock << PAGE_SHIFT; PAGE_SHIFT 1110 drivers/mtd/mtdswap.c readpos = (loff_t)realblock << PAGE_SHIFT; PAGE_SHIFT 1288 drivers/mtd/mtdswap.c d->pages_per_eblk = mtd->erasesize >> PAGE_SHIFT; PAGE_SHIFT 1439 drivers/mtd/mtdswap.c mbd_dev->size = swap_size >> PAGE_SHIFT; PAGE_SHIFT 1305 drivers/mtd/nand/raw/nandsim.c start_index = pos >> PAGE_SHIFT; PAGE_SHIFT 1306 drivers/mtd/nand/raw/nandsim.c end_index = (pos + count - 1) >> PAGE_SHIFT; PAGE_SHIFT 3045 drivers/net/ethernet/broadcom/bnx2.c int pages = PAGE_ALIGN(raw_len - hdr_len) >> PAGE_SHIFT; PAGE_SHIFT 3070 drivers/net/ethernet/broadcom/bnx2.c pages = PAGE_ALIGN(frag_size) >> PAGE_SHIFT; PAGE_SHIFT 3218 drivers/net/ethernet/broadcom/bnx2.c pages = PAGE_ALIGN(len - hdr_len) >> PAGE_SHIFT; PAGE_SHIFT 5407 drivers/net/ethernet/broadcom/bnx2.c int pages = PAGE_ALIGN(bp->dev->mtu - 40) >> PAGE_SHIFT; PAGE_SHIFT 6550 drivers/net/ethernet/broadcom/bnx2.h #if (PAGE_SHIFT > 14) PAGE_SHIFT 6553 drivers/net/ethernet/broadcom/bnx2.h #define BNX2_PAGE_BITS PAGE_SHIFT PAGE_SHIFT 3448 drivers/net/ethernet/broadcom/bnxt/bnxt.c jumbo_factor = PAGE_ALIGN(bp->dev->mtu - 40) >> PAGE_SHIFT; PAGE_SHIFT 538 drivers/net/ethernet/broadcom/bnxt/bnxt.h #if (PAGE_SHIFT < 12) PAGE_SHIFT 540 drivers/net/ethernet/broadcom/bnxt/bnxt.h #elif (PAGE_SHIFT <= 13) PAGE_SHIFT 541 drivers/net/ethernet/broadcom/bnxt/bnxt.h #define BNXT_PAGE_SHIFT PAGE_SHIFT PAGE_SHIFT 542 drivers/net/ethernet/broadcom/bnxt/bnxt.h #elif (PAGE_SHIFT < 16) PAGE_SHIFT 551 drivers/net/ethernet/broadcom/bnxt/bnxt.h #if (PAGE_SHIFT > 15) PAGE_SHIFT 554 drivers/net/ethernet/broadcom/bnxt/bnxt.h #define BNXT_RX_PAGE_SHIFT PAGE_SHIFT PAGE_SHIFT 29 drivers/net/ethernet/broadcom/cnic_if.h #if (PAGE_SHIFT > 14) PAGE_SHIFT 32 drivers/net/ethernet/broadcom/cnic_if.h #define CNIC_PAGE_BITS PAGE_SHIFT PAGE_SHIFT 1267 drivers/net/ethernet/brocade/bna/bna_tx_rx.c #define SIZE_TO_PAGES(size) (((size) >> PAGE_SHIFT) + ((((size) &\ PAGE_SHIFT 1268 drivers/net/ethernet/brocade/bna/bna_tx_rx.c (PAGE_SIZE - 1)) + (PAGE_SIZE - 1)) >> PAGE_SHIFT)) PAGE_SHIFT 3330 drivers/net/ethernet/brocade/bna/bna_tx_rx.c page_count = q_size >> PAGE_SHIFT; PAGE_SHIFT 1245 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c t3_write_reg(adap, A_ULPRX_TDDP_PSZ, V_HPZ0(PAGE_SHIFT - 12)); PAGE_SHIFT 3317 drivers/net/ethernet/chelsio/cxgb3/sge.c V_HOSTPAGESIZE(PAGE_SHIFT - 11) | F_BIGENDIANINGRESS | PAGE_SHIFT 3752 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c t4_write_reg(adap, ULP_RX_TDDP_PSZ_A, HPZ0_V(PAGE_SHIFT - 12)); PAGE_SHIFT 63 drivers/net/ethernet/chelsio/cxgb4/sge.c #if PAGE_SHIFT >= 16 PAGE_SHIFT 66 drivers/net/ethernet/chelsio/cxgb4/sge.c # define FL_PG_ORDER (16 - PAGE_SHIFT) PAGE_SHIFT 4205 drivers/net/ethernet/chelsio/cxgb4/sge.c s->fl_pg_order = ilog2(fl_large_pg) - PAGE_SHIFT; PAGE_SHIFT 2666 drivers/net/ethernet/chelsio/cxgb4vf/sge.c s->fl_pg_order = ilog2(fl_large_pg) - PAGE_SHIFT; PAGE_SHIFT 837 drivers/net/ethernet/cortina/gemini.c fpp_order = PAGE_SHIFT - geth->freeq_frag_order; PAGE_SHIFT 876 drivers/net/ethernet/cortina/gemini.c unsigned int fpp_order = PAGE_SHIFT - geth->freeq_frag_order; PAGE_SHIFT 931 drivers/net/ethernet/cortina/gemini.c unsigned int fpp_order = PAGE_SHIFT - geth->freeq_frag_order; PAGE_SHIFT 1004 drivers/net/ethernet/cortina/gemini.c unsigned int fpp_order = PAGE_SHIFT - geth->freeq_frag_order; PAGE_SHIFT 679 drivers/net/ethernet/ibm/ehea/ehea_qmr.c if (page_order + PAGE_SHIFT != EHEA_HUGEPAGESHIFT) PAGE_SHIFT 32 drivers/net/ethernet/ibm/ehea/ehea_qmr.h #define EHEA_HUGEPAGE_PFN_MASK ((EHEA_HUGEPAGE_SIZE - 1) >> PAGE_SHIFT) PAGE_SHIFT 3023 drivers/net/ethernet/intel/e1000e/netdev.c #define PAGE_USE_COUNT(S) (((S) >> PAGE_SHIFT) + \ PAGE_SHIFT 1160 drivers/net/ethernet/marvell/sky2.c sky2->rx_nfrags = size >> PAGE_SHIFT; PAGE_SHIFT 1164 drivers/net/ethernet/marvell/sky2.c size -= sky2->rx_nfrags << PAGE_SHIFT; PAGE_SHIFT 2204 drivers/net/ethernet/marvell/sky2.h dma_addr_t frag_addr[ETH_JUMBO_MTU >> PAGE_SHIFT]; PAGE_SHIFT 584 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->page_shift = get_order(size) + PAGE_SHIFT; PAGE_SHIFT 618 drivers/net/ethernet/mellanox/mlx4/alloc.c buf->page_shift = PAGE_SHIFT; PAGE_SHIFT 288 drivers/net/ethernet/mellanox/mlx4/en_main.c mdev->uar_map = ioremap((phys_addr_t) mdev->priv_uar.pfn << PAGE_SHIFT, PAGE_SHIFT 1028 drivers/net/ethernet/mellanox/mlx4/eq.c err = mlx4_mtt_init(dev, npages, PAGE_SHIFT, &eq->mtt); PAGE_SHIFT 1040 drivers/net/ethernet/mellanox/mlx4/eq.c eq_context->log_page_size = PAGE_SHIFT - MLX4_ICM_PAGE_SHIFT; PAGE_SHIFT 1730 drivers/net/ethernet/mellanox/mlx4/fw.c (PAGE_SHIFT - MLX4_ICM_PAGE_SHIFT); PAGE_SHIFT 2589 drivers/net/ethernet/mellanox/mlx4/fw.c (PAGE_SHIFT - MLX4_ICM_PAGE_SHIFT); PAGE_SHIFT 271 drivers/net/ethernet/mellanox/mlx4/icm.c table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, PAGE_SHIFT 448 drivers/net/ethernet/mellanox/mlx4/icm.c table->icm[i] = mlx4_alloc_icm(dev, chunk_size >> PAGE_SHIFT, PAGE_SHIFT 304 drivers/net/ethernet/mellanox/mlx4/main.c (1 << (PAGE_SHIFT - dev->uar_page_shift))); PAGE_SHIFT 553 drivers/net/ethernet/mellanox/mlx4/main.c dev->uar_page_shift = PAGE_SHIFT; PAGE_SHIFT 964 drivers/net/ethernet/mellanox/mlx4/main.c if (dev->uar_page_shift > PAGE_SHIFT) { PAGE_SHIFT 1890 drivers/net/ethernet/mellanox/mlx4/main.c (dev->caps.num_uars << PAGE_SHIFT); PAGE_SHIFT 1892 drivers/net/ethernet/mellanox/mlx4/main.c (dev->caps.num_uars << PAGE_SHIFT); PAGE_SHIFT 2352 drivers/net/ethernet/mellanox/mlx4/main.c PAGE_SHIFT - DEFAULT_UAR_PAGE_SHIFT; PAGE_SHIFT 2356 drivers/net/ethernet/mellanox/mlx4/main.c init_hca->uar_page_sz = PAGE_SHIFT - 12; PAGE_SHIFT 2718 drivers/net/ethernet/mellanox/mlx4/main.c priv->kar = ioremap((phys_addr_t) priv->driver_uar.pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 159 drivers/net/ethernet/mellanox/mlx4/pd.c uar->pfn = (pci_resource_start(dev->persist->pdev, 2) >> PAGE_SHIFT) PAGE_SHIFT 202 drivers/net/ethernet/mellanox/mlx4/pd.c uar->map = ioremap(uar->pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 209 drivers/net/ethernet/mellanox/mlx4/pd.c uar->index << PAGE_SHIFT, PAGE_SHIFT 81 drivers/net/ethernet/mellanox/mlx5/core/alloc.c buf->page_shift = (u8)get_order(size) + PAGE_SHIFT; PAGE_SHIFT 128 drivers/net/ethernet/mellanox/mlx5/core/alloc.c buf->page_shift = PAGE_SHIFT; PAGE_SHIFT 202 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_SET(mkc, mkc, log_page_size, PAGE_SHIFT); PAGE_SHIFT 90 drivers/net/ethernet/mellanox/mlx5/core/en.h #define MLX5_MPWRQ_WQE_PAGE_ORDER (MLX5_MPWRQ_LOG_WQE_SZ - PAGE_SHIFT > 0 ? \ PAGE_SHIFT 91 drivers/net/ethernet/mellanox/mlx5/core/en.h MLX5_MPWRQ_LOG_WQE_SZ - PAGE_SHIFT : 0) PAGE_SHIFT 305 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return mlx5e_create_umr_mkey(mdev, num_mtts, PAGE_SHIFT, &rq->umr_mkey); PAGE_SHIFT 310 drivers/net/ethernet/mellanox/mlx5/core/en_main.c return (wqe_ix << MLX5E_LOG_ALIGNED_MPWQE_PPW) << PAGE_SHIFT; PAGE_SHIFT 1336 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u32 page_idx = wqe_offset >> PAGE_SHIFT; PAGE_SHIFT 563 drivers/net/ethernet/mellanox/mlx5/core/main.c MLX5_SET(cmd_hca_cap, set_hca_cap, log_uar_page_sz, PAGE_SHIFT - 12); PAGE_SHIFT 183 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c #define MLX5_U64_4K_PAGE_MASK ((~(u64)0U) << PAGE_SHIFT) PAGE_SHIFT 78 drivers/net/ethernet/mellanox/mlx5/core/uar.c system_page_index = index >> (PAGE_SHIFT - MLX5_ADAPTER_PAGE_SHIFT); PAGE_SHIFT 82 drivers/net/ethernet/mellanox/mlx5/core/uar.c return (mdev->bar_addr >> PAGE_SHIFT) + system_page_index; PAGE_SHIFT 139 drivers/net/ethernet/mellanox/mlx5/core/uar.c up->map = ioremap_wc(pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 145 drivers/net/ethernet/mellanox/mlx5/core/uar.c up->map = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 147 drivers/net/ethernet/mellanox/mlx5/core/wq.c u16 rq_npages = rq_byte_size >> PAGE_SHIFT; PAGE_SHIFT 649 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c chunk_order = min_t(unsigned int, dma_order, PAGE_SHIFT); PAGE_SHIFT 99 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c (u64)page_num << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 30 drivers/net/ethernet/sfc/falcon/tx.c &tx_queue->cb_page[index >> (PAGE_SHIFT - EF4_TX_CB_ORDER)]; PAGE_SHIFT 38 drivers/net/ethernet/sfc/tx.c &tx_queue->cb_page[index >> (PAGE_SHIFT - EFX_TX_CB_ORDER)]; PAGE_SHIFT 3401 drivers/net/ethernet/sun/cassini.c if (PAGE_SHIFT < CAS_JUMBO_PAGE_SHIFT) { PAGE_SHIFT 3405 drivers/net/ethernet/sun/cassini.c PAGE_SHIFT); PAGE_SHIFT 3407 drivers/net/ethernet/sun/cassini.c __free_pages(page, CAS_JUMBO_PAGE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 3408 drivers/net/ethernet/sun/cassini.c cp->page_order = CAS_JUMBO_PAGE_SHIFT - PAGE_SHIFT; PAGE_SHIFT 3272 drivers/net/ethernet/sun/niu.c a >>= PAGE_SHIFT; PAGE_SHIFT 4429 drivers/net/ethernet/sun/niu.c bss = min(PAGE_SHIFT, 15); PAGE_SHIFT 4432 drivers/net/ethernet/sun/niu.c rp->rbr_blocks_per_page = 1 << (PAGE_SHIFT-bss); PAGE_SHIFT 791 drivers/net/hyperv/netvsc.c char *src = phys_to_virt(pb[i].pfn << PAGE_SHIFT); PAGE_SHIFT 383 drivers/net/hyperv/netvsc_drv.c page += (offset >> PAGE_SHIFT); PAGE_SHIFT 218 drivers/net/hyperv/rndis_filter.c PAGE_SHIFT; PAGE_SHIFT 229 drivers/net/hyperv/rndis_filter.c + pb[0].len) >> PAGE_SHIFT; PAGE_SHIFT 500 drivers/net/xen-netfront.c page += offset >> PAGE_SHIFT; PAGE_SHIFT 656 drivers/nvdimm/pfn_devs.c unsigned long reserve = info_block_reserve() >> PAGE_SHIFT; PAGE_SHIFT 1774 drivers/nvme/host/core.c if (ns->lba_shift > PAGE_SHIFT) { PAGE_SHIFT 1817 drivers/nvme/host/core.c ns->lba_shift > PAGE_SHIFT) PAGE_SHIFT 2675 drivers/nvme/host/fc.c (ctrl->lport->ops->max_sgl_segments - 1) << (PAGE_SHIFT - 9); PAGE_SHIFT 386 drivers/nvme/target/loop.c (NVME_LOOP_MAX_SEGMENTS - 1) << (PAGE_SHIFT - 9); PAGE_SHIFT 143 drivers/nvme/target/rdma.c return 1 + (((len - 1) & PAGE_MASK) >> PAGE_SHIFT); PAGE_SHIFT 267 drivers/oprofile/buffer_sync.c *offset = (vma->vm_pgoff << PAGE_SHIFT) + addr - PAGE_SHIFT 247 drivers/oprofile/oprofilefs.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 278 drivers/parisc/ccio-dma.c #define IOVP_SHIFT PAGE_SHIFT PAGE_SHIFT 1009 drivers/parisc/ccio-dma.c ioc->usg_pages += sg_dma_len(sglist) >> PAGE_SHIFT; PAGE_SHIFT 1248 drivers/parisc/ccio-dma.c if (iova_space_size < (1 << (20 - PAGE_SHIFT))) { PAGE_SHIFT 1249 drivers/parisc/ccio-dma.c iova_space_size = 1 << (20 - PAGE_SHIFT); PAGE_SHIFT 1251 drivers/parisc/ccio-dma.c } else if (iova_space_size > (1 << (30 - PAGE_SHIFT))) { PAGE_SHIFT 1252 drivers/parisc/ccio-dma.c iova_space_size = 1 << (30 - PAGE_SHIFT); PAGE_SHIFT 1269 drivers/parisc/ccio-dma.c iov_order = get_order(iova_space_size << PAGE_SHIFT); PAGE_SHIFT 1272 drivers/parisc/ccio-dma.c iova_space_size = 1 << (iov_order + PAGE_SHIFT); PAGE_SHIFT 1279 drivers/parisc/ccio-dma.c BUG_ON((1 << get_order(ioc->pdir_size)) != (ioc->pdir_size >> PAGE_SHIFT)); PAGE_SHIFT 1283 drivers/parisc/ccio-dma.c (unsigned long) totalram_pages() >> (20 - PAGE_SHIFT), PAGE_SHIFT 1285 drivers/parisc/ccio-dma.c iov_order + PAGE_SHIFT); PAGE_SHIFT 1318 drivers/parisc/ccio-dma.c ioc->chainid_shift = get_order(iova_space_size) + PAGE_SHIFT - CCIO_CHAINID_SHIFT; PAGE_SHIFT 378 drivers/parisc/sba_iommu.c unsigned long o = 1 << get_order(bits_wanted << PAGE_SHIFT); PAGE_SHIFT 576 drivers/parisc/sba_iommu.c pa |= (ci >> PAGE_SHIFT) & 0xff; /* move CI (8 bits) into lowest byte */ PAGE_SHIFT 634 drivers/parisc/sba_iommu.c iovp |= get_order(byte_cnt) + PAGE_SHIFT; PAGE_SHIFT 1055 drivers/parisc/sba_iommu.c ioc->usg_pages += ((sg_dma_address(sglist) & ~IOVP_MASK) + sg_dma_len(sglist) + IOVP_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1285 drivers/parisc/sba_iommu.c iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); PAGE_SHIFT 1290 drivers/parisc/sba_iommu.c iov_order + PAGE_SHIFT); PAGE_SHIFT 1303 drivers/parisc/sba_iommu.c ioc->hint_shift_pdir = iov_order + PAGE_SHIFT; PAGE_SHIFT 1304 drivers/parisc/sba_iommu.c ioc->hint_mask_pdir = ~(0x3 << (iov_order + PAGE_SHIFT)); PAGE_SHIFT 1315 drivers/parisc/sba_iommu.c iova_space_mask <<= (iov_order + PAGE_SHIFT); PAGE_SHIFT 1335 drivers/parisc/sba_iommu.c switch (PAGE_SHIFT) { PAGE_SHIFT 1342 drivers/parisc/sba_iommu.c 1 << PAGE_SHIFT); PAGE_SHIFT 1403 drivers/parisc/sba_iommu.c if (iova_space_size < (1 << (20 - PAGE_SHIFT))) { PAGE_SHIFT 1404 drivers/parisc/sba_iommu.c iova_space_size = 1 << (20 - PAGE_SHIFT); PAGE_SHIFT 1406 drivers/parisc/sba_iommu.c else if (iova_space_size > (1 << (30 - PAGE_SHIFT))) { PAGE_SHIFT 1407 drivers/parisc/sba_iommu.c iova_space_size = 1 << (30 - PAGE_SHIFT); PAGE_SHIFT 1415 drivers/parisc/sba_iommu.c iov_order = get_order(iova_space_size << PAGE_SHIFT); PAGE_SHIFT 1418 drivers/parisc/sba_iommu.c iova_space_size = 1 << (iov_order + PAGE_SHIFT); PAGE_SHIFT 1425 drivers/parisc/sba_iommu.c (unsigned long) totalram_pages() >> (20 - PAGE_SHIFT), PAGE_SHIFT 1427 drivers/parisc/sba_iommu.c iov_order + PAGE_SHIFT); PAGE_SHIFT 1436 drivers/parisc/sba_iommu.c ioc->hint_shift_pdir = iov_order + PAGE_SHIFT; PAGE_SHIFT 1437 drivers/parisc/sba_iommu.c ioc->hint_mask_pdir = ~(0x3 << (iov_order + PAGE_SHIFT)); PAGE_SHIFT 1447 drivers/parisc/sba_iommu.c iova_space_mask <<= (iov_order + PAGE_SHIFT); PAGE_SHIFT 1477 drivers/parisc/sba_iommu.c switch (PAGE_SHIFT) { PAGE_SHIFT 1484 drivers/parisc/sba_iommu.c 1 << PAGE_SHIFT); PAGE_SHIFT 619 drivers/pci/iov.c i = PAGE_SHIFT > 12 ? PAGE_SHIFT - 12 : 0; PAGE_SHIFT 31 drivers/pci/mmap.c vma->vm_pgoff -= start >> PAGE_SHIFT; PAGE_SHIFT 50 drivers/pci/mmap.c size = ((pci_resource_len(pdev, bar) - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 64 drivers/pci/mmap.c vma->vm_pgoff += (pci_resource_start(pdev, bar) >> PAGE_SHIFT); PAGE_SHIFT 93 drivers/pci/mmap.c vma->vm_pgoff += start >> PAGE_SHIFT; PAGE_SHIFT 123 drivers/pci/p2pdma.c p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); PAGE_SHIFT 998 drivers/pci/pci-sysfs.c size = ((pci_resource_len(pdev, resno) - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 1002 drivers/pci/pci-sysfs.c pci_start >>= PAGE_SHIFT; PAGE_SHIFT 78 drivers/perf/arm_spe_pmu.c #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT)) PAGE_SHIFT 268 drivers/platform/goldfish/goldfish_pipe.c int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; PAGE_SHIFT 856 drivers/rapidio/devices/rio_mport_cdev.c nr_pages = PAGE_ALIGN(xfer->length + offset) >> PAGE_SHIFT; PAGE_SHIFT 2206 drivers/rapidio/devices/rio_mport_cdev.c baddr = ((dma_addr_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 2226 drivers/rapidio/devices/rio_mport_cdev.c vma->vm_pgoff = offset >> PAGE_SHIFT; PAGE_SHIFT 81 drivers/ras/cec.c #define COUNT_BITS (PAGE_SHIFT - DECAY_BITS) PAGE_SHIFT 89 drivers/ras/cec.c #define PFN(e) ((e) >> PAGE_SHIFT) PAGE_SHIFT 342 drivers/ras/cec.c ca->array[to] = pfn << PAGE_SHIFT; PAGE_SHIFT 353 drivers/ras/cec.c u64 pfn = ca->array[to] >> PAGE_SHIFT; PAGE_SHIFT 327 drivers/s390/char/sclp_cmd.c start = arg->start_pfn << PAGE_SHIFT; PAGE_SHIFT 328 drivers/s390/char/sclp_cmd.c size = arg->nr_pages << PAGE_SHIFT; PAGE_SHIFT 66 drivers/s390/char/vmcp.c nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 90 drivers/s390/char/vmcp.c nr_pages = ALIGN(session->bufsize, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 123 drivers/s390/cio/itcw.c >> PAGE_SHIFT); PAGE_SHIFT 128 drivers/s390/cio/itcw.c >> PAGE_SHIFT); PAGE_SHIFT 202 drivers/s390/cio/itcw.c >> PAGE_SHIFT); PAGE_SHIFT 207 drivers/s390/cio/itcw.c >> PAGE_SHIFT); PAGE_SHIFT 67 drivers/s390/cio/vfio_ccw_cp.c pa->pa_nr = ((iova & ~PAGE_MASK) + len + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 81 drivers/s390/cio/vfio_ccw_cp.c pa->pa_iova_pfn[0] = pa->pa_iova >> PAGE_SHIFT; PAGE_SHIFT 135 drivers/s390/cio/vfio_ccw_cp.c unsigned long iova_pfn = iova >> PAGE_SHIFT; PAGE_SHIFT 160 drivers/s390/cio/vfio_ccw_cp.c idaws[i] = pa->pa_pfn[i] << PAGE_SHIFT; PAGE_SHIFT 213 drivers/s390/cio/vfio_ccw_cp.c from = pa.pa_pfn[i] << PAGE_SHIFT; PAGE_SHIFT 566 drivers/s390/cio/vfio_ccw_cp.c pa->pa_iova_pfn[i] = idaws[i] >> PAGE_SHIFT; PAGE_SHIFT 211 drivers/s390/crypto/vfio_ap_ops.c g_pfn = nib >> PAGE_SHIFT; PAGE_SHIFT 225 drivers/s390/crypto/vfio_ap_ops.c h_nib = (h_pfn << PAGE_SHIFT) | (nib & ~PAGE_MASK); PAGE_SHIFT 1077 drivers/s390/crypto/vfio_ap_ops.c unsigned long g_pfn = unmap->iova >> PAGE_SHIFT; PAGE_SHIFT 65 drivers/sbus/char/flash.c if ((vma->vm_pgoff << PAGE_SHIFT) > size) PAGE_SHIFT 67 drivers/sbus/char/flash.c addr = vma->vm_pgoff + (addr >> PAGE_SHIFT); PAGE_SHIFT 69 drivers/sbus/char/flash.c if (vma->vm_end - (vma->vm_start + (vma->vm_pgoff << PAGE_SHIFT)) > size) PAGE_SHIFT 70 drivers/sbus/char/flash.c size = vma->vm_end - (vma->vm_start + (vma->vm_pgoff << PAGE_SHIFT)); PAGE_SHIFT 394 drivers/sbus/char/oradax.c if (remap_pfn_range(vma, vma->vm_start, ctx->ca_buf_ra >> PAGE_SHIFT, PAGE_SHIFT 94 drivers/scsi/bnx2fc/bnx2fc_hwi.c fcoe_init1.flags = (PAGE_SHIFT << PAGE_SHIFT 1528 drivers/scsi/csiostor/csio_scsi.c sg_addr = kmap_atomic(sg_page(sg) + (sg_off >> PAGE_SHIFT)); PAGE_SHIFT 1314 drivers/scsi/csiostor/csio_wr.c uint32_t s_hps = PAGE_SHIFT - 10; PAGE_SHIFT 1420 drivers/scsi/csiostor/csio_wr.c csio_wr_reg32(hw, HPZ0_V(PAGE_SHIFT - 12), ULP_RX_TDDP_PSZ_A); PAGE_SHIFT 1368 drivers/scsi/cxgbi/libcxgbi.c ttinfo->nr_pages = (xferlen + sgl->offset + (1 << PAGE_SHIFT) - 1) >> PAGE_SHIFT 1369 drivers/scsi/cxgbi/libcxgbi.c PAGE_SHIFT; PAGE_SHIFT 1132 drivers/scsi/cxlflash/ocxl_hw.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 1148 drivers/scsi/cxlflash/ocxl_hw.c return vmf_insert_pfn(vma, vmf->address, mmio_area >> PAGE_SHIFT); PAGE_SHIFT 1167 drivers/scsi/cxlflash/ocxl_hw.c (ctx->psn_size >> PAGE_SHIFT)) PAGE_SHIFT 377 drivers/scsi/dpt_i2o.c *mptr++ = 1 << PAGE_SHIFT; PAGE_SHIFT 2264 drivers/scsi/dpt_i2o.c *mptr++ = 1 << PAGE_SHIFT; PAGE_SHIFT 326 drivers/scsi/fcoe/fcoe_transport.c skb_frag_page(frag) + (off >> PAGE_SHIFT)); PAGE_SHIFT 4329 drivers/scsi/ipr.c src = (u8 *)dump->ioa_dump.ioa_data[(off & PAGE_MASK) >> PAGE_SHIFT]; PAGE_SHIFT 681 drivers/scsi/libfc/fc_fcp.c page = sg_page(sg) + (off >> PAGE_SHIFT); PAGE_SHIFT 132 drivers/scsi/libfc/fc_libfc.c page_addr = kmap_atomic(sg_page(sg) + (off >> PAGE_SHIFT)); PAGE_SHIFT 2697 drivers/scsi/mpt3sas/mpt3sas_base.c #define convert_to_kb(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 190 drivers/scsi/ncr53c8xx.c #define MEMO_CLUSTER_SHIFT (PAGE_SHIFT+MEMO_PAGE_ORDER) PAGE_SHIFT 219 drivers/scsi/ncr53c8xx.c struct m_link h[PAGE_SHIFT-MEMO_SHIFT+MEMO_PAGE_ORDER+1]; PAGE_SHIFT 2885 drivers/scsi/scsi_lib.c page = nth_page(sg_page(sg), (*offset >> PAGE_SHIFT)); PAGE_SHIFT 145 drivers/scsi/sd_zbc.c bufsize = min_t(size_t, bufsize, queue_max_segments(q) << PAGE_SHIFT); PAGE_SHIFT 1234 drivers/scsi/sg.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 1241 drivers/scsi/sg.c length = 1 << (PAGE_SHIFT + rsv_schp->page_order); PAGE_SHIFT 1247 drivers/scsi/sg.c offset >> PAGE_SHIFT); PAGE_SHIFT 1288 drivers/scsi/sg.c length = 1 << (PAGE_SHIFT + rsv_schp->page_order); PAGE_SHIFT 1909 drivers/scsi/sg.c ret_sz = 1 << (PAGE_SHIFT + order); PAGE_SHIFT 1988 drivers/scsi/sg.c num = 1 << (PAGE_SHIFT + schp->page_order); PAGE_SHIFT 2039 drivers/scsi/sg.c num = 1 << (PAGE_SHIFT + rsv_schp->page_order); PAGE_SHIFT 4901 drivers/scsi/st.c unsigned long end = (uaddr + count + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 4902 drivers/scsi/st.c unsigned long start = uaddr >> PAGE_SHIFT; PAGE_SHIFT 1836 drivers/scsi/storvsc_drv.c host->sg_tablesize = (stor_device->max_transfer_bytes >> PAGE_SHIFT); PAGE_SHIFT 144 drivers/scsi/sym53c8xx_2/sym_hipd.h #define SYM_MEM_CLUSTER_SHIFT (PAGE_SHIFT+SYM_MEM_PAGE_ORDER) PAGE_SHIFT 483 drivers/scsi/vmw_pvscsi.c cmd.ringsStatePPN = adapter->ringStatePA >> PAGE_SHIFT; PAGE_SHIFT 489 drivers/scsi/vmw_pvscsi.c cmd.reqRingPPNs[i] = base >> PAGE_SHIFT; PAGE_SHIFT 495 drivers/scsi/vmw_pvscsi.c cmd.cmpRingPPNs[i] = base >> PAGE_SHIFT; PAGE_SHIFT 513 drivers/scsi/vmw_pvscsi.c cmd_msg.ringPPNs[i] = base >> PAGE_SHIFT; PAGE_SHIFT 56 drivers/soc/aspeed/aspeed-lpc-ctrl.c (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, PAGE_SHIFT 120 drivers/soc/aspeed/aspeed-p2a-ctrl.c (ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, PAGE_SHIFT 147 drivers/soc/qcom/rmtfs_mem.c rmtfs_mem->addr >> PAGE_SHIFT, PAGE_SHIFT 35 drivers/staging/android/ion/ion_cma_heap.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 87 drivers/staging/android/ion/ion_cma_heap.c unsigned long nr_pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; PAGE_SHIFT 302 drivers/staging/android/ion/ion_system_heap.c for (i = len >> PAGE_SHIFT; i < (1 << order); i++) PAGE_SHIFT 324 drivers/staging/android/ion/ion_system_heap.c for (i = 0; i < len >> PAGE_SHIFT; i++) PAGE_SHIFT 334 drivers/staging/android/ion/ion_system_heap.c unsigned long pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; PAGE_SHIFT 1131 drivers/staging/android/vsoc.c area_off += (vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 1132 drivers/staging/android/vsoc.c area_len -= (vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 1137 drivers/staging/android/vsoc.c if (io_remap_pfn_range(vma, vma->vm_start, mem_off >> PAGE_SHIFT, PAGE_SHIFT 113 drivers/staging/comedi/comedi_buf.c buf->virt_addr = virt_addr + (i << PAGE_SHIFT); PAGE_SHIFT 114 drivers/staging/comedi/comedi_buf.c buf->dma_addr = dma_addr + (i << PAGE_SHIFT); PAGE_SHIFT 208 drivers/staging/comedi/comedi_buf.c unsigned long pg = offset >> PAGE_SHIFT; PAGE_SHIFT 276 drivers/staging/comedi/comedi_buf.c unsigned int n_pages = new_size >> PAGE_SHIFT; PAGE_SHIFT 2282 drivers/staging/comedi/comedi_fops.c addr - vma->vm_start + (vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 656 drivers/staging/comedi/drivers/mite.c unsigned int n_full_links = nbytes >> PAGE_SHIFT; PAGE_SHIFT 728 drivers/staging/comedi/drivers/mite.c n_links = async->prealloc_bufsz >> PAGE_SHIFT; PAGE_SHIFT 741 drivers/staging/comedi/drivers/mite.c return mite_init_ring_descriptors(ring, s, n_links << PAGE_SHIFT); PAGE_SHIFT 355 drivers/staging/fbtft/fbtft-core.c index = page->index << PAGE_SHIFT; PAGE_SHIFT 844 drivers/staging/gasket/gasket_core.c raw_offset = (vma->vm_pgoff << PAGE_SHIFT) + PAGE_SHIFT 927 drivers/staging/gasket/gasket_core.c (vma->vm_pgoff << PAGE_SHIFT) + PAGE_SHIFT 944 drivers/staging/gasket/gasket_core.c PAGE_SHIFT, chunk_size, PAGE_SHIFT 995 drivers/staging/gasket/gasket_core.c PAGE_SHIFT, requested_length, vma->vm_page_prot); PAGE_SHIFT 1039 drivers/staging/gasket/gasket_core.c raw_offset = (vma->vm_pgoff << PAGE_SHIFT) + PAGE_SHIFT 21 drivers/staging/kpc2000/kpc_dma/fileops.c unsigned long first = (iov_base & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 22 drivers/staging/kpc2000/kpc_dma/fileops.c unsigned long last = ((iov_base+iov_len-1) & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 23 drivers/staging/media/ipu3/ipu3-dmamap.c int count = size >> PAGE_SHIFT; PAGE_SHIFT 37 drivers/staging/media/ipu3/ipu3-dmamap.c unsigned int i = 0, count = size >> PAGE_SHIFT; PAGE_SHIFT 72 drivers/staging/media/ipu3/ipu3-dmamap.c imgu_dmamap_free_buffer(pages, i << PAGE_SHIFT); PAGE_SHIFT 26 drivers/staging/media/ipu3/ipu3-mmu.c #define IPU3_PT_ORDER (IPU3_PT_SIZE >> PAGE_SHIFT) PAGE_SHIFT 76 drivers/staging/rts5208/rtsx_transport.c ((sg->offset + *offset) >> PAGE_SHIFT); PAGE_SHIFT 509 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c (((addrs[k - 1] & ~PAGE_MASK) + 1) << PAGE_SHIFT)) PAGE_SHIFT 511 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c addrs[k - 1] += ((len + PAGE_SIZE - 1) >> PAGE_SHIFT); PAGE_SHIFT 514 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c (((len + PAGE_SIZE - 1) >> PAGE_SHIFT) - 1); PAGE_SHIFT 192 drivers/target/iscsi/cxgbit/cxgbit_ddp.c (1 << PAGE_SHIFT) - 1) >> PAGE_SHIFT; PAGE_SHIFT 855 drivers/target/target_core_pscsi.c PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 72 drivers/target/target_core_user.c #define DATA_BLOCK_SHIFT PAGE_SHIFT PAGE_SHIFT 1542 drivers/target/target_core_user.c offset = (vmf->pgoff - mi) << PAGE_SHIFT; PAGE_SHIFT 1577 drivers/target/target_core_user.c if (vma_pages(vma) != (udev->ring_size >> PAGE_SHIFT)) PAGE_SHIFT 142 drivers/target/tcm_fc/tfc_io.c from = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); PAGE_SHIFT 302 drivers/target/tcm_fc/tfc_io.c to = kmap_atomic(page + (mem_off >> PAGE_SHIFT)); PAGE_SHIFT 496 drivers/tee/optee/core.c rc = tee_shm_pool_mgr_alloc_res_mem(vaddr, paddr, size, PAGE_SHIFT); PAGE_SHIFT 88 drivers/tee/tee_shm.c return remap_pfn_range(vma, vma->vm_start, shm->paddr >> PAGE_SHIFT, PAGE_SHIFT 86 drivers/tee/tee_shm_pool.c dmabuf_info->size, PAGE_SHIFT); PAGE_SHIFT 692 drivers/uio/uio.c offset = (vmf->pgoff - mi) << PAGE_SHIFT; PAGE_SHIFT 755 drivers/uio/uio.c mem->addr >> PAGE_SHIFT, PAGE_SHIFT 787 drivers/uio/uio.c + idev->info->mem[mi].size + PAGE_SIZE -1) >> PAGE_SHIFT; PAGE_SHIFT 138 drivers/uio/uio_hv_generic.c channel->ringbuffer_pagecount << PAGE_SHIFT); PAGE_SHIFT 276 drivers/uio/uio_hv_generic.c = channel->ringbuffer_pagecount << PAGE_SHIFT; PAGE_SHIFT 256 drivers/usb/core/devio.c virt_to_phys(usbm->mem) >> PAGE_SHIFT, PAGE_SHIFT 775 drivers/usb/gadget/function/f_fs.c n_pages = PAGE_ALIGN(sz) >> PAGE_SHIFT; PAGE_SHIFT 1471 drivers/usb/gadget/function/f_fs.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 2007 drivers/usb/gadget/legacy/inode.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 1251 drivers/usb/mon/mon_bin.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 1203 drivers/vfio/pci/vfio_pci.c index = vma->vm_pgoff >> (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT); PAGE_SHIFT 1226 drivers/vfio/pci/vfio_pci.c ((1U << (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT)) - 1); PAGE_SHIFT 1227 drivers/vfio/pci/vfio_pci.c req_start = pgoff << PAGE_SHIFT; PAGE_SHIFT 1251 drivers/vfio/pci/vfio_pci.c vma->vm_pgoff = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff; PAGE_SHIFT 122 drivers/vfio/pci/vfio_pci_nvlink2.c unsigned long vmf_off = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 123 drivers/vfio/pci/vfio_pci_nvlink2.c unsigned long nv2pg = data->gpu_hpa >> PAGE_SHIFT; PAGE_SHIFT 125 drivers/vfio/pci/vfio_pci_nvlink2.c ((1U << (VFIO_PCI_OFFSET_SHIFT - PAGE_SHIFT)) - 1); PAGE_SHIFT 129 drivers/vfio/pci/vfio_pci_nvlink2.c trace_vfio_pci_nvgpu_mmap_fault(data->gpdev, pfn << PAGE_SHIFT, PAGE_SHIFT 344 drivers/vfio/pci/vfio_pci_nvlink2.c ret = remap_pfn_range(vma, vma->vm_start, data->mmio_atsd >> PAGE_SHIFT, PAGE_SHIFT 564 drivers/vfio/platform/vfio_platform_common.c ((1U << (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT)) - 1); PAGE_SHIFT 565 drivers/vfio/platform/vfio_platform_common.c req_start = pgoff << PAGE_SHIFT; PAGE_SHIFT 571 drivers/vfio/platform/vfio_platform_common.c vma->vm_pgoff = (region.addr >> PAGE_SHIFT) + pgoff; PAGE_SHIFT 582 drivers/vfio/platform/vfio_platform_common.c index = vma->vm_pgoff >> (VFIO_PLATFORM_OFFSET_SHIFT - PAGE_SHIFT); PAGE_SHIFT 113 drivers/vfio/vfio_iommu_spapr_tce.c mem = mm_iommu_get(container->mm, vaddr, size >> PAGE_SHIFT); PAGE_SHIFT 140 drivers/vfio/vfio_iommu_spapr_tce.c unsigned long entries = size >> PAGE_SHIFT; PAGE_SHIFT 187 drivers/vfio/vfio_iommu_spapr_tce.c page = pfn_to_page(hpa >> PAGE_SHIFT); PAGE_SHIFT 291 drivers/vfio/vfio_iommu_spapr_tce.c locked = table_group->tce32_size >> PAGE_SHIFT; PAGE_SHIFT 385 drivers/vfio/vfio_iommu_spapr_tce.c page = pfn_to_page(hpa >> PAGE_SHIFT); PAGE_SHIFT 621 drivers/vfio/vfio_iommu_spapr_tce.c ret = account_locked_vm(container->mm, table_size >> PAGE_SHIFT, true); PAGE_SHIFT 637 drivers/vfio/vfio_iommu_spapr_tce.c unsigned long pages = tbl->it_allocated_size >> PAGE_SHIFT; PAGE_SHIFT 425 drivers/vfio/vfio_iommu_type1.c limit << PAGE_SHIFT); PAGE_SHIFT 452 drivers/vfio/vfio_iommu_type1.c __func__, limit << PAGE_SHIFT); PAGE_SHIFT 578 drivers/vfio/vfio_iommu_type1.c iova = user_pfn[i] << PAGE_SHIFT; PAGE_SHIFT 617 drivers/vfio/vfio_iommu_type1.c iova = user_pfn[j] << PAGE_SHIFT; PAGE_SHIFT 649 drivers/vfio/vfio_iommu_type1.c iova = user_pfn[i] << PAGE_SHIFT; PAGE_SHIFT 673 drivers/vfio/vfio_iommu_type1.c entry->phys >> PAGE_SHIFT, PAGE_SHIFT 674 drivers/vfio/vfio_iommu_type1.c entry->len >> PAGE_SHIFT, PAGE_SHIFT 743 drivers/vfio/vfio_iommu_type1.c phys >> PAGE_SHIFT, PAGE_SHIFT 744 drivers/vfio/vfio_iommu_type1.c unmapped >> PAGE_SHIFT, PAGE_SHIFT 992 drivers/vfio/vfio_iommu_type1.c ret = iommu_map(d->domain, iova, (phys_addr_t)pfn << PAGE_SHIFT, PAGE_SHIFT 993 drivers/vfio/vfio_iommu_type1.c npage << PAGE_SHIFT, prot | d->prot); PAGE_SHIFT 1004 drivers/vfio/vfio_iommu_type1.c iommu_unmap(d->domain, iova, npage << PAGE_SHIFT); PAGE_SHIFT 1016 drivers/vfio/vfio_iommu_type1.c unsigned long pfn, limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 1022 drivers/vfio/vfio_iommu_type1.c size >> PAGE_SHIFT, &pfn, limit); PAGE_SHIFT 1038 drivers/vfio/vfio_iommu_type1.c size -= npage << PAGE_SHIFT; PAGE_SHIFT 1039 drivers/vfio/vfio_iommu_type1.c dma->size += npage << PAGE_SHIFT; PAGE_SHIFT 1192 drivers/vfio/vfio_iommu_type1.c unsigned long limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 1238 drivers/vfio/vfio_iommu_type1.c n >> PAGE_SHIFT, PAGE_SHIFT 1246 drivers/vfio/vfio_iommu_type1.c phys = pfn << PAGE_SHIFT; PAGE_SHIFT 1247 drivers/vfio/vfio_iommu_type1.c size = npage << PAGE_SHIFT; PAGE_SHIFT 414 drivers/video/fbdev/amba-clcd.c unsigned long len, off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 792 drivers/video/fbdev/amba-clcd.c off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1928 drivers/video/fbdev/aty/atyfb_base.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 1931 drivers/video/fbdev/aty/atyfb_base.c off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1940 drivers/video/fbdev/aty/atyfb_base.c vma->vm_pgoff = off >> PAGE_SHIFT; /* propagate off changes */ PAGE_SHIFT 1970 drivers/video/fbdev/aty/atyfb_base.c map_offset >> PAGE_SHIFT, map_size, vma->vm_page_prot)) PAGE_SHIFT 950 drivers/video/fbdev/broadsheetfb.c y1 = (cur->index << PAGE_SHIFT) / xres; PAGE_SHIFT 959 drivers/video/fbdev/broadsheetfb.c y1 = (cur->index << PAGE_SHIFT) / xres; PAGE_SHIFT 294 drivers/video/fbdev/controlfb.c mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT; PAGE_SHIFT 34 drivers/video/fbdev/core/fb_defio.c page = pfn_to_page((info->fix.smem_start + offs) >> PAGE_SHIFT); PAGE_SHIFT 46 drivers/video/fbdev/core/fb_defio.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 1363 drivers/video/fbdev/core/fbmem.c mmio_pgoff = PAGE_ALIGN((start & ~PAGE_MASK) + len) >> PAGE_SHIFT; PAGE_SHIFT 312 drivers/video/fbdev/ep93xx-fb.c unsigned int offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1000 drivers/video/fbdev/gbefb.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1006 drivers/video/fbdev/gbefb.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 1034 drivers/video/fbdev/gbefb.c if (remap_pfn_range(vma, addr, phys_addr >> PAGE_SHIFT, PAGE_SHIFT 479 drivers/video/fbdev/metronomefb.c (cur->index << PAGE_SHIFT)); PAGE_SHIFT 1104 drivers/video/fbdev/omap2/omapfb/omapfb-main.c vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 713 drivers/video/fbdev/ps3fb.c info->fix.smem_start + (vma->vm_pgoff << PAGE_SHIFT), PAGE_SHIFT 649 drivers/video/fbdev/pvr2fb.c nr_pages = (count + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 667 drivers/video/fbdev/pvr2fb.c len = nr_pages << PAGE_SHIFT; PAGE_SHIFT 686 drivers/video/fbdev/pvr2fb.c if ((*ppos + (i << PAGE_SHIFT)) > fb_info->fix.smem_len) { PAGE_SHIFT 487 drivers/video/fbdev/pxa3xx-gcu.c case SHARED_SIZE >> PAGE_SHIFT: PAGE_SHIFT 496 drivers/video/fbdev/pxa3xx-gcu.c priv->resource_mem->start >> PAGE_SHIFT, PAGE_SHIFT 564 drivers/video/fbdev/sa1100fb.c unsigned long off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 56 drivers/video/fbdev/sbuslib.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 59 drivers/video/fbdev/sbuslib.c off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 88 drivers/video/fbdev/sbuslib.c map_offset >> PAGE_SHIFT), PAGE_SHIFT 445 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int nr_pages_max = ch->fb_size >> PAGE_SHIFT; PAGE_SHIFT 2000 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->fb_size >> PAGE_SHIFT); PAGE_SHIFT 779 drivers/video/fbdev/smscufx.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 782 drivers/video/fbdev/smscufx.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 974 drivers/video/fbdev/smscufx.c const int y = (cur->index << PAGE_SHIFT) / (width * 2); PAGE_SHIFT 326 drivers/video/fbdev/udlfb.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 329 drivers/video/fbdev/udlfb.c if (vma->vm_pgoff > (~0UL >> PAGE_SHIFT)) PAGE_SHIFT 814 drivers/video/fbdev/udlfb.c &cmd, cur->index << PAGE_SHIFT, PAGE_SHIFT 116 drivers/video/fbdev/vermilion/vermilion.c set_pages_uc(virt_to_page(va->logical), va->size >> PAGE_SHIFT); PAGE_SHIFT 141 drivers/video/fbdev/vermilion/vermilion.c va->size >> PAGE_SHIFT); PAGE_SHIFT 990 drivers/video/fbdev/vermilion/vermilion.c unsigned long offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 195 drivers/video/fbdev/xen-fbfront.c beg = page->index << PAGE_SHIFT; PAGE_SHIFT 413 drivers/video/fbdev/xen-fbfront.c info->nr_pages = (fb_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 221 drivers/virt/fsl_hypervisor.c num_pages = (param.count + lb_offset + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 77 drivers/virt/vboxguest/vboxguest_core.c pages = kmalloc_array(size >> PAGE_SHIFT, sizeof(*pages), GFP_KERNEL); PAGE_SHIFT 85 drivers/virt/vboxguest/vboxguest_core.c for (i = 0; i < (size >> PAGE_SHIFT); i++) PAGE_SHIFT 93 drivers/virt/vboxguest/vboxguest_core.c guest_mappings[i] = vmap(pages, (size >> PAGE_SHIFT), PAGE_SHIFT 192 drivers/virt/vboxguest/vboxguest_utils.c return size >> PAGE_SHIFT; PAGE_SHIFT 38 drivers/virtio/virtio_balloon.c (1 << (VIRTIO_BALLOON_FREE_PAGE_ORDER + PAGE_SHIFT)) PAGE_SHIFT 127 drivers/virtio/virtio_balloon.c BUILD_BUG_ON(PAGE_SHIFT < VIRTIO_BALLOON_PFN_SHIFT); PAGE_SHIFT 279 drivers/virtio/virtio_balloon.c #define pages_to_bytes(x) ((u64)(x) << PAGE_SHIFT) PAGE_SHIFT 396 drivers/virtio/virtio_mmio.c u64 q_pfn = virtqueue_get_desc_addr(vq) >> PAGE_SHIFT; PAGE_SHIFT 406 drivers/virtio/virtio_mmio.c 0x1ULL << (32 + PAGE_SHIFT - 30)); PAGE_SHIFT 596 drivers/virtio/virtio_mmio.c DMA_BIT_MASK(32 + PAGE_SHIFT)); PAGE_SHIFT 148 drivers/virtio/virtio_pci_legacy.c 0x1ULL << (32 + PAGE_SHIFT - 30)); PAGE_SHIFT 810 drivers/vme/vme.c phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 272 drivers/xen/balloon.c unsigned long limit = 1UL << (MAX_PHYSMEM_BITS - PAGE_SHIFT); PAGE_SHIFT 273 drivers/xen/balloon.c unsigned long pfn = res->start >> PAGE_SHIFT; PAGE_SHIFT 527 drivers/xen/gntalloc.c gref = find_grefs(priv, vma->vm_pgoff << PAGE_SHIFT, count); PAGE_SHIFT 213 drivers/xen/gntdev-dmabuf.c nr_pages << PAGE_SHIFT, PAGE_SHIFT 410 drivers/xen/gntdev-dmabuf.c exp_info.size = args->count << PAGE_SHIFT; PAGE_SHIFT 645 drivers/xen/gntdev-dmabuf.c if (attach->dmabuf->size != gntdev_dmabuf->nr_pages << PAGE_SHIFT) { PAGE_SHIFT 268 drivers/xen/gntdev.c unsigned int pgnr = (addr - map->vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 371 drivers/xen/gntdev.c int pgno = (map->notify.addr >> PAGE_SHIFT); PAGE_SHIFT 467 drivers/xen/gntdev.c return map->pages[(addr - map->pages_vm_start) >> PAGE_SHIFT]; PAGE_SHIFT 511 drivers/xen/gntdev.c (mstart - map->vma->vm_start) >> PAGE_SHIFT, PAGE_SHIFT 512 drivers/xen/gntdev.c (mend - mstart) >> PAGE_SHIFT); PAGE_SHIFT 693 drivers/xen/gntdev.c op.index = map->index << PAGE_SHIFT; PAGE_SHIFT 714 drivers/xen/gntdev.c map = gntdev_find_map_index(priv, op.index >> PAGE_SHIFT, op.count); PAGE_SHIFT 748 drivers/xen/gntdev.c op.offset = map->index << PAGE_SHIFT; PAGE_SHIFT 792 drivers/xen/gntdev.c uint64_t begin = map->index << PAGE_SHIFT; PAGE_SHIFT 793 drivers/xen/gntdev.c uint64_t end = (map->index + map->count) << PAGE_SHIFT; PAGE_SHIFT 811 drivers/xen/gntdev.c map->notify.addr = op.index - (map->index << PAGE_SHIFT); PAGE_SHIFT 856 drivers/xen/grant-table.c size = args->nr_pages << PAGE_SHIFT; PAGE_SHIFT 926 drivers/xen/grant-table.c size = args->nr_pages << PAGE_SHIFT; PAGE_SHIFT 1326 drivers/xen/grant-table.c return width > 32 + PAGE_SHIFT; PAGE_SHIFT 54 drivers/xen/mem-reservation.c (unsigned long)__va(pfn << PAGE_SHIFT), PAGE_SHIFT 82 drivers/xen/mem-reservation.c (unsigned long)__va(pfn << PAGE_SHIFT), PAGE_SHIFT 231 drivers/xen/privcmd.c if ((msg->npages > (LONG_MAX >> PAGE_SHIFT)) || PAGE_SHIFT 232 drivers/xen/privcmd.c ((unsigned long)(msg->npages << PAGE_SHIFT) >= -st->va)) PAGE_SHIFT 237 drivers/xen/privcmd.c ((msg->va+(msg->npages<<PAGE_SHIFT)) > vma->vm_end)) PAGE_SHIFT 248 drivers/xen/privcmd.c st->va += msg->npages << PAGE_SHIFT; PAGE_SHIFT 482 drivers/xen/privcmd.c if ((m.num <= 0) || (nr_pages > (LONG_MAX >> PAGE_SHIFT))) PAGE_SHIFT 524 drivers/xen/privcmd.c m.addr + (nr_pages << PAGE_SHIFT) != vma->vm_end) { PAGE_SHIFT 536 drivers/xen/privcmd.c m.addr + (nr_pages << PAGE_SHIFT) > vma->vm_end) { PAGE_SHIFT 795 drivers/xen/privcmd.c rc = xen_remap_vma_range(vma, kdata.addr, kdata.num << PAGE_SHIFT); PAGE_SHIFT 953 drivers/xen/privcmd.c return apply_to_page_range(vma->vm_mm, addr, nr_pages << PAGE_SHIFT, PAGE_SHIFT 127 drivers/xen/swiotlb-xen.c dma_bits = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT) + PAGE_SHIFT; PAGE_SHIFT 208 drivers/xen/swiotlb-xen.c #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT)) PAGE_SHIFT 44 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.spfn = info->start_addr >> PAGE_SHIFT; PAGE_SHIFT 45 drivers/xen/xen-acpi-memhotplug.c op.u.mem_add.epfn = (info->start_addr + info->length) >> PAGE_SHIFT; PAGE_SHIFT 50 drivers/xen/xen-balloon.c #define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10)) PAGE_SHIFT 86 drivers/xen/xen-balloon.c new_target >>= PAGE_SHIFT - 10; PAGE_SHIFT 95 drivers/xen/xen-balloon.c static_max >>= PAGE_SHIFT - 10; PAGE_SHIFT 174 drivers/xen/xen-balloon.c balloon_set_new_target(target_bytes >> PAGE_SHIFT); PAGE_SHIFT 188 drivers/xen/xen-balloon.c << PAGE_SHIFT); PAGE_SHIFT 204 drivers/xen/xen-balloon.c balloon_set_new_target(target_bytes >> PAGE_SHIFT); PAGE_SHIFT 152 drivers/xen/xlate_mmu.c unsigned long range = DIV_ROUND_UP(nr, XEN_PFN_PER_PAGE) << PAGE_SHIFT; PAGE_SHIFT 157 fs/9p/vfs_addr.c if (page->index == size >> PAGE_SHIFT) PAGE_SHIFT 262 fs/9p/vfs_addr.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 425 fs/9p/vfs_file.c pg_start = origin >> PAGE_SHIFT; PAGE_SHIFT 426 fs/9p/vfs_file.c pg_end = (origin + retval - 1) >> PAGE_SHIFT; PAGE_SHIFT 517 fs/affs/file.c tmp = page->index << PAGE_SHIFT; PAGE_SHIFT 619 fs/affs/file.c if (((page->index + 1) << PAGE_SHIFT) > inode->i_size) { PAGE_SHIFT 651 fs/affs/file.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 697 fs/affs/file.c tmp = (page->index << PAGE_SHIFT) + from; PAGE_SHIFT 793 fs/affs/file.c tmp = (page->index << PAGE_SHIFT) + from; PAGE_SHIFT 324 fs/afs/file.c req->pos = (loff_t)page->index << PAGE_SHIFT; PAGE_SHIFT 473 fs/afs/file.c req->pos <<= PAGE_SHIFT; PAGE_SHIFT 1216 fs/afs/fsclient.c size += (loff_t)(last - first) << PAGE_SHIFT; PAGE_SHIFT 1217 fs/afs/fsclient.c pos = (loff_t)first << PAGE_SHIFT; PAGE_SHIFT 438 fs/afs/super.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 87 fs/afs/write.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 616 fs/afs/write.c wbc->range_end >> PAGE_SHIFT); PAGE_SHIFT 714 fs/afs/write.c end = (pgoff_t)(LLONG_MAX >> PAGE_SHIFT); PAGE_SHIFT 719 fs/afs/write.c start = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 720 fs/afs/write.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 1263 fs/afs/yfsclient.c size += (loff_t)(last - first) << PAGE_SHIFT; PAGE_SHIFT 1264 fs/afs/yfsclient.c pos = (loff_t)first << PAGE_SHIFT; PAGE_SHIFT 2117 fs/block_dev.c start >> PAGE_SHIFT, PAGE_SHIFT 2118 fs/block_dev.c end >> PAGE_SHIFT); PAGE_SHIFT 1208 fs/btrfs/check-integrity.c unsigned long i = (start_offset + offset) >> PAGE_SHIFT; PAGE_SHIFT 1571 fs/btrfs/check-integrity.c PAGE_SHIFT; PAGE_SHIFT 1610 fs/btrfs/check-integrity.c PAGE_SHIFT; PAGE_SHIFT 1720 fs/btrfs/check-integrity.c num_pages = state->metablock_size >> PAGE_SHIFT; PAGE_SHIFT 2099 fs/btrfs/check-integrity.c mapped_datav += processed_len >> PAGE_SHIFT; PAGE_SHIFT 2100 fs/btrfs/check-integrity.c num_pages -= processed_len >> PAGE_SHIFT; PAGE_SHIFT 214 fs/btrfs/compression.c unsigned long index = cb->start >> PAGE_SHIFT; PAGE_SHIFT 215 fs/btrfs/compression.c unsigned long end_index = (cb->start + cb->len - 1) >> PAGE_SHIFT; PAGE_SHIFT 453 fs/btrfs/compression.c end_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; PAGE_SHIFT 456 fs/btrfs/compression.c pg_index = last_offset >> PAGE_SHIFT; PAGE_SHIFT 638 fs/btrfs/compression.c page->index = em_start >> PAGE_SHIFT; PAGE_SHIFT 1475 fs/btrfs/compression.c index = start >> PAGE_SHIFT; PAGE_SHIFT 1476 fs/btrfs/compression.c index_end = end >> PAGE_SHIFT; PAGE_SHIFT 1456 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; PAGE_SHIFT 1457 fs/btrfs/extent_io.c unsigned long end_index = end >> PAGE_SHIFT; PAGE_SHIFT 1471 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; PAGE_SHIFT 1472 fs/btrfs/extent_io.c unsigned long end_index = end >> PAGE_SHIFT; PAGE_SHIFT 1745 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; PAGE_SHIFT 1746 fs/btrfs/extent_io.c unsigned long end_index = end >> PAGE_SHIFT; PAGE_SHIFT 1761 fs/btrfs/extent_io.c unsigned long index = delalloc_start >> PAGE_SHIFT; PAGE_SHIFT 1763 fs/btrfs/extent_io.c unsigned long end_index = delalloc_end >> PAGE_SHIFT; PAGE_SHIFT 1774 fs/btrfs/extent_io.c (u64)index_ret << PAGE_SHIFT); PAGE_SHIFT 1953 fs/btrfs/extent_io.c start >> PAGE_SHIFT, end >> PAGE_SHIFT, PAGE_SHIFT 2579 fs/btrfs/extent_io.c unsigned failed_bio_pages = failed_bio->bi_iter.bi_size >> PAGE_SHIFT; PAGE_SHIFT 2808 fs/btrfs/extent_io.c pgoff_t end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 3091 fs/btrfs/extent_io.c if (page->index == last_byte >> PAGE_SHIFT) { PAGE_SHIFT 3371 fs/btrfs/extent_io.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 3564 fs/btrfs/extent_io.c unsigned long end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 3952 fs/btrfs/extent_io.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 3953 fs/btrfs/extent_io.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 4134 fs/btrfs/extent_io.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 4135 fs/btrfs/extent_io.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 4274 fs/btrfs/extent_io.c PAGE_SHIFT; PAGE_SHIFT 4290 fs/btrfs/extent_io.c page = find_get_page(mapping, start >> PAGE_SHIFT); PAGE_SHIFT 5081 fs/btrfs/extent_io.c start >> PAGE_SHIFT); PAGE_SHIFT 5133 fs/btrfs/extent_io.c start >> PAGE_SHIFT, eb); PAGE_SHIFT 5159 fs/btrfs/extent_io.c unsigned long index = start >> PAGE_SHIFT; PAGE_SHIFT 5241 fs/btrfs/extent_io.c start >> PAGE_SHIFT, eb); PAGE_SHIFT 5296 fs/btrfs/extent_io.c eb->start >> PAGE_SHIFT); PAGE_SHIFT 5564 fs/btrfs/extent_io.c unsigned long i = (start_offset + start) >> PAGE_SHIFT; PAGE_SHIFT 5599 fs/btrfs/extent_io.c unsigned long i = (start_offset + start) >> PAGE_SHIFT; PAGE_SHIFT 5640 fs/btrfs/extent_io.c unsigned long i = (start_offset + start) >> PAGE_SHIFT; PAGE_SHIFT 5642 fs/btrfs/extent_io.c PAGE_SHIFT; PAGE_SHIFT 5658 fs/btrfs/extent_io.c *map_start = ((u64)i << PAGE_SHIFT) - start_offset; PAGE_SHIFT 5677 fs/btrfs/extent_io.c unsigned long i = (start_offset + start) >> PAGE_SHIFT; PAGE_SHIFT 5733 fs/btrfs/extent_io.c unsigned long i = (start_offset + start) >> PAGE_SHIFT; PAGE_SHIFT 5763 fs/btrfs/extent_io.c unsigned long i = (start_offset + start) >> PAGE_SHIFT; PAGE_SHIFT 5808 fs/btrfs/extent_io.c unsigned long i = (start_offset + dst_offset) >> PAGE_SHIFT; PAGE_SHIFT 5859 fs/btrfs/extent_io.c *page_index = offset >> PAGE_SHIFT; PAGE_SHIFT 6023 fs/btrfs/extent_io.c dst_i = (start_offset + dst_offset) >> PAGE_SHIFT; PAGE_SHIFT 6024 fs/btrfs/extent_io.c src_i = (start_offset + src_offset) >> PAGE_SHIFT; PAGE_SHIFT 6070 fs/btrfs/extent_io.c dst_i = (start_offset + dst_end) >> PAGE_SHIFT; PAGE_SHIFT 6071 fs/btrfs/extent_io.c src_i = (start_offset + src_end) >> PAGE_SHIFT; PAGE_SHIFT 441 fs/btrfs/extent_io.h return (round_up(eb->start + eb->len, PAGE_SIZE) >> PAGE_SHIFT) - PAGE_SHIFT 442 fs/btrfs/extent_io.h (eb->start >> PAGE_SHIFT); PAGE_SHIFT 1426 fs/btrfs/file.c unsigned long index = pos >> PAGE_SHIFT; PAGE_SHIFT 1749 fs/btrfs/file.c (dirty_pages << PAGE_SHIFT); PAGE_SHIFT 1802 fs/btrfs/file.c if (dirty_pages < (fs_info->nodesize >> PAGE_SHIFT) + 1) PAGE_SHIFT 1861 fs/btrfs/file.c invalidate_mapping_pages(file->f_mapping, pos >> PAGE_SHIFT, PAGE_SHIFT 1862 fs/btrfs/file.c endbyte >> PAGE_SHIFT); PAGE_SHIFT 293 fs/btrfs/free-space-cache.c last_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; PAGE_SHIFT 111 fs/btrfs/inode.c unsigned long index = offset >> PAGE_SHIFT; PAGE_SHIFT 112 fs/btrfs/inode.c unsigned long end_index = (offset + bytes - 1) >> PAGE_SHIFT; PAGE_SHIFT 235 fs/btrfs/inode.c start >> PAGE_SHIFT); PAGE_SHIFT 507 fs/btrfs/inode.c nr_pages = (end >> PAGE_SHIFT) - (start >> PAGE_SHIFT) + 1; PAGE_SHIFT 1177 fs/btrfs/inode.c PAGE_SHIFT; PAGE_SHIFT 5051 fs/btrfs/inode.c pgoff_t index = from >> PAGE_SHIFT; PAGE_SHIFT 9124 fs/btrfs/inode.c if (page->index == ((size - 1) >> PAGE_SHIFT)) { PAGE_SHIFT 10715 fs/btrfs/inode.c unsigned long index = start >> PAGE_SHIFT; PAGE_SHIFT 10716 fs/btrfs/inode.c unsigned long end_index = end >> PAGE_SHIFT; PAGE_SHIFT 10812 fs/btrfs/inode.c first_ppage = ALIGN(bsi->block_start, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 10814 fs/btrfs/inode.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 1253 fs/btrfs/ioctl.c file_end = (isize - 1) >> PAGE_SHIFT; PAGE_SHIFT 1260 fs/btrfs/ioctl.c start_index << PAGE_SHIFT, PAGE_SHIFT 1261 fs/btrfs/ioctl.c page_cnt << PAGE_SHIFT); PAGE_SHIFT 1350 fs/btrfs/ioctl.c start_index << PAGE_SHIFT, PAGE_SHIFT 1351 fs/btrfs/ioctl.c (page_cnt - i_done) << PAGE_SHIFT, true); PAGE_SHIFT 1369 fs/btrfs/ioctl.c btrfs_delalloc_release_extents(BTRFS_I(inode), page_cnt << PAGE_SHIFT); PAGE_SHIFT 1378 fs/btrfs/ioctl.c start_index << PAGE_SHIFT, PAGE_SHIFT 1379 fs/btrfs/ioctl.c page_cnt << PAGE_SHIFT, true); PAGE_SHIFT 1380 fs/btrfs/ioctl.c btrfs_delalloc_release_extents(BTRFS_I(inode), page_cnt << PAGE_SHIFT); PAGE_SHIFT 1405 fs/btrfs/ioctl.c unsigned long max_cluster = SZ_256K >> PAGE_SHIFT; PAGE_SHIFT 1449 fs/btrfs/ioctl.c range->start + range->len - 1) >> PAGE_SHIFT; PAGE_SHIFT 1451 fs/btrfs/ioctl.c last_index = (isize - 1) >> PAGE_SHIFT; PAGE_SHIFT 1463 fs/btrfs/ioctl.c i = (newer_off & new_align) >> PAGE_SHIFT; PAGE_SHIFT 1467 fs/btrfs/ioctl.c i = range->start >> PAGE_SHIFT; PAGE_SHIFT 1494 fs/btrfs/ioctl.c if (!should_defrag_range(inode, (u64)i << PAGE_SHIFT, PAGE_SHIFT 1509 fs/btrfs/ioctl.c PAGE_SHIFT) - i; PAGE_SHIFT 1548 fs/btrfs/ioctl.c (u64)i << PAGE_SHIFT); PAGE_SHIFT 1554 fs/btrfs/ioctl.c i = (newer_off & new_align) >> PAGE_SHIFT; PAGE_SHIFT 1561 fs/btrfs/ioctl.c last_len += ret << PAGE_SHIFT; PAGE_SHIFT 166 fs/btrfs/lzo.c in_page = find_get_page(mapping, start >> PAGE_SHIFT); PAGE_SHIFT 274 fs/btrfs/lzo.c in_page = find_get_page(mapping, start >> PAGE_SHIFT); PAGE_SHIFT 950 fs/btrfs/raid56.c chunk_page = index * (rbio->stripe_len >> PAGE_SHIFT) + pagenr; PAGE_SHIFT 1097 fs/btrfs/raid56.c disk_start = stripe->physical + (page_index << PAGE_SHIFT); PAGE_SHIFT 1123 fs/btrfs/raid56.c bio = btrfs_io_bio_alloc(bio_max_len >> PAGE_SHIFT ?: 1); PAGE_SHIFT 1173 fs/btrfs/raid56.c page_index = stripe_offset >> PAGE_SHIFT; PAGE_SHIFT 2319 fs/btrfs/raid56.c index = stripe_offset >> PAGE_SHIFT; PAGE_SHIFT 207 fs/btrfs/reada.c eb->start >> PAGE_SHIFT); PAGE_SHIFT 238 fs/btrfs/reada.c logical >> PAGE_SHIFT, 1); PAGE_SHIFT 281 fs/btrfs/reada.c (unsigned long)(zone->end >> PAGE_SHIFT), PAGE_SHIFT 287 fs/btrfs/reada.c logical >> PAGE_SHIFT, 1); PAGE_SHIFT 312 fs/btrfs/reada.c unsigned long index = logical >> PAGE_SHIFT; PAGE_SHIFT 487 fs/btrfs/reada.c unsigned long index = re->logical >> PAGE_SHIFT; PAGE_SHIFT 530 fs/btrfs/reada.c zone->end >> PAGE_SHIFT); PAGE_SHIFT 580 fs/btrfs/reada.c unsigned long index = zone->end >> PAGE_SHIFT; PAGE_SHIFT 615 fs/btrfs/reada.c index = (zone->end >> PAGE_SHIFT) + 1; PAGE_SHIFT 695 fs/btrfs/reada.c dev->reada_next >> PAGE_SHIFT, 1); PAGE_SHIFT 704 fs/btrfs/reada.c dev->reada_next >> PAGE_SHIFT, 1); PAGE_SHIFT 862 fs/btrfs/reada.c index = (zone->end >> PAGE_SHIFT) + 1; PAGE_SHIFT 887 fs/btrfs/reada.c index = (re->logical >> PAGE_SHIFT) + 1; PAGE_SHIFT 903 fs/btrfs/reada.c index = (re->logical >> PAGE_SHIFT) + 1; PAGE_SHIFT 919 fs/btrfs/reada.c index = (re->logical >> PAGE_SHIFT) + 1; PAGE_SHIFT 3318 fs/btrfs/relocation.c index = (cluster->start - offset) >> PAGE_SHIFT; PAGE_SHIFT 3319 fs/btrfs/relocation.c last_index = (cluster->end - offset) >> PAGE_SHIFT; PAGE_SHIFT 4796 fs/btrfs/send.c pgoff_t index = offset >> PAGE_SHIFT; PAGE_SHIFT 4818 fs/btrfs/send.c last_index = (offset + len - 1) >> PAGE_SHIFT; PAGE_SHIFT 396 fs/btrfs/space-info.c nr_pages = min(delalloc_bytes, to_reclaim) >> PAGE_SHIFT; PAGE_SHIFT 24 fs/btrfs/tests/extent-io-tests.c unsigned long index = start >> PAGE_SHIFT; PAGE_SHIFT 25 fs/btrfs/tests/extent-io-tests.c unsigned long end_index = end >> PAGE_SHIFT; PAGE_SHIFT 93 fs/btrfs/tests/extent-io-tests.c for (index = 0; index < (total_dirty >> PAGE_SHIFT); index++) { PAGE_SHIFT 139 fs/btrfs/tests/extent-io-tests.c test_start >> PAGE_SHIFT); PAGE_SHIFT 174 fs/btrfs/tests/extent-io-tests.c PAGE_SHIFT); PAGE_SHIFT 225 fs/btrfs/tests/extent-io-tests.c (max_bytes + SZ_1M) >> PAGE_SHIFT); PAGE_SHIFT 1455 fs/btrfs/volumes.c index = bytenr >> PAGE_SHIFT; PAGE_SHIFT 1456 fs/btrfs/volumes.c if ((bytenr + sizeof(**disk_super) - 1) >> PAGE_SHIFT != index) PAGE_SHIFT 124 fs/btrfs/zlib.c in_page = find_get_page(mapping, start >> PAGE_SHIFT); PAGE_SHIFT 195 fs/btrfs/zlib.c start >> PAGE_SHIFT); PAGE_SHIFT 406 fs/btrfs/zstd.c in_page = find_get_page(mapping, start >> PAGE_SHIFT); PAGE_SHIFT 486 fs/btrfs/zstd.c in_page = find_get_page(mapping, start >> PAGE_SHIFT); PAGE_SHIFT 206 fs/buffer.c index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); PAGE_SHIFT 1579 fs/buffer.c pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); PAGE_SHIFT 1585 fs/buffer.c end = (block + len - 1) >> (PAGE_SHIFT - bd_inode->i_blkbits); PAGE_SHIFT 1709 fs/buffer.c block = (sector_t)page->index << (PAGE_SHIFT - bbits); PAGE_SHIFT 1962 fs/buffer.c block = (sector_t)page->index << (PAGE_SHIFT - bbits); PAGE_SHIFT 2080 fs/buffer.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 2240 fs/buffer.c iblock = (sector_t)page->index << (PAGE_SHIFT - bbits); PAGE_SHIFT 2353 fs/buffer.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 2356 fs/buffer.c while (index > (curidx = (curpos = *bytes)>>PAGE_SHIFT)) { PAGE_SHIFT 2486 fs/buffer.c if (((page->index + 1) << PAGE_SHIFT) > size) PAGE_SHIFT 2564 fs/buffer.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 2599 fs/buffer.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); PAGE_SHIFT 2731 fs/buffer.c const pgoff_t end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 2776 fs/buffer.c pgoff_t index = from >> PAGE_SHIFT; PAGE_SHIFT 2794 fs/buffer.c iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 2854 fs/buffer.c pgoff_t index = from >> PAGE_SHIFT; PAGE_SHIFT 2872 fs/buffer.c iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 2935 fs/buffer.c const pgoff_t end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 157 fs/cachefiles/bind.c cache->bshift = PAGE_SHIFT - ilog2(stats.f_bsize); PAGE_SHIFT 419 fs/cachefiles/rdwr.c shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits; PAGE_SHIFT 718 fs/cachefiles/rdwr.c shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits; PAGE_SHIFT 909 fs/cachefiles/rdwr.c pos = (loff_t)page->index << PAGE_SHIFT; PAGE_SHIFT 57 fs/ceph/addr.c #define CONGESTION_ON_THRESH(congestion_kb) (congestion_kb >> (PAGE_SHIFT-10)) PAGE_SHIFT 361 fs/ceph/addr.c len = nr_pages << PAGE_SHIFT; PAGE_SHIFT 397 fs/ceph/addr.c len = nr_pages << PAGE_SHIFT; PAGE_SHIFT 461 fs/ceph/addr.c max = fsc->mount_options->rsize >> PAGE_SHIFT; PAGE_SHIFT 839 fs/ceph/addr.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 840 fs/ceph/addr.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 867 fs/ceph/addr.c max_pages = wsize >> PAGE_SHIFT; PAGE_SHIFT 956 fs/ceph/addr.c ((len - 1) >> PAGE_SHIFT); PAGE_SHIFT 971 fs/ceph/addr.c (offset + len) >> PAGE_SHIFT) { PAGE_SHIFT 1323 fs/ceph/addr.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 1430 fs/ceph/addr.c loff_t off = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 131 fs/ceph/dir.c pgoff_t ptr_pgoff = ptr_pos >> PAGE_SHIFT; PAGE_SHIFT 956 fs/ceph/file.c pos >> PAGE_SHIFT, PAGE_SHIFT 957 fs/ceph/file.c (pos + count - 1) >> PAGE_SHIFT); PAGE_SHIFT 1160 fs/ceph/file.c pos >> PAGE_SHIFT, PAGE_SHIFT 1161 fs/ceph/file.c (pos + count - 1) >> PAGE_SHIFT); PAGE_SHIFT 1187 fs/ceph/file.c num_pages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1665 fs/ceph/file.c pgoff_t index = offset >> PAGE_SHIFT; PAGE_SHIFT 2044 fs/ceph/file.c dst_off >> PAGE_SHIFT, PAGE_SHIFT 2045 fs/ceph/file.c endoff >> PAGE_SHIFT); PAGE_SHIFT 914 fs/ceph/inode.c inode->i_blkbits = PAGE_SHIFT; PAGE_SHIFT 737 fs/ceph/super.c page_count = fsc->mount_options->wsize >> PAGE_SHIFT; PAGE_SHIFT 1086 fs/ceph/super.c sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; PAGE_SHIFT 1089 fs/ceph/super.c sb->s_bdi->io_pages = fsc->mount_options->rsize >> PAGE_SHIFT; PAGE_SHIFT 849 fs/ceph/super.h congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); PAGE_SHIFT 2097 fs/cifs/file.c loff_t offset = (loff_t)page->index << PAGE_SHIFT; PAGE_SHIFT 2304 fs/cifs/file.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 2305 fs/cifs/file.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 4138 fs/cifs/file.c eof_index = eof ? (eof - 1) >> PAGE_SHIFT : 0; PAGE_SHIFT 4255 fs/cifs/file.c *offset = (loff_t)page->index << PAGE_SHIFT; PAGE_SHIFT 4488 fs/cifs/file.c loff_t offset = (loff_t)page->index << PAGE_SHIFT; PAGE_SHIFT 4559 fs/cifs/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 2174 fs/cifs/inode.c pgoff_t index = from >> PAGE_SHIFT; PAGE_SHIFT 71 fs/configfs/mount.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 193 fs/cramfs/inode.c blocknr = offset >> PAGE_SHIFT; PAGE_SHIFT 204 fs/cramfs/inode.c blk_offset = (blocknr - buffer_blocknr[i]) << PAGE_SHIFT; PAGE_SHIFT 212 fs/cramfs/inode.c devsize = mapping->host->i_size >> PAGE_SHIFT; PAGE_SHIFT 347 fs/cramfs/inode.c last_page = inode->i_size >> PAGE_SHIFT; PAGE_SHIFT 378 fs/cramfs/inode.c max_pages = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 412 fs/cramfs/inode.c ret = remap_pfn_range(vma, vma->vm_start, address >> PAGE_SHIFT, PAGE_SHIFT 463 fs/cramfs/inode.c pages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 464 fs/cramfs/inode.c max_pages = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 827 fs/cramfs/inode.c maxblock = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 227 fs/crypto/crypto.c u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + PAGE_SHIFT 305 fs/crypto/crypto.c u64 lblk_num = ((u64)page->index << (PAGE_SHIFT - blockbits)) + PAGE_SHIFT 36 fs/dax.c return PAGE_SHIFT - PAGE_SHIFT; PAGE_SHIFT 38 fs/dax.c return PMD_SHIFT - PAGE_SHIFT; PAGE_SHIFT 40 fs/dax.c return PUD_SHIFT - PAGE_SHIFT; PAGE_SHIFT 49 fs/dax.c #define PG_PMD_COLOUR ((PMD_SIZE >> PAGE_SHIFT) - 1) PAGE_SHIFT 50 fs/dax.c #define PG_PMD_NR (PMD_SIZE >> PAGE_SHIFT) PAGE_SHIFT 53 fs/dax.c #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT) PAGE_SHIFT 770 fs/dax.c address = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); PAGE_SHIFT 942 fs/dax.c XA_STATE(xas, &mapping->i_pages, wbc->range_start >> PAGE_SHIFT); PAGE_SHIFT 944 fs/dax.c pgoff_t end_index = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 950 fs/dax.c if (WARN_ON_ONCE(inode->i_blkbits != PAGE_SHIFT)) PAGE_SHIFT 1123 fs/dax.c pos >> PAGE_SHIFT, PAGE_SHIFT 1124 fs/dax.c (end - 1) >> PAGE_SHIFT); PAGE_SHIFT 1253 fs/dax.c loff_t pos = (loff_t)vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 1501 fs/dax.c ((vmf->address >> PAGE_SHIFT) & PG_PMD_COLOUR)) PAGE_SHIFT 1552 fs/dax.c pos = (loff_t)xas.xa_index << PAGE_SHIFT; PAGE_SHIFT 1718 fs/dax.c loff_t start = ((loff_t)vmf->pgoff) << PAGE_SHIFT; PAGE_SHIFT 312 fs/direct-io.c offset >> PAGE_SHIFT, PAGE_SHIFT 313 fs/direct-io.c (offset + ret - 1) >> PAGE_SHIFT); PAGE_SHIFT 377 fs/ecryptfs/crypto.c ((loff_t)page->index << PAGE_SHIFT); PAGE_SHIFT 154 fs/ecryptfs/mmap.c page, (lower_offset >> PAGE_SHIFT), PAGE_SHIFT 269 fs/ecryptfs/mmap.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 279 fs/ecryptfs/mmap.c prev_page_end_size = ((loff_t)index << PAGE_SHIFT); PAGE_SHIFT 467 fs/ecryptfs/mmap.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 65 fs/ecryptfs/read_write.c offset = ((((loff_t)page_for_lower->index) << PAGE_SHIFT) PAGE_SHIFT 114 fs/ecryptfs/read_write.c pgoff_t ecryptfs_page_idx = (pos >> PAGE_SHIFT); PAGE_SHIFT 253 fs/ecryptfs/read_write.c offset = ((((loff_t)page_index) << PAGE_SHIFT) + offset_in_page); PAGE_SHIFT 198 fs/efivarfs/super.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 35 fs/erofs/decompressor.c PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; PAGE_SHIFT 148 fs/erofs/decompressor.c rq->outputsize) >> PAGE_SHIFT; PAGE_SHIFT 223 fs/erofs/decompressor.c PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; PAGE_SHIFT 294 fs/erofs/decompressor.c PAGE_ALIGN(rq->pageofs_out + rq->outputsize) >> PAGE_SHIFT; PAGE_SHIFT 188 fs/erofs/internal.h #define LOG_BLOCK_SIZE PAGE_SHIFT PAGE_SHIFT 191 fs/erofs/internal.h #define LOG_SECTORS_PER_BLOCK (PAGE_SHIFT - 9) PAGE_SHIFT 350 fs/erofs/zdata.c grp = erofs_find_workgroup(inode->i_sb, map->m_pa >> PAGE_SHIFT, &tag); PAGE_SHIFT 414 fs/erofs/zdata.c pcl->obj.index = map->m_pa >> PAGE_SHIFT; PAGE_SHIFT 426 fs/erofs/zdata.c pcl->clusterbits -= PAGE_SHIFT; PAGE_SHIFT 672 fs/erofs/zdata.c index = page->index - (map->m_la >> PAGE_SHIFT); PAGE_SHIFT 887 fs/erofs/zdata.c if (nr_pages << PAGE_SHIFT >= cl->pageofs + llen) { PAGE_SHIFT 891 fs/erofs/zdata.c outputsize = (nr_pages << PAGE_SHIFT) - cl->pageofs; PAGE_SHIFT 1342 fs/erofs/zdata.c f.headoffset = (erofs_off_t)page->index << PAGE_SHIFT; PAGE_SHIFT 1384 fs/erofs/zdata.c f.headoffset = (erofs_off_t)lru_to_page(pages)->index << PAGE_SHIFT; PAGE_SHIFT 2368 fs/eventpoll.c max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / PAGE_SHIFT 713 fs/exec.c stack_base += (STACK_RND_MASK << PAGE_SHIFT); PAGE_SHIFT 816 fs/exec.c stop = bprm->p >> PAGE_SHIFT; PAGE_SHIFT 84 fs/ext2/dir.c last_byte -= page_nr << PAGE_SHIFT; PAGE_SHIFT 127 fs/ext2/dir.c if ((dir->i_size >> PAGE_SHIFT) == page->index) { PAGE_SHIFT 181 fs/ext2/dir.c dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs, PAGE_SHIFT 191 fs/ext2/dir.c dir->i_ino, (page->index<<PAGE_SHIFT)+offs, PAGE_SHIFT 270 fs/ext2/dir.c unsigned long n = pos >> PAGE_SHIFT; PAGE_SHIFT 298 fs/ext2/dir.c ctx->pos = (n<<PAGE_SHIFT) + offset; PAGE_SHIFT 388 fs/ext2/dir.c if (unlikely(n > (dir->i_blocks >> (PAGE_SHIFT - 9)))) { PAGE_SHIFT 179 fs/ext4/dir.c (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 185 fs/ext4/dir.c file->f_ra.prev_pos = (loff_t)index << PAGE_SHIFT; PAGE_SHIFT 1195 fs/ext4/inode.c block = (sector_t)page->index << (PAGE_SHIFT - bbits); PAGE_SHIFT 1287 fs/ext4/inode.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 1706 fs/ext4/inode.c start = index << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 1707 fs/ext4/inode.c last = end << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 2141 fs/ext4/inode.c if (page->index == size >> PAGE_SHIFT && PAGE_SHIFT 2226 fs/ext4/inode.c if (page->index == size >> PAGE_SHIFT && PAGE_SHIFT 2372 fs/ext4/inode.c int bpp_bits = PAGE_SHIFT - inode->i_blkbits; PAGE_SHIFT 2575 fs/ext4/inode.c disksize = ((loff_t)mpd->first_page) << PAGE_SHIFT; PAGE_SHIFT 2701 fs/ext4/inode.c (PAGE_SHIFT - blkbits); PAGE_SHIFT 2806 fs/ext4/inode.c mpd.first_page = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 2807 fs/ext4/inode.c mpd.last_page = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 3043 fs/ext4/inode.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 4004 fs/ext4/inode.c ext4_fsblk_t index = from >> PAGE_SHIFT; PAGE_SHIFT 4013 fs/ext4/inode.c page = find_or_create_page(mapping, from >> PAGE_SHIFT, PAGE_SHIFT 4020 fs/ext4/inode.c iblock = index << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits); PAGE_SHIFT 5498 fs/ext4/inode.c inode->i_size >> PAGE_SHIFT); PAGE_SHIFT 6285 fs/ext4/inode.c if (page->index == size >> PAGE_SHIFT) PAGE_SHIFT 185 fs/ext4/move_extent.c block = (sector_t)page->index << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 394 fs/ext4/move_extent.c (loff_t)orig_page_offset << PAGE_SHIFT, replaced_size); PAGE_SHIFT 657 fs/ext4/move_extent.c orig_page_index = o_start >> (PAGE_SHIFT - PAGE_SHIFT 659 fs/ext4/move_extent.c donor_page_index = d_start >> (PAGE_SHIFT - PAGE_SHIFT 268 fs/ext4/readpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); PAGE_SHIFT 50 fs/ext4/verity.c page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, PAGE_SHIFT 348 fs/ext4/verity.c index += ext4_verity_metadata_pos(inode) >> PAGE_SHIFT; PAGE_SHIFT 1023 fs/f2fs/data.c ((loff_t)(index + 1) << PAGE_SHIFT)) PAGE_SHIFT 1024 fs/f2fs/data.c f2fs_i_size_write(inode, ((loff_t)(index + 1) << PAGE_SHIFT)); PAGE_SHIFT 2087 fs/f2fs/data.c >> PAGE_SHIFT; PAGE_SHIFT 2088 fs/f2fs/data.c loff_t psize = (loff_t)(page->index + 1) << PAGE_SHIFT; PAGE_SHIFT 2283 fs/f2fs/data.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 2284 fs/f2fs/data.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 2608 fs/f2fs/data.c pgoff_t index = ((unsigned long long) pos) >> PAGE_SHIFT; PAGE_SHIFT 3091 fs/f2fs/data.c first_block >>= (PAGE_SHIFT - blkbits); PAGE_SHIFT 271 fs/f2fs/debug.c si->page_mem += (unsigned long long)npages << PAGE_SHIFT; PAGE_SHIFT 275 fs/f2fs/debug.c si->page_mem += (unsigned long long)npages << PAGE_SHIFT; PAGE_SHIFT 21 fs/f2fs/dir.c >> PAGE_SHIFT; PAGE_SHIFT 108 fs/f2fs/file.c if (((loff_t)(page->index + 1) << PAGE_SHIFT) > PAGE_SHIFT 402 fs/f2fs/file.c pgofs = (pgoff_t)(offset >> PAGE_SHIFT); PAGE_SHIFT 406 fs/f2fs/file.c for (; data_ofs < isize; data_ofs = (loff_t)pgofs << PAGE_SHIFT) { PAGE_SHIFT 426 fs/f2fs/file.c data_ofs = (loff_t)pgofs << PAGE_SHIFT) { PAGE_SHIFT 576 fs/f2fs/file.c pgoff_t index = from >> PAGE_SHIFT; PAGE_SHIFT 954 fs/f2fs/file.c pg_start = ((unsigned long long) offset) >> PAGE_SHIFT; PAGE_SHIFT 955 fs/f2fs/file.c pg_end = ((unsigned long long) offset + len) >> PAGE_SHIFT; PAGE_SHIFT 985 fs/f2fs/file.c blk_start = (loff_t)pg_start << PAGE_SHIFT; PAGE_SHIFT 986 fs/f2fs/file.c blk_end = (loff_t)pg_end << PAGE_SHIFT; PAGE_SHIFT 1137 fs/f2fs/file.c new_size = (loff_t)(dst + i) << PAGE_SHIFT; PAGE_SHIFT 1227 fs/f2fs/file.c pgoff_t start = offset >> PAGE_SHIFT; PAGE_SHIFT 1228 fs/f2fs/file.c pgoff_t end = (offset + len) >> PAGE_SHIFT; PAGE_SHIFT 1354 fs/f2fs/file.c pg_start = ((unsigned long long) offset) >> PAGE_SHIFT; PAGE_SHIFT 1355 fs/f2fs/file.c pg_end = ((unsigned long long) offset + len) >> PAGE_SHIFT; PAGE_SHIFT 1375 fs/f2fs/file.c (loff_t)pg_start << PAGE_SHIFT); PAGE_SHIFT 1387 fs/f2fs/file.c (loff_t)index << PAGE_SHIFT, PAGE_SHIFT 1388 fs/f2fs/file.c ((loff_t)pg_end << PAGE_SHIFT) - 1); PAGE_SHIFT 1418 fs/f2fs/file.c (loff_t)index << PAGE_SHIFT); PAGE_SHIFT 1476 fs/f2fs/file.c pg_start = offset >> PAGE_SHIFT; PAGE_SHIFT 1477 fs/f2fs/file.c pg_end = (offset + len) >> PAGE_SHIFT; PAGE_SHIFT 1535 fs/f2fs/file.c pg_end = ((unsigned long long)offset + len) >> PAGE_SHIFT; PAGE_SHIFT 1538 fs/f2fs/file.c map.m_lblk = ((unsigned long long)offset) >> PAGE_SHIFT; PAGE_SHIFT 1559 fs/f2fs/file.c (loff_t)(last_off + 1) << PAGE_SHIFT; PAGE_SHIFT 1561 fs/f2fs/file.c new_size = ((loff_t)pg_end << PAGE_SHIFT) + off_end; PAGE_SHIFT 2394 fs/f2fs/file.c pg_start = range->start >> PAGE_SHIFT; PAGE_SHIFT 2395 fs/f2fs/file.c pg_end = (range->start + range->len) >> PAGE_SHIFT; PAGE_SHIFT 2518 fs/f2fs/file.c range->len = (u64)total << PAGE_SHIFT; PAGE_SHIFT 2546 fs/f2fs/file.c if (unlikely((range.start + range.len) >> PAGE_SHIFT > PAGE_SHIFT 62 fs/f2fs/node.c sizeof(struct free_nid)) >> PAGE_SHIFT; PAGE_SHIFT 66 fs/f2fs/node.c PAGE_SHIFT; PAGE_SHIFT 81 fs/f2fs/node.c mem_size >>= PAGE_SHIFT; PAGE_SHIFT 87 fs/f2fs/node.c sizeof(struct extent_node)) >> PAGE_SHIFT; PAGE_SHIFT 589 fs/f2fs/recovery.c (i_size_read(inode) <= ((loff_t)start << PAGE_SHIFT))) PAGE_SHIFT 591 fs/f2fs/recovery.c (loff_t)(start + 1) << PAGE_SHIFT); PAGE_SHIFT 782 fs/f2fs/recovery.c (loff_t)MAIN_BLKADDR(sbi) << PAGE_SHIFT, -1); PAGE_SHIFT 50 fs/f2fs/verity.c page = read_mapping_page(inode->i_mapping, pos >> PAGE_SHIFT, PAGE_SHIFT 228 fs/f2fs/verity.c index += f2fs_verity_metadata_pos(inode) >> PAGE_SHIFT; PAGE_SHIFT 69 fs/freevxfs/vxfs_immed.c u_int64_t offset = (u_int64_t)pp->index << PAGE_SHIFT; PAGE_SHIFT 96 fs/freevxfs/vxfs_lookup.c pp = vxfs_get_page(ip->i_mapping, pos >> PAGE_SHIFT); PAGE_SHIFT 246 fs/freevxfs/vxfs_lookup.c pp = vxfs_get_page(ip->i_mapping, pos >> PAGE_SHIFT); PAGE_SHIFT 37 fs/fs-writeback.c #define MIN_WRITEBACK_PAGES (4096UL >> (PAGE_SHIFT - 10)) PAGE_SHIFT 661 fs/fs-writeback.c max_time = DIV_ROUND_UP((max_bytes >> PAGE_SHIFT) << WB_FRN_TIME_SHIFT, PAGE_SHIFT 1573 fs/fuse/dev.c index = outarg.offset >> PAGE_SHIFT; PAGE_SHIFT 1660 fs/fuse/dev.c num_pages = (num + offset + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1680 fs/fuse/dev.c index = outarg->offset >> PAGE_SHIFT; PAGE_SHIFT 375 fs/fuse/file.c curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; PAGE_SHIFT 768 fs/fuse/file.c int start_idx = num_read >> PAGE_SHIFT; PAGE_SHIFT 888 fs/fuse/file.c size_t count = ap->num_pages << PAGE_SHIFT; PAGE_SHIFT 1155 fs/fuse/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 1208 fs/fuse/file.c ((pos + len - 1) >> PAGE_SHIFT) - PAGE_SHIFT 1209 fs/fuse/file.c (pos >> PAGE_SHIFT) + 1, PAGE_SHIFT 1325 fs/fuse/file.c pos >> PAGE_SHIFT, PAGE_SHIFT 1326 fs/fuse/file.c endbyte >> PAGE_SHIFT); PAGE_SHIFT 1433 fs/fuse/file.c pgoff_t idx_from = pos >> PAGE_SHIFT; PAGE_SHIFT 1434 fs/fuse/file.c pgoff_t idx_to = (pos + count - 1) >> PAGE_SHIFT; PAGE_SHIFT 1983 fs/fuse/file.c curr_index = tmp->ia.write.in.offset >> PAGE_SHIFT; PAGE_SHIFT 2171 fs/fuse/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 2618 fs/fuse/file.c u32 max = fc->max_pages << PAGE_SHIFT; PAGE_SHIFT 3058 fs/fuse/file.c return round_up(off, fc->max_pages << PAGE_SHIFT); PAGE_SHIFT 335 fs/fuse/inode.c pg_start = offset >> PAGE_SHIFT; PAGE_SHIFT 339 fs/fuse/inode.c pg_end = (offset + len - 1) >> PAGE_SHIFT; PAGE_SHIFT 832 fs/fuse/inode.c *limit = ((totalram_pages() << PAGE_SHIFT) >> 13) / 392; PAGE_SHIFT 1141 fs/fuse/inode.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 56 fs/fuse/readdir.c index = size >> PAGE_SHIFT; PAGE_SHIFT 84 fs/fuse/readdir.c fi->rdc.size = (index << PAGE_SHIFT) + offset + reclen; PAGE_SHIFT 502 fs/fuse/readdir.c index = ff->readdir.cache_off >> PAGE_SHIFT; PAGE_SHIFT 504 fs/fuse/readdir.c if (index == (fi->rdc.size >> PAGE_SHIFT)) PAGE_SHIFT 95 fs/gfs2/aops.c pgoff_t end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 126 fs/gfs2/aops.c const pgoff_t end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 358 fs/gfs2/aops.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 359 fs/gfs2/aops.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 555 fs/gfs2/aops.c unsigned long index = *pos >> PAGE_SHIFT; PAGE_SHIFT 514 fs/gfs2/file.c last_index = (size - 1) >> PAGE_SHIFT; PAGE_SHIFT 891 fs/gfs2/file.c (iocb->ki_pos - buffered) >> PAGE_SHIFT, PAGE_SHIFT 892 fs/gfs2/file.c (iocb->ki_pos - 1) >> PAGE_SHIFT); PAGE_SHIFT 506 fs/gfs2/lops.c unsigned int shift = PAGE_SHIFT - bsize_shift; PAGE_SHIFT 123 fs/gfs2/meta_io.c shift = PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift; PAGE_SHIFT 701 fs/gfs2/quota.c blk = index << (PAGE_SHIFT - sdp->sd_sb.sb_bsize_shift); PAGE_SHIFT 776 fs/gfs2/quota.c pg_beg = loc >> PAGE_SHIFT; PAGE_SHIFT 278 fs/hfs/bnode.c block = off >> PAGE_SHIFT; PAGE_SHIFT 120 fs/hfs/btree.c tree->pages_per_bnode = (tree->node_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 270 fs/hfs/btree.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 315 fs/hfs/btree.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 362 fs/hfs/btree.c page = node->page[off >> PAGE_SHIFT]; PAGE_SHIFT 97 fs/hfs/inode.c nidx = page->index >> (tree->node_size_shift - PAGE_SHIFT); PAGE_SHIFT 110 fs/hfs/inode.c nidx = page->index << (PAGE_SHIFT - tree->node_size_shift); PAGE_SHIFT 111 fs/hfs/inode.c i = 1 << (PAGE_SHIFT - tree->node_size_shift); PAGE_SHIFT 28 fs/hfsplus/bnode.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 81 fs/hfsplus/bnode.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 111 fs/hfsplus/bnode.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 138 fs/hfsplus/bnode.c src_page = src_node->page + (src >> PAGE_SHIFT); PAGE_SHIFT 140 fs/hfsplus/bnode.c dst_page = dst_node->page + (dst >> PAGE_SHIFT); PAGE_SHIFT 197 fs/hfsplus/bnode.c src_page = node->page + (src >> PAGE_SHIFT); PAGE_SHIFT 200 fs/hfsplus/bnode.c dst_page = node->page + (dst >> PAGE_SHIFT); PAGE_SHIFT 247 fs/hfsplus/bnode.c src_page = node->page + (src >> PAGE_SHIFT); PAGE_SHIFT 249 fs/hfsplus/bnode.c dst_page = node->page + (dst >> PAGE_SHIFT); PAGE_SHIFT 444 fs/hfsplus/bnode.c block = off >> PAGE_SHIFT; PAGE_SHIFT 241 fs/hfsplus/btree.c PAGE_SHIFT; PAGE_SHIFT 396 fs/hfsplus/btree.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 442 fs/hfsplus/btree.c pagep = node->page + (off >> PAGE_SHIFT); PAGE_SHIFT 492 fs/hfsplus/btree.c page = node->page[off >> PAGE_SHIFT]; PAGE_SHIFT 93 fs/hfsplus/inode.c (tree->node_size_shift - PAGE_SHIFT); PAGE_SHIFT 107 fs/hfsplus/inode.c (PAGE_SHIFT - tree->node_size_shift); PAGE_SHIFT 108 fs/hfsplus/inode.c i = 1 << (PAGE_SHIFT - tree->node_size_shift); PAGE_SHIFT 445 fs/hfsplus/super.c PAGE_SHIFT; PAGE_SHIFT 408 fs/hostfs/hostfs_kern.c int end_index = inode->i_size >> PAGE_SHIFT; PAGE_SHIFT 468 fs/hostfs/hostfs_kern.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 133 fs/hugetlbfs/inode.c (((1UL << (PAGE_SHIFT + 1)) - 1) << (BITS_PER_LONG - (PAGE_SHIFT + 1))) PAGE_SHIFT 165 fs/hugetlbfs/inode.c if (vma->vm_pgoff & (~huge_page_mask(h) >> PAGE_SHIFT)) PAGE_SHIFT 169 fs/hugetlbfs/inode.c len = vma_len + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 244 fs/hugetlbfs/inode.c i = offset >> PAGE_SHIFT; PAGE_SHIFT 375 fs/hugetlbfs/inode.c v_offset = (start - vma->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 382 fs/hugetlbfs/inode.c v_end = ((end - vma->vm_pgoff) << PAGE_SHIFT) PAGE_SHIFT 521 fs/hugetlbfs/inode.c pgoff = offset >> PAGE_SHIFT; PAGE_SHIFT 560 fs/hugetlbfs/inode.c hole_start >> PAGE_SHIFT, PAGE_SHIFT 561 fs/hugetlbfs/inode.c hole_end >> PAGE_SHIFT); PAGE_SHIFT 1443 fs/hugetlbfs/inode.c 1U << (h->order + PAGE_SHIFT - 10)); PAGE_SHIFT 1227 fs/io_uring.c seg_skip = 1 + (offset >> PAGE_SHIFT); PAGE_SHIFT 1314 fs/io_uring.c max_bytes = filp->f_ra.ra_pages << (PAGE_SHIFT + 3); PAGE_SHIFT 1316 fs/io_uring.c max_bytes = VM_READAHEAD_PAGES << (PAGE_SHIFT + 3); PAGE_SHIFT 3322 fs/io_uring.c page_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 3489 fs/io_uring.c end = (ubuf + iov.iov_len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 3490 fs/io_uring.c start = ubuf >> PAGE_SHIFT; PAGE_SHIFT 3702 fs/io_uring.c loff_t offset = (loff_t) vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 3725 fs/io_uring.c pfn = virt_to_phys(ptr) >> PAGE_SHIFT; PAGE_SHIFT 261 fs/iomap/buffered-io.c int nr_vecs = (length + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 587 fs/iomap/buffered-io.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 844 fs/iomap/buffered-io.c page = read_mapping_page(mapping, offset >> PAGE_SHIFT, NULL); PAGE_SHIFT 1051 fs/iomap/buffered-io.c if (((page->index + 1) << PAGE_SHIFT) > size) PAGE_SHIFT 109 fs/iomap/direct-io.c offset >> PAGE_SHIFT, PAGE_SHIFT 110 fs/iomap/direct-io.c (offset + dio->size - 1) >> PAGE_SHIFT); PAGE_SHIFT 474 fs/iomap/direct-io.c start >> PAGE_SHIFT, end >> PAGE_SHIFT); PAGE_SHIFT 77 fs/iomap/seek.c pgoff_t index = offset >> PAGE_SHIFT; PAGE_SHIFT 42 fs/iomap/swapfile.c first_ppage = ALIGN(iomap->addr, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 44 fs/iomap/swapfile.c PAGE_SHIFT; PAGE_SHIFT 74 fs/isofs/compress.c return ((loff_t)pcount) << PAGE_SHIFT; PAGE_SHIFT 231 fs/isofs/compress.c WARN_ON(start_off - (full_page << PAGE_SHIFT) != PAGE_SHIFT 265 fs/isofs/compress.c pages += poffset >> PAGE_SHIFT; PAGE_SHIFT 266 fs/isofs/compress.c pcount -= poffset >> PAGE_SHIFT; PAGE_SHIFT 267 fs/isofs/compress.c full_page -= poffset >> PAGE_SHIFT; PAGE_SHIFT 307 fs/isofs/compress.c PAGE_SHIFT <= zisofs_block_shift ? PAGE_SHIFT 308 fs/isofs/compress.c (1 << (zisofs_block_shift - PAGE_SHIFT)) : 0; PAGE_SHIFT 312 fs/isofs/compress.c end_index = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 323 fs/isofs/compress.c if (PAGE_SHIFT <= zisofs_block_shift) { PAGE_SHIFT 2238 fs/jbd2/journal.c return 1 << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits); PAGE_SHIFT 87 fs/jffs2/file.c __func__, inode->i_ino, pg->index << PAGE_SHIFT); PAGE_SHIFT 94 fs/jffs2/file.c ret = jffs2_read_inode_range(c, f, pg_buf, pg->index << PAGE_SHIFT, PAGE_SHIFT 138 fs/jffs2/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 139 fs/jffs2/file.c uint32_t pageofs = index << PAGE_SHIFT; PAGE_SHIFT 253 fs/jffs2/file.c __func__, inode->i_ino, pg->index << PAGE_SHIFT, PAGE_SHIFT 293 fs/jffs2/file.c (pg->index << PAGE_SHIFT) + aligned_start, PAGE_SHIFT 215 fs/jffs2/fs.c buf->f_bsize = 1 << PAGE_SHIFT; PAGE_SHIFT 216 fs/jffs2/fs.c buf->f_blocks = c->flash_size >> PAGE_SHIFT; PAGE_SHIFT 231 fs/jffs2/fs.c buf->f_bavail = buf->f_bfree = avail >> PAGE_SHIFT; PAGE_SHIFT 592 fs/jffs2/fs.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 555 fs/jffs2/gc.c if((start >> PAGE_SHIFT) < ((end-1) >> PAGE_SHIFT)) { PAGE_SHIFT 1329 fs/jffs2/gc.c page = read_cache_page(inode->i_mapping, start >> PAGE_SHIFT, PAGE_SHIFT 240 fs/jffs2/nodelist.c if (lastend && (lastend-1) >> PAGE_SHIFT == newfrag->ofs >> PAGE_SHIFT) { PAGE_SHIFT 356 fs/jfs/jfs_metapage.c (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 485 fs/jfs/jfs_metapage.c (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 591 fs/jfs/jfs_metapage.c l2BlocksPerPage = PAGE_SHIFT - l2bsize; PAGE_SHIFT 767 fs/jfs/jfs_metapage.c int l2BlocksPerPage = PAGE_SHIFT - ip->i_blkbits; PAGE_SHIFT 223 fs/kernfs/mount.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 32 fs/libfs.c stat->blocks = inode->i_mapping->nrpages << (PAGE_SHIFT - 9); PAGE_SHIFT 253 fs/libfs.c s->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 457 fs/libfs.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 541 fs/libfs.c s->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 1063 fs/libfs.c last_fs_block >> (PAGE_SHIFT - blocksize_bits); PAGE_SHIFT 1068 fs/libfs.c if ((blocksize_bits < 9) || (blocksize_bits > PAGE_SHIFT)) PAGE_SHIFT 1283 fs/libfs.c inode->i_blkbits = PAGE_SHIFT; PAGE_SHIFT 44 fs/minix/dir.c if (page_nr == (inode->i_size >> PAGE_SHIFT)) PAGE_SHIFT 97 fs/minix/dir.c n = pos >> PAGE_SHIFT; PAGE_SHIFT 115 fs/mpage.c if (inode->i_blkbits == PAGE_SHIFT && PAGE_SHIFT 189 fs/mpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); PAGE_SHIFT 575 fs/mpage.c block_in_file = (sector_t)page->index << (PAGE_SHIFT - blkbits); PAGE_SHIFT 606 fs/mpage.c end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 265 fs/nfs/blocklayout/blocklayout.c int pg_index = header->args.pgbase >> PAGE_SHIFT; PAGE_SHIFT 409 fs/nfs/blocklayout/blocklayout.c int pg_index = header->args.pgbase >> PAGE_SHIFT; PAGE_SHIFT 904 fs/nfs/blocklayout/blocklayout.c return i_size_read(inode) - (idx << PAGE_SHIFT); PAGE_SHIFT 906 fs/nfs/blocklayout/blocklayout.c return (end - idx) << PAGE_SHIFT; PAGE_SHIFT 44 fs/nfs/blocklayout/blocklayout.h #define PAGE_CACHE_SECTOR_SHIFT (PAGE_SHIFT - SECTOR_SHIFT) PAGE_SHIFT 755 fs/nfs/client.c server->rpages = (server->rsize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 761 fs/nfs/client.c server->wpages = (server->wsize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 487 fs/nfs/direct.c req->wb_index = pos >> PAGE_SHIFT; PAGE_SHIFT 901 fs/nfs/direct.c req->wb_index = pos >> PAGE_SHIFT; PAGE_SHIFT 977 fs/nfs/direct.c end = (pos + iov_iter_count(iter) - 1) >> PAGE_SHIFT; PAGE_SHIFT 1006 fs/nfs/direct.c pos >> PAGE_SHIFT, end); PAGE_SHIFT 326 fs/nfs/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 679 fs/nfs/internal.h pgoff_t end_index = (i_size - 1) >> PAGE_SHIFT; PAGE_SHIFT 705 fs/nfs/internal.h PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 198 fs/nfs/nfs3acl.c unsigned int npages = 1 + ((args.len - 1) >> PAGE_SHIFT); PAGE_SHIFT 1334 fs/nfs/nfs3xdr.c NFSACL_MAXPAGES << PAGE_SHIFT, PAGE_SHIFT 5014 fs/nfs/nfs4xdr.c maxsize >>= PAGE_SHIFT; PAGE_SHIFT 508 fs/nfs/pagelist.c if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * PAGE_SHIFT 1028 fs/nfs/pnfs.c size_t npages = (max_reply_sz + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 452 fs/nfs/read.c PAGE_SHIFT; PAGE_SHIFT 230 fs/nfs/write.c end_index = (i_size - 1) >> PAGE_SHIFT; PAGE_SHIFT 346 fs/nfs/write.c #define NFS_CONGESTION_ON_THRESH (nfs_congestion_kb >> (PAGE_SHIFT-10)) PAGE_SHIFT 2169 fs/nfs/write.c nfs_congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); PAGE_SHIFT 7614 fs/nfsd/nfs4state.c max_delegations = nr_free_buffer_pages() >> (20 - 2 - PAGE_SHIFT); PAGE_SHIFT 1301 fs/nfsd/nfs4xdr.c pages = len >> PAGE_SHIFT; PAGE_SHIFT 72 fs/nfsd/nfscache.c limit = (16 * int_sqrt(low_pages)) << (PAGE_SHIFT-10); PAGE_SHIFT 571 fs/nfsd/nfssvc.c target = (i.totalram - i.totalhigh) << PAGE_SHIFT; PAGE_SHIFT 448 fs/nilfs2/bmap.c key = page_index(bh->b_page) << (PAGE_SHIFT - PAGE_SHIFT 170 fs/nilfs2/btnode.c if (inode->i_blkbits == PAGE_SHIFT) { PAGE_SHIFT 81 fs/nilfs2/dir.c last_byte -= page_nr << PAGE_SHIFT; PAGE_SHIFT 127 fs/nilfs2/dir.c if ((dir->i_size >> PAGE_SHIFT) == page->index) { PAGE_SHIFT 174 fs/nilfs2/dir.c dir->i_ino, error, (page->index << PAGE_SHIFT) + offs, PAGE_SHIFT 182 fs/nilfs2/dir.c dir->i_ino, (page->index << PAGE_SHIFT) + offs, PAGE_SHIFT 269 fs/nilfs2/dir.c unsigned long n = pos >> PAGE_SHIFT; PAGE_SHIFT 371 fs/nilfs2/dir.c if (unlikely(n > (dir->i_blocks >> (PAGE_SHIFT - 9)))) { PAGE_SHIFT 104 fs/nilfs2/file.c nilfs_set_file_dirty(inode, 1 << (PAGE_SHIFT - inode->i_blkbits)); PAGE_SHIFT 239 fs/nilfs2/inode.c unsigned int nr_dirty = 1 << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 359 fs/nilfs2/mdt.c (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 372 fs/nilfs2/mdt.c (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 39 fs/nilfs2/page.c first_block = (unsigned long)index << (PAGE_SHIFT - blkbits); PAGE_SHIFT 53 fs/nilfs2/page.c pgoff_t index = blkoff >> (PAGE_SHIFT - blkbits); PAGE_SHIFT 506 fs/nilfs2/page.c index = start_blk >> (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 507 fs/nilfs2/page.c nblocks_in_page = 1U << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 520 fs/nilfs2/page.c b = pvec.pages[0]->index << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 699 fs/nilfs2/segment.c index = start >> PAGE_SHIFT; PAGE_SHIFT 700 fs/nilfs2/segment.c last = end >> PAGE_SHIFT; PAGE_SHIFT 2075 fs/nilfs2/segment.c nilfs->ns_blocksize_bits != PAGE_SHIFT) { PAGE_SHIFT 64 fs/ntfs/aops.c file_ofs = ((s64)page->index << PAGE_SHIFT) + PAGE_SHIFT 215 fs/ntfs/aops.c iblock = (s64)page->index << (PAGE_SHIFT - blocksize_bits); PAGE_SHIFT 399 fs/ntfs/aops.c PAGE_SHIFT)) { PAGE_SHIFT 585 fs/ntfs/aops.c block = (s64)page->index << (PAGE_SHIFT - blocksize_bits); PAGE_SHIFT 956 fs/ntfs/aops.c (PAGE_SHIFT - bh_size_bits); PAGE_SHIFT 1122 fs/ntfs/aops.c mft_no = (((s64)page->index << PAGE_SHIFT) + ofs) PAGE_SHIFT 1238 fs/ntfs/aops.c mft_no = (((s64)page->index << PAGE_SHIFT) + ofs) PAGE_SHIFT 1297 fs/ntfs/aops.c (PAGE_SHIFT - rec_size_bits)); PAGE_SHIFT 1355 fs/ntfs/aops.c PAGE_SHIFT)) { PAGE_SHIFT 1403 fs/ntfs/aops.c if (page->index >= (i_size >> PAGE_SHIFT)) { PAGE_SHIFT 2502 fs/ntfs/attrib.c idx = ofs >> PAGE_SHIFT; PAGE_SHIFT 2512 fs/ntfs/attrib.c end >>= PAGE_SHIFT; PAGE_SHIFT 56 fs/ntfs/bitmap.c index = start_bit >> (3 + PAGE_SHIFT); PAGE_SHIFT 57 fs/ntfs/bitmap.c end_index = (start_bit + cnt - 1) >> (3 + PAGE_SHIFT); PAGE_SHIFT 93 fs/ntfs/compress.c if (((s64)page->index << PAGE_SHIFT) >= initialized_size) { PAGE_SHIFT 108 fs/ntfs/compress.c if ((page->index >= (initialized_size >> PAGE_SHIFT)) && PAGE_SHIFT 481 fs/ntfs/compress.c VCN start_vcn = (((s64)index << PAGE_SHIFT) & ~cb_size_mask) >> PAGE_SHIFT 487 fs/ntfs/compress.c VCN end_vcn = ((((s64)(index + 1UL) << PAGE_SHIFT) + cb_size - 1) PAGE_SHIFT 498 fs/ntfs/compress.c vol->cluster_size_bits >> PAGE_SHIFT; PAGE_SHIFT 535 fs/ntfs/compress.c offset = start_vcn << vol->cluster_size_bits >> PAGE_SHIFT; PAGE_SHIFT 546 fs/ntfs/compress.c max_page = ((i_size + PAGE_SIZE - 1) >> PAGE_SHIFT) - PAGE_SHIFT 722 fs/ntfs/compress.c cb_max_page = (cur_page << PAGE_SHIFT) + cur_ofs + cb_size; PAGE_SHIFT 724 fs/ntfs/compress.c cb_max_page >>= PAGE_SHIFT; PAGE_SHIFT 308 fs/ntfs/dir.c dir_ni->itype.index.vcn_size_bits >> PAGE_SHIFT); PAGE_SHIFT 548 fs/ntfs/dir.c PAGE_SHIFT == vcn << PAGE_SHIFT 550 fs/ntfs/dir.c PAGE_SHIFT) PAGE_SHIFT 786 fs/ntfs/dir.c dir_ni->itype.index.vcn_size_bits >> PAGE_SHIFT); PAGE_SHIFT 957 fs/ntfs/dir.c PAGE_SHIFT == vcn << PAGE_SHIFT 959 fs/ntfs/dir.c PAGE_SHIFT) PAGE_SHIFT 1239 fs/ntfs/dir.c (unsigned long long)bmp_pos >> (3 + PAGE_SHIFT), PAGE_SHIFT 1243 fs/ntfs/dir.c bmp_pos >> (3 + PAGE_SHIFT)); PAGE_SHIFT 1285 fs/ntfs/dir.c ia_page = ntfs_map_page(ia_mapping, ia_pos >> PAGE_SHIFT); PAGE_SHIFT 209 fs/ntfs/file.c index = old_init_size >> PAGE_SHIFT; PAGE_SHIFT 210 fs/ntfs/file.c end_index = (new_init_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 231 fs/ntfs/file.c ni->initialized_size = (s64)(index + 1) << PAGE_SHIFT; PAGE_SHIFT 642 fs/ntfs/file.c bh_pos = (s64)page->index << PAGE_SHIFT; PAGE_SHIFT 1196 fs/ntfs/file.c bh_pos = ((s64)page->index << PAGE_SHIFT) + PAGE_SHIFT 1338 fs/ntfs/file.c ((s64)page->index << PAGE_SHIFT) + PAGE_SHIFT 1410 fs/ntfs/file.c bh_pos = (s64)page->index << PAGE_SHIFT; PAGE_SHIFT 1776 fs/ntfs/file.c nr_pages = vol->cluster_size >> PAGE_SHIFT; PAGE_SHIFT 1784 fs/ntfs/file.c start_idx = idx = pos >> PAGE_SHIFT; PAGE_SHIFT 1820 fs/ntfs/file.c >> PAGE_SHIFT; PAGE_SHIFT 1864 fs/ntfs/file.c u = (pos >> PAGE_SHIFT) - pages[0]->index; PAGE_SHIFT 265 fs/ntfs/index.c idx_ni->itype.index.vcn_size_bits >> PAGE_SHIFT); PAGE_SHIFT 416 fs/ntfs/index.c PAGE_SHIFT == vcn << PAGE_SHIFT 418 fs/ntfs/index.c PAGE_SHIFT) PAGE_SHIFT 272 fs/ntfs/lcnalloc.c PAGE_SHIFT); PAGE_SHIFT 384 fs/ntfs/logfile.c idx = (pos + size) >> PAGE_SHIFT; PAGE_SHIFT 529 fs/ntfs/logfile.c pgoff_t idx = pos >> PAGE_SHIFT; PAGE_SHIFT 36 fs/ntfs/malloc.h if (likely((size >> PAGE_SHIFT) < totalram_pages())) PAGE_SHIFT 53 fs/ntfs/mft.c PAGE_SHIFT; PAGE_SHIFT 58 fs/ntfs/mft.c end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 481 fs/ntfs/mft.c (PAGE_SHIFT - vol->mft_record_size_bits)); PAGE_SHIFT 1188 fs/ntfs/mft.c ofs >> PAGE_SHIFT); PAGE_SHIFT 1326 fs/ntfs/mft.c ll >> PAGE_SHIFT); PAGE_SHIFT 2101 fs/ntfs/mft.c index = mft_no << vol->mft_record_size_bits >> PAGE_SHIFT; PAGE_SHIFT 2105 fs/ntfs/mft.c end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 2513 fs/ntfs/mft.c index = bit << vol->mft_record_size_bits >> PAGE_SHIFT; PAGE_SHIFT 1604 fs/ntfs/super.c max_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 1612 fs/ntfs/super.c memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT), PAGE_SHIFT 1673 fs/ntfs/super.c max_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 1681 fs/ntfs/super.c memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT), PAGE_SHIFT 2461 fs/ntfs/super.c PAGE_SHIFT; PAGE_SHIFT 2611 fs/ntfs/super.c PAGE_SHIFT; PAGE_SHIFT 2614 fs/ntfs/super.c PAGE_SHIFT; PAGE_SHIFT 2629 fs/ntfs/super.c + 7) >> 3) + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 6810 fs/ocfs2/alloc.c loff_t start_byte = ((loff_t)page->index << PAGE_SHIFT) + from; PAGE_SHIFT 6862 fs/ocfs2/alloc.c if ((end >> PAGE_SHIFT) == page->index) PAGE_SHIFT 6871 fs/ocfs2/alloc.c start = (page->index + 1) << PAGE_SHIFT; PAGE_SHIFT 6890 fs/ocfs2/alloc.c index = start >> PAGE_SHIFT; PAGE_SHIFT 6901 fs/ocfs2/alloc.c } while (index < (last_page_bytes >> PAGE_SHIFT)); PAGE_SHIFT 285 fs/ocfs2/aops.c loff_t start = (loff_t)page->index << PAGE_SHIFT; PAGE_SHIFT 388 fs/ocfs2/aops.c start = (loff_t)last->index << PAGE_SHIFT; PAGE_SHIFT 525 fs/ocfs2/aops.c if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) { PAGE_SHIFT 528 fs/ocfs2/aops.c cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); PAGE_SHIFT 870 fs/ocfs2/aops.c if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) PAGE_SHIFT 1048 fs/ocfs2/aops.c target_index = user_pos >> PAGE_SHIFT; PAGE_SHIFT 1067 fs/ocfs2/aops.c end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; PAGE_SHIFT 1074 fs/ocfs2/aops.c end_index = (user_pos + user_len - 1) >> PAGE_SHIFT; PAGE_SHIFT 2029 fs/ocfs2/aops.c ((loff_t)tmppage->index << PAGE_SHIFT) + PAGE_SHIFT 551 fs/ocfs2/dlmfs/dlmfs.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 756 fs/ocfs2/file.c unsigned long index = abs_from >> PAGE_SHIFT; PAGE_SHIFT 763 fs/ocfs2/file.c BUG_ON(abs_to > (((u64)index + 1) << PAGE_SHIFT)); PAGE_SHIFT 62 fs/ocfs2/mmap.c last_index = (size - 1) >> PAGE_SHIFT; PAGE_SHIFT 821 fs/ocfs2/ocfs2.h if (unlikely(PAGE_SHIFT > cbits)) PAGE_SHIFT 822 fs/ocfs2/ocfs2.h clusters = pg_index << (PAGE_SHIFT - cbits); PAGE_SHIFT 823 fs/ocfs2/ocfs2.h else if (PAGE_SHIFT < cbits) PAGE_SHIFT 824 fs/ocfs2/ocfs2.h clusters = pg_index >> (cbits - PAGE_SHIFT); PAGE_SHIFT 838 fs/ocfs2/ocfs2.h if (PAGE_SHIFT > cbits) { PAGE_SHIFT 839 fs/ocfs2/ocfs2.h index = (pgoff_t)clusters >> (PAGE_SHIFT - cbits); PAGE_SHIFT 840 fs/ocfs2/ocfs2.h } else if (PAGE_SHIFT < cbits) { PAGE_SHIFT 841 fs/ocfs2/ocfs2.h index = (pgoff_t)clusters << (cbits - PAGE_SHIFT); PAGE_SHIFT 852 fs/ocfs2/ocfs2.h if (PAGE_SHIFT < cbits) PAGE_SHIFT 853 fs/ocfs2/ocfs2.h pages_per_cluster = 1 << (cbits - PAGE_SHIFT); PAGE_SHIFT 2930 fs/ocfs2/refcounttree.c page_index = offset >> PAGE_SHIFT; PAGE_SHIFT 2931 fs/ocfs2/refcounttree.c map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; PAGE_SHIFT 3166 fs/ocfs2/refcounttree.c page_index = offset >> PAGE_SHIFT; PAGE_SHIFT 3167 fs/ocfs2/refcounttree.c map_end = ((loff_t)page_index + 1) << PAGE_SHIFT; PAGE_SHIFT 307 fs/orangefs/inode.c index = off >> PAGE_SHIFT; PAGE_SHIFT 398 fs/orangefs/inode.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 440 fs/orangefs/super.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 664 fs/pipe.c pipe_bufs = max_size >> PAGE_SHIFT; PAGE_SHIFT 1062 fs/pipe.c nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 134 fs/proc/kcore.c ent->size = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 147 fs/proc/kcore.c unsigned long pfn = __pa(ent->addr) >> PAGE_SHIFT; PAGE_SHIFT 148 fs/proc/kcore.c unsigned long nr_pages = ent->size >> PAGE_SHIFT; PAGE_SHIFT 203 fs/proc/kcore.c ent->size = nr_pages << PAGE_SHIFT; PAGE_SHIFT 491 fs/proc/kcore.c } else if (!pfn_is_ram(__pa(start) >> PAGE_SHIFT)) { PAGE_SHIFT 29 fs/proc/meminfo.c seq_put_decimal_ull_width(m, s, num << (PAGE_SHIFT - 10), 8); PAGE_SHIFT 125 fs/proc/meminfo.c atomic_long_read(&num_poisoned_pages) << (PAGE_SHIFT - 10)); PAGE_SHIFT 58 fs/proc/nommu.c ((loff_t)region->vm_pgoff) << PAGE_SHIFT, PAGE_SHIFT 29 fs/proc/task_mmu.c seq_put_decimal_ull_width(m, str, (val) << (PAGE_SHIFT-10), 8) PAGE_SHIFT 55 fs/proc/task_mmu.c text = min(text, mm->exec_vm << PAGE_SHIFT); PAGE_SHIFT 56 fs/proc/task_mmu.c lib = (mm->exec_vm << PAGE_SHIFT) - text; PAGE_SHIFT 94 fs/proc/task_mmu.c >> PAGE_SHIFT; PAGE_SHIFT 315 fs/proc/task_mmu.c pgoff = ((loff_t)vma->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 1390 fs/proc/task_mmu.c ((addr & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 1399 fs/proc/task_mmu.c ((addr & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 1483 fs/proc/task_mmu.c ((addr & ~hmask) >> PAGE_SHIFT); PAGE_SHIFT 1562 fs/proc/task_mmu.c pm.len = (PAGEMAP_WALK_SIZE >> PAGE_SHIFT); PAGE_SHIFT 1570 fs/proc/task_mmu.c start_vaddr = svpfn << PAGE_SHIFT; PAGE_SHIFT 1574 fs/proc/task_mmu.c if (svpfn > mm->task_size >> PAGE_SHIFT) PAGE_SHIFT 119 fs/proc/task_nommu.c >> PAGE_SHIFT; PAGE_SHIFT 121 fs/proc/task_nommu.c >> PAGE_SHIFT; PAGE_SHIFT 123 fs/proc/task_nommu.c size >>= PAGE_SHIFT; PAGE_SHIFT 161 fs/proc/task_nommu.c pgoff = (loff_t)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 426 fs/proc/vmcore.c offset = (loff_t) index << PAGE_SHIFT; PAGE_SHIFT 427 fs/proc/vmcore.c buf = __va((page_to_pfn(page) << PAGE_SHIFT)); PAGE_SHIFT 497 fs/proc/vmcore.c pos_end = pfn + (size >> PAGE_SHIFT); PAGE_SHIFT 508 fs/proc/vmcore.c map_size = (pos - pos_start) << PAGE_SHIFT; PAGE_SHIFT 526 fs/proc/vmcore.c map_size = (pos - pos_start) << PAGE_SHIFT; PAGE_SHIFT 557 fs/proc/vmcore.c start = (u64)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 576 fs/proc/vmcore.c pfn = __pa(elfcorebuf + start) >> PAGE_SHIFT; PAGE_SHIFT 647 fs/proc/vmcore.c paddr >> PAGE_SHIFT, tsz, PAGE_SHIFT 390 fs/pstore/inode.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 428 fs/pstore/ram_core.c pages[i] = pfn_to_page(addr >> PAGE_SHIFT); PAGE_SHIFT 472 fs/pstore/ram_core.c if (pfn_valid(start >> PAGE_SHIFT)) PAGE_SHIFT 540 fs/pstore/ram_core.c if (pfn_valid(prz->paddr >> PAGE_SHIFT)) { PAGE_SHIFT 39 fs/qnx6/dir.c last_byte -= page_nr << PAGE_SHIFT; PAGE_SHIFT 51 fs/qnx6/dir.c u32 n = s >> (PAGE_SHIFT - sb->s_blocksize_bits); /* in pages */ PAGE_SHIFT 119 fs/qnx6/dir.c unsigned long n = pos >> PAGE_SHIFT; PAGE_SHIFT 135 fs/qnx6/dir.c ctx->pos = (n + 1) << PAGE_SHIFT; PAGE_SHIFT 548 fs/qnx6/inode.c n = (ino - 1) >> (PAGE_SHIFT - QNX6_INODE_SIZE_BITS); PAGE_SHIFT 90 fs/ramfs/file-nommu.c npages = (newsize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 211 fs/ramfs/file-nommu.c lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 215 fs/ramfs/file-nommu.c maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 229 fs/ramfs/inode.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 1817 fs/read_write.c page = read_mapping_page(inode->i_mapping, offset >> PAGE_SHIFT, NULL); PAGE_SHIFT 183 fs/reiserfs/file.c unsigned long i_size_index = inode->i_size >> PAGE_SHIFT; PAGE_SHIFT 594 fs/reiserfs/inode.c index = tail_offset >> PAGE_SHIFT; PAGE_SHIFT 2195 fs/reiserfs/inode.c unsigned long index = (inode->i_size - 1) >> PAGE_SHIFT; PAGE_SHIFT 2531 fs/reiserfs/inode.c unsigned long end_index = inode->i_size >> PAGE_SHIFT; PAGE_SHIFT 2579 fs/reiserfs/inode.c block = page->index << (PAGE_SHIFT - s->s_blocksize_bits); PAGE_SHIFT 2780 fs/reiserfs/inode.c index = pos >> PAGE_SHIFT; PAGE_SHIFT 3002 fs/reiserfs/inode.c loff_t pos = ((loff_t) page->index << PAGE_SHIFT) + to; PAGE_SHIFT 207 fs/reiserfs/ioctl.c index = inode->i_size >> PAGE_SHIFT; PAGE_SHIFT 442 fs/reiserfs/xattr.c page = read_mapping_page(mapping, n >> PAGE_SHIFT, NULL); PAGE_SHIFT 33 fs/romfs/mmap-nommu.c lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 35 fs/romfs/mmap-nommu.c offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 37 fs/romfs/mmap-nommu.c maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 44 fs/romfs/mmap-nommu.c if (len > mtd->size || pgoff >= (mtd->size >> PAGE_SHIFT)) PAGE_SHIFT 954 fs/splice.c read_len = min(len, (size_t)pipe_pages << PAGE_SHIFT); PAGE_SHIFT 1189 fs/splice.c len = min(len, (size_t)pipe_pages << PAGE_SHIFT); PAGE_SHIFT 245 fs/squashfs/cache.c cache->pages = block_size >> PAGE_SHIFT; PAGE_SHIFT 408 fs/squashfs/cache.c int pages = (length + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 387 fs/squashfs/file.c int i, mask = (1 << (msblk->block_log - PAGE_SHIFT)) - 1; PAGE_SHIFT 451 fs/squashfs/file.c int index = page->index >> (msblk->block_log - PAGE_SHIFT); PAGE_SHIFT 463 fs/squashfs/file.c PAGE_SHIFT)) PAGE_SHIFT 32 fs/squashfs/file_direct.c int file_end = (i_size_read(inode) - 1) >> PAGE_SHIFT; PAGE_SHIFT 33 fs/squashfs/file_direct.c int mask = (1 << (msblk->block_log - PAGE_SHIFT)) - 1; PAGE_SHIFT 38 fs/squashfs/symlink.c int index = page->index << PAGE_SHIFT; PAGE_SHIFT 259 fs/sync.c if (offset >= (0x100000000ULL << PAGE_SHIFT)) { PAGE_SHIFT 267 fs/sync.c if (endbyte >= (0x100000000ULL << PAGE_SHIFT)) { PAGE_SHIFT 78 fs/sysv/dir.c n = pos >> PAGE_SHIFT; PAGE_SHIFT 223 fs/ubifs/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 428 fs/ubifs/file.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 621 fs/ubifs/file.c end_index = (i_size - 1) >> PAGE_SHIFT; PAGE_SHIFT 781 fs/ubifs/file.c end_index = ((isize - 1) >> PAGE_SHIFT); PAGE_SHIFT 914 fs/ubifs/file.c ubifs_assert(c, page->index <= ui->synced_i_size >> PAGE_SHIFT); PAGE_SHIFT 1011 fs/ubifs/file.c pgoff_t end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 1031 fs/ubifs/file.c if (page->index >= synced_i_size >> PAGE_SHIFT) { PAGE_SHIFT 1145 fs/ubifs/file.c pgoff_t index = new_size >> PAGE_SHIFT; PAGE_SHIFT 46 fs/ubifs/ubifs.h #define UBIFS_BLOCKS_PER_PAGE_SHIFT (PAGE_SHIFT - UBIFS_BLOCK_SHIFT) PAGE_SHIFT 244 fs/ufs/balloc.c 1 << (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 262 fs/ufs/balloc.c last_index = end >> (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 264 fs/ufs/balloc.c index = i >> (PAGE_SHIFT - inode->i_blkbits); PAGE_SHIFT 121 fs/ufs/dir.c if ((dir->i_size >> PAGE_SHIFT) == page->index) { PAGE_SHIFT 175 fs/ufs/dir.c dir->i_ino, error, (page->index<<PAGE_SHIFT)+offs, PAGE_SHIFT 183 fs/ufs/dir.c dir->i_ino, (page->index<<PAGE_SHIFT)+offs); PAGE_SHIFT 216 fs/ufs/dir.c last_byte -= page_nr << PAGE_SHIFT; PAGE_SHIFT 429 fs/ufs/dir.c unsigned long n = pos >> PAGE_SHIFT; PAGE_SHIFT 457 fs/ufs/dir.c ctx->pos = (n<<PAGE_SHIFT) + offset; PAGE_SHIFT 1068 fs/ufs/inode.c (PAGE_SHIFT - inode->i_blkbits)); PAGE_SHIFT 1074 fs/ufs/inode.c end = lastfrag & ((1 << (PAGE_SHIFT - inode->i_blkbits)) - 1); PAGE_SHIFT 57 fs/verity/open.c if (log_blocksize != PAGE_SHIFT) { PAGE_SHIFT 1027 fs/xfs/xfs_aops.c end_index = offset >> PAGE_SHIFT; PAGE_SHIFT 1029 fs/xfs/xfs_aops.c end_offset = (xfs_off_t)(page->index + 1) << PAGE_SHIFT; PAGE_SHIFT 389 fs/xfs/xfs_buf.c start = BBTOB(bp->b_maps[0].bm_bn) >> PAGE_SHIFT; PAGE_SHIFT 391 fs/xfs/xfs_buf.c >> PAGE_SHIFT; PAGE_SHIFT 924 fs/xfs/xfs_buf.c page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; PAGE_SHIFT 1516 fs/xfs/xfs_buf.c page = bp->b_pages[offset >> PAGE_SHIFT]; PAGE_SHIFT 1533 fs/xfs/xfs_buf.c page_index = (boff + bp->b_offset) >> PAGE_SHIFT; PAGE_SHIFT 119 fs/xfs/xfs_linux.h #define BLKDEV_IOSHIFT PAGE_SHIFT PAGE_SHIFT 165 fs/xfs/xfs_mount.c ASSERT(PAGE_SHIFT >= sbp->sb_blocklog); PAGE_SHIFT 169 fs/xfs/xfs_mount.c if (nblocks >> (PAGE_SHIFT - sbp->sb_blocklog) > ULONG_MAX) PAGE_SHIFT 261 fs/xfs/xfs_mount.h #define XFS_MIN_IO_LOG PAGE_SHIFT PAGE_SHIFT 268 fs/xfs/xfs_pnfs.c start >> PAGE_SHIFT, PAGE_SHIFT 269 fs/xfs/xfs_pnfs.c (end - 1) >> PAGE_SHIFT); PAGE_SHIFT 21 include/asm-generic/fixmap.h #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) PAGE_SHIFT 22 include/asm-generic/fixmap.h #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT) PAGE_SHIFT 33 include/asm-generic/getorder.h return BITS_PER_LONG - PAGE_SHIFT; PAGE_SHIFT 35 include/asm-generic/getorder.h if (size < (1UL << PAGE_SHIFT)) PAGE_SHIFT 38 include/asm-generic/getorder.h return ilog2((size) - 1) - PAGE_SHIFT + 1; PAGE_SHIFT 42 include/asm-generic/getorder.h size >>= PAGE_SHIFT; PAGE_SHIFT 18 include/asm-generic/page.h #define PAGE_SIZE (1 << PAGE_SHIFT) PAGE_SHIFT 20 include/asm-generic/page.h #define PAGE_SIZE (1UL << PAGE_SHIFT) PAGE_SHIFT 73 include/asm-generic/page.h #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 81 include/asm-generic/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 82 include/asm-generic/page.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 88 include/asm-generic/page.h #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 863 include/asm-generic/pgtable.h return offset_from_zero_pfn <= (zero_page_mask >> PAGE_SHIFT); PAGE_SHIFT 450 include/asm-generic/tlb.h return PAGE_SHIFT; PAGE_SHIFT 458 include/asm-generic/tlb.h return PAGE_SHIFT; PAGE_SHIFT 56 include/crypto/scatterwalk.h return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); PAGE_SHIFT 83 include/crypto/scatterwalk.h page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); PAGE_SHIFT 37 include/drm/drm_vma_manager.h #define DRM_FILE_PAGE_OFFSET_START ((0xFFFFFFFFUL >> PAGE_SHIFT) + 1) PAGE_SHIFT 38 include/drm/drm_vma_manager.h #define DRM_FILE_PAGE_OFFSET_SIZE ((0xFFFFFFFFUL >> PAGE_SHIFT) * 256) PAGE_SHIFT 40 include/drm/drm_vma_manager.h #define DRM_FILE_PAGE_OFFSET_START ((0xFFFFFFFUL >> PAGE_SHIFT) + 1) PAGE_SHIFT 41 include/drm/drm_vma_manager.h #define DRM_FILE_PAGE_OFFSET_SIZE ((0xFFFFFFFUL >> PAGE_SHIFT) * 16) PAGE_SHIFT 204 include/drm/drm_vma_manager.h return ((__u64)node->vm_node.start) << PAGE_SHIFT; PAGE_SHIFT 225 include/drm/drm_vma_manager.h drm_vma_node_size(node) << PAGE_SHIFT, 1); PAGE_SHIFT 791 include/linux/blkdev.h #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT) PAGE_SHIFT 145 include/linux/bvec.h bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); PAGE_SHIFT 182 include/linux/ceph/libceph.h return ((off+len+PAGE_SIZE-1) >> PAGE_SHIFT) - PAGE_SHIFT 183 include/linux/ceph/libceph.h (off >> PAGE_SHIFT); PAGE_SHIFT 18 include/linux/dma-direct.h return dev_addr - ((dma_addr_t)dev->dma_pfn_offset << PAGE_SHIFT); PAGE_SHIFT 25 include/linux/dma-direct.h return paddr + ((phys_addr_t)dev->dma_pfn_offset << PAGE_SHIFT); PAGE_SHIFT 999 include/linux/fs.h #define MAX_LFS_FILESIZE ((loff_t)ULONG_MAX << PAGE_SHIFT) PAGE_SHIFT 464 include/linux/fscache-cache.h object->store_limit = i_size >> PAGE_SHIFT; PAGE_SHIFT 78 include/linux/huge_mm.h #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT) PAGE_SHIFT 136 include/linux/huge_mm.h if (((vma->vm_start >> PAGE_SHIFT) & HPAGE_CACHE_INDEX_MASK) != PAGE_SHIFT 428 include/linux/hugetlb.h return h->order + PAGE_SHIFT; PAGE_SHIFT 464 include/linux/hugetlb.h return hstates[index].order + PAGE_SHIFT; PAGE_SHIFT 673 include/linux/hugetlb.h return PAGE_SHIFT; PAGE_SHIFT 280 include/linux/intel-iommu.h #define dma_frcd_page_addr(d) (d & (((u64)-1) << PAGE_SHIFT)) PAGE_SHIFT 71 include/linux/io-mapping.h pfn = (unsigned long) (phys_addr >> PAGE_SHIFT); PAGE_SHIFT 1059 include/linux/kvm_host.h gfn_t gfn_offset = (hva - slot->userspace_addr) >> PAGE_SHIFT; PAGE_SHIFT 1066 include/linux/kvm_host.h return (gpa_t)gfn << PAGE_SHIFT; PAGE_SHIFT 1071 include/linux/kvm_host.h return (gfn_t)(gpa >> PAGE_SHIFT); PAGE_SHIFT 1076 include/linux/kvm_host.h return (hpa_t)pfn << PAGE_SHIFT; PAGE_SHIFT 123 include/linux/memory.h #define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<<PAGE_SHIFT) PAGE_SHIFT 1098 include/linux/mlx4/device.h return buf->page_list[offset >> PAGE_SHIFT].buf + PAGE_SHIFT 1598 include/linux/mlx4/device.h return (index << (PAGE_SHIFT - dev->uar_page_shift)); PAGE_SHIFT 1604 include/linux/mlx4/device.h return (128 >> (PAGE_SHIFT - dev->uar_page_shift)); PAGE_SHIFT 860 include/linux/mlx5/driver.h fbc->log_frag_strides = PAGE_SHIFT - fbc->log_stride; PAGE_SHIFT 830 include/linux/mm.h return PAGE_SHIFT + compound_order(page); PAGE_SHIFT 2504 include/linux/mm.h return (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 1133 include/linux/mmzone.h #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) PAGE_SHIFT 1143 include/linux/mmzone.h #if (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS PAGE_SHIFT 1161 include/linux/mmzone.h #define PFN_SUBSECTION_SHIFT (SUBSECTION_SHIFT - PAGE_SHIFT) PAGE_SHIFT 199 include/linux/nfs_page.h return (((loff_t)req->wb_index) << PAGE_SHIFT) + req->wb_offset; PAGE_SHIFT 20 include/linux/nfsacl.h >> PAGE_SHIFT) PAGE_SHIFT 436 include/linux/pagemap.h return ((loff_t)page->index) << PAGE_SHIFT; PAGE_SHIFT 441 include/linux/pagemap.h return ((loff_t)page_index(page)) << PAGE_SHIFT; PAGE_SHIFT 453 include/linux/pagemap.h pgoff = (address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 636 include/linux/pagemap.h PAGE_SHIFT; PAGE_SHIFT 19 include/linux/pfn.h #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) PAGE_SHIFT 20 include/linux/pfn.h #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) PAGE_SHIFT 21 include/linux/pfn.h #define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT) PAGE_SHIFT 22 include/linux/pfn.h #define PHYS_PFN(x) ((unsigned long)((x) >> PAGE_SHIFT)) PAGE_SHIFT 15 include/linux/pfn_t.h #define PFN_FLAGS_MASK (((u64) (~PAGE_MASK)) << (BITS_PER_LONG_LONG - PAGE_SHIFT)) PAGE_SHIFT 44 include/linux/pfn_t.h return __pfn_to_pfn_t(addr >> PAGE_SHIFT, flags); PAGE_SHIFT 396 include/linux/scatterlist.h (dma_iter->base.sg_pgoffset << PAGE_SHIFT); PAGE_SHIFT 391 include/linux/skbuff.h for (p = skb_frag_page(f) + ((f_off) >> PAGE_SHIFT), \ PAGE_SHIFT 247 include/linux/slab.h #define KMALLOC_SHIFT_HIGH ((MAX_ORDER + PAGE_SHIFT - 1) <= 25 ? \ PAGE_SHIFT 248 include/linux/slab.h (MAX_ORDER + PAGE_SHIFT - 1) : 25) PAGE_SHIFT 260 include/linux/slab.h #define KMALLOC_SHIFT_HIGH (PAGE_SHIFT + 1) PAGE_SHIFT 261 include/linux/slab.h #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1) PAGE_SHIFT 273 include/linux/slab.h #define KMALLOC_SHIFT_HIGH PAGE_SHIFT PAGE_SHIFT 274 include/linux/slab.h #define KMALLOC_SHIFT_MAX (MAX_ORDER + PAGE_SHIFT - 1) PAGE_SHIFT 285 include/linux/slab.h #define KMALLOC_MAX_ORDER (KMALLOC_SHIFT_MAX - PAGE_SHIFT) PAGE_SHIFT 38 include/linux/vmalloc.h #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */ PAGE_SHIFT 177 include/linux/vmalloc.h return size >> PAGE_SHIFT; PAGE_SHIFT 1400 include/net/sock.h val <<= PAGE_SHIFT - SK_MEM_QUANTUM_SHIFT; PAGE_SHIFT 1402 include/net/sock.h val >>= SK_MEM_QUANTUM_SHIFT - PAGE_SHIFT; PAGE_SHIFT 158 include/net/xdp_sock.h page_addr = (unsigned long)umem->pages[addr >> PAGE_SHIFT].addr; PAGE_SHIFT 167 include/net/xdp_sock.h return umem->pages[addr >> PAGE_SHIFT].dma + (addr & ~PAGE_MASK); PAGE_SHIFT 67 include/rdma/ib_umem.h PAGE_SHIFT; PAGE_SHIFT 1556 include/sound/emu10k1.h #define snd_emu10k1_memblk_offset(blk) (((blk)->mapped_page << PAGE_SHIFT) | ((blk)->mem.offset & (PAGE_SIZE - 1))) PAGE_SHIFT 64 include/sound/memalloc.h return (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 97 include/sound/memalloc.h dma_addr_t addr = sgbuf->table[offset >> PAGE_SHIFT].addr; PAGE_SHIFT 109 include/sound/memalloc.h return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; PAGE_SHIFT 44 include/trace/events/filemap.h __entry->index << PAGE_SHIFT) PAGE_SHIFT 273 include/trace/events/kvm.h PAGE_SHIFT) + slot->userspace_addr; PAGE_SHIFT 578 include/trace/events/writeback.h #define KBps(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 19 include/xen/page.h (pfn_to_page((unsigned long)(xen_pfn) >> (PAGE_SHIFT - XEN_PAGE_SHIFT))) PAGE_SHIFT 21 include/xen/page.h ((page_to_pfn(page)) << (PAGE_SHIFT - XEN_PAGE_SHIFT)) PAGE_SHIFT 350 ipc/mqueue.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 285 ipc/shm.c ns->shm_tot -= (shp->shm_segsz + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 607 ipc/shm.c size_t numpages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 615 ipc/shm.c if (numpages << PAGE_SHIFT < size) PAGE_SHIFT 770 kernel/bpf/core.c (bpf_jit_limit >> PAGE_SHIFT)) { PAGE_SHIFT 467 kernel/bpf/local_storage.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 471 kernel/bpf/local_storage.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 327 kernel/bpf/stackmap.c id_offs[i].offset = (vma->vm_pgoff << PAGE_SHIFT) + ips[i] PAGE_SHIFT 188 kernel/bpf/syscall.c unsigned long memlock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 205 kernel/bpf/syscall.c u32 pages = round_up(size, PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 399 kernel/bpf/syscall.c map->memory.pages * 1ULL << PAGE_SHIFT, PAGE_SHIFT 1244 kernel/bpf/syscall.c unsigned long memlock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 1421 kernel/bpf/syscall.c prog->pages * 1ULL << PAGE_SHIFT, PAGE_SHIFT 2549 kernel/debug/kdb/kdb_main.c #define K(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 383 kernel/debug/kdb/kdb_support.c pfn = (addr >> PAGE_SHIFT); PAGE_SHIFT 35 kernel/dma/coherent.c return (mem->pfn_base - dev->dma_pfn_offset) << PAGE_SHIFT; PAGE_SHIFT 46 kernel/dma/coherent.c int pages = size >> PAGE_SHIFT; PAGE_SHIFT 137 kernel/dma/coherent.c if (unlikely(size > ((dma_addr_t)mem->size << PAGE_SHIFT))) PAGE_SHIFT 148 kernel/dma/coherent.c ((dma_addr_t)pageno << PAGE_SHIFT); PAGE_SHIFT 149 kernel/dma/coherent.c ret = mem->virt_base + ((dma_addr_t)pageno << PAGE_SHIFT); PAGE_SHIFT 198 kernel/dma/coherent.c (mem->virt_base + ((dma_addr_t)mem->size << PAGE_SHIFT))) { PAGE_SHIFT 199 kernel/dma/coherent.c int page = (vaddr - mem->virt_base) >> PAGE_SHIFT; PAGE_SHIFT 242 kernel/dma/coherent.c (mem->virt_base + ((dma_addr_t)mem->size << PAGE_SHIFT))) { PAGE_SHIFT 244 kernel/dma/coherent.c int start = (vaddr - mem->virt_base) >> PAGE_SHIFT; PAGE_SHIFT 246 kernel/dma/coherent.c int count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 252 kernel/dma/coherent.c user_count << PAGE_SHIFT, PAGE_SHIFT 86 kernel/dma/contiguous.c return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT; PAGE_SHIFT 233 kernel/dma/contiguous.c size_t count = size >> PAGE_SHIFT; PAGE_SHIFT 267 kernel/dma/contiguous.c PAGE_ALIGN(size) >> PAGE_SHIFT)) PAGE_SHIFT 456 kernel/dma/debug.c #define CACHELINE_PER_PAGE_SHIFT (PAGE_SHIFT - L1_CACHE_SHIFT) PAGE_SHIFT 48 kernel/dma/direct.c phys_addr_t phys = (phys_addr_t)(max_pfn - 1) << PAGE_SHIFT; PAGE_SHIFT 403 kernel/dma/direct.c min_mask = min_t(u64, min_mask, (max_pfn - 1) << PAGE_SHIFT); PAGE_SHIFT 195 kernel/dma/mapping.c unsigned long count = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 221 kernel/dma/mapping.c user_count << PAGE_SHIFT, vma->vm_page_prot); PAGE_SHIFT 73 kernel/dma/remap.c for (i = 0; i < (size >> PAGE_SHIFT); i++) PAGE_SHIFT 126 kernel/dma/remap.c unsigned long nr_pages = atomic_pool_size >> PAGE_SHIFT; PAGE_SHIFT 141 kernel/dma/remap.c atomic_pool = gen_pool_create(PAGE_SHIFT, -1); PAGE_SHIFT 55 kernel/dma/swiotlb.c #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT)) PAGE_SHIFT 196 kernel/dma/swiotlb.c set_memory_decrypted((unsigned long)vaddr, bytes >> PAGE_SHIFT); PAGE_SHIFT 339 kernel/dma/swiotlb.c set_memory_decrypted((unsigned long)tlb, bytes >> PAGE_SHIFT); PAGE_SHIFT 493 kernel/dma/swiotlb.c stride = (1 << (PAGE_SHIFT - IO_TLB_SHIFT)); PAGE_SHIFT 5688 kernel/events/core.c atomic_long_sub((size >> PAGE_SHIFT) + 1 - mmap_locked, PAGE_SHIFT 5757 kernel/events/core.c if (aux_offset != vma->vm_pgoff << PAGE_SHIFT) PAGE_SHIFT 5824 kernel/events/core.c user_lock_limit = sysctl_perf_event_mlock >> (PAGE_SHIFT - 10); PAGE_SHIFT 5857 kernel/events/core.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 7589 kernel/events/core.c unsigned long off = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 7684 kernel/events/core.c .pgoff = (u64)vma->vm_pgoff << PAGE_SHIFT, PAGE_SHIFT 120 kernel/events/internal.h return rb->nr_pages << (PAGE_SHIFT + page_order(rb)); PAGE_SHIFT 125 kernel/events/internal.h return rb->aux_nr_pages << PAGE_SHIFT; PAGE_SHIFT 232 kernel/events/ring_buffer.c page_shift = PAGE_SHIFT + page_order(rb); PAGE_SHIFT 709 kernel/events/ring_buffer.c rb->aux_watermark = nr_pages << (PAGE_SHIFT - 1); PAGE_SHIFT 766 kernel/events/ring_buffer.c if (order_base_2(size) >= PAGE_SHIFT+MAX_ORDER) PAGE_SHIFT 133 kernel/events/uprobes.c return vma->vm_start + offset - ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 138 kernel/events/uprobes.c return ((loff_t)vma->vm_pgoff << PAGE_SHIFT) + (vaddr - vma->vm_start); PAGE_SHIFT 533 kernel/events/uprobes.c index = vaddr_to_offset(vma, vaddr & PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 807 kernel/events/uprobes.c page = read_mapping_page(mapping, offset >> PAGE_SHIFT, filp); PAGE_SHIFT 809 kernel/events/uprobes.c page = shmem_read_mapping_page(mapping, offset >> PAGE_SHIFT); PAGE_SHIFT 974 kernel/events/uprobes.c unsigned long pgoff = offset >> PAGE_SHIFT; PAGE_SHIFT 1258 kernel/events/uprobes.c offset = (loff_t)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 2096 kernel/fork.c p->nr_dirtied_pause = 128 >> (PAGE_SHIFT - 10); PAGE_SHIFT 142 kernel/kexec_core.c #define PAGE_COUNT(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) PAGE_SHIFT 384 kernel/kexec_core.c addr = pfn << PAGE_SHIFT; PAGE_SHIFT 385 kernel/kexec_core.c eaddr = epfn << PAGE_SHIFT; PAGE_SHIFT 386 kernel/kexec_core.c if ((epfn >= (KEXEC_CONTROL_MEMORY_LIMIT >> PAGE_SHIFT)) || PAGE_SHIFT 444 kernel/kexec_core.c size = (1 << order) << PAGE_SHIFT; PAGE_SHIFT 469 kernel/kexec_core.c pages = pfn_to_page(hole_start >> PAGE_SHIFT); PAGE_SHIFT 609 kernel/kexec_core.c page = boot_pfn_to_page(entry >> PAGE_SHIFT); PAGE_SHIFT 708 kernel/kexec_core.c addr = page_to_boot_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 724 kernel/kexec_core.c (KEXEC_SOURCE_MEMORY_LIMIT >> PAGE_SHIFT)) { PAGE_SHIFT 728 kernel/kexec_core.c addr = page_to_boot_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 751 kernel/kexec_core.c old_page = boot_pfn_to_page(old_addr >> PAGE_SHIFT); PAGE_SHIFT 808 kernel/kexec_core.c << PAGE_SHIFT); PAGE_SHIFT 870 kernel/kexec_core.c page = boot_pfn_to_page(maddr >> PAGE_SHIFT); PAGE_SHIFT 1003 kernel/kexec_core.c free_reserved_page(boot_pfn_to_page(addr >> PAGE_SHIFT)); PAGE_SHIFT 720 kernel/kexec_file.c zero_buf = __va(page_to_pfn(ZERO_PAGE(0)) << PAGE_SHIFT); PAGE_SHIFT 1966 kernel/module.c layout->text_size >> PAGE_SHIFT); PAGE_SHIFT 1977 kernel/module.c (layout->ro_size - layout->text_size) >> PAGE_SHIFT); PAGE_SHIFT 1987 kernel/module.c (layout->ro_after_init_size - layout->ro_size) >> PAGE_SHIFT); PAGE_SHIFT 1997 kernel/module.c (layout->size - layout->ro_after_init_size) >> PAGE_SHIFT); PAGE_SHIFT 48 kernel/power/power.h #define PAGES_FOR_IO ((4096 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 54 kernel/power/power.h #define SPARE_PAGES ((1024 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 340 kernel/power/snapshot.c #define BM_BLOCK_SHIFT (PAGE_SHIFT + 3) PAGE_SHIFT 389 kernel/power/snapshot.c #define BM_RTREE_LEVEL_SHIFT (PAGE_SHIFT - 2) PAGE_SHIFT 391 kernel/power/snapshot.c #define BM_RTREE_LEVEL_SHIFT (PAGE_SHIFT - 3) PAGE_SHIFT 982 kernel/power/snapshot.c (unsigned long long) start_pfn << PAGE_SHIFT, PAGE_SHIFT 983 kernel/power/snapshot.c ((unsigned long long) end_pfn << PAGE_SHIFT) - 1); PAGE_SHIFT 1054 kernel/power/snapshot.c (unsigned long long) region->start_pfn << PAGE_SHIFT, PAGE_SHIFT 1055 kernel/power/snapshot.c ((unsigned long long) region->end_pfn << PAGE_SHIFT) PAGE_SHIFT 2054 kernel/power/snapshot.c info->size <<= PAGE_SHIFT; PAGE_SHIFT 301 kernel/power/user.c size <<= PAGE_SHIFT; PAGE_SHIFT 307 kernel/power/user.c size <<= PAGE_SHIFT; PAGE_SHIFT 318 kernel/power/user.c offset <<= PAGE_SHIFT; PAGE_SHIFT 51 kernel/relay.c page = vmalloc_to_page(buf->start + (pgoff << PAGE_SHIFT)); PAGE_SHIFT 129 kernel/relay.c n_pages = *size >> PAGE_SHIFT; PAGE_SHIFT 1237 kernel/relay.c subbuf_pages = rbuf->chan->alloc_size >> PAGE_SHIFT; PAGE_SHIFT 484 kernel/resource.c start = (u64) start_pfn << PAGE_SHIFT; PAGE_SHIFT 485 kernel/resource.c end = ((u64)(start_pfn + nr_pages) << PAGE_SHIFT) - 1; PAGE_SHIFT 1116 kernel/sched/fair.c nr_scan_pages = sysctl_numa_balancing_scan_size << (20 - PAGE_SHIFT); PAGE_SHIFT 2538 kernel/sched/fair.c pages <<= 20 - PAGE_SHIFT; /* MB in pages */ PAGE_SHIFT 2577 kernel/sched/fair.c end = ALIGN(start + (pages << PAGE_SHIFT), HPAGE_SIZE); PAGE_SHIFT 2590 kernel/sched/fair.c pages -= (end - start) >> PAGE_SHIFT; PAGE_SHIFT 2591 kernel/sched/fair.c virtpages -= (end - start) >> PAGE_SHIFT; PAGE_SHIFT 31 lib/debugobjects.c #define ODEBUG_CHUNK_SHIFT PAGE_SHIFT PAGE_SHIFT 22 lib/generic-radix-tree.c return PAGE_SHIFT + GENRADIX_ARY_SHIFT * depth; PAGE_SHIFT 35 lib/generic-radix-tree.c DIV_ROUND_UP(BITS_PER_LONG - PAGE_SHIFT, GENRADIX_ARY_SHIFT) PAGE_SHIFT 191 lib/generic-radix-tree.c iter->pos = (iter->offset >> PAGE_SHIFT) * PAGE_SHIFT 69 lib/ioremap.c pfn = phys_addr >> PAGE_SHIFT; PAGE_SHIFT 879 lib/iov_iter.c v += (page - head) << PAGE_SHIFT; PAGE_SHIFT 68 lib/rhashtable.c const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); PAGE_SHIFT 142 lib/rhashtable.c const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); PAGE_SHIFT 1170 lib/rhashtable.c const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); PAGE_SHIFT 1211 lib/rhashtable.c const unsigned int shift = PAGE_SHIFT - ilog2(sizeof(void *)); PAGE_SHIFT 432 lib/scatterlist.c chunk_size = ((j - cur_page) << PAGE_SHIFT) - offset; PAGE_SHIFT 495 lib/scatterlist.c nent = round_up(length, PAGE_SIZE << order) >> (PAGE_SHIFT + order); PAGE_SHIFT 497 lib/scatterlist.c if (length > (nent << (PAGE_SHIFT + order))) PAGE_SHIFT 614 lib/scatterlist.c return PAGE_ALIGN(sg->offset + sg->length) >> PAGE_SHIFT; PAGE_SHIFT 638 lib/scatterlist.c return PAGE_ALIGN(sg->offset + sg_dma_len(sg)) >> PAGE_SHIFT; PAGE_SHIFT 696 lib/scatterlist.c miter->piter.sg_pgoffset += miter->__offset >> PAGE_SHIFT; PAGE_SHIFT 699 lib/scatterlist.c (miter->piter.sg_pgoffset << PAGE_SHIFT) - PAGE_SHIFT 38 lib/stackdepot.c #define STACK_ALLOC_SIZE (1LL << (PAGE_SHIFT + STACK_ALLOC_ORDER)) PAGE_SHIFT 40 lib/stackdepot.c #define STACK_ALLOC_OFFSET_BITS (STACK_ALLOC_ORDER + PAGE_SHIFT - \ PAGE_SHIFT 75 mm/backing-dev.c #define K(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 147 mm/backing-dev.c bdi->ra_pages = read_ahead_kb >> (PAGE_SHIFT - 10); PAGE_SHIFT 152 mm/backing-dev.c #define K(pages) ((pages) << (PAGE_SHIFT - 10)) PAGE_SHIFT 282 mm/backing-dev.c #define INIT_BW (100 << (20 - PAGE_SHIFT)) PAGE_SHIFT 50 mm/cma.c return cma->count << PAGE_SHIFT; PAGE_SHIFT 196 mm/cma.c if (!IS_ALIGNED(alignment >> PAGE_SHIFT, 1 << order_per_bit)) PAGE_SHIFT 215 mm/cma.c cma->count = size >> PAGE_SHIFT; PAGE_SHIFT 295 mm/cma.c if (!IS_ALIGNED(size >> PAGE_SHIFT, 1 << order_per_bit)) PAGE_SHIFT 144 mm/early_ioremap.c nrpages = size >> PAGE_SHIFT; PAGE_SHIFT 201 mm/early_ioremap.c nrpages = PAGE_ALIGN(offset + size) >> PAGE_SHIFT; PAGE_SHIFT 252 mm/early_ioremap.c #define MAX_MAP_CHUNK (NR_FIX_BTMAPS << PAGE_SHIFT) PAGE_SHIFT 97 mm/fadvise.c start_index = offset >> PAGE_SHIFT; PAGE_SHIFT 98 mm/fadvise.c end_index = endbyte >> PAGE_SHIFT; PAGE_SHIFT 123 mm/fadvise.c start_index = (offset+(PAGE_SIZE-1)) >> PAGE_SHIFT; PAGE_SHIFT 124 mm/fadvise.c end_index = (endbyte >> PAGE_SHIFT); PAGE_SHIFT 476 mm/filemap.c XA_STATE(xas, &mapping->i_pages, start_byte >> PAGE_SHIFT); PAGE_SHIFT 477 mm/filemap.c pgoff_t max = end_byte >> PAGE_SHIFT; PAGE_SHIFT 506 mm/filemap.c pgoff_t index = start_byte >> PAGE_SHIFT; PAGE_SHIFT 507 mm/filemap.c pgoff_t end = end_byte >> PAGE_SHIFT; PAGE_SHIFT 2028 mm/filemap.c index = *ppos >> PAGE_SHIFT; PAGE_SHIFT 2029 mm/filemap.c prev_index = ra->prev_pos >> PAGE_SHIFT; PAGE_SHIFT 2031 mm/filemap.c last_index = (*ppos + iter->count + PAGE_SIZE-1) >> PAGE_SHIFT; PAGE_SHIFT 2080 mm/filemap.c if (inode->i_blkbits == PAGE_SHIFT || PAGE_SHIFT 2107 mm/filemap.c end_index = (isize - 1) >> PAGE_SHIFT; PAGE_SHIFT 2146 mm/filemap.c index += offset >> PAGE_SHIFT; PAGE_SHIFT 2254 mm/filemap.c ra->prev_pos <<= PAGE_SHIFT; PAGE_SHIFT 2257 mm/filemap.c *ppos = ((loff_t)index << PAGE_SHIFT) + offset; PAGE_SHIFT 2650 mm/filemap.c vmf->address += (xas.xa_index - last_pgoff) << PAGE_SHIFT; PAGE_SHIFT 3155 mm/filemap.c end = (pos + write_len - 1) >> PAGE_SHIFT; PAGE_SHIFT 3176 mm/filemap.c pos >> PAGE_SHIFT, end); PAGE_SHIFT 3204 mm/filemap.c pos >> PAGE_SHIFT, end); PAGE_SHIFT 3404 mm/filemap.c pos >> PAGE_SHIFT, PAGE_SHIFT 3405 mm/filemap.c endbyte >> PAGE_SHIFT); PAGE_SHIFT 897 mm/gup.c page_increm = 1 + (~(start >> PAGE_SHIFT) & ctx.page_mask); PAGE_SHIFT 1071 mm/gup.c start += ret << PAGE_SHIFT; PAGE_SHIFT 1939 mm/gup.c fault_pfn = pmd_pfn(orig) + ((addr & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 1956 mm/gup.c fault_pfn = pud_pfn(orig) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 2014 mm/gup.c page = head + ((addr & (sz-1)) >> PAGE_SHIFT); PAGE_SHIFT 2084 mm/gup.c page = pmd_page(orig) + ((addr & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 2125 mm/gup.c page = pud_page(orig) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 2162 mm/gup.c page = pgd_page(orig) + ((addr & ~PGDIR_MASK) >> PAGE_SHIFT); PAGE_SHIFT 2347 mm/gup.c len = (unsigned long) nr_pages << PAGE_SHIFT; PAGE_SHIFT 2435 mm/gup.c len = (unsigned long) nr_pages << PAGE_SHIFT; PAGE_SHIFT 2460 mm/gup.c start += nr << PAGE_SHIFT; PAGE_SHIFT 264 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 293 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 387 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 388 mm/hmm.c npages = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 414 mm/hmm.c npages = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 422 mm/hmm.c pfn = pmd_pfn(pmd) + ((addr & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 574 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 575 mm/hmm.c npages = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 604 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 618 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 679 mm/hmm.c i = (addr - range->start) >> PAGE_SHIFT; PAGE_SHIFT 680 mm/hmm.c npages = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 690 mm/hmm.c pfn = pud_pfn(pud) + ((addr & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 743 mm/hmm.c i = (start - range->start) >> PAGE_SHIFT; PAGE_SHIFT 755 mm/hmm.c pfn = pte_pfn(entry) + ((start & ~hmask) >> PAGE_SHIFT); PAGE_SHIFT 941 mm/hmm.c i = (hmm_vma_walk.last - range->start) >> PAGE_SHIFT; PAGE_SHIFT 950 mm/hmm.c return (hmm_vma_walk.last - range->start) >> PAGE_SHIFT; PAGE_SHIFT 974 mm/hmm.c npages = (range->end - range->start) >> PAGE_SHIFT; PAGE_SHIFT 1067 mm/hmm.c npages = (range->end - range->start) >> PAGE_SHIFT; PAGE_SHIFT 430 mm/huge_memory.c if (totalram_pages() < (512 << (20 - PAGE_SHIFT))) { PAGE_SHIFT 538 mm/huge_memory.c off >> PAGE_SHIFT, flags); PAGE_SHIFT 562 mm/huge_memory.c loff_t off = (loff_t)pgoff << PAGE_SHIFT; PAGE_SHIFT 968 mm/huge_memory.c pfn += (addr & ~PMD_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1108 mm/huge_memory.c pfn += (addr & ~PUD_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1524 mm/huge_memory.c page += (addr & ~HPAGE_PMD_MASK) >> PAGE_SHIFT; PAGE_SHIFT 2402 mm/huge_memory.c nstart += adjust_next << PAGE_SHIFT; PAGE_SHIFT 3010 mm/hugetlb.c h->mask = ~((1ULL << (order + PAGE_SHIFT)) - 1); PAGE_SHIFT 3218 mm/hugetlb.c 1UL << (huge_page_order(h) + PAGE_SHIFT - 10)); PAGE_SHIFT 3224 mm/hugetlb.c atomic_long_read(&mm->hugetlb_usage) << (PAGE_SHIFT - 10)); PAGE_SHIFT 3684 mm/hugetlb.c pgoff = ((address - vma->vm_start) >> PAGE_SHIFT) + PAGE_SHIFT 4496 mm/hugetlb.c pfn_offset = (vaddr & ~huge_page_mask(h)) >> PAGE_SHIFT; PAGE_SHIFT 4807 mm/hugetlb.c unsigned long saddr = ((idx - svma->vm_pgoff) << PAGE_SHIFT) + PAGE_SHIFT 4883 mm/hugetlb.c pgoff_t idx = ((addr - vma->vm_start) >> PAGE_SHIFT) + PAGE_SHIFT 5087 mm/hugetlb.c page = pmd_page(*pmd) + ((address & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 5113 mm/hugetlb.c return pte_page(*(pte_t *)pud) + ((address & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 5122 mm/hugetlb.c return pte_page(*(pte_t *)pgd) + ((address & ~PGDIR_MASK) >> PAGE_SHIFT); PAGE_SHIFT 348 mm/internal.h return vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); PAGE_SHIFT 683 mm/kasan/common.c shadow_size = nr_shadow_pages << PAGE_SHIFT; PAGE_SHIFT 687 mm/kasan/common.c WARN_ON(start_kaddr % (KASAN_SHADOW_SCALE_SIZE << PAGE_SHIFT))) PAGE_SHIFT 240 mm/kasan/quarantine.c total_size = (totalram_pages() << PAGE_SHIFT) / PAGE_SHIFT 421 mm/khugepaged.c return IS_ALIGNED((vma->vm_start >> PAGE_SHIFT) - vma->vm_pgoff, PAGE_SHIFT 1443 mm/khugepaged.c addr = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); PAGE_SHIFT 2156 mm/khugepaged.c recommended_min <<= (PAGE_SHIFT-10); PAGE_SHIFT 134 mm/madvise.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 231 mm/madvise.c index = ((start - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 293 mm/madvise.c + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 843 mm/madvise.c + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 1502 mm/memcontrol.c #define K(x) ((x) << (PAGE_SHIFT-10)) PAGE_SHIFT 294 mm/memory-failure.c return PAGE_SHIFT; PAGE_SHIFT 329 mm/memory-failure.c tk->size_shift = compound_order(compound_head(p)) + PAGE_SHIFT; PAGE_SHIFT 1217 mm/memory-failure.c start = (page->index << PAGE_SHIFT) & ~(size - 1); PAGE_SHIFT 604 mm/memory.c off = (addr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 647 mm/memory.c off = (addr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 1825 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1833 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot); PAGE_SHIFT 1848 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1855 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot); PAGE_SHIFT 1870 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1877 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot); PAGE_SHIFT 1937 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1943 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot); PAGE_SHIFT 1983 mm/memory.c pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1984 mm/memory.c pages = (len + ~PAGE_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1996 mm/memory.c if (vm_len >> PAGE_SHIFT > pages) PAGE_SHIFT 2673 mm/memory.c ((zba - vba) << PAGE_SHIFT) + vma->vm_start, PAGE_SHIFT 2674 mm/memory.c ((zea - vba + 1) << PAGE_SHIFT) + vma->vm_start, PAGE_SHIFT 2728 mm/memory.c pgoff_t hba = holebegin >> PAGE_SHIFT; PAGE_SHIFT 2729 mm/memory.c pgoff_t hlen = (holelen + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2734 mm/memory.c (holebegin + holelen + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 3442 mm/memory.c nr_pages = READ_ONCE(fault_around_bytes) >> PAGE_SHIFT; PAGE_SHIFT 3446 mm/memory.c off = ((address - vmf->address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); PAGE_SHIFT 3454 mm/memory.c ((vmf->address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) + PAGE_SHIFT 3479 mm/memory.c vmf->pte -= (vmf->address >> PAGE_SHIFT) - (address >> PAGE_SHIFT); PAGE_SHIFT 3499 mm/memory.c if (vma->vm_ops->map_pages && fault_around_bytes >> PAGE_SHIFT > 1) { PAGE_SHIFT 4274 mm/memory.c *phys = (resource_size_t)pte_pfn(pte) << PAGE_SHIFT; PAGE_SHIFT 4485 mm/memory.c ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); PAGE_SHIFT 4550 mm/memory.c ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); PAGE_SHIFT 4598 mm/memory.c ~(((unsigned long)pages_per_huge_page << PAGE_SHIFT) - 1); PAGE_SHIFT 185 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT; PAGE_SHIFT 194 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; PAGE_SHIFT 218 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mem_section_usage_size()) >> PAGE_SHIFT; PAGE_SHIFT 231 mm/memory_hotplug.c nr_pages = PAGE_ALIGN(sizeof(struct pglist_data)) >> PAGE_SHIFT; PAGE_SHIFT 872 mm/memory_hotplug.c (unsigned long long) pfn << PAGE_SHIFT, PAGE_SHIFT 873 mm/memory_hotplug.c (((unsigned long long) pfn + nr_pages) << PAGE_SHIFT) - 1); PAGE_SHIFT 1620 mm/memory_hotplug.c (unsigned long long) start_pfn << PAGE_SHIFT, PAGE_SHIFT 1621 mm/memory_hotplug.c ((unsigned long long) end_pfn << PAGE_SHIFT) - 1, PAGE_SHIFT 759 mm/mempolicy.c ((vmstart - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 1918 mm/mempolicy.c BUG_ON(shift < PAGE_SHIFT); PAGE_SHIFT 1919 mm/mempolicy.c off = vma->vm_pgoff >> (shift - PAGE_SHIFT); PAGE_SHIFT 2111 mm/mempolicy.c nid = interleave_nid(pol, vma, addr, PAGE_SHIFT + order); PAGE_SHIFT 2403 mm/mempolicy.c pgoff += (addr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 2748 mm/mempolicy.c if ((total_pages << PAGE_SHIFT) >= (16 << 20)) PAGE_SHIFT 69 mm/mempool.c __check_element(pool, addr, 1UL << (PAGE_SHIFT + order)); PAGE_SHIFT 93 mm/mempool.c __poison_element(addr, 1UL << (PAGE_SHIFT + order)); PAGE_SHIFT 66 mm/memremap.c return (res->start + resource_size(res)) >> PAGE_SHIFT; PAGE_SHIFT 2377 mm/migrate.c migrate->end = migrate->start + (migrate->npages << PAGE_SHIFT); PAGE_SHIFT 2665 mm/migrate.c long nr_pages = (args->end - args->start) >> PAGE_SHIFT; PAGE_SHIFT 98 mm/mincore.c unsigned long nr = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 129 mm/mincore.c int nr = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 216 mm/mincore.c end = min(vma->vm_end, addr + (pages << PAGE_SHIFT)); PAGE_SHIFT 225 mm/mincore.c return (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 270 mm/mincore.c pages = len >> PAGE_SHIFT; PAGE_SHIFT 298 mm/mincore.c start += retval << PAGE_SHIFT; PAGE_SHIFT 535 mm/mlock.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 560 mm/mlock.c nr_pages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 668 mm/mlock.c return count >> PAGE_SHIFT; PAGE_SHIFT 686 mm/mlock.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 687 mm/mlock.c locked = len >> PAGE_SHIFT; PAGE_SHIFT 812 mm/mlock.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 850 mm/mlock.c locked = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 854 mm/mlock.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 870 mm/mlock.c user->locked_shm -= (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 572 mm/mmap.c max(addr, vma->vm_start)) >> PAGE_SHIFT; PAGE_SHIFT 582 mm/mmap.c nr_pages += overlap_len >> PAGE_SHIFT; PAGE_SHIFT 785 mm/mmap.c adjust_next = (end - next->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 795 mm/mmap.c adjust_next = -((vma->vm_end - end) >> PAGE_SHIFT); PAGE_SHIFT 867 mm/mmap.c next->vm_start += adjust_next << PAGE_SHIFT; PAGE_SHIFT 1142 mm/mmap.c pgoff_t pglen = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 1247 mm/mmap.c b->vm_pgoff == a->vm_pgoff + ((b->vm_start - a->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 1344 mm/mmap.c locked = len >> PAGE_SHIFT; PAGE_SHIFT 1347 mm/mmap.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 1381 mm/mmap.c if (pgoff > maxsize >> PAGE_SHIFT) PAGE_SHIFT 1426 mm/mmap.c if ((pgoff + (len >> PAGE_SHIFT)) < pgoff) PAGE_SHIFT 1548 mm/mmap.c pgoff = addr >> PAGE_SHIFT; PAGE_SHIFT 1653 mm/mmap.c a.offset >> PAGE_SHIFT); PAGE_SHIFT 1722 mm/mmap.c if (!may_expand_vm(mm, vm_flags, len >> PAGE_SHIFT)) { PAGE_SHIFT 1732 mm/mmap.c (len >> PAGE_SHIFT) - nr_pages)) PAGE_SHIFT 1747 mm/mmap.c charged = len >> PAGE_SHIFT; PAGE_SHIFT 1831 mm/mmap.c vm_stat_account(mm, vm_flags, len >> PAGE_SHIFT); PAGE_SHIFT 1838 mm/mmap.c mm->locked_vm += (len >> PAGE_SHIFT); PAGE_SHIFT 2313 mm/mmap.c limit >>= PAGE_SHIFT; PAGE_SHIFT 2386 mm/mmap.c grow = (address - vma->vm_end) >> PAGE_SHIFT; PAGE_SHIFT 2389 mm/mmap.c if (vma->vm_pgoff + (size >> PAGE_SHIFT) >= vma->vm_pgoff) { PAGE_SHIFT 2466 mm/mmap.c grow = (vma->vm_start - address) >> PAGE_SHIFT; PAGE_SHIFT 2505 mm/mmap.c unsigned long stack_guard_gap = 256UL<<PAGE_SHIFT; PAGE_SHIFT 2514 mm/mmap.c stack_guard_gap = val << PAGE_SHIFT; PAGE_SHIFT 2676 mm/mmap.c new->vm_pgoff += ((addr - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 2695 mm/mmap.c ((addr - new->vm_start) >> PAGE_SHIFT), new); PAGE_SHIFT 2913 mm/mmap.c if (pgoff + (size >> PAGE_SHIFT) < pgoff) PAGE_SHIFT 2997 mm/mmap.c pgoff_t pgoff = addr >> PAGE_SHIFT; PAGE_SHIFT 3023 mm/mmap.c if (!may_expand_vm(mm, flags, len >> PAGE_SHIFT)) PAGE_SHIFT 3029 mm/mmap.c if (security_vm_enough_memory_mm(mm, len >> PAGE_SHIFT)) PAGE_SHIFT 3043 mm/mmap.c vm_unacct_memory(len >> PAGE_SHIFT); PAGE_SHIFT 3056 mm/mmap.c mm->total_vm += len >> PAGE_SHIFT; PAGE_SHIFT 3057 mm/mmap.c mm->data_vm += len >> PAGE_SHIFT; PAGE_SHIFT 3059 mm/mmap.c mm->locked_vm += (len >> PAGE_SHIFT); PAGE_SHIFT 3197 mm/mmap.c vma->vm_pgoff = vma->vm_start >> PAGE_SHIFT; PAGE_SHIFT 3224 mm/mmap.c pgoff = addr >> PAGE_SHIFT; PAGE_SHIFT 3289 mm/mmap.c if (mm->total_vm + npages > rlimit(RLIMIT_AS) >> PAGE_SHIFT) PAGE_SHIFT 3293 mm/mmap.c mm->data_vm + npages > rlimit(RLIMIT_DATA) >> PAGE_SHIFT) { PAGE_SHIFT 3296 mm/mmap.c mm->data_vm + npages <= rlimit_max(RLIMIT_DATA) >> PAGE_SHIFT) PAGE_SHIFT 3301 mm/mmap.c (mm->data_vm + npages) << PAGE_SHIFT, PAGE_SHIFT 3419 mm/mmap.c vm_stat_account(mm, vma->vm_flags, len >> PAGE_SHIFT); PAGE_SHIFT 3671 mm/mmap.c free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); PAGE_SHIFT 3692 mm/mmap.c free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); PAGE_SHIFT 3736 mm/mmap.c free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); PAGE_SHIFT 378 mm/mprotect.c long nrpages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 428 mm/mprotect.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 354 mm/mremap.c new_pgoff = vma->vm_pgoff + ((old_addr - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 405 mm/mremap.c vm_stat_account(mm, vma->vm_flags, new_len >> PAGE_SHIFT); PAGE_SHIFT 413 mm/mremap.c vm_unacct_memory(excess >> PAGE_SHIFT); PAGE_SHIFT 426 mm/mremap.c mm->locked_vm += new_len >> PAGE_SHIFT; PAGE_SHIFT 467 mm/mremap.c pgoff = (addr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 469 mm/mremap.c if (pgoff + (new_len >> PAGE_SHIFT) < pgoff) PAGE_SHIFT 477 mm/mremap.c locked = mm->locked_vm << PAGE_SHIFT; PAGE_SHIFT 485 mm/mremap.c (new_len - old_len) >> PAGE_SHIFT)) PAGE_SHIFT 489 mm/mremap.c unsigned long charged = (new_len - old_len) >> PAGE_SHIFT; PAGE_SHIFT 559 mm/mremap.c ((addr - vma->vm_start) >> PAGE_SHIFT), PAGE_SHIFT 685 mm/mremap.c int pages = (new_len - old_len) >> PAGE_SHIFT; PAGE_SHIFT 716 mm/mremap.c ((addr - vma->vm_start) >> PAGE_SHIFT), PAGE_SHIFT 85 mm/msync.c ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 130 mm/nommu.c *pfn = address >> PAGE_SHIFT; PAGE_SHIFT 812 mm/nommu.c if ((pgoff + (rlen >> PAGE_SHIFT)) < pgoff) PAGE_SHIFT 1040 mm/nommu.c point = len >> PAGE_SHIFT; PAGE_SHIFT 1046 mm/nommu.c base = alloc_pages_exact(total << PAGE_SHIFT, GFP_KERNEL); PAGE_SHIFT 1055 mm/nommu.c region->vm_top = region->vm_start + (total << PAGE_SHIFT); PAGE_SHIFT 1065 mm/nommu.c fpos <<= PAGE_SHIFT; PAGE_SHIFT 1166 mm/nommu.c pglen = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1184 mm/nommu.c rpglen = (rpglen + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1203 mm/nommu.c start += (pgoff - pregion->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 1277 mm/nommu.c current->mm->total_vm += len >> PAGE_SHIFT; PAGE_SHIFT 1375 mm/nommu.c a.offset >> PAGE_SHIFT); PAGE_SHIFT 1412 mm/nommu.c npages = (addr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 1654 mm/nommu.c if (addr != (pfn << PAGE_SHIFT)) PAGE_SHIFT 1664 mm/nommu.c unsigned long pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1680 mm/nommu.c vma->vm_start = (unsigned long)(addr + (pgoff << PAGE_SHIFT)); PAGE_SHIFT 1799 mm/nommu.c low = newsize >> PAGE_SHIFT; PAGE_SHIFT 1800 mm/nommu.c high = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1828 mm/nommu.c r_top = (region->vm_pgoff << PAGE_SHIFT) + r_size; PAGE_SHIFT 1856 mm/nommu.c free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); PAGE_SHIFT 1877 mm/nommu.c free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); PAGE_SHIFT 482 mm/oom_kill.c #define K(x) ((x) << (PAGE_SHIFT-10)) PAGE_SHIFT 54 mm/page-writeback.c #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10)) PAGE_SHIFT 1882 mm/page-writeback.c ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); PAGE_SHIFT 2180 mm/page-writeback.c index = wbc->range_start >> PAGE_SHIFT; PAGE_SHIFT 2181 mm/page-writeback.c end = wbc->range_end >> PAGE_SHIFT; PAGE_SHIFT 1354 mm/page_alloc.c set_page_address(page, __va(pfn << PAGE_SHIFT)); PAGE_SHIFT 5210 mm/page_alloc.c #define K(x) ((x) << (PAGE_SHIFT-10)) PAGE_SHIFT 6142 mm/page_alloc.c if ((high / 4) > (PAGE_SHIFT * 8)) PAGE_SHIFT 6143 mm/page_alloc.c batch = PAGE_SHIFT * 8; PAGE_SHIFT 6275 mm/page_alloc.c (end_pfn - start_pfn) << PAGE_SHIFT, PAGE_SHIFT 6632 mm/page_alloc.c if (HPAGE_SHIFT > PAGE_SHIFT) PAGE_SHIFT 6675 mm/page_alloc.c return PAGE_ALIGN(pages * sizeof(struct page)) >> PAGE_SHIFT; PAGE_SHIFT 6898 mm/page_alloc.c (u64)start_pfn << PAGE_SHIFT, PAGE_SHIFT 6899 mm/page_alloc.c end_pfn ? ((u64)end_pfn << PAGE_SHIFT) - 1 : 0); PAGE_SHIFT 7382 mm/page_alloc.c << PAGE_SHIFT, PAGE_SHIFT 7384 mm/page_alloc.c << PAGE_SHIFT) - 1); PAGE_SHIFT 7392 mm/page_alloc.c (u64)zone_movable_pfn[i] << PAGE_SHIFT); PAGE_SHIFT 7403 mm/page_alloc.c (u64)start_pfn << PAGE_SHIFT, PAGE_SHIFT 7404 mm/page_alloc.c ((u64)end_pfn << PAGE_SHIFT) - 1); PAGE_SHIFT 7443 mm/page_alloc.c WARN_ON((coremem >> PAGE_SHIFT) > ULONG_MAX); PAGE_SHIFT 7445 mm/page_alloc.c *core = coremem >> PAGE_SHIFT; PAGE_SHIFT 7520 mm/page_alloc.c s, pages << (PAGE_SHIFT - 10)); PAGE_SHIFT 7576 mm/page_alloc.c nr_free_pages() << (PAGE_SHIFT - 10), PAGE_SHIFT 7577 mm/page_alloc.c physpages << (PAGE_SHIFT - 10), PAGE_SHIFT 7580 mm/page_alloc.c (physpages - totalram_pages() - totalcma_pages) << (PAGE_SHIFT - 10), PAGE_SHIFT 7581 mm/page_alloc.c totalcma_pages << (PAGE_SHIFT - 10), PAGE_SHIFT 7583 mm/page_alloc.c totalhigh_pages() << (PAGE_SHIFT - 10), PAGE_SHIFT 7608 mm/page_alloc.c __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); PAGE_SHIFT 7746 mm/page_alloc.c unsigned long pages_min = min_free_kbytes >> (PAGE_SHIFT - 10); PAGE_SHIFT 8065 mm/page_alloc.c #define ADAPT_SCALE_NPAGES (ADAPT_SCALE_BASE >> PAGE_SHIFT) PAGE_SHIFT 8097 mm/page_alloc.c if (PAGE_SHIFT < 20) PAGE_SHIFT 8111 mm/page_alloc.c if (scale > PAGE_SHIFT) PAGE_SHIFT 8112 mm/page_alloc.c numentries >>= (scale - PAGE_SHIFT); PAGE_SHIFT 8114 mm/page_alloc.c numentries <<= (PAGE_SHIFT - scale); PAGE_SHIFT 8131 mm/page_alloc.c max = ((unsigned long long)nr_all_pages << PAGE_SHIFT) >> 4; PAGE_SHIFT 8171 mm/page_alloc.c tablename, 1UL << log2qty, ilog2(size) - PAGE_SHIFT, size, PAGE_SHIFT 40 mm/page_io.c bio->bi_iter.bi_sector <<= PAGE_SHIFT - 9; PAGE_SHIFT 205 mm/page_io.c first_block >>= (PAGE_SHIFT - blkbits); PAGE_SHIFT 265 mm/page_io.c return (sector_t)__page_file_index(page) << (PAGE_SHIFT - 9); PAGE_SHIFT 49 mm/percpu-km.c const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; PAGE_SHIFT 83 mm/percpu-km.c const int nr_pages = pcpu_group_sizes[0] >> PAGE_SHIFT; PAGE_SHIFT 111 mm/percpu-km.c nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; PAGE_SHIFT 136 mm/percpu-vm.c unmap_kernel_range_noflush(addr, nr_pages << PAGE_SHIFT); PAGE_SHIFT 195 mm/percpu-vm.c return map_kernel_range_noflush(addr, nr_pages << PAGE_SHIFT, PAGE_SHIFT 263 mm/percpu.c return pcpu_unit_offsets[cpu] + (page_idx << PAGE_SHIFT); PAGE_SHIFT 1331 mm/percpu.c BITS_TO_LONGS(region_size >> PAGE_SHIFT); PAGE_SHIFT 1343 mm/percpu.c chunk->nr_pages = region_size >> PAGE_SHIFT; PAGE_SHIFT 2390 mm/percpu.c pcpu_unit_pages = ai->unit_size >> PAGE_SHIFT; PAGE_SHIFT 2391 mm/percpu.c pcpu_unit_size = pcpu_unit_pages << PAGE_SHIFT; PAGE_SHIFT 2855 mm/percpu.c unit_pages = ai->unit_size >> PAGE_SHIFT; PAGE_SHIFT 2894 mm/percpu.c populate_pte_fn(unit_addr + (i << PAGE_SHIFT)); PAGE_SHIFT 171 mm/readahead.c end_index = ((isize - 1) >> PAGE_SHIFT); PAGE_SHIFT 452 mm/readahead.c prev_offset = (unsigned long long)ra->prev_pos >> PAGE_SHIFT; PAGE_SHIFT 90 mm/shmem.c #define VM_ACCT(size) (PAGE_ALIGN(size) >> PAGE_SHIFT) PAGE_SHIFT 520 mm/shmem.c (inode->i_size & HPAGE_PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 724 mm/shmem.c return swapped << PAGE_SHIFT; PAGE_SHIFT 753 mm/shmem.c return swapped << PAGE_SHIFT; PAGE_SHIFT 800 mm/shmem.c pgoff_t start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 801 mm/shmem.c pgoff_t end = (lend + 1) >> PAGE_SHIFT; PAGE_SHIFT 1757 mm/shmem.c if (index > (MAX_LFS_FILESIZE >> PAGE_SHIFT)) PAGE_SHIFT 1763 mm/shmem.c ((loff_t)index << PAGE_SHIFT) >= i_size_read(inode)) { PAGE_SHIFT 1823 mm/shmem.c i_size >> PAGE_SHIFT >= off) PAGE_SHIFT 1937 mm/shmem.c ((loff_t)index << PAGE_SHIFT) >= i_size_read(inode)) { PAGE_SHIFT 2134 mm/shmem.c offset = (pgoff << PAGE_SHIFT) & (HPAGE_PMD_SIZE-1); PAGE_SHIFT 2175 mm/shmem.c index = ((addr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 2479 mm/shmem.c pgoff_t index = pos >> PAGE_SHIFT; PAGE_SHIFT 2549 mm/shmem.c index = *ppos >> PAGE_SHIFT; PAGE_SHIFT 2558 mm/shmem.c end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 2585 mm/shmem.c end_index = i_size >> PAGE_SHIFT; PAGE_SHIFT 2621 mm/shmem.c index += offset >> PAGE_SHIFT; PAGE_SHIFT 2634 mm/shmem.c *ppos = ((loff_t) index << PAGE_SHIFT) + offset; PAGE_SHIFT 2705 mm/shmem.c start = offset >> PAGE_SHIFT; PAGE_SHIFT 2706 mm/shmem.c end = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2708 mm/shmem.c new_offset <<= PAGE_SHIFT; PAGE_SHIFT 2753 mm/shmem.c shmem_falloc.start = (u64)unmap_start >> PAGE_SHIFT; PAGE_SHIFT 2754 mm/shmem.c shmem_falloc.next = (unmap_end + 1) >> PAGE_SHIFT; PAGE_SHIFT 2784 mm/shmem.c start = offset >> PAGE_SHIFT; PAGE_SHIFT 2785 mm/shmem.c end = (offset + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2818 mm/shmem.c (loff_t)start << PAGE_SHIFT, PAGE_SHIFT 2819 mm/shmem.c ((loff_t)index << PAGE_SHIFT) - 1, true); PAGE_SHIFT 3428 mm/shmem.c size <<= PAGE_SHIFT; PAGE_SHIFT 3601 mm/shmem.c sbinfo->max_blocks << (PAGE_SHIFT - 10)); PAGE_SHIFT 3684 mm/shmem.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 4013 mm/shmem.c i_size >> PAGE_SHIFT >= off) PAGE_SHIFT 1209 mm/slab.c if (!slab_max_order_set && totalram_pages() > (32 << 20) >> PAGE_SHIFT) PAGE_SHIFT 117 mm/sparse-vmemmap.c nr_pfns = size >> PAGE_SHIFT; PAGE_SHIFT 151 mm/sparse-vmemmap.c entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL); PAGE_SHIFT 159 mm/sparse.c unsigned long max_sparsemem_pfn = 1UL << (MAX_PHYSMEM_BITS-PAGE_SHIFT); PAGE_SHIFT 371 mm/sparse.c goal = __pa(pgdat) & (PAGE_SECTION_MASK << PAGE_SHIFT); PAGE_SHIFT 373 mm/sparse.c nid = early_pfn_to_nid(goal >> PAGE_SHIFT); PAGE_SHIFT 398 mm/sparse.c usemap_snr = pfn_to_section_nr(__pa(usage) >> PAGE_SHIFT); PAGE_SHIFT 399 mm/sparse.c pgdat_snr = pfn_to_section_nr(__pa(pgdat) >> PAGE_SHIFT); PAGE_SHIFT 713 mm/sparse.c >> PAGE_SHIFT; PAGE_SHIFT 1074 mm/swap.c unsigned long megs = totalram_pages() >> (20 - PAGE_SHIFT); PAGE_SHIFT 43 mm/swap_state.c #define SWAP_RA_WIN_SHIFT (PAGE_SHIFT / 2) PAGE_SHIFT 106 mm/swap_state.c get_nr_swap_pages() << (PAGE_SHIFT - 10)); PAGE_SHIFT 107 mm/swap_state.c printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); PAGE_SHIFT 180 mm/swapfile.c start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); PAGE_SHIFT 181 mm/swapfile.c nr_blocks = ((sector_t)se->nr_pages - 1) << (PAGE_SHIFT - 9); PAGE_SHIFT 191 mm/swapfile.c start_block = se->start_block << (PAGE_SHIFT - 9); PAGE_SHIFT 192 mm/swapfile.c nr_blocks = (sector_t)se->nr_pages << (PAGE_SHIFT - 9); PAGE_SHIFT 243 mm/swapfile.c start_block <<= PAGE_SHIFT - 9; PAGE_SHIFT 244 mm/swapfile.c nr_blocks <<= PAGE_SHIFT - 9; PAGE_SHIFT 2772 mm/swapfile.c si->pages << (PAGE_SHIFT - 10), PAGE_SHIFT 2773 mm/swapfile.c si->inuse_pages << (PAGE_SHIFT - 10), PAGE_SHIFT 2970 mm/swapfile.c maxpages << (PAGE_SHIFT - 10), PAGE_SHIFT 2971 mm/swapfile.c last_page << (PAGE_SHIFT - 10)); PAGE_SHIFT 2983 mm/swapfile.c swapfilepages = i_size_read(inode) >> PAGE_SHIFT; PAGE_SHIFT 3298 mm/swapfile.c p->pages<<(PAGE_SHIFT-10), name->name, p->prio, PAGE_SHIFT 3299 mm/swapfile.c nr_extents, (unsigned long long)span<<(PAGE_SHIFT-10), PAGE_SHIFT 316 mm/truncate.c start = (lstart + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 325 mm/truncate.c end = (lend + 1) >> PAGE_SHIFT; PAGE_SHIFT 881 mm/truncate.c index = from >> PAGE_SHIFT; PAGE_SHIFT 304 mm/util.c #define STACK_RND_MASK (0x7ff >> (PAGE_SHIFT - 12)) /* 8MB of VA */ PAGE_SHIFT 314 mm/util.c random_variable <<= PAGE_SHIFT; PAGE_SHIFT 344 mm/util.c return rnd << PAGE_SHIFT; PAGE_SHIFT 372 mm/util.c pad += (STACK_RND_MASK << PAGE_SHIFT); PAGE_SHIFT 435 mm/util.c limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 447 mm/util.c (void *)_RET_IP_, (inc) ? '+' : '-', pages << PAGE_SHIFT, PAGE_SHIFT 448 mm/util.c locked_vm << PAGE_SHIFT, task_rlimit(task, RLIMIT_MEMLOCK), PAGE_SHIFT 515 mm/util.c return vm_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); PAGE_SHIFT 760 mm/util.c allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); PAGE_SHIFT 832 mm/util.c allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); PAGE_SHIFT 838 mm/util.c long reserve = sysctl_user_reserve_kbytes >> (PAGE_SHIFT - 10); PAGE_SHIFT 18 mm/vmacache.c #define VMACACHE_SHIFT PAGE_SHIFT PAGE_SHIFT 1281 mm/vmalloc.c unsigned long nr = (va->va_end - va->va_start) >> PAGE_SHIFT; PAGE_SHIFT 1337 mm/vmalloc.c PAGE_SHIFT, &vmap_lazy_nr); PAGE_SHIFT 1444 mm/vmalloc.c addr = va_start + (pages_off << PAGE_SHIFT); PAGE_SHIFT 1641 mm/vmalloc.c offset >>= PAGE_SHIFT; PAGE_SHIFT 1690 mm/vmalloc.c s = va_start + (vb->dirty_min << PAGE_SHIFT); PAGE_SHIFT 1691 mm/vmalloc.c e = va_start + (vb->dirty_max << PAGE_SHIFT); PAGE_SHIFT 1739 mm/vmalloc.c unsigned long size = (unsigned long)count << PAGE_SHIFT; PAGE_SHIFT 1780 mm/vmalloc.c unsigned long size = (unsigned long)count << PAGE_SHIFT; PAGE_SHIFT 2055 mm/vmalloc.c PAGE_SHIFT, IOREMAP_MAX_ORDER); PAGE_SHIFT 2381 mm/vmalloc.c size = (unsigned long)count << PAGE_SHIFT; PAGE_SHIFT 2409 mm/vmalloc.c nr_pages = get_vm_area_size(area) >> PAGE_SHIFT; PAGE_SHIFT 2489 mm/vmalloc.c if (!size || (size >> PAGE_SHIFT) > totalram_pages()) PAGE_SHIFT 3000 mm/vmalloc.c if (check_shl_overflow(pgoff, PAGE_SHIFT, &off)) PAGE_SHIFT 2260 mm/vmscan.c gb = (inactive + active) >> (30 - PAGE_SHIFT); PAGE_SHIFT 231 mm/vmstat.c mem = zone_managed_pages(zone) >> (27 - PAGE_SHIFT); PAGE_SHIFT 59 mm/z3fold.c #define CHUNK_SHIFT (PAGE_SHIFT - NCHUNKS_ORDER) PAGE_SHIFT 71 mm/zbud.c #define CHUNK_SHIFT (PAGE_SHIFT - NCHUNKS_ORDER) PAGE_SHIFT 101 mm/zsmalloc.c #define _PFN_BITS (MAX_POSSIBLE_PHYSMEM_BITS - PAGE_SHIFT) PAGE_SHIFT 132 mm/zsmalloc.c MAX(32, (ZS_MAX_PAGES_PER_ZSPAGE << PAGE_SHIFT >> OBJ_INDEX_BITS)) PAGE_SHIFT 442 mm/zsmalloc.c return zs_get_total_pages(pool) << PAGE_SHIFT; PAGE_SHIFT 1422 mm/zsmalloc.c nr_page = offset >> PAGE_SHIFT; PAGE_SHIFT 306 net/9p/trans_xen.c (PAGE_SHIFT - XEN_PAGE_SHIFT)); PAGE_SHIFT 345 net/9p/trans_xen.c XEN_9PFS_RING_ORDER - (PAGE_SHIFT - XEN_PAGE_SHIFT)); PAGE_SHIFT 378 net/9p/trans_xen.c (PAGE_SHIFT - XEN_PAGE_SHIFT)); PAGE_SHIFT 177 net/ceph/crypto.c chunk_cnt = chunk_len >> PAGE_SHIFT; PAGE_SHIFT 107 net/ceph/pagelist.c space = (space + PAGE_SIZE - 1) >> PAGE_SHIFT; /* conv to num pages */ PAGE_SHIFT 139 net/ceph/pagevec.c int i = off >> PAGE_SHIFT; PAGE_SHIFT 1063 net/core/skbuff.c num_pg = (size >> PAGE_SHIFT) + 2; /* worst case */ PAGE_SHIFT 1064 net/core/skbuff.c max_pg = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 1355 net/core/skbuff.c new_frags = (__skb_pagelen(skb) + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 5650 net/core/skbuff.c int npages = (data_len + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 5668 net/core/skbuff.c skb->truesize += npages << PAGE_SHIFT; PAGE_SHIFT 1158 net/dccp/proto.c goal = nr_pages >> (21 - PAGE_SHIFT); PAGE_SHIFT 1160 net/dccp/proto.c goal = nr_pages >> (23 - PAGE_SHIFT); PAGE_SHIFT 1164 net/dccp/proto.c sizeof(struct inet_ehash_bucket)) >> PAGE_SHIFT; PAGE_SHIFT 1863 net/decnet/dn_route.c goal = totalram_pages() >> (26 - PAGE_SHIFT); PAGE_SHIFT 3828 net/ipv4/tcp.c struct page *page = skb_frag_page(f) + (offset >> PAGE_SHIFT); PAGE_SHIFT 4019 net/ipv4/tcp.c limit = nr_free_buffer_pages() << (PAGE_SHIFT - 7); PAGE_SHIFT 4708 net/ipv4/tcp_input.c int npages = min_t(size_t, size >> PAGE_SHIFT, MAX_SKB_FRAGS); PAGE_SHIFT 4710 net/ipv4/tcp_input.c data_len = npages << PAGE_SHIFT; PAGE_SHIFT 2458 net/netfilter/nf_conntrack_core.c = (((nr_pages << PAGE_SHIFT) / 16384) PAGE_SHIFT 290 net/netfilter/xt_hashlimit.c size = (nr_pages << PAGE_SHIFT) / 16384 / PAGE_SHIFT 80 net/packet/diag.c pdr.pdr_block_size = ring->pg_vec_pages << PAGE_SHIFT; PAGE_SHIFT 147 net/rds/ib_fmr.c page_cnt += len >> PAGE_SHIFT; PAGE_SHIFT 241 net/rds/ib_frmr.c frmr->dma_npages += len >> PAGE_SHIFT; PAGE_SHIFT 609 net/rds/ib_rdma.c pool->fmr_attr.page_shift = PAGE_SHIFT; PAGE_SHIFT 189 net/rds/info.c >> PAGE_SHIFT; PAGE_SHIFT 61 net/rds/rdma.c return ((vec->addr + vec->bytes + PAGE_SIZE - 1) >> PAGE_SHIFT) - PAGE_SHIFT 62 net/rds/rdma.c (vec->addr >> PAGE_SHIFT); PAGE_SHIFT 207 net/rds/rdma.c if ((nr_pages - 1) > (RDS_MAX_MSG_SIZE >> PAGE_SHIFT)) { PAGE_SHIFT 1419 net/sctp/protocol.c limit = (sysctl_sctp_mem[1]) << (PAGE_SHIFT - 7); PAGE_SHIFT 1435 net/sctp/protocol.c goal = nr_pages >> (22 - PAGE_SHIFT); PAGE_SHIFT 1437 net/sctp/protocol.c goal = nr_pages >> (24 - PAGE_SHIFT); PAGE_SHIFT 1797 net/sunrpc/auth_gss/auth_gss.c first = snd_buf->page_base >> PAGE_SHIFT; PAGE_SHIFT 1798 net/sunrpc/auth_gss/auth_gss.c last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_SHIFT; PAGE_SHIFT 1845 net/sunrpc/auth_gss/auth_gss.c first = snd_buf->page_base >> PAGE_SHIFT; PAGE_SHIFT 1848 net/sunrpc/auth_gss/auth_gss.c snd_buf->page_base -= first << PAGE_SHIFT; PAGE_SHIFT 483 net/sunrpc/auth_gss/gss_krb5_crypto.c int i = (page_pos + outbuf->page_base) >> PAGE_SHIFT; PAGE_SHIFT 82 net/sunrpc/auth_gss/gss_krb5_wrap.c >>PAGE_SHIFT; PAGE_SHIFT 1365 net/sunrpc/rpc_pipe.c sb->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 101 net/sunrpc/socklib.c ppage += base >> PAGE_SHIFT; PAGE_SHIFT 639 net/sunrpc/svc_xprt.c pages = (serv->sv_max_mesg + 2 * PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 868 net/sunrpc/svcsock.c npages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 887 net/sunrpc/svcsock.c npages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 901 net/sunrpc/svcsock.c npages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 139 net/sunrpc/xdr.c return (buf->page_base + buf->page_len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 231 net/sunrpc/xdr.c pgto = pages + (pgto_base >> PAGE_SHIFT); PAGE_SHIFT 232 net/sunrpc/xdr.c pgfrom = pages + (pgfrom_base >> PAGE_SHIFT); PAGE_SHIFT 286 net/sunrpc/xdr.c pgto = pages + (pgbase >> PAGE_SHIFT); PAGE_SHIFT 330 net/sunrpc/xdr.c pgfrom = pages + (pgbase >> PAGE_SHIFT); PAGE_SHIFT 700 net/sunrpc/xdr.c xdr->page_ptr = buf->pages + (new >> PAGE_SHIFT); PAGE_SHIFT 813 net/sunrpc/xdr.c pgnr = base >> PAGE_SHIFT; PAGE_SHIFT 832 net/sunrpc/xdr.c newbase = (1 + xdr->page_ptr - xdr->buf->pages) << PAGE_SHIFT; PAGE_SHIFT 1128 net/sunrpc/xdr.c subbuf->pages = &buf->pages[base >> PAGE_SHIFT]; PAGE_SHIFT 1403 net/sunrpc/xdr.c ppages = buf->pages + (base >> PAGE_SHIFT); PAGE_SHIFT 1586 net/sunrpc/xdr.c i = (offset + buf->page_base) >> PAGE_SHIFT; PAGE_SHIFT 237 net/sunrpc/xprtrdma/rpc_rdma.c ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); PAGE_SHIFT 667 net/sunrpc/xprtrdma/rpc_rdma.c ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); PAGE_SHIFT 963 net/sunrpc/xprtrdma/rpc_rdma.c (rqst->rq_rcv_buf.page_base >> PAGE_SHIFT); PAGE_SHIFT 972 net/sunrpc/xprtrdma/rpc_rdma.c npages = PAGE_ALIGN(page_base + pagelist_len) >> PAGE_SHIFT; PAGE_SHIFT 383 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c #define MAX_BYTES_WRITE_SEG ((u32)(RPCSVC_MAXPAGES << PAGE_SHIFT)) PAGE_SHIFT 388 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c #define MAX_BYTES_SPECIAL_SEG ((u32)((RPCSVC_MAXPAGES + 2) << PAGE_SHIFT)) PAGE_SHIFT 376 net/sunrpc/xprtrdma/svc_rdma_rw.c page_no = page_off >> PAGE_SHIFT; PAGE_SHIFT 429 net/sunrpc/xprtrdma/svc_rdma_rw.c (write_len >> PAGE_SHIFT) + 2); PAGE_SHIFT 609 net/sunrpc/xprtrdma/svc_rdma_rw.c sge_no = PAGE_ALIGN(info->ri_pageoff + len) >> PAGE_SHIFT; PAGE_SHIFT 606 net/sunrpc/xprtrdma/svc_rdma_sendto.c ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); PAGE_SHIFT 681 net/sunrpc/xprtrdma/svc_rdma_sendto.c ppages = xdr->pages + (xdr->page_base >> PAGE_SHIFT); PAGE_SHIFT 370 net/sunrpc/xprtrdma/transport.c xprt->max_payload <<= PAGE_SHIFT; PAGE_SHIFT 311 net/sunrpc/xprtrdma/xprt_rdma.h RPCRDMA_MAX_PAGE_SGES = RPCRDMA_MAX_INLINE >> PAGE_SHIFT, PAGE_SHIFT 333 net/sunrpc/xprtsock.c n = (buf->page_base + want + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 324 net/xdp/xdp_umem.c lock_limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; PAGE_SHIFT 128 net/xdp/xsk.c void *next_pg_addr = umem->pages[(addr >> PAGE_SHIFT) + 1].addr; PAGE_SHIFT 965 net/xdp/xsk.c loff_t offset = (loff_t)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1002 net/xdp/xsk.c pfn = virt_to_phys(q->ring) >> PAGE_SHIFT; PAGE_SHIFT 142 net/xdp/xsk_queue.h (unsigned long)umem->pages[(addr >> PAGE_SHIFT)].addr & PAGE_SHIFT 481 samples/vfio-mdev/mbochs.c pg = __mbochs_get_page(mdev_state, pos >> PAGE_SHIFT); PAGE_SHIFT 539 samples/vfio-mdev/mbochs.c mdev_state->pagecount = mdev_state->memsize >> PAGE_SHIFT; PAGE_SHIFT 752 samples/vfio-mdev/mbochs.c pgoff_t page_offset = (vmf->address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 772 samples/vfio-mdev/mbochs.c if (vma->vm_pgoff != MBOCHS_MEMORY_BAR_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 937 samples/vfio-mdev/mbochs.c page_offset = dmabuf->mode.offset >> PAGE_SHIFT; PAGE_SHIFT 411 samples/vfio-mdev/mdpy.c if (vma->vm_pgoff != MDPY_MEMORY_BAR_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 105 security/integrity/ima/ima_kexec.c ((kexec_segment_size >> PAGE_SHIFT) > totalram_pages() / 2)) { PAGE_SHIFT 162 security/keys/big_key.c unsigned int npg = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 464 security/selinux/selinuxfs.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 32 security/selinux/ss/sidtab.h #define SIDTAB_NODE_ALLOC_SHIFT PAGE_SHIFT PAGE_SHIFT 39 sound/core/memalloc.c PAGE_ALIGN(size) >> PAGE_SHIFT); PAGE_SHIFT 49 sound/core/memalloc.c PAGE_ALIGN(dmab->bytes) >> PAGE_SHIFT); PAGE_SHIFT 268 sound/core/pcm_memory.c unsigned int idx = offset >> PAGE_SHIFT; PAGE_SHIFT 3375 sound/core/pcm_native.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 3421 sound/core/pcm_native.c substream->dma_buffer.addr >> PAGE_SHIFT, PAGE_SHIFT 3493 sound/core/pcm_native.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 3523 sound/core/pcm_native.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 3686 sound/core/pcm_native.c unsigned long offset = pgoff << PAGE_SHIFT; PAGE_SHIFT 41 sound/core/sgbuf.c tmpb.bytes = (sgbuf->table[i].addr & ~PAGE_MASK) << PAGE_SHIFT; PAGE_SHIFT 97 sound/core/sgbuf.c chunk <<= PAGE_SHIFT; PAGE_SHIFT 107 sound/core/sgbuf.c chunk = tmpb.bytes >> PAGE_SHIFT; PAGE_SHIFT 146 sound/core/sgbuf.c start = ofs >> PAGE_SHIFT; PAGE_SHIFT 147 sound/core/sgbuf.c end = (ofs + size - 1) >> PAGE_SHIFT; PAGE_SHIFT 149 sound/core/sgbuf.c pg = sg->table[start].addr >> PAGE_SHIFT; PAGE_SHIFT 155 sound/core/sgbuf.c if ((sg->table[start].addr >> PAGE_SHIFT) != pg) PAGE_SHIFT 156 sound/core/sgbuf.c return (start << PAGE_SHIFT) - ofs; PAGE_SHIFT 1902 sound/pci/emu10k1/emu10k1_main.c emu->max_cache_pages = max_cache_bytes >> PAGE_SHIFT; PAGE_SHIFT 424 sound/pci/emu10k1/emupcm.c epcm->start_addr = mapped << PAGE_SHIFT; PAGE_SHIFT 31 sound/pci/emu10k1/memory.c #define get_aligned_page(offset) ((offset) >> PAGE_SHIFT) PAGE_SHIFT 33 sound/pci/emu10k1/memory.c #define aligned_page_offset(page) ((page) << PAGE_SHIFT) PAGE_SHIFT 221 sound/pci/emu10k1/memory.c blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev); PAGE_SHIFT 326 sound/pci/emu10k1/memory.c unsigned long ofs = idx << PAGE_SHIFT; PAGE_SHIFT 1501 sound/pci/riptide/riptide.c ofs = j << PAGE_SHIFT; PAGE_SHIFT 202 sound/pci/trident/trident_memory.c unsigned long ofs = idx << PAGE_SHIFT; PAGE_SHIFT 937 sound/ppc/snd_ps3.c PAGE_SHIFT); PAGE_SHIFT 945 sound/ppc/snd_ps3.c PAGE_SHIFT, /* use system page size */ PAGE_SHIFT 987 sound/soc/amd/acp-pcm-dma.c rtd->num_of_pages = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 356 sound/soc/amd/raven/acp3x-pcm-dma.c rtd->num_pages = (PAGE_ALIGN(size) >> PAGE_SHIFT); PAGE_SHIFT 63 sound/soc/atmel/atmel-pcm-pdc.c substream->dma_buffer.addr >> PAGE_SHIFT, PAGE_SHIFT 444 sound/soc/intel/haswell/sst-haswell-pcm.c u32 pfn = snd_sgbuf_get_addr(dmab, i * PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 620 sound/soc/intel/haswell/sst-haswell-pcm.c snd_sgbuf_get_addr(dmab, 0) >> PAGE_SHIFT); PAGE_SHIFT 246 sound/soc/samsung/idma.c offset = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 248 sound/soc/samsung/idma.c (runtime->dma_addr + offset) >> PAGE_SHIFT, PAGE_SHIFT 225 sound/soc/sof/core.c u32 pfn = snd_sgbuf_get_addr(dmab, i * PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 454 sound/soc/sprd/sprd-pcm-dma.c runtime->dma_addr >> PAGE_SHIFT, PAGE_SHIFT 213 sound/soc/uniphier/aio-dma.c substream->dma_buffer.addr >> PAGE_SHIFT, PAGE_SHIFT 142 sound/usb/usx2y/us122l.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 232 sound/usb/usx2y/us122l.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 31 sound/usb/usx2y/usX2Yhwdep.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 650 sound/usb/usx2y/usx2yhwdeppcm.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 1282 sound/x86/intel_hdmi_audio.c substream->dma_buffer.addr >> PAGE_SHIFT, PAGE_SHIFT 22 tools/testing/selftests/vm/transhuge-stress.c #define PAGE_SIZE (1 << PAGE_SHIFT) PAGE_SHIFT 47 tools/testing/selftests/vm/transhuge-stress.c (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) PAGE_SHIFT 52 tools/testing/selftests/vm/transhuge-stress.c !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - PAGE_SHIFT)) - 1))) PAGE_SHIFT 82 tools/testing/selftests/vm/transhuge-stress.c len >> (20 + HPAGE_SHIFT - PAGE_SHIFT - 1)); PAGE_SHIFT 117 tools/testing/selftests/vm/transhuge-stress.c size_t idx = pfn >> (HPAGE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 416 virt/kvm/arm/mmu.c phys_addr_t addr = memslot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 653 virt/kvm/arm/mmu.c pfn += (next - addr) >> PAGE_SHIFT; PAGE_SHIFT 686 virt/kvm/arm/mmu.c pfn += (next - addr) >> PAGE_SHIFT; PAGE_SHIFT 722 virt/kvm/arm/mmu.c pfn += (next - addr) >> PAGE_SHIFT; PAGE_SHIFT 927 virt/kvm/arm/mmu.c phys_addr_t addr = memslot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 1379 virt/kvm/arm/mmu.c gfn_t gfn = *ipap >> PAGE_SHIFT; PAGE_SHIFT 1544 virt/kvm/arm/mmu.c phys_addr_t start = memslot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 1545 virt/kvm/arm/mmu.c phys_addr_t end = (memslot->base_gfn + memslot->npages) << PAGE_SHIFT; PAGE_SHIFT 1569 virt/kvm/arm/mmu.c phys_addr_t start = (base_gfn + __ffs(mask)) << PAGE_SHIFT; PAGE_SHIFT 1570 virt/kvm/arm/mmu.c phys_addr_t end = (base_gfn + __fls(mask) + 1) << PAGE_SHIFT; PAGE_SHIFT 1607 virt/kvm/arm/mmu.c lsb = PAGE_SHIFT; PAGE_SHIFT 1622 virt/kvm/arm/mmu.c gpa_start = memslot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 1677 virt/kvm/arm/mmu.c gfn_t gfn = fault_ipa >> PAGE_SHIFT; PAGE_SHIFT 1721 virt/kvm/arm/mmu.c gfn = (fault_ipa & huge_page_mask(hstate_vma(vma))) >> PAGE_SHIFT; PAGE_SHIFT 1953 virt/kvm/arm/mmu.c gfn = fault_ipa >> PAGE_SHIFT; PAGE_SHIFT 2034 virt/kvm/arm/mmu.c (memslot->npages << PAGE_SHIFT)); PAGE_SHIFT 2038 virt/kvm/arm/mmu.c gpa = hva_to_gfn_memslot(hva_start, memslot) << PAGE_SHIFT; PAGE_SHIFT 2295 virt/kvm/arm/mmu.c (kvm_phys_size(kvm) >> PAGE_SHIFT)) PAGE_SHIFT 2338 virt/kvm/arm/mmu.c pa = (phys_addr_t)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 2393 virt/kvm/arm/mmu.c gpa_t gpa = slot->base_gfn << PAGE_SHIFT; PAGE_SHIFT 2394 virt/kvm/arm/mmu.c phys_addr_t size = slot->npages << PAGE_SHIFT; PAGE_SHIFT 928 virt/kvm/arm/vgic/vgic-its.c gfn = addr >> PAGE_SHIFT; PAGE_SHIFT 959 virt/kvm/arm/vgic/vgic-its.c gfn = indirect_ptr >> PAGE_SHIFT; PAGE_SHIFT 1028 virt/kvm/kvm_main.c base_gfn = mem->guest_phys_addr >> PAGE_SHIFT; PAGE_SHIFT 1029 virt/kvm/kvm_main.c npages = mem->memory_size >> PAGE_SHIFT; PAGE_SHIFT 2072 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2092 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2130 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2141 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2186 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2207 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2230 virt/kvm/kvm_main.c gfn_t start_gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 2231 virt/kvm/kvm_main.c gfn_t end_gfn = (gpa + len - 1) >> PAGE_SHIFT; PAGE_SHIFT 2293 virt/kvm/kvm_main.c mark_page_dirty_in_slot(ghc->memslot, gpa >> PAGE_SHIFT); PAGE_SHIFT 2341 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT;