Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_arena.cc24 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()
Dcache_arena.h51 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
Dcache_server.h269 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
Dcache_server.cc78 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()
/third_party/cef/libcef/browser/osr/
Dsoftware_output_device_proxy.cc82 shm_ = region.Map(); in Resize()
83 if (!shm_.IsValid()) { in Resize()
90 static_cast<uint8_t*>(shm_.memory()), skia::CRASH_ON_FAILURE); in Resize()
Dsoftware_output_device_proxy.h48 base::WritableSharedMemoryMapping shm_; variable
/third_party/boost/boost/interprocess/detail/
Dportable_intermodule_singleton.hpp133 :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
/third_party/gstreamer/gstplugins_bad/sys/shm/
Dmeson.build15 # NetBSD has shm_* in librt
/third_party/python/
Dconfigure.ac5796 # shm_* may only be available if linking against librt