PAGE_SHIFT 58 arch/x86/ia32/ia32_aout.c dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; PAGE_SHIFT 60 arch/x86/ia32/ia32_aout.c (current->mm->brk + (PAGE_SIZE-1))) >> PAGE_SHIFT; PAGE_SHIFT 76 arch/x86/ia32/ia32_aout.c dump->u_ssize = tmp >> PAGE_SHIFT; PAGE_SHIFT 151 arch/x86/ia32/ia32_aout.c #define START_DATA() (u.u_tsize << PAGE_SHIFT) PAGE_SHIFT 196 arch/x86/ia32/ia32_aout.c dump.u_dsize << PAGE_SHIFT)) PAGE_SHIFT 199 arch/x86/ia32/ia32_aout.c dump.u_ssize << PAGE_SHIFT)) PAGE_SHIFT 212 arch/x86/ia32/ia32_aout.c dump_size = dump.u_dsize << PAGE_SHIFT; PAGE_SHIFT 218 arch/x86/ia32/ia32_aout.c dump_size = dump.u_ssize << PAGE_SHIFT; PAGE_SHIFT 221 arch/x86/ia32/sys_ia32.c a.offset>>PAGE_SHIFT); PAGE_SHIFT 130 arch/x86/kernel/acpi/boot.c if (phys+size <= (max_low_pfn_mapped << PAGE_SHIFT)) PAGE_SHIFT 448 arch/x86/kernel/amd_iommu.c __set_bit(addr >> PAGE_SHIFT, dma_dom->bitmap); PAGE_SHIFT 500 arch/x86/kernel/amd_iommu.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 501 arch/x86/kernel/amd_iommu.c limit = iommu_device_max_index(dom->aperture_size >> PAGE_SHIFT, 0, PAGE_SHIFT 502 arch/x86/kernel/amd_iommu.c dma_mask >> PAGE_SHIFT); PAGE_SHIFT 519 arch/x86/kernel/amd_iommu.c address <<= PAGE_SHIFT; PAGE_SHIFT 537 arch/x86/kernel/amd_iommu.c address >>= PAGE_SHIFT; PAGE_SHIFT 576 arch/x86/kernel/amd_iommu.c unsigned int last_page = dom->aperture_size >> PAGE_SHIFT; PAGE_SHIFT 681 arch/x86/kernel/amd_iommu.c unsigned long startpage = iommu->exclusion_start >> PAGE_SHIFT; PAGE_SHIFT 175 arch/x86/kernel/amd_iommu_init.c unsigned shift = PAGE_SHIFT + PAGE_SHIFT 1225 arch/x86/kernel/amd_iommu_init.c unsigned order = PAGE_SHIFT + get_order(memparse(str, &str)); PAGE_SHIFT 107 arch/x86/kernel/aperture_64.c register_nosave_region((u32)__pa(p) >> PAGE_SHIFT, PAGE_SHIFT 108 arch/x86/kernel/aperture_64.c (u32)__pa(p+aper_size) >> PAGE_SHIFT); PAGE_SHIFT 99 arch/x86/kernel/asm-offsets_32.c DEFINE(PAGE_SHIFT_asm, PAGE_SHIFT); PAGE_SHIFT 57 arch/x86/kernel/cpu/amd.c int mbytes = num_physpages >> (20-PAGE_SHIFT); PAGE_SHIFT 425 arch/x86/kernel/cpu/amd.c (max_low_pfn_mapped>>(PMD_SHIFT-PAGE_SHIFT)) || PAGE_SHIFT 427 arch/x86/kernel/cpu/amd.c (max_pfn_mapped>>(PMD_SHIFT-PAGE_SHIFT)) && PAGE_SHIFT 19 arch/x86/kernel/cpu/mtrr/amd.c *base = (low & 0xFFFE0000) >> PAGE_SHIFT; PAGE_SHIFT 45 arch/x86/kernel/cpu/mtrr/amd.c *size = (low + 4) << (15 - PAGE_SHIFT); PAGE_SHIFT 78 arch/x86/kernel/cpu/mtrr/amd.c regs[reg] = (-size >> (15 - PAGE_SHIFT) & 0x0001FFFC) PAGE_SHIFT 79 arch/x86/kernel/cpu/mtrr/amd.c | (base << PAGE_SHIFT) | (type + 1); PAGE_SHIFT 98 arch/x86/kernel/cpu/mtrr/amd.c if (type > MTRR_TYPE_WRCOMB || size < (1 << (17 - PAGE_SHIFT)) PAGE_SHIFT 55 arch/x86/kernel/cpu/mtrr/centaur.c *base = centaur_mcr[reg].high >> PAGE_SHIFT; PAGE_SHIFT 56 arch/x86/kernel/cpu/mtrr/centaur.c *size = -(centaur_mcr[reg].low & 0xfffff000) >> PAGE_SHIFT; PAGE_SHIFT 76 arch/x86/kernel/cpu/mtrr/centaur.c high = base << PAGE_SHIFT; PAGE_SHIFT 78 arch/x86/kernel/cpu/mtrr/centaur.c low = -size << PAGE_SHIFT | 0x1f; /* only support write-combining... */ PAGE_SHIFT 81 arch/x86/kernel/cpu/mtrr/centaur.c low = -size << PAGE_SHIFT | 0x02; /* NC */ PAGE_SHIFT 83 arch/x86/kernel/cpu/mtrr/centaur.c low = -size << PAGE_SHIFT | 0x09; /* WWO,WC */ PAGE_SHIFT 33 arch/x86/kernel/cpu/mtrr/cyrix.c *base >>= PAGE_SHIFT; PAGE_SHIFT 217 arch/x86/kernel/cpu/mtrr/cyrix.c base <<= PAGE_SHIFT; PAGE_SHIFT 253 arch/x86/kernel/cpu/mtrr/generic.c high_width = ((size_or_mask ? ffs(size_or_mask) - 1 : 32) - (32 - PAGE_SHIFT) + 3) / 4; PAGE_SHIFT 396 arch/x86/kernel/cpu/mtrr/generic.c tmp = mask_hi << (32 - PAGE_SHIFT) | mask_lo >> PAGE_SHIFT; PAGE_SHIFT 412 arch/x86/kernel/cpu/mtrr/generic.c *base = base_hi << (32 - PAGE_SHIFT) | base_lo >> PAGE_SHIFT; PAGE_SHIFT 443 arch/x86/kernel/cpu/mtrr/generic.c || (vr->base_hi & (size_and_mask >> (32 - PAGE_SHIFT))) != PAGE_SHIFT 444 arch/x86/kernel/cpu/mtrr/generic.c (hi & (size_and_mask >> (32 - PAGE_SHIFT)))) { PAGE_SHIFT 452 arch/x86/kernel/cpu/mtrr/generic.c || (vr->mask_hi & (size_and_mask >> (32 - PAGE_SHIFT))) != PAGE_SHIFT 453 arch/x86/kernel/cpu/mtrr/generic.c (hi & (size_and_mask >> (32 - PAGE_SHIFT)))) { PAGE_SHIFT 600 arch/x86/kernel/cpu/mtrr/generic.c vr->base_lo = base << PAGE_SHIFT | type; PAGE_SHIFT 601 arch/x86/kernel/cpu/mtrr/generic.c vr->base_hi = (base & size_and_mask) >> (32 - PAGE_SHIFT); PAGE_SHIFT 602 arch/x86/kernel/cpu/mtrr/generic.c vr->mask_lo = -size << PAGE_SHIFT | 0x800; PAGE_SHIFT 603 arch/x86/kernel/cpu/mtrr/generic.c vr->mask_hi = (-size & size_and_mask) >> (32 - PAGE_SHIFT); PAGE_SHIFT 622 arch/x86/kernel/cpu/mtrr/generic.c if (base & ((1 << (22 - PAGE_SHIFT)) - 1)) { PAGE_SHIFT 51 arch/x86/kernel/cpu/mtrr/if.c base >>= PAGE_SHIFT; PAGE_SHIFT 52 arch/x86/kernel/cpu/mtrr/if.c size >>= PAGE_SHIFT; PAGE_SHIFT 70 arch/x86/kernel/cpu/mtrr/if.c base >>= PAGE_SHIFT; PAGE_SHIFT 71 arch/x86/kernel/cpu/mtrr/if.c size >>= PAGE_SHIFT; PAGE_SHIFT 136 arch/x86/kernel/cpu/mtrr/if.c base >>= PAGE_SHIFT; PAGE_SHIFT 137 arch/x86/kernel/cpu/mtrr/if.c size >>= PAGE_SHIFT; PAGE_SHIFT 252 arch/x86/kernel/cpu/mtrr/if.c if (gentry.base + size - 1 >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT)) PAGE_SHIFT 253 arch/x86/kernel/cpu/mtrr/if.c || size >= (1UL << (8 * sizeof(gentry.size) - PAGE_SHIFT))) PAGE_SHIFT 256 arch/x86/kernel/cpu/mtrr/if.c gentry.base <<= PAGE_SHIFT; PAGE_SHIFT 257 arch/x86/kernel/cpu/mtrr/if.c gentry.size = size << PAGE_SHIFT; PAGE_SHIFT 398 arch/x86/kernel/cpu/mtrr/if.c if (size < (0x100000 >> PAGE_SHIFT)) { PAGE_SHIFT 401 arch/x86/kernel/cpu/mtrr/if.c size <<= PAGE_SHIFT - 10; PAGE_SHIFT 404 arch/x86/kernel/cpu/mtrr/if.c size >>= 20 - PAGE_SHIFT; PAGE_SHIFT 409 arch/x86/kernel/cpu/mtrr/if.c i, base, base >> (20 - PAGE_SHIFT), size, factor, PAGE_SHIFT 460 arch/x86/kernel/cpu/mtrr/main.c return mtrr_add_page(base >> PAGE_SHIFT, size >> PAGE_SHIFT, type, PAGE_SHIFT 549 arch/x86/kernel/cpu/mtrr/main.c return mtrr_del_page(reg, base >> PAGE_SHIFT, size >> PAGE_SHIFT); PAGE_SHIFT 888 arch/x86/kernel/cpu/mtrr/main.c range_state[reg].base_pfn = basek >> (PAGE_SHIFT - 10); PAGE_SHIFT 889 arch/x86/kernel/cpu/mtrr/main.c range_state[reg].size_pfn = sizek >> (PAGE_SHIFT - 10); PAGE_SHIFT 901 arch/x86/kernel/cpu/mtrr/main.c basek = range_state[reg].base_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 902 arch/x86/kernel/cpu/mtrr/main.c sizek = range_state[reg].size_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 1102 arch/x86/kernel/cpu/mtrr/main.c basek = base_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 1103 arch/x86/kernel/cpu/mtrr/main.c sizek = size_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 1206 arch/x86/kernel/cpu/mtrr/main.c #define PSHIFT (PAGE_SHIFT - 10) PAGE_SHIFT 1272 arch/x86/kernel/cpu/mtrr/main.c size_base = range_state[i].size_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 1277 arch/x86/kernel/cpu/mtrr/main.c start_base = range_state[i].base_pfn << (PAGE_SHIFT - 10); PAGE_SHIFT 1292 arch/x86/kernel/cpu/mtrr/main.c extra_remove_base = 1 << (32 - PAGE_SHIFT); PAGE_SHIFT 1295 arch/x86/kernel/cpu/mtrr/main.c (mtrr_tom2 >> PAGE_SHIFT) - extra_remove_base; PAGE_SHIFT 1303 arch/x86/kernel/cpu/mtrr/main.c (1ULL<<(20 - PAGE_SHIFT)) - 1); PAGE_SHIFT 1309 arch/x86/kernel/cpu/mtrr/main.c range_sums >> (20 - PAGE_SHIFT)); PAGE_SHIFT 1542 arch/x86/kernel/cpu/mtrr/main.c trim_start <<= PAGE_SHIFT; PAGE_SHIFT 1544 arch/x86/kernel/cpu/mtrr/main.c trim_size <<= PAGE_SHIFT; PAGE_SHIFT 1632 arch/x86/kernel/cpu/mtrr/main.c range[nr_range].start = (1ULL<<(32 - PAGE_SHIFT)); PAGE_SHIFT 1633 arch/x86/kernel/cpu/mtrr/main.c range[nr_range].end = (mtrr_tom2 >> PAGE_SHIFT) - 1; PAGE_SHIFT 1706 arch/x86/kernel/cpu/mtrr/main.c size_or_mask = ~((1ULL << (phys_addr - PAGE_SHIFT)) - 1); PAGE_SHIFT 34 arch/x86/kernel/crash_dump_64.c vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 340 arch/x86/kernel/ds.c pgsz = PAGE_ALIGN(size) >> PAGE_SHIFT; PAGE_SHIFT 342 arch/x86/kernel/ds.c rlim = current->signal->rlim[RLIMIT_AS].rlim_cur >> PAGE_SHIFT; PAGE_SHIFT 347 arch/x86/kernel/ds.c rlim = current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur >> PAGE_SHIFT; PAGE_SHIFT 588 arch/x86/kernel/e820.c gapstart = (max_pfn << PAGE_SHIFT) + 1024*1024; PAGE_SHIFT 1047 arch/x86/kernel/e820.c # define MAX_ARCH_PFN (1ULL<<(36-PAGE_SHIFT)) PAGE_SHIFT 1049 arch/x86/kernel/e820.c # define MAX_ARCH_PFN (1ULL<<(32-PAGE_SHIFT)) PAGE_SHIFT 1052 arch/x86/kernel/e820.c # define MAX_ARCH_PFN MAXMEM>>PAGE_SHIFT PAGE_SHIFT 1072 arch/x86/kernel/e820.c start_pfn = ei->addr >> PAGE_SHIFT; PAGE_SHIFT 1073 arch/x86/kernel/e820.c end_pfn = (ei->addr + ei->size) >> PAGE_SHIFT; PAGE_SHIFT 1099 arch/x86/kernel/e820.c return e820_end_pfn(1UL<<(32 - PAGE_SHIFT), E820_RAM); PAGE_SHIFT 1113 arch/x86/kernel/e820.c *ei_startpfn = round_up(ei->addr, align) >> PAGE_SHIFT; PAGE_SHIFT 1114 arch/x86/kernel/e820.c *ei_endpfn = round_down(ei->addr + ei->size, align) >> PAGE_SHIFT; PAGE_SHIFT 1156 arch/x86/kernel/e820.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1157 arch/x86/kernel/e820.c unsigned long last_pfn = end >> PAGE_SHIFT; PAGE_SHIFT 1167 arch/x86/kernel/e820.c return end - start - ((u64)ram << PAGE_SHIFT); PAGE_SHIFT 51 arch/x86/kernel/efi_64.c num_pages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 48 arch/x86/kernel/kdebugfs.c pg = pfn_to_page((pa + count - 1) >> PAGE_SHIFT); PAGE_SHIFT 138 arch/x86/kernel/kdebugfs.c pg = pfn_to_page((pa_data+sizeof(*data)-1) >> PAGE_SHIFT); PAGE_SHIFT 100 arch/x86/kernel/kvm.c pte_phys <<= PAGE_SHIFT; PAGE_SHIFT 185 arch/x86/kernel/kvm.c .pt_phys = (u64)pfn << PAGE_SHIFT, PAGE_SHIFT 165 arch/x86/kernel/machine_kexec_32.c page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page) << PAGE_SHIFT); PAGE_SHIFT 115 arch/x86/kernel/machine_kexec_64.c return init_level4_page(image, level4p, 0, max_pfn << PAGE_SHIFT); PAGE_SHIFT 165 arch/x86/kernel/machine_kexec_64.c start_pgtable = page_to_pfn(image->control_code_page) << PAGE_SHIFT; PAGE_SHIFT 148 arch/x86/kernel/microcode_core.c if ((len >> PAGE_SHIFT) > num_physpages) { PAGE_SHIFT 38 arch/x86/kernel/numaq_32.c #define MB_TO_PAGES(addr) ((addr) << (20 - PAGE_SHIFT)) PAGE_SHIFT 225 arch/x86/kernel/pci-calgary_64.c npages >>= PAGE_SHIFT; PAGE_SHIFT 244 arch/x86/kernel/pci-calgary_64.c index = start_addr >> PAGE_SHIFT; PAGE_SHIFT 278 arch/x86/kernel/pci-calgary_64.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 321 arch/x86/kernel/pci-calgary_64.c ret = (entry << PAGE_SHIFT) | ((unsigned long)vaddr & ~PAGE_MASK); PAGE_SHIFT 351 arch/x86/kernel/pci-calgary_64.c entry = dma_addr >> PAGE_SHIFT; PAGE_SHIFT 439 arch/x86/kernel/pci-calgary_64.c s->dma_address = (entry << PAGE_SHIFT) | s->offset; PAGE_SHIFT 491 arch/x86/kernel/pci-calgary_64.c npages = size >> PAGE_SHIFT; PAGE_SHIFT 522 arch/x86/kernel/pci-calgary_64.c npages = size >> PAGE_SHIFT; PAGE_SHIFT 713 arch/x86/kernel/pci-calgary_64.c numpages = ((limit - start) >> PAGE_SHIFT); PAGE_SHIFT 791 arch/x86/kernel/pci-calgary_64.c npages = ((1024 - 640) * 1024) >> PAGE_SHIFT; PAGE_SHIFT 794 arch/x86/kernel/pci-calgary_64.c npages = (1 * 1024 * 1024) >> PAGE_SHIFT; PAGE_SHIFT 1621 arch/x86/kernel/pci-calgary_64.c npages = (r->end - r->start) >> PAGE_SHIFT; PAGE_SHIFT 132 arch/x86/kernel/pci-dma.c return size >> PAGE_SHIFT; PAGE_SHIFT 93 arch/x86/kernel/pci-gart_64.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 95 arch/x86/kernel/pci-gart_64.c PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 287 arch/x86/kernel/pci-gart_64.c iommu_page = (dma_addr - iommu_bus_base)>>PAGE_SHIFT; PAGE_SHIFT 480 arch/x86/kernel/pci-gart_64.c iommu_full(dev, pages << PAGE_SHIFT, dir); PAGE_SHIFT 675 arch/x86/kernel/pci-gart_64.c gatt_size = (aper_size >> PAGE_SHIFT) * sizeof(u32); PAGE_SHIFT 680 arch/x86/kernel/pci-gart_64.c if (set_memory_uc((unsigned long)gatt, gatt_size >> PAGE_SHIFT)) PAGE_SHIFT 783 arch/x86/kernel/pci-gart_64.c end_pfn = (aper_base>>PAGE_SHIFT) + (aper_size>>PAGE_SHIFT); PAGE_SHIFT 785 arch/x86/kernel/pci-gart_64.c start_pfn = (aper_base>>PAGE_SHIFT); PAGE_SHIFT 786 arch/x86/kernel/pci-gart_64.c init_memory_mapping(start_pfn<<PAGE_SHIFT, end_pfn<<PAGE_SHIFT); PAGE_SHIFT 791 arch/x86/kernel/pci-gart_64.c iommu_pages = iommu_size >> PAGE_SHIFT; PAGE_SHIFT 822 arch/x86/kernel/pci-gart_64.c iommu_gatt_base = agp_gatt_table + (iommu_start>>PAGE_SHIFT); PAGE_SHIFT 834 arch/x86/kernel/pci-gart_64.c iommu_size >> PAGE_SHIFT); PAGE_SHIFT 258 arch/x86/kernel/setup.c #define MAX_MAP_CHUNK (NR_FIX_BTMAPS << PAGE_SHIFT) PAGE_SHIFT 264 arch/x86/kernel/setup.c u64 end_of_lowmem = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 327 arch/x86/kernel/setup.c u64 end_of_lowmem = max_low_pfn << PAGE_SHIFT; PAGE_SHIFT 481 arch/x86/kernel/setup.c return total << PAGE_SHIFT; PAGE_SHIFT 954 arch/x86/kernel/setup.c if (max_pfn > (1UL<<(32 - PAGE_SHIFT))) PAGE_SHIFT 967 arch/x86/kernel/setup.c max_low_pfn_mapped = init_memory_mapping(0, max_low_pfn<<PAGE_SHIFT); PAGE_SHIFT 973 arch/x86/kernel/setup.c max_pfn<<PAGE_SHIFT); PAGE_SHIFT 81 arch/x86/kernel/sys_i386_32.c a.fd, a.offset >> PAGE_SHIFT); PAGE_SHIFT 41 arch/x86/kernel/sys_x86_64.c error = do_mmap_pgoff(file, addr, len, prot, flags, off >> PAGE_SHIFT); PAGE_SHIFT 62 arch/x86/kernel/tce_64.c rpn = (virt_to_bus((void*)uaddr)) >> PAGE_SHIFT; PAGE_SHIFT 835 arch/x86/kernel/traps.c unsigned long lim_pages = (new_kesp | (THREAD_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 318 arch/x86/kernel/vmi_32.c ptr = (u32 *)__va(pfn << PAGE_SHIFT); PAGE_SHIFT 453 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); PAGE_SHIFT 459 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); PAGE_SHIFT 466 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE | VMI_PAGE_PD); PAGE_SHIFT 472 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); PAGE_SHIFT 480 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(pmdp) >> PAGE_SHIFT, VMI_PAGE_PMD); PAGE_SHIFT 483 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(pmdp) >> PAGE_SHIFT, VMI_PAGE_PGD); PAGE_SHIFT 505 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); PAGE_SHIFT 513 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(pudp) >> PAGE_SHIFT, VMI_PAGE_PGD); PAGE_SHIFT 520 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(ptep) >> PAGE_SHIFT, VMI_PAGE_PTE); PAGE_SHIFT 527 arch/x86/kernel/vmi_32.c vmi_check_page_type(__pa(pmd) >> PAGE_SHIFT, VMI_PAGE_PMD); PAGE_SHIFT 91 arch/x86/kvm/mmu.c (PAGE_SHIFT + (level - 1) * PT64_LEVEL_BITS) PAGE_SHIFT 103 arch/x86/kvm/mmu.c (PAGE_SHIFT + (level - 1) * PT32_LEVEL_BITS) PAGE_SHIFT 114 arch/x86/kvm/mmu.c (PT64_BASE_ADDR_MASK & ~((1ULL << (PAGE_SHIFT + PT64_LEVEL_BITS)) - 1)) PAGE_SHIFT 118 arch/x86/kvm/mmu.c (PAGE_MASK & ~((1ULL << (PAGE_SHIFT + PT32_LEVEL_BITS)) - 1)) PAGE_SHIFT 235 arch/x86/kvm/mmu.c return (pte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT; PAGE_SHIFT 240 arch/x86/kvm/mmu.c int shift = 32 - PT32_DIR_PSE36_SHIFT - PAGE_SHIFT; PAGE_SHIFT 690 arch/x86/kvm/mmu.c end = start + (memslot->npages << PAGE_SHIFT); PAGE_SHIFT 692 arch/x86/kvm/mmu.c gfn_t gfn_offset = (hva - start) >> PAGE_SHIFT; PAGE_SHIFT 912 arch/x86/kvm/mmu.c quadrant = gaddr >> (PAGE_SHIFT + (PT64_PT_BITS * level)); PAGE_SHIFT 1114 arch/x86/kvm/mmu.c page = gfn_to_page(vcpu->kvm, gpa >> PAGE_SHIFT); PAGE_SHIFT 1177 arch/x86/kvm/mmu.c spte |= (u64)pfn << PAGE_SHIFT; PAGE_SHIFT 1264 arch/x86/kvm/mmu.c >> PAGE_SHIFT; PAGE_SHIFT 1367 arch/x86/kvm/mmu.c root_gfn = vcpu->arch.cr3 >> PAGE_SHIFT; PAGE_SHIFT 1395 arch/x86/kvm/mmu.c root_gfn = vcpu->arch.pdptrs[i] >> PAGE_SHIFT; PAGE_SHIFT 1427 arch/x86/kvm/mmu.c gfn = gva >> PAGE_SHIFT; PAGE_SHIFT 1439 arch/x86/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 1768 arch/x86/kvm/mmu.c gfn = (gpte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT; PAGE_SHIFT 1803 arch/x86/kvm/mmu.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 1877 arch/x86/kvm/mmu.c quadrant = page_offset >> PAGE_SHIFT; PAGE_SHIFT 1917 arch/x86/kvm/mmu.c r = kvm_mmu_unprotect_page(vcpu->kvm, gpa >> PAGE_SHIFT); PAGE_SHIFT 2247 arch/x86/kvm/mmu.c mmu_unshadow(vcpu->kvm, addr >> PAGE_SHIFT); PAGE_SHIFT 2335 arch/x86/kvm/mmu.c gva_t va_delta = 1ul << (PAGE_SHIFT + 9 * (level - 1)); PAGE_SHIFT 2354 arch/x86/kvm/mmu.c hpa_t hpa = (hpa_t)gpa_to_pfn(vcpu, gpa) << PAGE_SHIFT; PAGE_SHIFT 78 arch/x86/kvm/paging_tmpl.h return (gpte & PT_BASE_ADDR_MASK) >> PAGE_SHIFT; PAGE_SHIFT 83 arch/x86/kvm/paging_tmpl.h return (gpte & PT_DIR_BASE_ADDR_MASK) >> PAGE_SHIFT; PAGE_SHIFT 316 arch/x86/kvm/svm.c page_to_pfn(svm_data->save_area) << PAGE_SHIFT); PAGE_SHIFT 433 arch/x86/kvm/svm.c iopm_base = page_to_pfn(iopm_pages) << PAGE_SHIFT; PAGE_SHIFT 475 arch/x86/kvm/svm.c __free_pages(pfn_to_page(iopm_base >> PAGE_SHIFT), IOPM_ALLOC_ORDER); PAGE_SHIFT 658 arch/x86/kvm/svm.c svm->vmcb_pa = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 683 arch/x86/kvm/svm.c __free_page(pfn_to_page(svm->vmcb_pa >> PAGE_SHIFT)); PAGE_SHIFT 1326 arch/x86/kvm/vmx.c return base_gfn << PAGE_SHIFT; PAGE_SHIFT 1720 arch/x86/kvm/vmx.c gfn_t fn = rmode_tss_base(kvm) >> PAGE_SHIFT; PAGE_SHIFT 1766 arch/x86/kvm/vmx.c identity_map_pfn = VMX_EPT_IDENTITY_PAGETABLE_ADDR >> PAGE_SHIFT; PAGE_SHIFT 1837 arch/x86/kvm/vmx.c VMX_EPT_IDENTITY_PAGETABLE_ADDR >> PAGE_SHIFT); PAGE_SHIFT 2657 arch/x86/kvm/vmx.c hva = gfn_to_hva(vcpu->kvm, gpa >> PAGE_SHIFT); PAGE_SHIFT 205 arch/x86/kvm/x86.c gfn_t pdpt_gfn = cr3 >> PAGE_SHIFT; PAGE_SHIFT 395 arch/x86/kvm/x86.c if (unlikely(!gfn_to_memslot(vcpu->kvm, cr3 >> PAGE_SHIFT))) PAGE_SHIFT 611 arch/x86/kvm/x86.c mark_page_dirty(v->kvm, vcpu->time >> PAGE_SHIFT); PAGE_SHIFT 697 arch/x86/kvm/x86.c gfn_to_page(vcpu->kvm, data >> PAGE_SHIFT); PAGE_SHIFT 1502 arch/x86/kvm/x86.c p->base_gfn = alias->guest_phys_addr >> PAGE_SHIFT; PAGE_SHIFT 1503 arch/x86/kvm/x86.c p->npages = alias->memory_size >> PAGE_SHIFT; PAGE_SHIFT 1504 arch/x86/kvm/x86.c p->target_gfn = alias->target_phys_addr >> PAGE_SHIFT; PAGE_SHIFT 2022 arch/x86/kvm/x86.c page = gfn_to_page(vcpu->kvm, gpa >> PAGE_SHIFT); PAGE_SHIFT 2780 arch/x86/kvm/x86.c page = gfn_to_page(vcpu->kvm, apic->vapic_addr >> PAGE_SHIFT); PAGE_SHIFT 2795 arch/x86/kvm/x86.c mark_page_dirty(vcpu->kvm, apic->vapic_addr >> PAGE_SHIFT); PAGE_SHIFT 3970 arch/x86/kvm/x86.c int npages = mem->memory_size >> PAGE_SHIFT; PAGE_SHIFT 1048 arch/x86/lguest/boot.c max_pfn_mapped = (128*1024*1024) >> PAGE_SHIFT; PAGE_SHIFT 204 arch/x86/mm/fault.c if ((page >> PAGE_SHIFT) < max_low_pfn PAGE_SHIFT 222 arch/x86/mm/fault.c if ((page >> PAGE_SHIFT) < max_low_pfn PAGE_SHIFT 226 arch/x86/mm/fault.c page = ((__typeof__(page) *) __va(page))[(address >> PAGE_SHIFT) PAGE_SHIFT 766 arch/x86/mm/fault.c unsigned long bit = (address - 0xA0000) >> PAGE_SHIFT; PAGE_SHIFT 127 arch/x86/mm/gup.c page = head + ((addr & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 184 arch/x86/mm/gup.c page = head + ((addr & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 233 arch/x86/mm/gup.c len = (unsigned long) nr_pages << PAGE_SHIFT; PAGE_SHIFT 270 arch/x86/mm/gup.c VM_BUG_ON(nr != (end - start) >> PAGE_SHIFT); PAGE_SHIFT 280 arch/x86/mm/gup.c start += nr << PAGE_SHIFT; PAGE_SHIFT 285 arch/x86/mm/gup.c (end - start) >> PAGE_SHIFT, write, 0, pages, NULL); PAGE_SHIFT 24 arch/x86/mm/hugetlbpage.c unsigned long saddr = ((idx - svma->vm_pgoff) << PAGE_SHIFT) + PAGE_SHIFT 62 arch/x86/mm/hugetlbpage.c pgoff_t idx = ((addr - vma->vm_start) >> PAGE_SHIFT) + PAGE_SHIFT 238 arch/x86/mm/hugetlbpage.c page += ((address & ~PMD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 250 arch/x86/mm/hugetlbpage.c page += ((address & ~PUD_MASK) >> PAGE_SHIFT); PAGE_SHIFT 433 arch/x86/mm/hugetlbpage.c hugetlb_add_hstate(PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 435 arch/x86/mm/hugetlbpage.c hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 101 arch/x86/mm/init_32.c paravirt_alloc_pmd(&init_mm, __pa(pmd_table) >> PAGE_SHIFT); PAGE_SHIFT 134 arch/x86/mm/init_32.c paravirt_alloc_pte(&init_mm, __pa(page_table) >> PAGE_SHIFT); PAGE_SHIFT 224 arch/x86/mm/init_32.c pgd_idx = pgd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); PAGE_SHIFT 232 arch/x86/mm/init_32.c pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); PAGE_SHIFT 274 arch/x86/mm/init_32.c pte_ofs = pte_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); PAGE_SHIFT 456 arch/x86/mm/init_32.c for (pfn = max_low_pfn + 1; pfn < 1<<(32-PAGE_SHIFT); pfn++) { PAGE_SHIFT 457 arch/x86/mm/init_32.c va = PAGE_OFFSET + (pfn<<PAGE_SHIFT); PAGE_SHIFT 473 arch/x86/mm/init_32.c paravirt_alloc_pmd(&init_mm, __pa(base) >> PAGE_SHIFT); PAGE_SHIFT 627 arch/x86/mm/init_32.c highmem_pages = memparse(arg, &arg) >> PAGE_SHIFT; PAGE_SHIFT 738 arch/x86/mm/init_32.c virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; PAGE_SHIFT 754 arch/x86/mm/init_32.c bootmap_size = bootmem_bootmap_pages(max_low_pfn)<<PAGE_SHIFT; PAGE_SHIFT 755 arch/x86/mm/init_32.c bootmap = find_e820_area(min_low_pfn<<PAGE_SHIFT, PAGE_SHIFT 756 arch/x86/mm/init_32.c max_pfn_mapped<<PAGE_SHIFT, bootmap_size, PAGE_SHIFT 763 arch/x86/mm/init_32.c bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap >> PAGE_SHIFT, PAGE_SHIFT 766 arch/x86/mm/init_32.c max_pfn_mapped<<PAGE_SHIFT); PAGE_SHIFT 768 arch/x86/mm/init_32.c min_low_pfn<<PAGE_SHIFT, max_low_pfn<<PAGE_SHIFT); PAGE_SHIFT 773 arch/x86/mm/init_32.c early_res_to_bootmem(0, max_low_pfn<<PAGE_SHIFT); PAGE_SHIFT 793 arch/x86/mm/init_32.c ptes = (extra + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 795 arch/x86/mm/init_32.c ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 808 arch/x86/mm/init_32.c table_start = find_e820_area(start, max_pfn_mapped<<PAGE_SHIFT, PAGE_SHIFT 813 arch/x86/mm/init_32.c table_start >>= PAGE_SHIFT; PAGE_SHIFT 815 arch/x86/mm/init_32.c table_top = table_start + (tables>>PAGE_SHIFT); PAGE_SHIFT 818 arch/x86/mm/init_32.c end, table_start << PAGE_SHIFT, PAGE_SHIFT 819 arch/x86/mm/init_32.c (table_start << PAGE_SHIFT) + tables); PAGE_SHIFT 870 arch/x86/mm/init_32.c start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 871 arch/x86/mm/init_32.c end_pfn = min(big_page_start>>PAGE_SHIFT, end>>PAGE_SHIFT); PAGE_SHIFT 874 arch/x86/mm/init_32.c start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 876 arch/x86/mm/init_32.c << (PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 883 arch/x86/mm/init_32.c << (PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 884 arch/x86/mm/init_32.c if (start_pfn < (big_page_start >> PAGE_SHIFT)) PAGE_SHIFT 885 arch/x86/mm/init_32.c start_pfn = big_page_start >> PAGE_SHIFT; PAGE_SHIFT 886 arch/x86/mm/init_32.c end_pfn = (end>>PMD_SHIFT) << (PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 893 arch/x86/mm/init_32.c if (start_pfn > (big_page_start>>PAGE_SHIFT)) { PAGE_SHIFT 894 arch/x86/mm/init_32.c end_pfn = end >> PAGE_SHIFT; PAGE_SHIFT 907 arch/x86/mm/init_32.c reserve_early(table_start << PAGE_SHIFT, PAGE_SHIFT 908 arch/x86/mm/init_32.c table_end << PAGE_SHIFT, "PGTABLE"); PAGE_SHIFT 913 arch/x86/mm/init_32.c return end >> PAGE_SHIFT; PAGE_SHIFT 995 arch/x86/mm/init_32.c kclist_add(&kcore_mem, __va(0), max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 1001 arch/x86/mm/init_32.c (unsigned long) nr_free_pages() << (PAGE_SHIFT-10), PAGE_SHIFT 1002 arch/x86/mm/init_32.c num_physpages << (PAGE_SHIFT-10), PAGE_SHIFT 1004 arch/x86/mm/init_32.c reservedpages << (PAGE_SHIFT-10), PAGE_SHIFT 1007 arch/x86/mm/init_32.c (unsigned long) (totalhigh_pages << (PAGE_SHIFT-10)) PAGE_SHIFT 1063 arch/x86/mm/init_32.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1064 arch/x86/mm/init_32.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 1105 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 1112 arch/x86/mm/init_32.c set_pages_rw(virt_to_page(start), size>>PAGE_SHIFT); PAGE_SHIFT 1115 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size>>PAGE_SHIFT); PAGE_SHIFT 1121 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 1128 arch/x86/mm/init_32.c set_pages_rw(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 1131 arch/x86/mm/init_32.c set_pages_ro(virt_to_page(start), size >> PAGE_SHIFT); PAGE_SHIFT 1146 arch/x86/mm/init_32.c set_memory_np(begin, (end - begin) >> PAGE_SHIFT); PAGE_SHIFT 1155 arch/x86/mm/init_32.c set_memory_rw(begin, (end - begin) >> PAGE_SHIFT); PAGE_SHIFT 358 arch/x86/mm/init_64.c pte, addr, pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL).pte); PAGE_SHIFT 360 arch/x86/mm/init_64.c set_pte(pte, pfn_pte(addr >> PAGE_SHIFT, prot)); PAGE_SHIFT 430 arch/x86/mm/init_64.c pfn_pte(address >> PAGE_SHIFT, PAGE_SHIFT 511 arch/x86/mm/init_64.c pfn_pte(addr >> PAGE_SHIFT, PAGE_KERNEL_LARGE)); PAGE_SHIFT 562 arch/x86/mm/init_64.c ptes = (extra + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 564 arch/x86/mm/init_64.c ptes = (end + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 577 arch/x86/mm/init_64.c table_start >>= PAGE_SHIFT; PAGE_SHIFT 579 arch/x86/mm/init_64.c table_top = table_start + (tables >> PAGE_SHIFT); PAGE_SHIFT 582 arch/x86/mm/init_64.c end, table_start << PAGE_SHIFT, table_top << PAGE_SHIFT); PAGE_SHIFT 648 arch/x86/mm/init_64.c mr[nr_range].start = start_pfn<<PAGE_SHIFT; PAGE_SHIFT 649 arch/x86/mm/init_64.c mr[nr_range].end = end_pfn<<PAGE_SHIFT; PAGE_SHIFT 706 arch/x86/mm/init_64.c start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 708 arch/x86/mm/init_64.c << (PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 713 arch/x86/mm/init_64.c << (PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 715 arch/x86/mm/init_64.c << (PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 716 arch/x86/mm/init_64.c if (end_pfn > ((end>>PUD_SHIFT)<<(PUD_SHIFT - PAGE_SHIFT))) PAGE_SHIFT 717 arch/x86/mm/init_64.c end_pfn = ((end>>PUD_SHIFT)<<(PUD_SHIFT - PAGE_SHIFT)); PAGE_SHIFT 723 arch/x86/mm/init_64.c end_pfn = (end>>PUD_SHIFT) << (PUD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 730 arch/x86/mm/init_64.c end_pfn = (end>>PMD_SHIFT) << (PMD_SHIFT - PAGE_SHIFT); PAGE_SHIFT 736 arch/x86/mm/init_64.c end_pfn = end>>PAGE_SHIFT; PAGE_SHIFT 772 arch/x86/mm/init_64.c reserve_early(table_start << PAGE_SHIFT, PAGE_SHIFT 773 arch/x86/mm/init_64.c table_end << PAGE_SHIFT, "PGTABLE"); PAGE_SHIFT 781 arch/x86/mm/init_64.c return last_map_addr >> PAGE_SHIFT; PAGE_SHIFT 789 arch/x86/mm/init_64.c bootmap_size = bootmem_bootmap_pages(end_pfn)<<PAGE_SHIFT; PAGE_SHIFT 790 arch/x86/mm/init_64.c bootmap = find_e820_area(0, end_pfn<<PAGE_SHIFT, bootmap_size, PAGE_SHIFT 795 arch/x86/mm/init_64.c bootmap_size = init_bootmem_node(NODE_DATA(0), bootmap >> PAGE_SHIFT, PAGE_SHIFT 799 arch/x86/mm/init_64.c early_res_to_bootmem(0, end_pfn<<PAGE_SHIFT); PAGE_SHIFT 830 arch/x86/mm/init_64.c unsigned long last_mapped_pfn, start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 831 arch/x86/mm/init_64.c unsigned long nr_pages = size >> PAGE_SHIFT; PAGE_SHIFT 905 arch/x86/mm/init_64.c kclist_add(&kcore_mem, __va(0), max_low_pfn << PAGE_SHIFT); PAGE_SHIFT 915 arch/x86/mm/init_64.c (unsigned long) nr_free_pages() << (PAGE_SHIFT-10), PAGE_SHIFT 916 arch/x86/mm/init_64.c max_pfn << (PAGE_SHIFT-10), PAGE_SHIFT 918 arch/x86/mm/init_64.c reservedpages << (PAGE_SHIFT-10), PAGE_SHIFT 938 arch/x86/mm/init_64.c set_memory_np(begin, (end - begin) >> PAGE_SHIFT); PAGE_SHIFT 977 arch/x86/mm/init_64.c set_memory_ro(start, (end - start) >> PAGE_SHIFT); PAGE_SHIFT 983 arch/x86/mm/init_64.c set_memory_nx(rodata_start, (end - rodata_start) >> PAGE_SHIFT); PAGE_SHIFT 989 arch/x86/mm/init_64.c set_memory_rw(start, (end-start) >> PAGE_SHIFT); PAGE_SHIFT 992 arch/x86/mm/init_64.c set_memory_ro(start, (end-start) >> PAGE_SHIFT); PAGE_SHIFT 1012 arch/x86/mm/init_64.c unsigned long pfn = phys >> PAGE_SHIFT; PAGE_SHIFT 1188 arch/x86/mm/init_64.c entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_SHIFT 65 arch/x86/mm/ioremap.c return pfn_valid(x >> PAGE_SHIFT); PAGE_SHIFT 94 arch/x86/mm/ioremap.c return pfn_valid((x - PAGE_OFFSET) >> PAGE_SHIFT); PAGE_SHIFT 117 arch/x86/mm/ioremap.c if (pagenr >= (BIOS_BEGIN >> PAGE_SHIFT) && PAGE_SHIFT 118 arch/x86/mm/ioremap.c pagenr < (BIOS_END >> PAGE_SHIFT)) PAGE_SHIFT 127 arch/x86/mm/ioremap.c addr = (e820.map[i].addr + PAGE_SIZE-1) >> PAGE_SHIFT; PAGE_SHIFT 128 arch/x86/mm/ioremap.c end = (e820.map[i].addr + e820.map[i].size) >> PAGE_SHIFT; PAGE_SHIFT 142 arch/x86/mm/ioremap.c for (page_nr = (start >> PAGE_SHIFT); page_nr < (end >> PAGE_SHIFT); PAGE_SHIFT 163 arch/x86/mm/ioremap.c unsigned long nrpages = size >> PAGE_SHIFT; PAGE_SHIFT 225 arch/x86/mm/ioremap.c for (pfn = phys_addr >> PAGE_SHIFT; PAGE_SHIFT 226 arch/x86/mm/ioremap.c (pfn << PAGE_SHIFT) < (last_addr & PAGE_MASK); PAGE_SHIFT 475 arch/x86/mm/ioremap.c if (page_is_ram(start >> PAGE_SHIFT)) PAGE_SHIFT 487 arch/x86/mm/ioremap.c if (page_is_ram(phys >> PAGE_SHIFT)) PAGE_SHIFT 562 arch/x86/mm/ioremap.c paravirt_release_pte(__pa(bm_pte) >> PAGE_SHIFT); PAGE_SHIFT 596 arch/x86/mm/ioremap.c set_pte(pte, pfn_pte(phys >> PAGE_SHIFT, flags)); PAGE_SHIFT 690 arch/x86/mm/ioremap.c nrpages = size >> PAGE_SHIFT; PAGE_SHIFT 768 arch/x86/mm/ioremap.c nrpages = PAGE_ALIGN(offset + size - 1) >> PAGE_SHIFT; PAGE_SHIFT 146 arch/x86/mm/k8topology_64.c if (limit > max_pfn << PAGE_SHIFT) PAGE_SHIFT 147 arch/x86/mm/k8topology_64.c limit = max_pfn << PAGE_SHIFT; PAGE_SHIFT 183 arch/x86/mm/k8topology_64.c nodes[nodeid].start >> PAGE_SHIFT, PAGE_SHIFT 184 arch/x86/mm/k8topology_64.c nodes[nodeid].end >> PAGE_SHIFT); PAGE_SHIFT 81 arch/x86/mm/mmap.c return rnd << PAGE_SHIFT; PAGE_SHIFT 164 arch/x86/mm/numa_32.c pgdat_phys = find_e820_area(min_low_pfn<<PAGE_SHIFT, PAGE_SHIFT 165 arch/x86/mm/numa_32.c max_pfn_mapped<<PAGE_SHIFT, PAGE_SHIFT 168 arch/x86/mm/numa_32.c NODE_DATA(nid) = (pg_data_t *)(pfn_to_kaddr(pgdat_phys>>PAGE_SHIFT)); PAGE_SHIFT 214 arch/x86/mm/numa_32.c vaddr = node_remap_start_vaddr[node]+(pfn<<PAGE_SHIFT); PAGE_SHIFT 257 arch/x86/mm/numa_32.c node_kva_target <<= PAGE_SHIFT; PAGE_SHIFT 260 arch/x86/mm/numa_32.c ((u64)node_end_pfn[nid])<<PAGE_SHIFT, PAGE_SHIFT 261 arch/x86/mm/numa_32.c ((u64)size)<<PAGE_SHIFT, PAGE_SHIFT 265 arch/x86/mm/numa_32.c (node_kva_target>>PAGE_SHIFT) > (node_start_pfn[nid])); PAGE_SHIFT 275 arch/x86/mm/numa_32.c size, nid, node_kva_final>>PAGE_SHIFT); PAGE_SHIFT 289 arch/x86/mm/numa_32.c node_kva_final+(((u64)size)<<PAGE_SHIFT), PAGE_SHIFT 292 arch/x86/mm/numa_32.c node_remap_start_pfn[nid] = node_kva_final>>PAGE_SHIFT; PAGE_SHIFT 335 arch/x86/mm/numa_32.c kva_start_pfn = find_e820_area(kva_target_pfn<<PAGE_SHIFT, PAGE_SHIFT 336 arch/x86/mm/numa_32.c max_low_pfn<<PAGE_SHIFT, PAGE_SHIFT 337 arch/x86/mm/numa_32.c kva_pages<<PAGE_SHIFT, PAGE_SHIFT 338 arch/x86/mm/numa_32.c PTRS_PER_PTE<<PAGE_SHIFT) >> PAGE_SHIFT; PAGE_SHIFT 350 arch/x86/mm/numa_32.c reserve_early(kva_start_pfn<<PAGE_SHIFT, PAGE_SHIFT 351 arch/x86/mm/numa_32.c (kva_start_pfn + kva_pages)<<PAGE_SHIFT, PAGE_SHIFT 83 arch/x86/mm/numa_64.c nodemap_addr = find_e820_area(addr, max_pfn<<PAGE_SHIFT, PAGE_SHIFT 150 arch/x86/mm/numa_64.c return phys_to_nid(pfn << PAGE_SHIFT); PAGE_SHIFT 187 arch/x86/mm/numa_64.c start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 188 arch/x86/mm/numa_64.c last_pfn = end >> PAGE_SHIFT; PAGE_SHIFT 221 arch/x86/mm/numa_64.c bootmap_pages<<PAGE_SHIFT, PAGE_SIZE); PAGE_SHIFT 231 arch/x86/mm/numa_64.c bootmap_start >> PAGE_SHIFT, PAGE_SHIFT 261 arch/x86/mm/numa_64.c bootmap_pages<<PAGE_SHIFT, BOOTMEM_DEFAULT); PAGE_SHIFT 404 arch/x86/mm/numa_64.c u64 size, addr = start_pfn << PAGE_SHIFT; PAGE_SHIFT 405 arch/x86/mm/numa_64.c u64 max_addr = last_pfn << PAGE_SHIFT; PAGE_SHIFT 501 arch/x86/mm/numa_64.c e820_register_active_regions(i, nodes[i].start >> PAGE_SHIFT, PAGE_SHIFT 502 arch/x86/mm/numa_64.c nodes[i].end >> PAGE_SHIFT); PAGE_SHIFT 526 arch/x86/mm/numa_64.c if (!numa_off && !acpi_scan_nodes(start_pfn << PAGE_SHIFT, PAGE_SHIFT 527 arch/x86/mm/numa_64.c last_pfn << PAGE_SHIFT)) PAGE_SHIFT 534 arch/x86/mm/numa_64.c if (!numa_off && !k8_scan_nodes(start_pfn<<PAGE_SHIFT, PAGE_SHIFT 535 arch/x86/mm/numa_64.c last_pfn<<PAGE_SHIFT)) PAGE_SHIFT 544 arch/x86/mm/numa_64.c start_pfn << PAGE_SHIFT, PAGE_SHIFT 545 arch/x86/mm/numa_64.c last_pfn << PAGE_SHIFT); PAGE_SHIFT 555 arch/x86/mm/numa_64.c setup_node_bootmem(0, start_pfn << PAGE_SHIFT, last_pfn << PAGE_SHIFT); PAGE_SHIFT 56 arch/x86/mm/pageattr-test.c unsigned long addr = (unsigned long)__va(i << PAGE_SHIFT); PAGE_SHIFT 139 arch/x86/mm/pageattr-test.c addr[i] = (unsigned long)__va(pfn << PAGE_SHIFT); PAGE_SHIFT 94 arch/x86/mm/pageattr.c return __pa(_text) >> PAGE_SHIFT; PAGE_SHIFT 99 arch/x86/mm/pageattr.c return __pa(roundup((unsigned long)_end, PMD_SIZE)) >> PAGE_SHIFT; PAGE_SHIFT 255 arch/x86/mm/pageattr.c if (within(pfn, BIOS_BEGIN >> PAGE_SHIFT, BIOS_END >> PAGE_SHIFT)) PAGE_SHIFT 270 arch/x86/mm/pageattr.c if (within(pfn, __pa((unsigned long)__start_rodata) >> PAGE_SHIFT, PAGE_SHIFT 271 arch/x86/mm/pageattr.c __pa((unsigned long)__end_rodata) >> PAGE_SHIFT)) PAGE_SHIFT 388 arch/x86/mm/pageattr.c numpages = (nextpage_addr - address) >> PAGE_SHIFT; PAGE_SHIFT 405 arch/x86/mm/pageattr.c pfn = pte_pfn(old_pte) + ((address & (psize - 1)) >> PAGE_SHIFT); PAGE_SHIFT 489 arch/x86/mm/pageattr.c pfninc = PMD_PAGE_SIZE >> PAGE_SHIFT; PAGE_SHIFT 502 arch/x86/mm/pageattr.c address < (unsigned long)__va(max_low_pfn_mapped << PAGE_SHIFT)) PAGE_SHIFT 507 arch/x86/mm/pageattr.c address < (unsigned long)__va(max_pfn_mapped << PAGE_SHIFT)) PAGE_SHIFT 648 arch/x86/mm/pageattr.c if (cpa->pfn >= max_low_pfn_mapped && cpa->pfn < (1UL<<(32-PAGE_SHIFT))) PAGE_SHIFT 661 arch/x86/mm/pageattr.c PAGE_OFFSET + (max_low_pfn_mapped << PAGE_SHIFT)) PAGE_SHIFT 664 arch/x86/mm/pageattr.c PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT)) PAGE_SHIFT 669 arch/x86/mm/pageattr.c temp_cpa_vaddr = (unsigned long) __va(cpa->pfn << PAGE_SHIFT); PAGE_SHIFT 695 arch/x86/mm/pageattr.c temp_cpa_vaddr = (cpa->pfn << PAGE_SHIFT) + __START_KERNEL_map - phys_base; PAGE_SHIFT 232 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < (end >> PAGE_SHIFT); ++pfn) { PAGE_SHIFT 243 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < end_pfn; ++pfn) { PAGE_SHIFT 256 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < (end >> PAGE_SHIFT); ++pfn) { PAGE_SHIFT 267 arch/x86/mm/pat.c for (pfn = (start >> PAGE_SHIFT); pfn < end_pfn; ++pfn) { PAGE_SHIFT 486 arch/x86/mm/pat.c u64 from = ((u64)pfn) << PAGE_SHIFT; PAGE_SHIFT 507 arch/x86/mm/pat.c u64 offset = ((u64) pfn) << PAGE_SHIFT; PAGE_SHIFT 532 arch/x86/mm/pat.c (pfn << PAGE_SHIFT) >= __pa(high_memory)) { PAGE_SHIFT 555 arch/x86/mm/pat.c (pfn >= (1UL<<(32 - PAGE_SHIFT)) && pfn < max_pfn_mapped)) && PAGE_SHIFT 574 arch/x86/mm/pat.c u64 addr = (u64)pfn << PAGE_SHIFT; PAGE_SHIFT 590 arch/x86/mm/pat.c u64 addr = (u64)pfn << PAGE_SHIFT; PAGE_SHIFT 36 arch/x86/mm/pgtable.c paravirt_release_pmd(__pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 43 arch/x86/mm/pgtable.c paravirt_release_pud(__pa(pud) >> PAGE_SHIFT); PAGE_SHIFT 77 arch/x86/mm/pgtable.c paravirt_alloc_pmd_clone(__pa(pgd) >> PAGE_SHIFT, PAGE_SHIFT 78 arch/x86/mm/pgtable.c __pa(swapper_pg_dir) >> PAGE_SHIFT, PAGE_SHIFT 127 arch/x86/mm/pgtable.c paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 196 arch/x86/mm/pgtable.c paravirt_release_pmd(pgd_val(pgd) >> PAGE_SHIFT); PAGE_SHIFT 332 arch/x86/mm/pgtable.c __native_set_fixmap(idx, pfn_pte(phys >> PAGE_SHIFT, flags)); PAGE_SHIFT 132 arch/x86/mm/srat_32.c start_pfn = paddr >> PAGE_SHIFT; PAGE_SHIFT 133 arch/x86/mm/srat_32.c end_pfn = (paddr + size) >> PAGE_SHIFT; PAGE_SHIFT 107 arch/x86/mm/srat_64.c phys = find_e820_area(0, max_pfn_mapped<<PAGE_SHIFT, length, PAGE_SHIFT 166 arch/x86/mm/srat_64.c unsigned long s_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 167 arch/x86/mm/srat_64.c unsigned long e_pfn = end >> PAGE_SHIFT; PAGE_SHIFT 277 arch/x86/mm/srat_64.c e820_register_active_regions(node, start >> PAGE_SHIFT, PAGE_SHIFT 278 arch/x86/mm/srat_64.c end >> PAGE_SHIFT); PAGE_SHIFT 279 arch/x86/mm/srat_64.c push_node_boundaries(node, nd->start >> PAGE_SHIFT, PAGE_SHIFT 280 arch/x86/mm/srat_64.c nd->end >> PAGE_SHIFT); PAGE_SHIFT 306 arch/x86/mm/srat_64.c unsigned long s = nodes[i].start >> PAGE_SHIFT; PAGE_SHIFT 307 arch/x86/mm/srat_64.c unsigned long e = nodes[i].end >> PAGE_SHIFT; PAGE_SHIFT 319 arch/x86/mm/srat_64.c (pxmram << PAGE_SHIFT) >> 20, PAGE_SHIFT 320 arch/x86/mm/srat_64.c (e820ram << PAGE_SHIFT) >> 20); PAGE_SHIFT 486 arch/x86/mm/srat_64.c >> PAGE_SHIFT; PAGE_SHIFT 263 arch/x86/pci/i386.c u64 addr = (u64)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 269 arch/x86/pci/i386.c u64 addr = (u64)vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 286 arch/x86/pci/i386.c u64 addr = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 335 arch/x86/pci/i386.c (vma->vm_pgoff >= (1UL<<(32 - PAGE_SHIFT)) && PAGE_SHIFT 169 arch/x86/power/hibernate_32.c unsigned long nosave_begin_pfn = __pa_symbol(&__nosave_begin) >> PAGE_SHIFT; PAGE_SHIFT 170 arch/x86/power/hibernate_32.c unsigned long nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; PAGE_SHIFT 127 arch/x86/power/hibernate_64.c unsigned long nosave_begin_pfn = __pa_symbol(&__nosave_begin) >> PAGE_SHIFT; PAGE_SHIFT 128 arch/x86/power/hibernate_64.c unsigned long nosave_end_pfn = PAGE_ALIGN(__pa_symbol(&__nosave_end)) >> PAGE_SHIFT; PAGE_SHIFT 274 arch/x86/vdso/vdso32-setup.c __set_fixmap(FIX_VDSO, page_to_pfn(vdso32_pages[0]) << PAGE_SHIFT, PAGE_SHIFT 42 arch/x86/vdso/vma.c vdso_size = npages << PAGE_SHIFT; PAGE_SHIFT 93 arch/x86/vdso/vma.c addr = start + (offset << PAGE_SHIFT); PAGE_SHIFT 1137 arch/x86/xen/enlighten.c phys >>= PAGE_SHIFT; PAGE_SHIFT 1426 arch/x86/xen/enlighten.c paddr = mfn_to_pfn(maddr >> PAGE_SHIFT) << PAGE_SHIFT; PAGE_SHIFT 1439 arch/x86/xen/enlighten.c unsigned long pfn = __pa(addr) >> PAGE_SHIFT; PAGE_SHIFT 254 arch/x86/xen/mmu.c return XMADDR(((phys_addr_t)pte_mfn(*pte) << PAGE_SHIFT) + offset); PAGE_SHIFT 427 arch/x86/xen/mmu.c unsigned long mfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 429 arch/x86/xen/mmu.c val = ((pteval_t)mfn_to_pfn(mfn) << PAGE_SHIFT) | flags; PAGE_SHIFT 438 arch/x86/xen/mmu.c unsigned long pfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 440 arch/x86/xen/mmu.c val = ((pteval_t)pfn_to_mfn(pfn) << PAGE_SHIFT) | flags; PAGE_SHIFT 134 block/blk-map.c >> PAGE_SHIFT; PAGE_SHIFT 135 block/blk-map.c start = (unsigned long)ubuf >> PAGE_SHIFT; PAGE_SHIFT 169 block/blk-settings.c unsigned long b_pfn = dma_addr >> PAGE_SHIFT; PAGE_SHIFT 177 block/blk-settings.c if (b_pfn < (min_t(u64, 0x100000000UL, BLK_BOUNCE_HIGH) >> PAGE_SHIFT)) PAGE_SHIFT 56 crypto/scatterwalk.c page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); PAGE_SHIFT 200 crypto/testmgr.c memcpy(xbuf[IDX[k] >> PAGE_SHIFT] + PAGE_SHIFT 418 crypto/testmgr.c q = xbuf[IDX[k] >> PAGE_SHIFT] + PAGE_SHIFT 456 crypto/testmgr.c memcpy(axbuf[IDX[k] >> PAGE_SHIFT] + PAGE_SHIFT 495 crypto/testmgr.c q = xbuf[IDX[k] >> PAGE_SHIFT] + PAGE_SHIFT 743 crypto/testmgr.c q = xbuf[IDX[k] >> PAGE_SHIFT] + PAGE_SHIFT 787 crypto/testmgr.c q = xbuf[IDX[k] >> PAGE_SHIFT] + PAGE_SHIFT 1222 fs/afs/fsclient.c size += (loff_t)(last - first) << PAGE_SHIFT; PAGE_SHIFT 1223 fs/afs/fsclient.c pos = (loff_t)first << PAGE_SHIFT; PAGE_SHIFT 128 fs/afs/write.c pos = (loff_t) page->index << PAGE_SHIFT; PAGE_SHIFT 301 fs/afs/write.c maybe_i_size = (loff_t) page->index << PAGE_SHIFT; PAGE_SHIFT 115 fs/aio.c nr_pages = (size + PAGE_SIZE-1) >> PAGE_SHIFT; PAGE_SHIFT 101 fs/binfmt_aout.c # define START_DATA(u) ((u.u_tsize << PAGE_SHIFT) + u.start_code) PAGE_SHIFT 105 fs/binfmt_aout.c # define START_DATA(u) (u.u_tsize << PAGE_SHIFT) PAGE_SHIFT 151 fs/binfmt_aout.c if (!access_ok(VERIFY_READ, (void __user *)START_DATA(dump), dump.u_dsize << PAGE_SHIFT)) PAGE_SHIFT 153 fs/binfmt_aout.c if (!access_ok(VERIFY_READ, (void __user *)START_STACK(dump), dump.u_ssize << PAGE_SHIFT)) PAGE_SHIFT 172 fs/binfmt_aout.c dump_size = dump.u_dsize << PAGE_SHIFT; PAGE_SHIFT 182 fs/binfmt_aout.c dump_size = dump.u_ssize << PAGE_SHIFT; PAGE_SHIFT 539 fs/binfmt_elf.c #define STACK_RND_MASK (0x7ff >> (PAGE_SHIFT - 12)) /* 8MB of VA */ PAGE_SHIFT 549 fs/binfmt_elf.c random_variable <<= PAGE_SHIFT; PAGE_SHIFT 665 fs/binfmt_elf_fdpic.c stop = bprm->p >> PAGE_SHIFT; PAGE_SHIFT 380 fs/bio-integrity.c end = (((unsigned long) buf) + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 381 fs/bio-integrity.c start = ((unsigned long) buf) >> PAGE_SHIFT; PAGE_SHIFT 335 fs/bio.c nr_pages = ((q->max_sectors << 9) + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 645 fs/bio.c end = (uaddr + iov[i].iov_len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 646 fs/bio.c start = uaddr >> PAGE_SHIFT; PAGE_SHIFT 669 fs/bio.c bytes = 1U << (PAGE_SHIFT + map_data->page_order); PAGE_SHIFT 760 fs/bio.c unsigned long end = (uaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 761 fs/bio.c unsigned long start = uaddr >> PAGE_SHIFT; PAGE_SHIFT 786 fs/bio.c unsigned long end = (uaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 787 fs/bio.c unsigned long start = uaddr >> PAGE_SHIFT; PAGE_SHIFT 952 fs/bio.c unsigned long end = (kaddr + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 953 fs/bio.c unsigned long start = kaddr >> PAGE_SHIFT; PAGE_SHIFT 1150 fs/exec.c free_arg_page(bprm, (bprm->p >> PAGE_SHIFT) - 1); PAGE_SHIFT 3105 fs/ext4/extents.c offset = logical >> PAGE_SHIFT; PAGE_SHIFT 937 fs/fuse/file.c nbytes = min(nbytes, (unsigned) FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT); PAGE_SHIFT 938 fs/fuse/file.c npages = (nbytes + offset + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 978 fs/fuse/file.c nbytes = (req->num_pages << PAGE_SHIFT) - req->page_offset; PAGE_SHIFT 98 fs/hugetlbfs/inode.c if (vma->vm_pgoff & ~(huge_page_mask(h) >> PAGE_SHIFT)) PAGE_SHIFT 107 fs/hugetlbfs/inode.c len = vma_len + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 445 fs/hugetlbfs/inode.c v_offset = (pgoff - vma->vm_pgoff) << PAGE_SHIFT; PAGE_SHIFT 461 fs/hugetlbfs/inode.c pgoff = offset >> PAGE_SHIFT; PAGE_SHIFT 205 fs/jffs2/fs.c buf->f_bsize = 1 << PAGE_SHIFT; PAGE_SHIFT 206 fs/jffs2/fs.c buf->f_blocks = c->flash_size >> PAGE_SHIFT; PAGE_SHIFT 219 fs/jffs2/fs.c buf->f_bavail = buf->f_bfree = avail >> PAGE_SHIFT; PAGE_SHIFT 220 fs/libfs.c s->s_blocksize_bits = PAGE_SHIFT; PAGE_SHIFT 50 fs/ncpfs/mmap.c pos = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 119 fs/ncpfs/mmap.c if (((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff PAGE_SHIFT 120 fs/ncpfs/mmap.c > (1U << (32 - PAGE_SHIFT))) PAGE_SHIFT 132 fs/nfs/direct.c pages += (pgbase >> PAGE_SHIFT); PAGE_SHIFT 133 fs/nfs/direct.c npages = (count + (pgbase & ~PAGE_MASK) + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 276 fs/nfs/internal.h PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 693 fs/nfs/nfs3xdr.c NFSACL_MAXPAGES << PAGE_SHIFT); PAGE_SHIFT 719 fs/nfs/nfs3xdr.c for (count = 0; (count << PAGE_SHIFT) < len; count++) { PAGE_SHIFT 189 fs/nfs/write.c #define NFS_CONGESTION_ON_THRESH (nfs_congestion_kb >> (PAGE_SHIFT-10)) PAGE_SHIFT 1573 fs/nfs/write.c nfs_congestion_kb = (16*int_sqrt(totalram_pages)) << (PAGE_SHIFT-10); PAGE_SHIFT 3186 fs/nfsd/nfs4state.c max_delegations = nr_free_buffer_pages() >> (20 - 2 - PAGE_SHIFT); PAGE_SHIFT 224 fs/nfsd/nfssvc.c i.totalram <<= PAGE_SHIFT - 12; PAGE_SHIFT 50 fs/ntfs/malloc.h if (likely(size >> PAGE_SHIFT < num_physpages)) PAGE_SHIFT 62 fs/proc/nommu.c ((loff_t)vma->vm_pgoff) << PAGE_SHIFT, PAGE_SHIFT 144 fs/proc/proc_misc.c #define K(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 38 fs/proc/task_mmu.c lib = (mm->exec_vm << (PAGE_SHIFT-10)) - text; PAGE_SHIFT 50 fs/proc/task_mmu.c hiwater_vm << (PAGE_SHIFT-10), PAGE_SHIFT 51 fs/proc/task_mmu.c (total_vm - mm->reserved_vm) << (PAGE_SHIFT-10), PAGE_SHIFT 52 fs/proc/task_mmu.c mm->locked_vm << (PAGE_SHIFT-10), PAGE_SHIFT 53 fs/proc/task_mmu.c hiwater_rss << (PAGE_SHIFT-10), PAGE_SHIFT 54 fs/proc/task_mmu.c total_rss << (PAGE_SHIFT-10), PAGE_SHIFT 55 fs/proc/task_mmu.c data << (PAGE_SHIFT-10), PAGE_SHIFT 56 fs/proc/task_mmu.c mm->stack_vm << (PAGE_SHIFT-10), text, lib, PAGE_SHIFT 70 fs/proc/task_mmu.c >> PAGE_SHIFT; PAGE_SHIFT 226 fs/proc/task_mmu.c ((loff_t)vma->vm_pgoff) << PAGE_SHIFT, PAGE_SHIFT 519 fs/proc/task_mmu.c #define PM_NOT_PRESENT PM_PSHIFT(PAGE_SHIFT) PAGE_SHIFT 558 fs/proc/task_mmu.c | PM_PSHIFT(PAGE_SHIFT) | PM_SWAP; PAGE_SHIFT 561 fs/proc/task_mmu.c | PM_PSHIFT(PAGE_SHIFT) | PM_PRESENT; PAGE_SHIFT 695 fs/proc/task_mmu.c start_vaddr = svpfn << PAGE_SHIFT; PAGE_SHIFT 699 fs/proc/task_mmu.c if (svpfn > TASK_SIZE_OF(task) >> PAGE_SHIFT) PAGE_SHIFT 92 fs/ramfs/file-nommu.c npages = (newsize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 147 fs/ramfs/file-nommu.c newsize >> PAGE_SHIFT, PAGE_SHIFT 148 fs/ramfs/file-nommu.c (size + PAGE_SIZE - 1) >> PAGE_SHIFT PAGE_SHIFT 250 fs/ramfs/file-nommu.c lpages = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 254 fs/ramfs/file-nommu.c maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 52 fs/smbfs/proc.c #define SMB_ST_BLKSHIFT (PAGE_SHIFT) PAGE_SHIFT 1217 fs/splice.c npages = (off + len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 767 fs/xfs/linux-2.6/xfs_buf.c unsigned long page_count = PAGE_ALIGN(len) >> PAGE_SHIFT; PAGE_SHIFT 1197 fs/xfs/linux-2.6/xfs_buf.c nr_pages = BIO_MAX_SECTORS >> (PAGE_SHIFT - BBSHIFT); PAGE_SHIFT 153 fs/xfs/xfs_mount.c ASSERT(PAGE_SHIFT >= sbp->sb_blocklog); PAGE_SHIFT 399 fs/xfs/xfs_mount.h #define XFS_MIN_IO_LOG PAGE_SHIFT PAGE_SHIFT 9 include/asm-cris/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 42 include/asm-cris/page.h #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 43 include/asm-cris/page.h #define pfn_valid(pfn) (((pfn) - (PAGE_OFFSET >> PAGE_SHIFT)) < max_mapnr) PAGE_SHIFT 53 include/asm-cris/page.h #define virt_to_page(kaddr) (mem_map + (((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT)) PAGE_SHIFT 55 include/asm-cris/page.h #define virt_addr_valid(kaddr) pfn_valid((unsigned)(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 61 include/asm-cris/page.h #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET) PAGE_SHIFT 51 include/asm-cris/pgtable.h #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-2)) PAGE_SHIFT 61 include/asm-cris/pgtable.h #define PTRS_PER_PTE (1UL << (PAGE_SHIFT-2)) PAGE_SHIFT 62 include/asm-cris/pgtable.h #define PTRS_PER_PGD (1UL << (PAGE_SHIFT-2)) PAGE_SHIFT 90 include/asm-cris/pgtable.h ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK) PAGE_SHIFT 212 include/asm-cris/pgtable.h #define pte_pagenr(pte) ((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT) PAGE_SHIFT 216 include/asm-cris/pgtable.h #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) PAGE_SHIFT 227 include/asm-cris/pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 244 include/asm-cris/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 253 include/asm-cris/pgtable.h #define pte_pfn(x) ((unsigned long)(__va((x).pte)) >> PAGE_SHIFT) PAGE_SHIFT 254 include/asm-cris/pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 55 include/asm-frv/highmem.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 56 include/asm-frv/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 27 include/asm-frv/mem-layout.h #define PAGE_SIZE (1UL << PAGE_SHIFT) PAGE_SHIFT 29 include/asm-frv/mem-layout.h #define PAGE_SIZE (1 << PAGE_SHIFT) PAGE_SHIFT 48 include/asm-frv/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 57 include/asm-frv/page.h #define ARCH_PFN_OFFSET (PAGE_OFFSET >> PAGE_SHIFT) PAGE_SHIFT 62 include/asm-frv/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 63 include/asm-frv/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 26 include/asm-frv/pgalloc.h __set_pmd((PMD), page_to_pfn(PAGE) << PAGE_SHIFT | _PAGE_TABLE); \ PAGE_SHIFT 272 include/asm-frv/pgtable.h #define pte_page(x) (mem_map + ((unsigned long)(((x).pte >> PAGE_SHIFT)))) PAGE_SHIFT 274 include/asm-frv/pgtable.h #define pte_pfn(x) ((unsigned long)(((x).pte >> PAGE_SHIFT))) PAGE_SHIFT 275 include/asm-frv/pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 276 include/asm-frv/pgtable.h #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 371 include/asm-frv/pgtable.h #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 374 include/asm-frv/pgtable.h #define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT)) PAGE_SHIFT 427 include/asm-frv/pgtable.h #define mk_pte_phys(physpage, pgprot) pfn_pte((physpage) >> PAGE_SHIFT, pgprot) PAGE_SHIFT 441 include/asm-frv/pgtable.h #define __pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 450 include/asm-frv/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 37 include/asm-frv/virtconvert.h #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) PAGE_SHIFT 13 include/asm-generic/page.h size = (size - 1) >> (PAGE_SHIFT - 1); PAGE_SHIFT 74 include/asm-m32r/io.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 24 include/asm-m32r/mmzone.h #define pmd_page(pmd) (pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT)) PAGE_SHIFT 6 include/asm-m32r/page.h #define PAGE_SIZE (1UL << PAGE_SHIFT) PAGE_SHIFT 71 include/asm-m32r/page.h #define PFN_BASE (CONFIG_MEMORY_START >> PAGE_SHIFT) PAGE_SHIFT 76 include/asm-m32r/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 77 include/asm-m32r/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 57 include/asm-m32r/pgtable-2level.h #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE)) PAGE_SHIFT 69 include/asm-m32r/pgtable-2level.h #define pte_pfn(x) (pte_val(x) >> PAGE_SHIFT) PAGE_SHIFT 70 include/asm-m32r/pgtable-2level.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 71 include/asm-m32r/pgtable-2level.h #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 188 include/asm-m32r/pgtable.h #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) PAGE_SHIFT 314 include/asm-m32r/pgtable.h #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) >> PAGE_SHIFT) - PFN_BASE)) PAGE_SHIFT 330 include/asm-m32r/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 31 include/asm-m68k/a.out-core.h dump->u_tsize = ((unsigned long) current->mm->end_code) >> PAGE_SHIFT; PAGE_SHIFT 33 include/asm-m68k/a.out-core.h (PAGE_SIZE-1))) >> PAGE_SHIFT; PAGE_SHIFT 38 include/asm-m68k/a.out-core.h dump->u_ssize = ((unsigned long) (TASK_SIZE - dump->start_stack)) >> PAGE_SHIFT; PAGE_SHIFT 134 include/asm-m68k/motorola_pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 135 include/asm-m68k/motorola_pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 153 include/asm-m68k/motorola_pgtable.h #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT)) PAGE_SHIFT 220 include/asm-m68k/motorola_pgtable.h return (pte_t *)__pmd_page(*pmdp) + ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); PAGE_SHIFT 223 include/asm-m68k/motorola_pgtable.h #define pte_offset_map(pmdp,address) ((pte_t *)__pmd_page(*pmdp) + (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))) PAGE_SHIFT 12 include/asm-m68k/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 17 include/asm-m68k/page.h #if PAGE_SHIFT < 13 PAGE_SHIFT 173 include/asm-m68k/page.h #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 174 include/asm-m68k/page.h #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 120 include/asm-m68k/sun3_pgtable.h ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT)) PAGE_SHIFT 218 include/asm-m68k/sun3_pgtable.h #define pte_index(address) ((address >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) PAGE_SHIFT 28 include/asm-m68k/thread_info.h #define THREAD_SIZE_ORDER (13 - PAGE_SHIFT) PAGE_SHIFT 31 include/asm-m68k/virtconvert.h __pa(PAGE_OFFSET + (((page) - pg_data_map[0].node_mem_map) << PAGE_SHIFT)) PAGE_SHIFT 37 include/asm-m68k/virtconvert.h page_to_pfn(__page) << PAGE_SHIFT; \ PAGE_SHIFT 42 include/asm-mn10300/highmem.h #define PKMAP_NR(virt) ((virt - PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 43 include/asm-mn10300/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 18 include/asm-mn10300/page.h #define PAGE_SIZE (1UL << PAGE_SHIFT) PAGE_SHIFT 21 include/asm-mn10300/page.h #define PAGE_SIZE +(1 << PAGE_SHIFT) /* unary plus marks an PAGE_SHIFT 49 include/asm-mn10300/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 82 include/asm-mn10300/page.h size = (size - 1) >> (PAGE_SHIFT - 1); PAGE_SHIFT 103 include/asm-mn10300/page.h #define __pfn_disp (CONFIG_KERNEL_RAM_BASE_ADDRESS >> PAGE_SHIFT) PAGE_SHIFT 107 include/asm-mn10300/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 117 include/asm-mn10300/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 118 include/asm-mn10300/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 119 include/asm-mn10300/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 29 include/asm-mn10300/pgalloc.h set_pmd(pmd, __pmd((page_to_pfn(pte) << PAGE_SHIFT) | _PAGE_TABLE)); PAGE_SHIFT 214 include/asm-mn10300/pgtable.h #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) PAGE_SHIFT 305 include/asm-mn10300/pgtable.h #define pte_pfn(x) ((unsigned long) (pte_val(x) >> PAGE_SHIFT)) PAGE_SHIFT 306 include/asm-mn10300/pgtable.h #define __pfn_addr(pfn) ((pfn) << PAGE_SHIFT) PAGE_SHIFT 400 include/asm-mn10300/pgtable.h #define pmd_page(pmd) pfn_to_page(pmd_val(pmd) >> PAGE_SHIFT) PAGE_SHIFT 442 include/asm-mn10300/pgtable.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 34 include/asm-parisc/mmzone.h #define PFNNID_SHIFT (30 - PAGE_SHIFT) PAGE_SHIFT 39 include/asm-parisc/mmzone.h #define pfn_is_io(pfn) ((pfn & (0xf0000000UL >> PAGE_SHIFT)) == (0xf0000000UL >> PAGE_SHIFT)) PAGE_SHIFT 42 include/asm-parisc/mmzone.h #define pfn_is_io(pfn) ((pfn & (0xf000000000000000UL >> PAGE_SHIFT)) == (0xf000000000000000UL >> PAGE_SHIFT)) PAGE_SHIFT 15 include/asm-parisc/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 159 include/asm-parisc/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 162 include/asm-parisc/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 164 include/asm-parisc/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 165 include/asm-parisc/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 74 include/asm-parisc/pgtable.h #define PLD_SHIFT PAGE_SHIFT PAGE_SHIFT 76 include/asm-parisc/pgtable.h #define BITS_PER_PTE (PAGE_SHIFT - BITS_PER_PTE_ENTRY) PAGE_SHIFT 86 include/asm-parisc/pgtable.h #define BITS_PER_PMD (PAGE_SHIFT + PMD_ORDER - BITS_PER_PMD_ENTRY) PAGE_SHIFT 94 include/asm-parisc/pgtable.h #define BITS_PER_PGD (PAGE_SHIFT + PGD_ORDER - BITS_PER_PGD_ENTRY) PAGE_SHIFT 344 include/asm-parisc/pgtable.h pte_val(__pte) = ((((addr)>>PAGE_SHIFT)<<PFN_PTE_SHIFT) + pgprot_val(pgprot)); \ PAGE_SHIFT 391 include/asm-parisc/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) PAGE_SHIFT 188 include/asm-parisc/ropes.h #define IOVP_SHIFT PAGE_SHIFT PAGE_SHIFT 41 include/asm-parisc/thread_info.h #define THREAD_SHIFT (PAGE_SHIFT + THREAD_SIZE_ORDER) PAGE_SHIFT 62 include/asm-um/fixmap.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 65 include/asm-um/fixmap.h #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) PAGE_SHIFT 66 include/asm-um/fixmap.h #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT) PAGE_SHIFT 14 include/asm-um/page.h #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) PAGE_SHIFT 112 include/asm-um/page.h #define phys_to_pfn(p) ((pfn_t) ((p) >> PAGE_SHIFT)) PAGE_SHIFT 113 include/asm-um/page.h #define pfn_to_phys(pfn) ((phys_t) ((pfn) << PAGE_SHIFT)) PAGE_SHIFT 20 include/asm-um/pgalloc.h (unsigned long long) PAGE_SHIFT))) PAGE_SHIFT 112 include/asm-um/pgtable-3level.h return __pmd((page_nr << PAGE_SHIFT) | pgprot_val(pgprot)); PAGE_SHIFT 330 include/asm-um/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 32 include/asm-x86/a.out-core.h dump->u_tsize = ((unsigned long)current->mm->end_code) >> PAGE_SHIFT; PAGE_SHIFT 34 include/asm-x86/a.out-core.h >> PAGE_SHIFT; PAGE_SHIFT 48 include/asm-x86/a.out-core.h >> PAGE_SHIFT; PAGE_SHIFT 81 include/asm-x86/dma.h #define MAX_DMA_PFN ((16 * 1024 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 84 include/asm-x86/dma.h #define MAX_DMA32_PFN ((4UL * 1024 * 1024 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 87 include/asm-x86/dma.h #define MAX_DMA_ADDRESS ((unsigned long)__va(MAX_DMA_PFN << PAGE_SHIFT)) PAGE_SHIFT 36 include/asm-x86/fixmap.h #define __fix_to_virt(x) (FIXADDR_TOP - ((x) << PAGE_SHIFT)) PAGE_SHIFT 37 include/asm-x86/fixmap.h #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT) PAGE_SHIFT 117 include/asm-x86/fixmap_32.h #define __FIXADDR_SIZE (__end_of_permanent_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 118 include/asm-x86/fixmap_32.h #define __FIXADDR_BOOT_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 76 include/asm-x86/fixmap_64.h #define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) PAGE_SHIFT 57 include/asm-x86/highmem.h #define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT) PAGE_SHIFT 58 include/asm-x86/highmem.h #define PKMAP_ADDR(nr) (PKMAP_BASE + ((nr) << PAGE_SHIFT)) PAGE_SHIFT 95 include/asm-x86/io_32.h #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 164 include/asm-x86/io_64.h #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 568 include/asm-x86/kvm_host.h struct page *page = pfn_to_page(shadow_page >> PAGE_SHIFT); PAGE_SHIFT 15 include/asm-x86/numa_64.h #define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT)) PAGE_SHIFT 8 include/asm-x86/page.h #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) PAGE_SHIFT 33 include/asm-x86/page.h #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) PAGE_SHIFT 196 include/asm-x86/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 197 include/asm-x86/page.h #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) PAGE_SHIFT 53 include/asm-x86/pgalloc.h paravirt_alloc_pte(mm, __pa(pte) >> PAGE_SHIFT); PAGE_SHIFT 63 include/asm-x86/pgalloc.h set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT) | _PAGE_TABLE)); PAGE_SHIFT 87 include/asm-x86/pgalloc.h paravirt_alloc_pmd(mm, __pa(pmd) >> PAGE_SHIFT); PAGE_SHIFT 95 include/asm-x86/pgalloc.h paravirt_alloc_pud(mm, __pa(pud) >> PAGE_SHIFT); PAGE_SHIFT 214 include/asm-x86/pgtable.h return (pte_val(pte) & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 289 include/asm-x86/pgtable.h return __pte((((phys_addr_t)page_nr << PAGE_SHIFT) | PAGE_SHIFT 295 include/asm-x86/pgtable.h return __pmd((((phys_addr_t)page_nr << PAGE_SHIFT) | PAGE_SHIFT 95 include/asm-x86/pgtable_32.h #define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT)) PAGE_SHIFT 137 include/asm-x86/pgtable_32.h (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 141 include/asm-x86/pgtable_32.h #define pmd_page(pmd) (pfn_to_page(pmd_val((pmd)) >> PAGE_SHIFT)) PAGE_SHIFT 177 include/asm-x86/pgtable_64.h #define pages_to_mb(x) ((x) >> (20 - PAGE_SHIFT)) /* FIXME: is this right? */ PAGE_SHIFT 195 include/asm-x86/pgtable_64.h #define pgd_page(pgd) (pfn_to_page(pgd_val((pgd)) >> PAGE_SHIFT)) PAGE_SHIFT 204 include/asm-x86/pgtable_64.h #define pud_page(pud) (pfn_to_page(pud_val((pud)) >> PAGE_SHIFT)) PAGE_SHIFT 218 include/asm-x86/pgtable_64.h #define pmd_page(pmd) (pfn_to_page(pmd_val((pmd)) >> PAGE_SHIFT)) PAGE_SHIFT 225 include/asm-x86/pgtable_64.h #define pfn_pmd(nr, prot) (__pmd(((nr) << PAGE_SHIFT) | pgprot_val((prot)))) PAGE_SHIFT 226 include/asm-x86/pgtable_64.h #define pmd_pfn(x) ((pmd_val((x)) & __PHYSICAL_MASK) >> PAGE_SHIFT) PAGE_SHIFT 228 include/asm-x86/pgtable_64.h #define pte_to_pgoff(pte) ((pte_val((pte)) & PHYSICAL_PAGE_MASK) >> PAGE_SHIFT) PAGE_SHIFT 229 include/asm-x86/pgtable_64.h #define pgoff_to_pte(off) ((pte_t) { .pte = ((off) << PAGE_SHIFT) | \ PAGE_SHIFT 238 include/asm-x86/pgtable_64.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 123 include/asm-x86/xen/page.h #define mfn_to_virt(m) (__va(mfn_to_pfn(m) << PAGE_SHIFT)) PAGE_SHIFT 127 include/asm-x86/xen/page.h return (pte.pte & PTE_PFN_MASK) >> PAGE_SHIFT; PAGE_SHIFT 134 include/asm-x86/xen/page.h pte.pte = ((phys_addr_t)page_nr << PAGE_SHIFT) | PAGE_SHIFT 32 include/asm-xtensa/page.h #define PAGE_SIZE (__XTENSA_UL_CONST(1) << PAGE_SHIFT) PAGE_SHIFT 68 include/asm-xtensa/page.h # define DCACHE_ALIAS_ORDER (DCACHE_WAY_SHIFT - PAGE_SHIFT) PAGE_SHIFT 70 include/asm-xtensa/page.h # define DCACHE_ALIAS(a) (((a) & DCACHE_ALIAS_MASK) >> PAGE_SHIFT) PAGE_SHIFT 77 include/asm-xtensa/page.h # define ICACHE_ALIAS_ORDER (ICACHE_WAY_SHIFT - PAGE_SHIFT) PAGE_SHIFT 79 include/asm-xtensa/page.h # define ICACHE_ALIAS(a) (((a) & ICACHE_ALIAS_MASK) >> PAGE_SHIFT) PAGE_SHIFT 119 include/asm-xtensa/page.h asm ("nsau %0, %1" : "=r" (lz) : "r" ((size - 1) >> PAGE_SHIFT)); PAGE_SHIFT 160 include/asm-xtensa/page.h #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 161 include/asm-xtensa/page.h #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 162 include/asm-xtensa/page.h #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) PAGE_SHIFT 163 include/asm-xtensa/page.h #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) PAGE_SHIFT 235 include/asm-xtensa/pgtable.h #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) PAGE_SHIFT 238 include/asm-xtensa/pgtable.h #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) PAGE_SHIFT 315 include/asm-xtensa/pgtable.h #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) PAGE_SHIFT 373 include/asm-xtensa/pgtable.h #define _PTE_INDEX(rt,rs) extui rt, rs, PAGE_SHIFT, PTRS_PER_PTE_SHIFT PAGE_SHIFT 380 include/asm-xtensa/pgtable.h srli pmd, pmd, PAGE_SHIFT; \ PAGE_SHIFT 381 include/asm-xtensa/pgtable.h slli pmd, pmd, PAGE_SHIFT; \ PAGE_SHIFT 74 include/crypto/scatterwalk.h return !(((sg_page(walk_in->sg) - sg_page(walk_out->sg)) << PAGE_SHIFT) + PAGE_SHIFT 106 include/crypto/scatterwalk.h return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); PAGE_SHIFT 113 include/drm/drm_memory_debug.h drm_ram_available << (PAGE_SHIFT - 10)); PAGE_SHIFT 222 include/drm/drm_memory_debug.h += pages << PAGE_SHIFT; PAGE_SHIFT 248 include/drm/drm_memory_debug.h += pages << PAGE_SHIFT; PAGE_SHIFT 273 include/drm/drm_memory_debug.h += handle->page_count << PAGE_SHIFT; PAGE_SHIFT 300 include/drm/drm_memory_debug.h += handle->page_count << PAGE_SHIFT; PAGE_SHIFT 645 include/linux/blkdev.h #define BLK_BOUNCE_HIGH ((u64)blk_max_low_pfn << PAGE_SHIFT) PAGE_SHIFT 246 include/linux/hugetlb.h return h->order + PAGE_SHIFT; PAGE_SHIFT 275 include/linux/hugetlb.h #define huge_page_shift(h) PAGE_SHIFT PAGE_SHIFT 307 include/linux/kvm_host.h return (gpa_t)gfn << PAGE_SHIFT; PAGE_SHIFT 69 include/linux/lmb.h return lmb_size_bytes(type, region_nr) >> PAGE_SHIFT; PAGE_SHIFT 74 include/linux/lmb.h return type->region[region_nr].base >> PAGE_SHIFT; PAGE_SHIFT 87 include/linux/memory.h #define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<<PAGE_SHIFT) PAGE_SHIFT 366 include/linux/mlx4/device.h return buf->page_list[offset >> PAGE_SHIFT].buf + PAGE_SHIFT 586 include/linux/mm.h return __va(page_to_pfn(page) << PAGE_SHIFT); PAGE_SHIFT 1121 include/linux/mm.h ret = do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); PAGE_SHIFT 1192 include/linux/mm.h return (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 842 include/linux/mmzone.h #define PFN_SECTION_SHIFT (SECTION_SIZE_BITS - PAGE_SHIFT) PAGE_SHIFT 852 include/linux/mmzone.h #if (MAX_ORDER - 1 + PAGE_SHIFT) > SECTION_SIZE_BITS PAGE_SHIFT 38 include/linux/nfsacl.h >> PAGE_SHIFT) PAGE_SHIFT 58 include/linux/pagemap.h #define PAGE_CACHE_SHIFT PAGE_SHIFT PAGE_SHIFT 264 include/linux/pagemap.h pgoff_t pgoff = (address - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 266 include/linux/pagemap.h return pgoff >> (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 5 include/linux/pfn.h #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) PAGE_SHIFT 6 include/linux/pfn.h #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) PAGE_SHIFT 7 include/linux/pfn.h #define PFN_PHYS(x) ((x) << PAGE_SHIFT) PAGE_SHIFT 83 include/linux/raid/bitmap.h #define PAGE_BIT_SHIFT (PAGE_SHIFT + 3) PAGE_SHIFT 90 include/linux/slab.h #define KMALLOC_SHIFT_HIGH ((MAX_ORDER + PAGE_SHIFT - 1) <= 25 ? \ PAGE_SHIFT 91 include/linux/slab.h (MAX_ORDER + PAGE_SHIFT - 1) : 25) PAGE_SHIFT 94 include/linux/slab.h #define KMALLOC_MAX_ORDER (KMALLOC_SHIFT_HIGH - PAGE_SHIFT) PAGE_SHIFT 127 include/linux/slub_def.h extern struct kmem_cache kmalloc_caches[PAGE_SHIFT + 1]; PAGE_SHIFT 22 include/linux/vmalloc.h #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */ PAGE_SHIFT 1567 include/sound/emu10k1.h #define snd_emu10k1_memblk_offset(blk) (((blk)->mapped_page << PAGE_SHIFT) | ((blk)->mem.offset & (PAGE_SIZE - 1))) PAGE_SHIFT 90 include/sound/memalloc.h return (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 98 include/sound/memalloc.h dma_addr_t addr = sgbuf->table[offset >> PAGE_SHIFT].addr; PAGE_SHIFT 108 include/sound/memalloc.h return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; PAGE_SHIFT 171 ipc/shm.c ns->shm_tot -= (shp->shm_segsz + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 339 ipc/shm.c int numpages = (size + PAGE_SIZE -1) >> PAGE_SHIFT; PAGE_SHIFT 20 kernel/dma-coherent.c int pages = size >> PAGE_SHIFT; PAGE_SHIFT 86 kernel/dma-coherent.c pos = (device_addr - mem->device_base) >> PAGE_SHIFT; PAGE_SHIFT 90 kernel/dma-coherent.c return mem->virt_base + (pos << PAGE_SHIFT); PAGE_SHIFT 119 kernel/dma-coherent.c *dma_handle = mem->device_base + (page << PAGE_SHIFT); PAGE_SHIFT 120 kernel/dma-coherent.c *ret = mem->virt_base + (page << PAGE_SHIFT); PAGE_SHIFT 147 kernel/dma-coherent.c (mem->virt_base + (mem->size << PAGE_SHIFT))) { PAGE_SHIFT 148 kernel/dma-coherent.c int page = (vaddr - mem->virt_base) >> PAGE_SHIFT; PAGE_SHIFT 295 kernel/fork.c unsigned int len = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 249 kernel/futex.c key->shared.pgoff = (((address - vma->vm_start) >> PAGE_SHIFT) PAGE_SHIFT 263 kernel/futex.c page->index << (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 429 kernel/kexec.c addr = pfn << PAGE_SHIFT; PAGE_SHIFT 430 kernel/kexec.c eaddr = epfn << PAGE_SHIFT; PAGE_SHIFT 431 kernel/kexec.c if ((epfn >= (KEXEC_CONTROL_MEMORY_LIMIT >> PAGE_SHIFT)) || PAGE_SHIFT 489 kernel/kexec.c size = (1 << order) << PAGE_SHIFT; PAGE_SHIFT 514 kernel/kexec.c pages = pfn_to_page(hole_start >> PAGE_SHIFT); PAGE_SHIFT 621 kernel/kexec.c page = pfn_to_page(entry >> PAGE_SHIFT); PAGE_SHIFT 708 kernel/kexec.c addr = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 724 kernel/kexec.c (KEXEC_SOURCE_MEMORY_LIMIT >> PAGE_SHIFT)) { PAGE_SHIFT 728 kernel/kexec.c addr = page_to_pfn(page) << PAGE_SHIFT; PAGE_SHIFT 751 kernel/kexec.c old_page = pfn_to_page(old_addr >> PAGE_SHIFT); PAGE_SHIFT 808 kernel/kexec.c << PAGE_SHIFT); PAGE_SHIFT 861 kernel/kexec.c page = pfn_to_page(maddr >> PAGE_SHIFT); PAGE_SHIFT 504 kernel/pid.c unsigned long megabytes = nr_kernel_pages >> (20 - PAGE_SHIFT); PAGE_SHIFT 40 kernel/power/power.h #define PAGES_FOR_IO ((4096 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 46 kernel/power/power.h #define SPARE_PAGES ((1024 * 1024) >> PAGE_SHIFT) PAGE_SHIFT 613 kernel/power/snapshot.c start_pfn << PAGE_SHIFT, end_pfn << PAGE_SHIFT); PAGE_SHIFT 682 kernel/power/snapshot.c region->start_pfn << PAGE_SHIFT, PAGE_SHIFT 683 kernel/power/snapshot.c region->end_pfn << PAGE_SHIFT); PAGE_SHIFT 1276 kernel/power/snapshot.c info->size <<= PAGE_SHIFT; PAGE_SHIFT 273 kernel/power/user.c size <<= PAGE_SHIFT; PAGE_SHIFT 280 kernel/power/user.c size <<= PAGE_SHIFT; PAGE_SHIFT 292 kernel/power/user.c offset <<= PAGE_SHIFT; PAGE_SHIFT 51 kernel/relay.c page = vmalloc_to_page(buf->start + (pgoff << PAGE_SHIFT)); PAGE_SHIFT 139 kernel/relay.c n_pages = *size >> PAGE_SHIFT; PAGE_SHIFT 1253 kernel/relay.c subbuf_pages = rbuf->chan->alloc_size >> PAGE_SHIFT; PAGE_SHIFT 272 kernel/resource.c res.start = (u64) start_pfn << PAGE_SHIFT; PAGE_SHIFT 273 kernel/resource.c res.end = ((u64)(start_pfn + nr_pages) << PAGE_SHIFT) - 1; PAGE_SHIFT 277 kernel/resource.c pfn = (unsigned long)(res.start >> PAGE_SHIFT); PAGE_SHIFT 278 kernel/resource.c len = (unsigned long)((res.end + 1 - res.start) >> PAGE_SHIFT); PAGE_SHIFT 22 lib/debugobjects.c #define ODEBUG_CHUNK_SHIFT PAGE_SHIFT PAGE_SHIFT 21 lib/ioremap.c pfn = phys_addr >> PAGE_SHIFT; PAGE_SHIFT 47 lib/prio_tree.c #define VMA_SIZE(vma) (((vma)->vm_end - (vma)->vm_start) >> PAGE_SHIFT) PAGE_SHIFT 359 lib/scatterlist.c miter->page = nth_page(sg_page(miter->__sg), off >> PAGE_SHIFT); PAGE_SHIFT 55 lib/swiotlb.c #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT)) PAGE_SHIFT 316 lib/swiotlb.c stride = (1 << (PAGE_SHIFT - IO_TLB_SHIFT)); PAGE_SHIFT 33 mm/backing-dev.c #define K(x) ((x) << (PAGE_SHIFT - 10)) PAGE_SHIFT 98 mm/backing-dev.c bdi->ra_pages = read_ahead_kb >> (PAGE_SHIFT - 10); PAGE_SHIFT 104 mm/backing-dev.c #define K(pages) ((pages) << (PAGE_SHIFT - 10)) PAGE_SHIFT 69 mm/bootmem.c return PAGE_ALIGN(bytes) >> PAGE_SHIFT; PAGE_SHIFT 446 mm/bootmem.c bdata - bootmem_node_data, size, PAGE_ALIGN(size) >> PAGE_SHIFT, PAGE_SHIFT 452 mm/bootmem.c goal >>= PAGE_SHIFT; PAGE_SHIFT 453 mm/bootmem.c limit >>= PAGE_SHIFT; PAGE_SHIFT 460 mm/bootmem.c step = max(align >> PAGE_SHIFT, 1UL); PAGE_SHIFT 664 mm/bootmem.c goal = pfn << PAGE_SHIFT; PAGE_SHIFT 665 mm/bootmem.c limit = section_nr_to_pfn(section_nr + 1) << PAGE_SHIFT; PAGE_SHIFT 189 mm/filemap_xip.c ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); PAGE_SHIFT 145 mm/fremap.c if (pgoff + (size >> PAGE_SHIFT) >= (1UL << PTE_FILE_MAX_BITS)) PAGE_SHIFT 1333 mm/hugetlb.c h->mask = ~((1ULL << (order + PAGE_SHIFT)) - 1); PAGE_SHIFT 1471 mm/hugetlb.c 1UL << (huge_page_order(h) + PAGE_SHIFT - 10)); PAGE_SHIFT 1765 mm/hugetlb.c pgoff = ((address - vma->vm_start) >> PAGE_SHIFT) PAGE_SHIFT 1766 mm/hugetlb.c + (vma->vm_pgoff >> PAGE_SHIFT); PAGE_SHIFT 2101 mm/hugetlb.c pfn_offset = (vaddr & ~huge_page_mask(h)) >> PAGE_SHIFT; PAGE_SHIFT 69 mm/madvise.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 121 mm/madvise.c start = ((start - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 124 mm/madvise.c end = ((end - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 200 mm/madvise.c + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 202 mm/madvise.c + ((loff_t)vma->vm_pgoff << PAGE_SHIFT); PAGE_SHIFT 400 mm/memcontrol.c total = (long) (mem->res.usage >> PAGE_SHIFT) + 1L; PAGE_SHIFT 466 mm/memory.c off = (addr - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 916 mm/memory.c *nr_accounted += (end - start) >> PAGE_SHIFT; PAGE_SHIFT 1489 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1496 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot)) PAGE_SHIFT 1509 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1516 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot)) PAGE_SHIFT 1568 mm/memory.c pfn -= addr >> PAGE_SHIFT; PAGE_SHIFT 1574 mm/memory.c pfn + (addr >> PAGE_SHIFT), prot); PAGE_SHIFT 2068 mm/memory.c vea = vba + ((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) - 1; PAGE_SHIFT 2078 mm/memory.c ((zba - vba) << PAGE_SHIFT) + vma->vm_start, PAGE_SHIFT 2079 mm/memory.c ((zea - vba + 1) << PAGE_SHIFT) + vma->vm_start, PAGE_SHIFT 2126 mm/memory.c pgoff_t hba = holebegin >> PAGE_SHIFT; PAGE_SHIFT 2127 mm/memory.c pgoff_t hlen = (holelen + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2132 mm/memory.c (holebegin + holelen + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 2570 mm/memory.c - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 2875 mm/memory.c phys_addr <<= PAGE_SHIFT; /* Shift here to avoid overflow on PAE */ PAGE_SHIFT 110 mm/memory_hotplug.c mapsize = PAGE_ALIGN(mapsize) >> PAGE_SHIFT; PAGE_SHIFT 119 mm/memory_hotplug.c mapsize = PAGE_ALIGN(usemap_size()) >> PAGE_SHIFT; PAGE_SHIFT 133 mm/memory_hotplug.c nr_pages = PAGE_ALIGN(sizeof(struct pglist_data)) >> PAGE_SHIFT; PAGE_SHIFT 144 mm/memory_hotplug.c nr_pages = PAGE_ALIGN(nr_pages) >> PAGE_SHIFT; PAGE_SHIFT 326 mm/memory_hotplug.c release_mem_region(phys_start_pfn << PAGE_SHIFT, nr_pages * PAGE_SIZE); PAGE_SHIFT 449 mm/memory_hotplug.c unsigned long start_pfn = start >> PAGE_SHIFT; PAGE_SHIFT 1450 mm/mempolicy.c BUG_ON(shift < PAGE_SHIFT); PAGE_SHIFT 1451 mm/mempolicy.c off = vma->vm_pgoff >> (shift - PAGE_SHIFT); PAGE_SHIFT 1541 mm/mempolicy.c nid = interleave_nid(pol, vma, addr, PAGE_SHIFT); PAGE_SHIFT 1941 mm/mempolicy.c if ((total_pages << PAGE_SHIFT) >= (16 << 20)) PAGE_SHIFT 210 mm/migrate.c pgoff_t pgoff = new->index << (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 79 mm/mincore.c nr = PTRS_PER_PTE - ((addr >> PAGE_SHIFT) & (PTRS_PER_PTE-1)); PAGE_SHIFT 84 mm/mincore.c nr = min(nr, (vma->vm_end - addr) >> PAGE_SHIFT); PAGE_SHIFT 196 mm/mincore.c pages = len >> PAGE_SHIFT; PAGE_SHIFT 224 mm/mincore.c start += retval << PAGE_SHIFT; PAGE_SHIFT 39 mm/mlock.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 72 mm/mlock.c pages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 146 mm/mlock.c locked = len >> PAGE_SHIFT; PAGE_SHIFT 150 mm/mlock.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 211 mm/mlock.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 243 mm/mlock.c locked = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 247 mm/mlock.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 263 mm/mlock.c user->locked_shm -= (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 533 mm/mmap.c adjust_next = (end - next->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 542 mm/mmap.c adjust_next = - ((vma->vm_end - end) >> PAGE_SHIFT); PAGE_SHIFT 603 mm/mmap.c next->vm_start += adjust_next << PAGE_SHIFT; PAGE_SHIFT 722 mm/mmap.c vm_pglen = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; PAGE_SHIFT 764 mm/mmap.c pgoff_t pglen = (end - addr) >> PAGE_SHIFT; PAGE_SHIFT 856 mm/mmap.c ((vma->vm_end - vma->vm_start) >> PAGE_SHIFT))) PAGE_SHIFT 949 mm/mmap.c if ((pgoff + (len >> PAGE_SHIFT)) < pgoff) PAGE_SHIFT 978 mm/mmap.c locked = len >> PAGE_SHIFT; PAGE_SHIFT 981 mm/mmap.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 1043 mm/mmap.c pgoff = addr >> PAGE_SHIFT; PAGE_SHIFT 1115 mm/mmap.c if (!may_expand_vm(mm, len >> PAGE_SHIFT)) PAGE_SHIFT 1130 mm/mmap.c charged = len >> PAGE_SHIFT; PAGE_SHIFT 1224 mm/mmap.c mm->total_vm += len >> PAGE_SHIFT; PAGE_SHIFT 1225 mm/mmap.c vm_stat_account(mm, vm_flags, file, len >> PAGE_SHIFT); PAGE_SHIFT 1227 mm/mmap.c mm->locked_vm += len >> PAGE_SHIFT; PAGE_SHIFT 1557 mm/mmap.c limit = rlim[RLIMIT_MEMLOCK].rlim_cur >> PAGE_SHIFT; PAGE_SHIFT 1625 mm/mmap.c grow = (address - vma->vm_end) >> PAGE_SHIFT; PAGE_SHIFT 1669 mm/mmap.c grow = (vma->vm_start - address) >> PAGE_SHIFT; PAGE_SHIFT 1838 mm/mmap.c new->vm_pgoff += ((addr - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 1859 mm/mmap.c ((addr - new->vm_start) >> PAGE_SHIFT), new); PAGE_SHIFT 1964 mm/mmap.c pgoff_t pgoff = addr >> PAGE_SHIFT; PAGE_SHIFT 1992 mm/mmap.c locked = len >> PAGE_SHIFT; PAGE_SHIFT 1995 mm/mmap.c lock_limit >>= PAGE_SHIFT; PAGE_SHIFT 2018 mm/mmap.c if (!may_expand_vm(mm, len >> PAGE_SHIFT)) PAGE_SHIFT 2024 mm/mmap.c if (security_vm_enough_memory(len >> PAGE_SHIFT)) PAGE_SHIFT 2037 mm/mmap.c vm_unacct_memory(len >> PAGE_SHIFT); PAGE_SHIFT 2049 mm/mmap.c mm->total_vm += len >> PAGE_SHIFT; PAGE_SHIFT 2051 mm/mmap.c mm->locked_vm += len >> PAGE_SHIFT; PAGE_SHIFT 2114 mm/mmap.c vma->vm_pgoff = vma->vm_start >> PAGE_SHIFT; PAGE_SHIFT 2145 mm/mmap.c pgoff = addr >> PAGE_SHIFT; PAGE_SHIFT 2192 mm/mmap.c lim = current->signal->rlim[RLIMIT_AS].rlim_cur >> PAGE_SHIFT; PAGE_SHIFT 2273 mm/mmap.c mm->total_vm += len >> PAGE_SHIFT; PAGE_SHIFT 142 mm/mprotect.c long nrpages = (end - start) >> PAGE_SHIFT; PAGE_SHIFT 171 mm/mprotect.c pgoff = vma->vm_pgoff + ((start - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 183 mm/mremap.c new_pgoff = vma->vm_pgoff + ((old_addr - vma->vm_start) >> PAGE_SHIFT); PAGE_SHIFT 221 mm/mremap.c mm->total_vm += new_len >> PAGE_SHIFT; PAGE_SHIFT 222 mm/mremap.c vm_stat_account(mm, vma->vm_flags, vma->vm_file, new_len>>PAGE_SHIFT); PAGE_SHIFT 226 mm/mremap.c vm_unacct_memory(excess >> PAGE_SHIFT); PAGE_SHIFT 239 mm/mremap.c mm->locked_vm += new_len >> PAGE_SHIFT; PAGE_SHIFT 344 mm/mremap.c locked = mm->locked_vm << PAGE_SHIFT; PAGE_SHIFT 351 mm/mremap.c if (!may_expand_vm(mm, (new_len - old_len) >> PAGE_SHIFT)) { PAGE_SHIFT 357 mm/mremap.c charged = (new_len - old_len) >> PAGE_SHIFT; PAGE_SHIFT 373 mm/mremap.c int pages = (new_len - old_len) >> PAGE_SHIFT; PAGE_SHIFT 602 mm/nommu.c if ((pgoff + (len >> PAGE_SHIFT)) < pgoff) PAGE_SHIFT 842 mm/nommu.c fpos <<= PAGE_SHIFT; PAGE_SHIFT 922 mm/nommu.c unsigned long pglen = (len + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 944 mm/nommu.c vmpglen >>= PAGE_SHIFT; PAGE_SHIFT 1031 mm/nommu.c current->mm->total_vm += len >> PAGE_SHIFT; PAGE_SHIFT 1163 mm/nommu.c mm->total_vm -= len >> PAGE_SHIFT; PAGE_SHIFT 1285 mm/nommu.c vma->vm_start = vma->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 1298 mm/nommu.c vma->vm_start = (unsigned long)(addr + (pgoff << PAGE_SHIFT)); PAGE_SHIFT 1835 mm/page_alloc.c #define K(x) ((x) << (PAGE_SHIFT-10)) PAGE_SHIFT 2615 mm/page_alloc.c set_page_address(page, __va(pfn << PAGE_SHIFT)); PAGE_SHIFT 2692 mm/page_alloc.c if ((high/4) > (PAGE_SHIFT * 8)) PAGE_SHIFT 2693 mm/page_alloc.c pcp->batch = PAGE_SHIFT * 8; PAGE_SHIFT 2986 mm/page_alloc.c size_pages << PAGE_SHIFT); PAGE_SHIFT 3360 mm/page_alloc.c if (HPAGE_SHIFT > PAGE_SHIFT) PAGE_SHIFT 3428 mm/page_alloc.c PAGE_ALIGN(size * sizeof(struct page)) >> PAGE_SHIFT; PAGE_SHIFT 4029 mm/page_alloc.c *core = coremem >> PAGE_SHIFT; PAGE_SHIFT 4032 mm/page_alloc.c WARN_ON((coremem >> PAGE_SHIFT) > ULONG_MAX); PAGE_SHIFT 4084 mm/page_alloc.c __pa(PAGE_OFFSET) >> PAGE_SHIFT, NULL); PAGE_SHIFT 4199 mm/page_alloc.c unsigned long pages_min = min_free_kbytes >> (PAGE_SHIFT - 10); PAGE_SHIFT 4420 mm/page_alloc.c numentries += (1UL << (20 - PAGE_SHIFT)) - 1; PAGE_SHIFT 4421 mm/page_alloc.c numentries >>= 20 - PAGE_SHIFT; PAGE_SHIFT 4422 mm/page_alloc.c numentries <<= 20 - PAGE_SHIFT; PAGE_SHIFT 4425 mm/page_alloc.c if (scale > PAGE_SHIFT) PAGE_SHIFT 4426 mm/page_alloc.c numentries >>= (scale - PAGE_SHIFT); PAGE_SHIFT 4428 mm/page_alloc.c numentries <<= (PAGE_SHIFT - scale); PAGE_SHIFT 4438 mm/page_alloc.c max = ((unsigned long long)nr_all_pages << PAGE_SHIFT) >> 4; PAGE_SHIFT 4480 mm/page_alloc.c ilog2(size) - PAGE_SHIFT, PAGE_SHIFT 29 mm/prio_tree.c #define VMA_SIZE(vma) (((vma)->vm_end - (vma)->vm_start) >> PAGE_SHIFT) PAGE_SHIFT 194 mm/rmap.c pgoff_t pgoff = page->index << (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 197 mm/rmap.c address = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); PAGE_SHIFT 357 mm/rmap.c pgoff_t pgoff = page->index << (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 479 mm/rmap.c pgoff_t pgoff = page->index << (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 909 mm/rmap.c pgoff_t pgoff = page->index << (PAGE_CACHE_SHIFT - PAGE_SHIFT); PAGE_SHIFT 66 mm/shmem.c #define VM_ACCT(size) (PAGE_CACHE_ALIGN(size) >> PAGE_SHIFT) PAGE_SHIFT 111 mm/shmem.c PAGE_CACHE_SHIFT-PAGE_SHIFT); PAGE_SHIFT 116 mm/shmem.c __free_pages(page, PAGE_CACHE_SHIFT-PAGE_SHIFT); PAGE_SHIFT 1463 mm/shmem.c idx = ((addr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 2138 mm/shmem.c size <<= PAGE_SHIFT; PAGE_SHIFT 1452 mm/slab.c if (num_physpages > (32 << 20) >> PAGE_SHIFT) PAGE_SHIFT 1813 mm/slub.c fls(min_objects * size - 1) - PAGE_SHIFT); PAGE_SHIFT 2470 mm/slub.c struct kmem_cache kmalloc_caches[PAGE_SHIFT + 1] __cacheline_aligned; PAGE_SHIFT 2532 mm/slub.c static struct kmem_cache *kmalloc_caches_dma[PAGE_SHIFT + 1]; PAGE_SHIFT 2978 mm/slub.c for (i = KMALLOC_SHIFT_LOW; i <= PAGE_SHIFT; i++) { PAGE_SHIFT 3015 mm/slub.c for (i = KMALLOC_SHIFT_LOW; i <= PAGE_SHIFT; i++) PAGE_SHIFT 80 mm/sparse-vmemmap.c entry = pfn_pte(__pa(p) >> PAGE_SHIFT, PAGE_KERNEL); PAGE_SHIFT 154 mm/sparse.c unsigned long max_sparsemem_pfn = 1UL << (MAX_PHYSMEM_BITS-PAGE_SHIFT); PAGE_SHIFT 287 mm/sparse.c section_nr = pfn_to_section_nr(__pa(pgdat) >> PAGE_SHIFT); PAGE_SHIFT 299 mm/sparse.c usemap_snr = pfn_to_section_nr(__pa(usemap) >> PAGE_SHIFT); PAGE_SHIFT 300 mm/sparse.c pgdat_snr = pfn_to_section_nr(__pa(pgdat) >> PAGE_SHIFT); PAGE_SHIFT 562 mm/sparse.c >> PAGE_SHIFT; PAGE_SHIFT 538 mm/swap.c unsigned long megs = num_physpages >> (20 - PAGE_SHIFT); PAGE_SHIFT 63 mm/swap_state.c printk("Free swap = %ldkB\n", nr_swap_pages << (PAGE_SHIFT - 10)); PAGE_SHIFT 64 mm/swap_state.c printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); PAGE_SHIFT 1149 mm/swapfile.c first_block >>= (PAGE_SHIFT - blkbits); PAGE_SHIFT 1413 mm/swapfile.c ptr->pages << (PAGE_SHIFT - 10), PAGE_SHIFT 1414 mm/swapfile.c ptr->inuse_pages << (PAGE_SHIFT - 10), PAGE_SHIFT 1545 mm/swapfile.c swapfilesize = i_size_read(inode) >> PAGE_SHIFT; PAGE_SHIFT 1686 mm/swapfile.c nr_good_pages<<(PAGE_SHIFT-10), name, p->prio, PAGE_SHIFT 1687 mm/swapfile.c nr_extents, (unsigned long long)span<<(PAGE_SHIFT-10)); PAGE_SHIFT 230 mm/vmalloc.c else if (bit < PAGE_SHIFT) PAGE_SHIFT 231 mm/vmalloc.c bit = PAGE_SHIFT; PAGE_SHIFT 476 mm/vmalloc.c area = get_vm_area_caller((count << PAGE_SHIFT), flags, PAGE_SHIFT 496 mm/vmalloc.c nr_pages = (area->size - PAGE_SIZE) >> PAGE_SHIFT; PAGE_SHIFT 567 mm/vmalloc.c if (!size || (size >> PAGE_SHIFT) > num_physpages) PAGE_SHIFT 816 mm/vmalloc.c if (usize + (pgoff << PAGE_SHIFT) > area->size - PAGE_SIZE) PAGE_SHIFT 820 mm/vmalloc.c addr += pgoff << PAGE_SHIFT; PAGE_SHIFT 117 mm/vmstat.c mem = zone->present_pages >> (27 - PAGE_SHIFT); PAGE_SHIFT 1293 net/core/sock.c npages = (data_len + (PAGE_SIZE - 1)) >> PAGE_SHIFT; PAGE_SHIFT 1062 net/dccp/proto.c goal = num_physpages >> (21 - PAGE_SHIFT); PAGE_SHIFT 1064 net/dccp/proto.c goal = num_physpages >> (23 - PAGE_SHIFT); PAGE_SHIFT 1068 net/dccp/proto.c sizeof(struct inet_ehash_bucket)) >> PAGE_SHIFT; PAGE_SHIFT 1757 net/decnet/dn_route.c goal = num_physpages >> (26 - PAGE_SHIFT); PAGE_SHIFT 2735 net/ipv4/tcp.c for (order = 0; ((1 << order) << PAGE_SHIFT) < PAGE_SHIFT 2754 net/ipv4/tcp.c limit = min(nr_pages, 1UL<<(28-PAGE_SHIFT)) >> (20-PAGE_SHIFT); PAGE_SHIFT 2755 net/ipv4/tcp.c limit = (limit * (nr_pages >> (20-PAGE_SHIFT))) >> (PAGE_SHIFT-11); PAGE_SHIFT 2762 net/ipv4/tcp.c limit = ((unsigned long)sysctl_tcp_mem[1]) << (PAGE_SHIFT - 7); PAGE_SHIFT 1703 net/ipv4/udp.c limit = min(nr_all_pages, 1UL<<(28-PAGE_SHIFT)) >> (20-PAGE_SHIFT); PAGE_SHIFT 1704 net/ipv4/udp.c limit = (limit * (nr_all_pages >> (20-PAGE_SHIFT))) >> (PAGE_SHIFT-11); PAGE_SHIFT 1152 net/netfilter/nf_conntrack_core.c = (((num_physpages << PAGE_SHIFT) / 16384) PAGE_SHIFT 578 net/netfilter/x_tables.c if ((SMP_ALIGN(size) >> PAGE_SHIFT) + 2 > num_physpages) PAGE_SHIFT 197 net/netfilter/xt_hashlimit.c size = ((num_physpages << PAGE_SHIFT) / 16384) / PAGE_SHIFT 269 net/netfilter/xt_hashlimit.c size = (num_physpages << PAGE_SHIFT) / 16384 / PAGE_SHIFT 1959 net/netlink/af_netlink.c limit = num_physpages >> (21 - PAGE_SHIFT); PAGE_SHIFT 1961 net/netlink/af_netlink.c limit = num_physpages >> (23 - PAGE_SHIFT); PAGE_SHIFT 1963 net/netlink/af_netlink.c order = get_bitmask_order(limit) - 1 + PAGE_SHIFT; PAGE_SHIFT 1187 net/sctp/protocol.c limit = min(nr_pages, 1UL<<(28-PAGE_SHIFT)) >> (20-PAGE_SHIFT); PAGE_SHIFT 1188 net/sctp/protocol.c limit = (limit * (nr_pages >> (20-PAGE_SHIFT))) >> (PAGE_SHIFT-11); PAGE_SHIFT 1195 net/sctp/protocol.c limit = (sysctl_sctp_mem[1]) << (PAGE_SHIFT - 7); PAGE_SHIFT 1210 net/sctp/protocol.c goal = num_physpages >> (22 - PAGE_SHIFT); PAGE_SHIFT 1212 net/sctp/protocol.c goal = num_physpages >> (24 - PAGE_SHIFT); PAGE_SHIFT 310 net/sunrpc/xprtrdma/rpc_rdma.c npages = PAGE_ALIGN(rqst->rq_snd_buf.page_base+copy_len) >> PAGE_SHIFT; PAGE_SHIFT 621 net/sunrpc/xprtrdma/rpc_rdma.c rqst->rq_rcv_buf.page_len) >> PAGE_SHIFT; PAGE_SHIFT 263 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c frmr->page_list_len = PAGE_ALIGN(byte_count) >> PAGE_SHIFT; PAGE_SHIFT 1234 net/sunrpc/xprtrdma/svc_rdma_transport.c fastreg_wr.wr.fast_reg.page_shift = PAGE_SHIFT; PAGE_SHIFT 935 net/sunrpc/xprtrdma/verbs.c RPCRDMA_MAX_DATA_SEGS, 1, PAGE_SHIFT PAGE_SHIFT 434 net/sunrpc/xprtsock.c ppage = xdr->pages + (base >> PAGE_SHIFT); PAGE_SHIFT 373 sound/core/memalloc.c long pages = snd_allocated_pages >> (PAGE_SHIFT-12); PAGE_SHIFT 319 sound/core/pcm_memory.c unsigned int idx = offset >> PAGE_SHIFT; PAGE_SHIFT 336 sound/core/pcm_memory.c start = ofs >> PAGE_SHIFT; PAGE_SHIFT 337 sound/core/pcm_memory.c end = (ofs + size - 1) >> PAGE_SHIFT; PAGE_SHIFT 339 sound/core/pcm_memory.c pg = sg->table[start].addr >> PAGE_SHIFT; PAGE_SHIFT 345 sound/core/pcm_memory.c if ((sg->table[start].addr >> PAGE_SHIFT) != pg) PAGE_SHIFT 346 sound/core/pcm_memory.c return (start << PAGE_SHIFT) - ofs; PAGE_SHIFT 3101 sound/core/pcm_native.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 3161 sound/core/pcm_native.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 3163 sound/core/pcm_native.c (substream->runtime->dma_addr + offset) >> PAGE_SHIFT, PAGE_SHIFT 3200 sound/core/pcm_native.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 3226 sound/core/pcm_native.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 48 sound/core/sgbuf.c tmpb.bytes = (sgbuf->table[i].addr & ~PAGE_MASK) << PAGE_SHIFT; PAGE_SHIFT 99 sound/core/sgbuf.c chunk <<= PAGE_SHIFT; PAGE_SHIFT 109 sound/core/sgbuf.c chunk = tmpb.bytes >> PAGE_SHIFT; PAGE_SHIFT 469 sound/oss/soundcard.c virt_to_phys(dmap->raw_buf) >> PAGE_SHIFT, PAGE_SHIFT 1544 sound/oss/vwsnd.c # define HBO (HWBUF_SHIFT > PAGE_SHIFT ? HWBUF_SHIFT - PAGE_SHIFT : 0) PAGE_SHIFT 1550 sound/oss/vwsnd.c #define MAX_FRAGSHIFT (PAGE_SHIFT) PAGE_SHIFT 1822 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 40 sound/pci/emu10k1/memory.c #define get_aligned_page(offset) ((offset) >> PAGE_SHIFT) PAGE_SHIFT 42 sound/pci/emu10k1/memory.c #define aligned_page_offset(page) ((page) << PAGE_SHIFT) PAGE_SHIFT 222 sound/pci/emu10k1/memory.c blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev); PAGE_SHIFT 323 sound/pci/emu10k1/memory.c unsigned long ofs = idx << PAGE_SHIFT; PAGE_SHIFT 465 sound/pci/emu10k1/memory.c if (!p || (page_to_pfn(p) & ~(emu->dma_mask >> PAGE_SHIFT))) { PAGE_SHIFT 720 sound/pci/intel8x0.c size = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; PAGE_SHIFT 1545 sound/pci/riptide/riptide.c ofs = j << PAGE_SHIFT; PAGE_SHIFT 218 sound/pci/trident/trident_memory.c unsigned long ofs = idx << PAGE_SHIFT; PAGE_SHIFT 865 sound/ppc/snd_ps3.c PAGE_SHIFT); PAGE_SHIFT 873 sound/ppc/snd_ps3.c PAGE_SHIFT, /* use system page size */ PAGE_SHIFT 343 sound/soc/at32/at32-pcm.c substream->dma_buffer.addr >> PAGE_SHIFT, PAGE_SHIFT 128 sound/usb/usx2y/us122l.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 205 sound/usb/usx2y/us122l.c offset = area->vm_pgoff << PAGE_SHIFT; PAGE_SHIFT 47 sound/usb/usx2y/usX2Yhwdep.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 692 sound/usb/usx2y/usx2yhwdeppcm.c offset = vmf->pgoff << PAGE_SHIFT; PAGE_SHIFT 467 virt/kvm/kvm_main.c base_gfn = mem->guest_phys_addr >> PAGE_SHIFT; PAGE_SHIFT 468 virt/kvm/kvm_main.c npages = mem->memory_size >> PAGE_SHIFT; PAGE_SHIFT 742 virt/kvm/kvm_main.c pfn = ((addr - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff; PAGE_SHIFT 850 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 873 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 908 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT; PAGE_SHIFT 933 virt/kvm/kvm_main.c gfn_t gfn = gpa >> PAGE_SHIFT;