Searched refs:PAGE_MASK (Results 1 – 14 of 14) sorted by relevance
17 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
82 #define flush_cache_user_range(vma,start,end) __cpuc_coherent_user_range((start) & PAGE_MASK, PAG…
52 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
136 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)163 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK))
28 #define PAGE_CACHE_MASK PAGE_MASK
23 #define FIX_SIZE(x) ((((x) - 1) & PAGE_MASK) + PAGE_SIZE)
20 #define PAGE_MASK (~(PAGE_SIZE-1)) macro21 #define PTE_MASK PAGE_MASK
35 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
33 #define pmd_bad(pmd_entry) ((pmd_val(pmd_entry) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)34 #define pmd_page_vaddr(pmd_entry) ((unsigned long) __va(pmd_val(pmd_entry) & PAGE_MASK))37 #define pte_offset_kernel(dir, addr) ((pte_t *) ((pmd_val(*(dir))) & PAGE_MASK) + pte_index((addr…
51 #define PTE_PHYS_MASK (PHYS_ADDR_MASK & PAGE_MASK)
112 #define pmd_bad(x) (pmd_val(x) & ~PAGE_MASK)
36 #undef PAGE_MASK39 #define PAGE_MASK 4095 macro
782 min_vaddr &= ~PAGE_MASK; in get_lib_extents()785 max_vaddr = (max_vaddr + PAGE_SIZE - 1) & ~PAGE_MASK; in get_lib_extents()902 tmp = base + (phdr->p_vaddr & (~PAGE_MASK)); in load_segments()904 len = phdr->p_filesz + (phdr->p_vaddr & PAGE_MASK); in load_segments()911 phdr->p_offset & (~PAGE_MASK)); in load_segments()921 if ((len & PAGE_MASK) && (phdr->p_flags & PF_W)) in load_segments()922 memset((void *)(pbase + len), 0, PAGE_SIZE - (len & PAGE_MASK)); in load_segments()952 (~PAGE_MASK)); in load_segments()984 PAGE_SIZE - 1) & (~PAGE_MASK)) - (unsigned)pbase; in load_segments()1060 ehdr->e_shoff & (~PAGE_MASK));[all …]