Searched refs:PAGE_SIZE (Results 1 – 18 of 18) sorted by relevance
/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/debuggerd/libdebuggerd/ |
D | scudo.cpp | 48 uintptr_t fault_page = untagged_fault_addr_ & ~(PAGE_SIZE - 1); in ScudoCrashData() 50 uintptr_t memory_begin = fault_page - PAGE_SIZE * 16; in ScudoCrashData() 55 uintptr_t memory_end = fault_page + PAGE_SIZE * 16; in ScudoCrashData() 61 for (auto i = memory_begin; i != memory_end; i += PAGE_SIZE) { in ScudoCrashData() 62 process_memory->ReadFully(i, memory.get() + i - memory_begin, PAGE_SIZE); in ScudoCrashData()
|
/system/core/libcutils/ |
D | ashmem_test.cpp | 66 constexpr size_t size = PAGE_SIZE; in TEST() 88 constexpr size_t size = PAGE_SIZE; in TEST() 132 constexpr size_t size = PAGE_SIZE * 4; in TEST() 133 constexpr size_t dataSize = PAGE_SIZE * 2; in TEST() 134 constexpr size_t holeSize = PAGE_SIZE; in TEST() 187 constexpr size_t size = PAGE_SIZE; in TEST() 215 constexpr size_t size = PAGE_SIZE; in TEST() 236 constexpr size_t size = PAGE_SIZE; in TEST()
|
/system/core/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/handler/ |
D | debuggerd_handler.cpp | 616 void* thread_stack_allocation = mmap(nullptr, PAGE_SIZE * (thread_stack_pages + 2), PROT_NONE, in debuggerd_init() 622 char* stack = static_cast<char*>(thread_stack_allocation) + PAGE_SIZE; in debuggerd_init() 623 if (mprotect(stack, PAGE_SIZE * thread_stack_pages, PROT_READ | PROT_WRITE) != 0) { in debuggerd_init() 628 stack = (stack + thread_stack_pages * PAGE_SIZE - 1); in debuggerd_init()
|
/system/memory/lmkd/ |
D | statslog.cpp | 145 while (fgets(buf, PAGE_SIZE, fp) != NULL) { in memory_stat_from_cgroup() 184 mem_st->rss_in_bytes = (rss_in_pages * PAGE_SIZE); in memory_stat_from_procfs()
|
D | lmkd.cpp | 605 static ssize_t buf_size = PAGE_SIZE; in reread_file() 799 mem_st.rss_in_bytes = rss_in_pages * PAGE_SIZE; in poll_kernel() 935 char buf[PAGE_SIZE]; in proc_get_tgid() 2979 page_k = PAGE_SIZE; in init()
|
/system/netd/tests/ |
D | netd_test.cpp | 69 static char stack[PAGE_SIZE * 2]; in nsTest() 73 int tid = clone(newThread, &stack[PAGE_SIZE], flags | CLONE_VFORK, NULL); in nsTest()
|
/system/libfmq/include/fmq/ |
D | MessageQueueBase.h | 651 (Descriptor::alignToWordBoundary(kQueueSizeBytes) + kMetaDataSize + PAGE_SIZE - 1) & in MessageQueueBase() 652 ~(PAGE_SIZE - 1); in MessageQueueBase() 1182 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in mapGrantorDescr() 1203 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in unmapGrantorDescr()
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 17 static const size_t pageSize = PAGE_SIZE;
|
/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/core/debuggerd/ |
D | debuggerd_test.cpp | 275 constexpr size_t read_length = PAGE_SIZE; in ConsumeFd() 280 result.resize(result.size() + PAGE_SIZE); in ConsumeFd() 285 result.resize(result.size() - PAGE_SIZE); in ConsumeFd() 289 result.resize(result.size() - PAGE_SIZE + rc); in ConsumeFd()
|
/system/core/debuggerd/crasher/ |
D | crasher.cpp | 145 mmap(nullptr, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in leak()
|
/system/core/liblog/ |
D | logd_reader.cpp | 88 if (((size_t)ret == len) || (buf_size < PAGE_SIZE)) { in SendLogdControlMessage()
|
/system/core/adb/daemon/ |
D | usb.cpp | 61 static constexpr size_t kUsbReadSize = 4 * PAGE_SIZE; 64 static constexpr size_t kUsbWriteSize = 4 * PAGE_SIZE;
|
/system/incremental_delivery/incfs/include/ |
D | incfs_inline.h | 250 INCFS_DEFAULT_PAGE_READ_BUFFER_PAGES * PAGE_SIZE / sizeof(ReadInfo); in waitForPageReads()
|
/system/core/logd/ |
D | logd_test.cpp | 52 if (((size_t)ret == len) || (len < PAGE_SIZE)) { in send_to_control()
|
/system/core/liblog/tests/ |
D | liblog_benchmark.cpp | 919 if (((size_t)ret == len) || (len < PAGE_SIZE)) { in send_to_control()
|