Home
last modified time | relevance | path

Searched refs:shm_len (Results 1 – 6 of 6) sorted by relevance

/system/core/trusty/apploader/fuzz/
Dapp_fuzzer.cpp110 uint64_t shm_len = size ? RoundPageUp(size) : PAGE_SIZE; in LLVMFuzzerTestOneInput() local
112 unique_fd dma_buf(alloc.Alloc(kDmabufSystemHeapName, shm_len)); in LLVMFuzzerTestOneInput()
114 std::cerr << "Failed to create dmabuf of size: " << shm_len << std::endl; in LLVMFuzzerTestOneInput()
118 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in LLVMFuzzerTestOneInput()
126 bool success = SendLoadMsg(*ta.GetRawFd(), dma_buf, shm_len); in LLVMFuzzerTestOneInput()
132 munmap(shm_base, shm_len); in LLVMFuzzerTestOneInput()
/system/core/trusty/confirmationui/
DTrustyApp.cpp102 uint32_t shm_len = RoundPageUp(CONFIRMATIONUI_MAX_MSG_SIZE); in TrustyApp() local
104 unique_fd dma_buf(allocator.Alloc("system", shm_len)); in TrustyApp()
114 .shm_len = shm_len, in TrustyApp()
148 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in TrustyApp()
156 shm_len_ = shm_len; in TrustyApp()
/system/core/trusty/confirmationui/include/
DTrustyIpc.h64 uint32_t shm_len; member
/system/core/trusty/coverage/include/trusty/coverage/
Dtipc.h46 uint32_t shm_len; member
/system/core/trusty/confirmationui/fuzz/
Dmsg_fuzzer.cpp83 .shm_len = CONFIRMATIONUI_MAX_MSG_SIZE, in Init()
/system/core/trusty/coverage/
Dcoverage.cpp156 req.share_record_args.shm_len = shm_len_; in Open()