Home
last modified time | relevance | path

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

/system/core/trusty/apploader/fuzz/
Dapp_fuzzer.cpp106 uint64_t shm_len = size ? size : 4096; in LLVMFuzzerTestOneInput() local
108 unique_fd dma_buf(alloc.Alloc(kDmabufSystemHeapName, shm_len)); in LLVMFuzzerTestOneInput()
110 std::cerr << "Failed to create dmabuf of size: " << shm_len << std::endl; in LLVMFuzzerTestOneInput()
114 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in LLVMFuzzerTestOneInput()
122 bool success = SendLoadMsg(*ta.GetRawFd(), dma_buf, shm_len); in LLVMFuzzerTestOneInput()
128 munmap(shm_base, shm_len); in LLVMFuzzerTestOneInput()
/system/core/trusty/confirmationui/
DTrustyApp.cpp98 uint32_t shm_len = CONFIRMATIONUI_MAX_MSG_SIZE; in TrustyApp() local
100 unique_fd dma_buf(allocator.Alloc("system", shm_len)); in TrustyApp()
110 .shm_len = shm_len, in TrustyApp()
144 void* shm_base = mmap(0, shm_len, PROT_READ | PROT_WRITE, MAP_SHARED, dma_buf, 0); in TrustyApp()
152 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/line-coverage/include/trusty/line-coverage/
Dtipc.h109 uint32_t shm_len; member
/system/core/trusty/confirmationui/fuzz/
Dmsg_fuzzer.cpp83 .shm_len = CONFIRMATIONUI_MAX_MSG_SIZE, in Init()
/system/core/trusty/line-coverage/
Dcoverage.cpp145 req.share_record_args.shm_len = shm_len_; in Open()
/system/core/trusty/coverage/
Dcoverage.cpp152 req.share_record_args.shm_len = shm_len_; in Open()