Home
last modified time | relevance | path

Searched refs:PAGE_MASK (Results 1 – 14 of 14) sorted by relevance

/bionic/libc/kernel/arch-arm/asm/
Dpage.h17 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
Dcacheflush.h82 #define flush_cache_user_range(vma,start,end) __cpuc_coherent_user_range((start) & PAGE_MASK, PAG…
/bionic/libc/kernel/arch-x86/asm/
Dpage_32.h17 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
Dfixmap_32.h52 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
Dpgtable_32.h136 #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))
/bionic/libc/kernel/common/linux/
Dpagemap.h28 #define PAGE_CACHE_MASK PAGE_MASK
Drelay.h23 #define FIX_SIZE(x) ((((x) - 1) & PAGE_MASK) + PAGE_SIZE)
/bionic/libc/kernel/arch-sh/asm/
Dpage.h20 #define PAGE_MASK (~(PAGE_SIZE-1)) macro
21 #define PTE_MASK PAGE_MASK
Dfixmap.h35 #define __virt_to_fix(x) ((FIXADDR_TOP - ((x)&PAGE_MASK)) >> PAGE_SHIFT)
Dpgtable_64.h33 #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…
Dpgtable.h51 #define PTE_PHYS_MASK (PHYS_ADDR_MASK & PAGE_MASK)
Dpgtable_32.h112 #define pmd_bad(x) (pmd_val(x) & ~PAGE_MASK)
/bionic/linker/
Dlinker.h36 #undef PAGE_MASK
39 #define PAGE_MASK 4095 macro
Dlinker.c782 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 …]