Searched refs:pagesize_alignment_mask (Results 1 – 2 of 2) sorted by relevance
101 unsigned long pagesize_alignment_mask = ~(((unsigned long)getpagesize()) - 1UL); in dwarf_find_unwind_table() local131 if ((phdr[i].p_offset & pagesize_alignment_mask) == mapoff) { in dwarf_find_unwind_table()132 ei->load_offset = phdr[i].p_vaddr - (phdr[i].p_offset & (~pagesize_alignment_mask)); in dwarf_find_unwind_table()
248 unsigned long pagesize_alignment_mask = ~(((unsigned long)getpagesize()) - 1UL); in elf_w() local254 if (phdr[i].p_type == PT_LOAD && (phdr[i].p_offset & pagesize_alignment_mask) == mapoff) in elf_w()256 offset = segbase - phdr[i].p_vaddr + (phdr[i].p_offset & (~pagesize_alignment_mask)); in elf_w()