/system/core/trusty/keymaster/include/trusty_keymaster/ipc/ |
D | trusty_keymaster_ipc.h | 25 const uint32_t TRUSTY_KEYMASTER_RECV_BUF_SIZE = 2 * PAGE_SIZE; 27 (PAGE_SIZE - sizeof(struct keymaster_message) - 16 /* tipc header */);
|
/system/core/libcutils/ |
D | ashmem_test.cpp | 71 constexpr size_t size = PAGE_SIZE; in TEST() 93 constexpr size_t size = PAGE_SIZE; in TEST() 137 constexpr size_t size = PAGE_SIZE * 4; in TEST() 138 constexpr size_t dataSize = PAGE_SIZE * 2; in TEST() 139 constexpr size_t holeSize = PAGE_SIZE; in TEST() 192 constexpr size_t size = PAGE_SIZE; in TEST() 220 constexpr size_t size = PAGE_SIZE; in TEST() 241 constexpr size_t size = PAGE_SIZE; in TEST()
|
/system/netd/tests/ |
D | netd_test.cpp | 85 static char stack[PAGE_SIZE * 2]; in nsTest() 89 int tid = clone(newThread, &stack[PAGE_SIZE], flags | CLONE_VFORK, NULL); in nsTest()
|
/system/core/trusty/apploader/fuzz/ |
D | app_fuzzer.cpp | 47 return (val + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in RoundPageUp() 110 uint64_t shm_len = size ? RoundPageUp(size) : PAGE_SIZE; in LLVMFuzzerTestOneInput()
|
/system/unwinding/libbacktrace/ |
D | backtrace_benchmarks.cpp | 86 void* memory = mmap(nullptr, PAGE_SIZE, flags, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in CreateMap() 91 memset(memory, 0x1, PAGE_SIZE); in CreateMap() 93 if (prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, memory, PAGE_SIZE, "test_map") == -1) { in CreateMap()
|
/system/core/debuggerd/libdebuggerd/ |
D | scudo.cpp | 51 uintptr_t fault_page = untagged_fault_addr_ & ~(PAGE_SIZE - 1); in ScudoCrashData() 53 uintptr_t memory_begin = fault_page - PAGE_SIZE * 16; in ScudoCrashData() 58 uintptr_t memory_end = fault_page + PAGE_SIZE * 16; in ScudoCrashData() 64 for (auto i = memory_begin; i != memory_end; i += PAGE_SIZE) { in ScudoCrashData() 65 process_memory->ReadFully(i, memory.get() + i - memory_begin, PAGE_SIZE); in ScudoCrashData()
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 34 return (val + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in RoundPageUp()
|
/system/core/trusty/fuzz/include/trusty/fuzz/ |
D | utils.h | 24 #define TIPC_MAX_MSG_SIZE PAGE_SIZE
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 614 void* thread_stack_allocation = mmap(nullptr, PAGE_SIZE * (thread_stack_pages + 2), PROT_NONE, in debuggerd_init() 620 char* stack = static_cast<char*>(thread_stack_allocation) + PAGE_SIZE; in debuggerd_init() 621 if (mprotect(stack, PAGE_SIZE * thread_stack_pages, PROT_READ | PROT_WRITE) != 0) { in debuggerd_init() 626 stack = (stack + thread_stack_pages * PAGE_SIZE - 1); in debuggerd_init()
|
/system/core/trusty/utils/acvp/ |
D | trusty_modulewrapper.cpp | 45 return (size + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in AlignUpToPage()
|
/system/libfmq/include/fmq/ |
D | MessageQueueBase.h | 700 kAshmemSizePageAligned = (kMetaDataSize + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1); in MessageQueueBase() 704 kMetaDataSize + PAGE_SIZE - 1) & in MessageQueueBase() 705 ~(PAGE_SIZE - 1); in MessageQueueBase() 1273 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in mapGrantorDescr() 1293 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in unmapGrantorDescr()
|
/system/core/trusty/coverage/ |
D | coverage.cpp | 47 return (val + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in RoundPageUp()
|
/system/memory/libmemunreachable/ |
D | PtracerThread.cpp | 71 stack_ = std::make_unique<Stack>(128*PAGE_SIZE); in PtracerThread()
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 17 static const size_t pageSize = PAGE_SIZE;
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 916 size_t buf_size = PAGE_SIZE * num_pages; in send_fd_test() 950 ret |= strcmp("Hello from Trusty!", (const char*)&buf[skip * PAGE_SIZE]) ? (-1) : 0; in send_fd_test() 955 munmap((char*)buf, PAGE_SIZE); in send_fd_test()
|
/system/extras/pagecache/ |
D | pagecache.py | 14 PAGE_SIZE = 4096 variable 55 return "%.2f" % round(num_pages * PAGE_SIZE / 1024.0 / 1024.0, 2)
|
/system/libfmq/fuzzer/ |
D | fmq_fuzzer.cpp | 43 static constexpr size_t kMaxNumElements = PAGE_SIZE * 10 / sizeof(payload_t) - kAlignment + 1;
|
/system/incremental_delivery/incfs/include/ |
D | incfs_inline.h | 275 INCFS_DEFAULT_PAGE_READ_BUFFER_PAGES * PAGE_SIZE / sizeof(ReadInfo); in waitForPageReads() 283 INCFS_DEFAULT_PAGE_READ_BUFFER_PAGES * PAGE_SIZE / sizeof(ReadInfoWithUid); in waitForPageReads()
|
/system/core/debuggerd/crasher/ |
D | crasher.cpp | 149 mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in leak()
|
/system/logging/liblog/ |
D | logd_reader.cpp | 101 if (((size_t)ret == len) || (buf_size < PAGE_SIZE)) { in SendLogdControlMessage()
|
/system/memory/lmkd/ |
D | statslog.cpp | 100 while (fgets(buf, PAGE_SIZE, fp) != NULL) { in memory_stat_from_cgroup()
|
D | lmkd.cpp | 614 static ssize_t buf_size = PAGE_SIZE; in reread_file() 851 mem_st.rss_in_bytes = rss_in_pages * PAGE_SIZE; in poll_kernel() 1097 char buf[PAGE_SIZE]; in cmd_procprio() 2144 char buf[PAGE_SIZE]; in kill_one_process() 3156 page_k = PAGE_SIZE; in init()
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 293 constexpr size_t read_length = PAGE_SIZE; in ConsumeFd() 298 result.resize(result.size() + PAGE_SIZE); in ConsumeFd() 303 result.resize(result.size() - PAGE_SIZE); in ConsumeFd() 307 result.resize(result.size() - PAGE_SIZE + rc); in ConsumeFd()
|
/system/logging/logd/ |
D | logd_test.cpp | 56 if (((size_t)ret == len) || (len < PAGE_SIZE)) { in send_to_control()
|
/system/logging/liblog/tests/ |
D | liblog_benchmark.cpp | 895 if (((size_t)ret == len) || (len < PAGE_SIZE)) { in send_to_control()
|