Home
last modified time | relevance | path

Searched refs:page_mask (Results 1 – 7 of 7) sorted by relevance

/third_party/pcre2/pcre2/src/sljit/
DsljitWXExecAllocator.c166 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags() local
173 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() local
203 SLJIT_ASSERT(!(start & page_mask)); in sljit_free_exec()
211 sljit_uw page_mask = (sljit_uw)get_page_alignment(); in sljit_update_wx_flags() local
218 start &= ~page_mask; in sljit_update_wx_flags()
219 end = (end + page_mask) & ~page_mask; in sljit_update_wx_flags()
/third_party/abseil-cpp/absl/debugging/
Dfailure_signal_handler.cc134 const size_t page_mask = getpagesize() - 1; in SetupAlternateStackOnce() local
136 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()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dfailure_signal_handler.cc135 const size_t page_mask = getpagesize() - 1; in SetupAlternateStackOnce() local
137 const size_t page_mask = sysconf(_SC_PAGESIZE) - 1; in SetupAlternateStackOnce()
140 (std::max<size_t>(SIGSTKSZ, 65536) + page_mask) & ~page_mask; in SetupAlternateStackOnce()
/third_party/ltp/testcases/cve/
Dstack_clash.c37 static unsigned long page_mask; variable
158 mapped_addr &= page_mask; in do_child()
190 page_mask = ~(page_size - 1); in setup()
/third_party/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect04.c186 uintptr_t page_mask = ~(page_sz - 1); in get_func() local
194 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()
/third_party/pixman/test/
Dutils.c403 unsigned long page_mask = page_size - 1; in fence_malloc() local
404 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() local
496 assert (page_size && (page_size & page_mask) == 0); in fence_image_create_bits()
/third_party/ltp/testcases/kernel/fs/fsx-linux/
Dfsx-linux.c92 int page_mask; variable
669 pg_offset = offset & page_mask; in domapread()
828 pg_offset = offset & page_mask; in domapwrite()
1123 page_mask = page_size - 1; in main()