Home
last modified time | relevance | path

Searched defs:lck (Results 1 – 25 of 32) sorted by relevance

12

/third_party/boost/boost/interprocess/sync/
Dinterprocess_upgradable_mutex.hpp293 scoped_lock_t lck(m_mut); in lock() local
316 scoped_lock_t lck(m_mut, try_to_lock); in try_lock() local
334 scoped_lock_t lck(m_mut, abs_time); in timed_lock() local
369 scoped_lock_t lck(m_mut); in unlock() local
378 scoped_lock_t lck(m_mut); in lock_upgradable() local
396 scoped_lock_t lck(m_mut, try_to_lock); in try_lock_upgradable() local
420 scoped_lock_t lck(m_mut, abs_time); in timed_lock_upgradable() local
448 scoped_lock_t lck(m_mut); in unlock_upgradable() local
460 scoped_lock_t lck(m_mut); in lock_sharable() local
476 scoped_lock_t lck(m_mut, try_to_lock); in try_lock_sharable() local
[all …]
Dinterprocess_sharable_mutex.hpp181 scoped_lock_t lck(m_mut); in lock() local
204 scoped_lock_t lck(m_mut, try_to_lock); in try_lock() local
220 scoped_lock_t lck(m_mut, abs_time); in timed_lock() local
259 scoped_lock_t lck(m_mut); in unlock() local
268 scoped_lock_t lck(m_mut); in lock_sharable() local
284 scoped_lock_t lck(m_mut, try_to_lock); in try_lock_sharable() local
303 scoped_lock_t lck(m_mut, abs_time); in timed_lock_sharable() local
329 scoped_lock_t lck(m_mut); in unlock_sharable() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dtask_manager.cc45 UniqueLock lck(&lru_lock_); in CreateAsyncTask() local
50 UniqueLock lck(&vg->rw_lock_); in CreateAsyncTask() local
55 LockGuard lck(&tg_lock_); in CreateAsyncTask() local
68 SharedLock lck(&lru_lock_); in join_all() local
80 LockGuard lck(&tg_lock_); in interrupt_all() local
211 std::lock_guard<std::mutex> lck(master->mux_); in InterruptMaster() local
227 std::lock_guard<std::mutex> lck(master->mux_); in GetMasterThreadRc() local
238 UniqueLock lck(&lru_lock_); in ReturnFreeTask() local
249 LockGuard lck(&free_lock_); in ReturnFreeTask() local
262 LockGuard lck(&free_lock_); in GetFreeTask() local
[all …]
Dwait_post.cc24 std::unique_lock<std::mutex> lck(mutex_); in Wait() local
29 std::unique_lock<std::mutex> lck(mutex_); in Set() local
35 std::unique_lock<std::mutex> lck(mutex_); in Clear() local
Dlock.cc38 std::unique_lock<std::mutex> lck(mtx_); in LockShared() local
46 std::unique_lock<std::mutex> lck(mtx_); in Unlock() local
65 std::unique_lock<std::mutex> lck(mtx_); in Upgrade() local
82 std::unique_lock<std::mutex> lck(mtx_); in Downgrade() local
Dservice.cc23 UniqueLock lck(&state_lock_); in ServiceStart() local
59 UniqueLock lck(&state_lock_); in ServiceStop() local
Dintrp_service.cc46 std::lock_guard<std::mutex> lck(mutex_); in Register() local
64 std::lock_guard<std::mutex> lck(mutex_); in Deregister() local
80 std::lock_guard<std::mutex> lck(mutex_); in InterruptAll() local
Dsemaphore.cc22 std::unique_lock<std::mutex> lck(mutex_); in P() local
28 std::unique_lock<std::mutex> lck(mutex_); in V() local
Dcond_var.cc25 Status CondVar::Wait(std::unique_lock<std::mutex> *lck, const std::function<bool()> &pred) { in Wait()
/third_party/mindspore/mindspore/lite/mindir/src/
Dmindir_memory_manager.cc37 std::lock_guard<std::mutex> lck(mutex); in CreateTensorFromBuilder() local
59 std::lock_guard<std::mutex> lck(mutex); in CreatePrimitiveFromBuilder() local
80 std::lock_guard<std::mutex> lck(mutex); in DeletePrimitive() local
97 std::lock_guard<std::mutex> lck(mutex); in DeleteTensor() local
117 std::lock_guard<std::mutex> lck(mutex); in ClearAllMemory() local
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl_common.h24 static int my_fcntl(int fd, int cmd, void *lck) in my_fcntl()
29 static int my_fcntl(int fd, int cmd, void *lck) in my_fcntl()
Dfcntl36.c75 struct flock64 lck = { in fn_ofd_w() local
115 struct flock lck = { in fn_posix_w() local
154 struct flock64 lck = { in fn_ofd_r() local
215 struct flock lck = { in fn_posix_r() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dstorage_container.cc36 std::lock_guard<std::mutex> lck(mutex_); in Open() local
47 std::lock_guard<std::mutex> lck(mutex_); in Close() local
66 std::lock_guard<std::mutex> lck(mutex_); in Read() local
91 std::lock_guard<std::mutex> lck(mutex_); in Write() local
Dcache_client.cc148 UniqueLock lck(&mux_); in CreateCache() local
227 UniqueLock lck(&mux_); in DestroyCache() local
235 SharedLock lck(&mux_); in GetStat() local
248 SharedLock lck(&mux_); in GetState() local
259 SharedLock lck(&mux_); in CacheSchema() local
268 SharedLock lck(&mux_); in FetchSchema() local
278 SharedLock lck(&mux_); in BuildPhaseDone() local
Dcache_server.cc117 UniqueLock lck(&rwLock_); in DoServiceStop() local
218 UniqueLock lck(&rwLock_); in CreateService() local
274 UniqueLock lck(&rwLock_); in DestroyCache() local
295 SharedLock lck(&rwLock_); in CacheRow() local
330 SharedLock lck(&rwLock_); in FastCacheRow() local
406 SharedLock lck(&rwLock_); in InternalFetchRow() local
490 SharedLock lck(&rwLock_); in BatchFetchRows() local
564 SharedLock lck(&rwLock_); in GetStat() local
591 SharedLock lck(&rwLock_); in CacheSchema() local
607 SharedLock lck(&rwLock_); in FetchSchema() local
[all …]
Dcache_grpc_client.cc95 std::unique_lock<std::mutex> lck(mux_); in HandleRequest() local
135 std::unique_lock<std::mutex> lck(mux_); in WorkerEntry() local
/third_party/boost/boost/interprocess/detail/
Dwindows_intermodule_singleton.hpp134 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in windows_semaphore_based_map() local
188 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in find() local
201 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in insert() local
209 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in erase() local
217 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in atomic_func() local
223 scoped_lock<winapi_mutex_wrapper> lck(m_mtx_lock); in ~windows_semaphore_based_map() local
/third_party/mindspore/mindspore/lite/src/runtime/gpu/cuda/
Dcuda_runtime.cc31 std::unique_lock<std::mutex> lck(g_mtx); in GetInstance() local
42 std::unique_lock<std::mutex> lck(g_mtx); in DeleteInstance() local
/third_party/boost/libs/container/src/
Dsynchronized_pool_resource.cpp67 thread_mutex_lock lck(m_mut); (void)lck; in release() local
79 thread_mutex_lock lck(m_mut); (void)lck; in do_allocate() local
85 thread_mutex_lock lck(m_mut); (void)lck; in do_deallocate() local
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dgraph_data_server.cc109 std::unique_lock<std::mutex> lck(mutex_); in ClientRegister() local
118 std::unique_lock<std::mutex> lck(mutex_); in ClientUnRegister() local
/third_party/boost/boost/thread/
Dexternally_locked_stream.hpp122 …m_guard<Stream, RecursiveMutex>& operator<<(const stream_guard<Stream, RecursiveMutex>& lck, T arg) in operator <<()
129 …rd<Stream, RecursiveMutex>& operator<<(const stream_guard<Stream, RecursiveMutex>& lck, Stream& (*… in operator <<()
136 …_guard<Stream, RecursiveMutex>& operator>>(const stream_guard<Stream, RecursiveMutex>& lck, T& arg) in operator >>()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcuvidloader.c151 CuvidCtxLockDestroy (CUvideoctxlock lck) in CuvidCtxLockDestroy()
159 CuvidCtxLock (CUvideoctxlock lck, unsigned int reserved_flags) in CuvidCtxLock()
167 CuvidCtxUnlock (CUvideoctxlock lck, unsigned int reserved_flags) in CuvidCtxUnlock()
/third_party/boost/libs/exception/test/
Dcopy_exception_test.cpp55 boost::unique_lock<boost::mutex> lck (mux_); in set_exception() local
64 boost::unique_lock<boost::mutex> lck (mux_); in get_exception() local
/third_party/alsa-utils/alsactl/
Dlock.c36 struct flock lck; in state_lock_() local
/third_party/mindspore/tests/ut/cpp/dataset/
Dtask_manager_test.cc68 std::unique_lock<std::mutex> lck(mux); in TEST_F() local

12