Searched refs:shm_ (Results 1 – 9 of 9) sorted by relevance
24 shm_.RemoveResourcesOnExit(); in CachedSharedMemory()34 shm_.SetPublicKey(shm_key); in Init()37 RETURN_IF_NOT_OK(shm_.Create(shm_mem_sz)); in Init()38 MS_LOG(INFO) << "Creation of shared memory successful. Shared memory key " << shm_.GetKey(); in Init()40 cs.GetHWControl()->InterleaveMemory(shm_.SharedMemoryBaseAddr(), shm_mem_sz); in Init()56 void *ptr = static_cast<char *>(shm_.SharedMemoryBaseAddr()) + i * sub_pool_sz_; in Init()
51 const void *SharedMemoryBaseAddr() const { return shm_.SharedMemoryBaseAddr(); } in SharedMemoryBaseAddr()52 void *SharedMemoryBaseAddr() { return shm_.SharedMemoryBaseAddr(); } in SharedMemoryBaseAddr()55 SharedMemory::shm_key_t GetKey() const { return shm_.GetKey(); } in GetKey()66 SharedMemory shm_; variable
269 const void *SharedMemoryBaseAddr() const { return shm_->SharedMemoryBaseAddr(); } in SharedMemoryBaseAddr()272 int32_t GetKey() const { return shm_->GetKey(); } in GetKey()300 std::unique_ptr<CachedSharedMemory> shm_; variable
78 RETURN_IF_NOT_OK(CachedSharedMemory::CreateArena(&shm_, port_, shared_memory_sz_in_gb_)); in DoServiceStart()1216 return shm_->AllocateSharedMemory(client_id, sz, p); in AllocateSharedMemory()1219 void CacheServer::DeallocateSharedMemory(int32_t client_id, void *p) { shm_->DeallocateSharedMemory… in DeallocateSharedMemory()
82 shm_ = region.Map(); in Resize()83 if (!shm_.IsValid()) { in Resize()90 static_cast<uint8_t*>(shm_.memory()), skia::CRASH_ON_FAILURE); in Resize()
48 base::WritableSharedMemoryMapping shm_; variable
133 :shm_name_(shm_name), singleton_lock_file_path_(singleton_lock_file_path), shm_(shm) in gmem_erase_func()138 … locking_file_serial_id *pserial_id = shm_.find<locking_file_serial_id>("lock_file_fd").first; in operator ()()148 managed_global_memory & shm_; member
15 # NetBSD has shm_* in librt
5796 # shm_* may only be available if linking against librt