Home
last modified time | relevance | path

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

/device/google/cuttlefish_common/host/commands/launch/
Dvsoc_shared_memory.cc160 auto shared_mem_fd = cvd::SharedFD::Open( in CreateSharedMemoryFile() local
162 LOG_IF(FATAL, !shared_mem_fd->IsOpen()) in CreateSharedMemoryFile()
163 << "Error in creating shared_memory file: " << shared_mem_fd->StrError(); in CreateSharedMemoryFile()
179 int truncate_res = shared_mem_fd->Truncate(file_size); in CreateSharedMemoryFile()
182 << shared_mem_fd->StrError(); in CreateSharedMemoryFile()
185 shared_mem_fd->Mmap(0, file_size, PROT_READ | PROT_WRITE, MAP_SHARED, 0); in CreateSharedMemoryFile()