Searched refs:PMD_MASK (Results 1 – 25 of 72) sorted by relevance
123
13 # define PMD_MASK (~(PMD_SIZE - 1)) macro49 & PMD_MASK)52 ((CPU_ENTRY_AREA_BASE - PAGE_SIZE) & PMD_MASK)
72 #define PMD_MASK (~(PMD_SIZE - 1)) macro
55 fixrange_init(vaddr & PMD_MASK, vaddr + FIXADDR_SIZE, pgd_base); in pagetable_init()62 fixrange_init(vaddr & PMD_MASK, vaddr + PAGE_SIZE*LAST_PKMAP, pgd_base); in pagetable_init()
29 address &= ~PMD_MASK; in remap_area_pte()63 address = (address + PMD_SIZE) & PMD_MASK; in remap_area_pmd()
124 vaddr = __fix_to_virt(__end_of_fixed_addresses - 1) & PMD_MASK; in pagetable_init()
117 if((end2 & PMD_MASK) > (vaddr & PMD_MASK)) in dvma_map_cpu()118 end3 = (vaddr + (PMD_SIZE-1)) & PMD_MASK; in dvma_map_cpu()
49 *pmd = __pmd((addr & PMD_MASK) | prot); in idmap_add_pmd()59 addr = (addr & PMD_MASK) | prot; in idmap_add_pmd()
52 #define FIXADDR_START ((FIXADDR_TOP - FIXADDR_SIZE) & PMD_MASK)
39 #define PMD_MASK (~(PMD_SIZE-1)) macro
32 #define PMD_MASK (~(PMD_SIZE-1)) macro
49 #define FIXADDR_START ((FIXADDR_TOP - FIXADDR_SIZE) & PMD_MASK)
22 (LAST_PKMAP + 1) * PAGE_SIZE) & PMD_MASK)
31 address &= ~PMD_MASK; in remap_area_pte()70 address = (address + PMD_SIZE) & PMD_MASK; in remap_area_pmd()
48 & PMD_MASK)
25 #define PMD_MASK (~(PMD_SIZE-1)) macro
56 #define PKMAP_BASE ((FIXADDR_START - PAGE_SIZE*(LAST_PKMAP + 1)) & PMD_MASK)
284 pmd = (physaddr & PMD_MASK) + early_pmd_flags; in early_make_pgtable()343 BUILD_BUG_ON((__START_KERNEL_map & ~PMD_MASK) != 0); in x86_64_start_kernel()344 BUILD_BUG_ON((MODULES_VADDR & ~PMD_MASK) != 0); in x86_64_start_kernel()
39 #define PMD_MASK (~(PMD_SIZE-1)) macro40 #define PMD_ALIGN(__addr) (((__addr) + ~PMD_MASK) & PMD_MASK)
50 phys_addr_t boundary = (addr + PMD_SIZE) & PMD_MASK; in stage2_pmd_addr_end()
89 #define PMD_MASK (~(PMD_SIZE-1)) macro
51 #define PMD_MASK (~((1 << PMD_SHIFT) - 1)) macro249 #define pmd_pfn(pmd) (((pmd_val(pmd) & PMD_MASK) & PHYS_MASK) >> PAGE_SHIFT)
124 !(address & ~PMD_MASK) && (address + PMD_SIZE <= end) && in vmem_add_mem()271 address = (address + PMD_SIZE) & PMD_MASK; in vmemmap_populate()279 address = (address + PMD_SIZE) & PMD_MASK; in vmemmap_populate()
90 vaddr &= ~PMD_MASK; in map_pte_uncached()127 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in map_pmd_uncached()170 vaddr &= ~PMD_MASK; in unmap_uncached_pte()212 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in unmap_uncached_pmd()
29 #define PMD_MASK (~(PMD_SIZE-1)) macro