Searched refs:page_mask (Results 1 – 7 of 7) sorted by relevance
166 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags() local173 start &= ~page_mask; in sljit_update_wx_flags()174 end = (end + page_mask) & ~page_mask; in sljit_update_wx_flags()201 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_free_exec() local203 SLJIT_ASSERT(!(start & page_mask)); in sljit_free_exec()211 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags() local218 start &= ~page_mask; in sljit_update_wx_flags()219 end = (end + page_mask) & ~page_mask; in sljit_update_wx_flags()
134 const size_t page_mask = getpagesize() - 1; in SetupAlternateStackOnce() local136 const size_t page_mask = sysconf(_SC_PAGESIZE) - 1; in SetupAlternateStackOnce()138 size_t stack_size = (std::max(SIGSTKSZ, 65536) + page_mask) & ~page_mask; in SetupAlternateStackOnce()
135 const size_t page_mask = getpagesize() - 1; in SetupAlternateStackOnce() local137 const size_t page_mask = sysconf(_SC_PAGESIZE) - 1; in SetupAlternateStackOnce()140 (std::max<size_t>(SIGSTKSZ, 65536) + page_mask) & ~page_mask; in SetupAlternateStackOnce()
37 static unsigned long page_mask; variable158 mapped_addr &= page_mask; in do_child()190 page_mask = ~(page_size - 1); in setup()
186 uintptr_t page_mask = ~(page_sz - 1); in get_func() local194 page_to_copy = (void *)((uintptr_t)opd->entry & page_mask); in get_func()198 page_to_copy = (void *)((uintptr_t)&exec_func & page_mask); in get_func()
403 unsigned long page_mask = page_size - 1; in fence_malloc() local404 uint32_t n_payload_bytes = (len + page_mask) & ~page_mask; in fence_malloc()407 n_payload_bytes) & ~page_mask; in fence_malloc()426 initial_page = (uint8_t *)(((uintptr_t)addr + page_mask) & ~page_mask); in fence_malloc()485 unsigned page_mask = page_size - 1; in fence_image_create_bits() local496 assert (page_size && (page_size & page_mask) == 0); in fence_image_create_bits()
92 int page_mask; variable669 pg_offset = offset & page_mask; in domapread()828 pg_offset = offset & page_mask; in domapwrite()1123 page_mask = page_size - 1; in main()