Searched refs:PAGE_SIZE (Results 1 - 11 of 11) sorted by relevance
/base/security/code_signature/test/unittest/utils/include/ |
H A D | xpm_common.h | 29 const unsigned long PAGE_SIZE = (sysconf(_SC_PAGESIZE));
member 30 const unsigned long PAGE_MASK = ~(PAGE_SIZE - 1);
|
/base/tee/tee_client/frameworks/include/ |
H A D | tee_client_inner.h | 74 #ifndef PAGE_SIZE 75 #define PAGE_SIZE getpagesize() macro
|
/base/startup/init/interfaces/innerkits/fd_holder/ |
H A D | fd_holder_internal.c | 22 #ifndef PAGE_SIZE 23 #define PAGE_SIZE (4096U) macro 123 BEGET_ERROR_CHECK(sizeof(control) <= PAGE_SIZE, return NULL, "Too many fds, out of memory"); in ReceiveFds()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | printer.cpp | 38 #ifndef PAGE_SIZE 39 constexpr size_t PAGE_SIZE = 4096; variable 124 if (addr < PAGE_SIZE) { in PrintReason() 144 if (map[0] != nullptr && (addr < map[0]->begin && map[0]->begin - addr <= PAGE_SIZE)) { in PrintReason()
|
/base/security/code_signature/test/unittest/ |
H A D | jit_code_sign_test.cpp | 79 constexpr size_t PAGE_SIZE = 4096; member 93 g_jitMemory = mmap(g_mapJitBase, PAGE_SIZE + PAGE_SIZE, in AllocJitMemory() 97 g_jitMemory = mmap(g_mapJitBase2, PAGE_SIZE, in AllocJitMemory() 115 munmap(g_mapJitBase, PAGE_SIZE); in FreeJitMemory() 116 munmap(g_mapJitBase2, PAGE_SIZE); in FreeJitMemory() 606 tmpMemory = mmap(nullptr, PAGE_SIZE, in HWTEST_F() 610 tmpMemory = mmap(nullptr, PAGE_SIZE, in HWTEST_F() 640 munmap(tmpMemory, PAGE_SIZE); in HWTEST_F() 667 void *tmpJitMemory = mmap(nullptr, PAGE_SIZE, in HWMTEST_F() [all...] |
H A D | enable_verity_test.cpp | 561 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ, MAP_PRIVATE | MAP_XPM,
in HWTEST_F() 566 munmap(addr, PAGE_SIZE);
in HWTEST_F() 594 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ, MAP_PRIVATE | MAP_XPM,
in HWTEST_F() 628 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_EXEC, MAP_PRIVATE,
in HWTEST_F() 633 munmap(addr, PAGE_SIZE);
in HWTEST_F() 661 void *addr = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_EXEC, MAP_PRIVATE,
in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_elf_parser.cpp | 30 #ifndef PAGE_SIZE 31 #define PAGE_SIZE 4096 macro
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_dump.cpp | 119 #ifndef PAGE_SIZE
120 constexpr size_t PAGE_SIZE = 4096;
variable 123 const int BUFFER_SIZE = 256 * PAGE_SIZE; // 1M
458 const int pageThreshold = PAGE_SIZE / 2;
in CheckPage() 572 ssize_t readBytes = TEMP_FAILURE_RETRY(read(srcFd, g_buffer + bytes, PAGE_SIZE));
in WriteFile() 654 uint8_t buffer[PAGE_SIZE] = {0};
in WriteEventFile() 663 int64_t len = read(srcFd, buffer, PAGE_SIZE);
in WriteEventFile()
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | elf_imitate.cpp | 30 #ifndef PAGE_SIZE 31 #define PAGE_SIZE 4096 macro
|
/base/tee/tee_client/interfaces/kits/c/src/ |
H A D | tee_client.cpp | 1297 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, (off_t)(offset * PAGE_SIZE)); in MapSharedMemory()
|
/base/tee/tee_client/frameworks/libteec_vendor/ |
H A D | tee_client_api.c | 1364 (int)context->fd, (long)(sharedMem->offset * PAGE_SIZE)); in TEEC_AllocateSharedMemoryInner()
|
Completed in 13 milliseconds