Home
last modified time | relevance | path

Searched refs:page_start (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/memory/
Dprotected_memory_posix.cc32 const uintptr_t page_start = reinterpret_cast<uintptr_t>(start) & page_mask; in SetMemory() local
33 return mprotect(reinterpret_cast<void*>(page_start), in SetMemory()
34 reinterpret_cast<uintptr_t>(end) - page_start, prot) == 0; in SetMemory()
51 const uintptr_t page_start = reinterpret_cast<uintptr_t>(ptr) & page_mask; in AssertMemoryIsReadOnly() local
56 getrlimit(RLIMIT_NPROC, reinterpret_cast<struct rlimit*>(page_start)); in AssertMemoryIsReadOnly()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_poisoning.cpp29 uptr page_start = RoundUpTo(shadow_start, page_size); in TagMemoryAligned() local
33 UNLIKELY(page_end >= page_start + threshold && tag == 0)) { in TagMemoryAligned()
34 internal_memset((void *)shadow_start, tag, page_start - shadow_start); in TagMemoryAligned()
39 ReleaseMemoryPagesToOSAndZeroFill(page_start, page_end); in TagMemoryAligned()
/external/arm-trusted-firmware/drivers/mtd/nand/
Dcore.c29 unsigned int page_start = in nand_read() local
39 block, end_block, page_start, nb_pages, length, offset); in nand_read()
68 for (page = page_start; page < nb_pages; page++) { in nand_read()
108 page_start = 0U; in nand_read()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_hint_tables_unittest.cpp80 FX_FILESIZE page_start = 0; in TEST_F() local
85 hint_tables->GetPagePos(0, &page_start, &page_length, &page_obj_num)); in TEST_F()
86 EXPECT_EQ(777, page_start); in TEST_F()
91 hint_tables->GetPagePos(1, &page_start, &page_length, &page_obj_num)); in TEST_F()
92 EXPECT_EQ(5105, page_start); in TEST_F()
97 hint_tables->GetPagePos(2, &page_start, &page_length, &page_obj_num)); in TEST_F()
/external/boringssl/src/crypto/fipsmodule/
Dbcm.c151 const uintptr_t page_start = in BORINGSSL_maybe_set_module_text_permissions() local
154 if (mprotect((void *)page_start, in BORINGSSL_maybe_set_module_text_permissions()
155 ((uintptr_t)BORINGSSL_bcm_text_end) - page_start, in BORINGSSL_maybe_set_module_text_permissions()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/
Dbcm.c149 const uintptr_t page_start = in BORINGSSL_maybe_set_module_text_permissions() local
152 if (mprotect((void *)page_start, in BORINGSSL_maybe_set_module_text_permissions()
153 ((uintptr_t)BORINGSSL_bcm_text_end) - page_start, in BORINGSSL_maybe_set_module_text_permissions()
/external/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_nand.c121 int page_start, int page_count) in uniphier_nand_read_pages() argument
132 DENALI_MAP10 | page_start); in uniphier_nand_read_pages()
155 page_start, page_start + page_count - 1); in uniphier_nand_read_pages()
/external/rmi4utils/rmidevice/
Drmidevice.cpp274 unsigned int page_start = RMI_DEVICE_PAGE_SIZE * page; in ScanPDT() local
275 unsigned int pdt_start = page_start + RMI_DEVICE_PAGE_SCAN_START; in ScanPDT()
276 unsigned int pdt_end = page_start + RMI_DEVICE_PAGE_SCAN_END; in ScanPDT()
288 RMIFunction func(entry, page_start, interruptCount); in ScanPDT()
/external/perfetto/src/tracing/core/
Dshared_memory_abi_unittest.cc82 uint8_t* const page_start = buf() + page_idx * page_size(); in TEST_P() local
83 uint8_t* const page_end = page_start + page_size(); in TEST_P()
117 ASSERT_GT(chunk.begin(), page_start); in TEST_P()
Dshared_memory_abi.cc153 Chunk chunk(page_start(page_idx) + chunk_offset_in_page, chunk_size, in GetChunkUnchecked()
/external/perfetto/include/perfetto/ext/tracing/core/
Dshared_memory_abi.h461 uint8_t* page_start(size_t page_idx) { in page_start() function
467 return reinterpret_cast<PageHeader*>(page_start(page_idx)); in page_header()