Home
last modified time | relevance | path

Searched refs:SpinLock (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dspinlock.h52 class LOCKABLE SpinLock {
54 SpinLock() : lockword_(kSpinLockFree) { } in SpinLock() function
65 explicit SpinLock(base::LinkerInitialized /*x*/) { in SpinLock() function
130 DISALLOW_COPY_AND_ASSIGN(SpinLock);
137 SpinLock* lock_;
139 inline explicit SpinLockHolder(SpinLock* l) EXCLUSIVE_LOCK_FUNCTION(l) in SpinLockHolder()
Dspinlock.cc54 const base::LinkerInitialized SpinLock::LINKER_INITIALIZED =
81 Atomic32 SpinLock::SpinLoop(int64 initial_wait_timestamp, in SpinLoop()
94 void SpinLock::SlowLock() { in SlowLock()
151 void SpinLock::SlowUnlock(uint64 wait_cycles) { in SlowUnlock()
173 inline int32 SpinLock::CalculateWaitCycles(int64 wait_start_time) { in CalculateWaitCycles()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dspinlock.h52 class LOCKABLE SpinLock {
54 SpinLock() : lockword_(kSpinLockFree) { } in SpinLock() function
65 explicit SpinLock(base::LinkerInitialized /*x*/) { in SpinLock() function
130 DISALLOW_COPY_AND_ASSIGN(SpinLock);
137 SpinLock* lock_;
139 inline explicit SpinLockHolder(SpinLock* l) EXCLUSIVE_LOCK_FUNCTION(l) in SpinLockHolder()
Dspinlock.cc54 const base::LinkerInitialized SpinLock::LINKER_INITIALIZED =
81 Atomic32 SpinLock::SpinLoop(int64 initial_wait_timestamp, in SpinLoop()
94 void SpinLock::SlowLock() { in SlowLock()
151 void SpinLock::SlowUnlock(uint64 wait_cycles) { in SlowUnlock()
173 inline int32 SpinLock::CalculateWaitCycles(int64 wait_start_time) { in CalculateWaitCycles()
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
Dport.h197 class SpinLock {
199 SpinLock() : initialize_token_(PTHREAD_ONCE_INIT) {}
202 explicit SpinLock(StaticInitializer) : initialize_token_(PTHREAD_ONCE_INIT) {
247 SpinLock* lock_;
249 inline explicit SpinLockHolder(SpinLock* l) : lock_(l) { l->Lock(); }
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
Dport.h194 class SpinLock {
196 SpinLock() : initialize_token_(PTHREAD_ONCE_INIT) {}
199 explicit SpinLock(StaticInitializer) : initialize_token_(PTHREAD_ONCE_INIT) {
244 SpinLock* lock_;
246 inline explicit SpinLockHolder(SpinLock* l) : lock_(l) { l->Lock(); }
/external/llvm/test/CodeGen/Thumb2/
D2010-01-06-TailDuplicateLabels.ll8 %struct.SpinLock = type { %struct.PlatformMutex }
16 … = internal global %struct.SpinLock { %struct.PlatformMutex { i32 850045863, [40 x i8] zeroinitial…
22 …hread_mutex_lock(%struct.PlatformMutex* getelementptr inbounds (%struct.SpinLock* @_ZN3WTFL13pageh…
57 …ead_mutex_unlock(%struct.PlatformMutex* getelementptr inbounds (%struct.SpinLock* @_ZN3WTFL13pageh…
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dstatic_vars.h52 static SpinLock* pageheap_lock() { return &pageheap_lock_; } in pageheap_lock()
86 static SpinLock pageheap_lock_;
Dstatic_vars.cc42 SpinLock Static::pageheap_lock_(SpinLock::LINKER_INITIALIZED);
Dtype_profiler_map.cc45 SpinLock g_type_profiler_lock(SpinLock::LINKER_INITIALIZED);
Dmemory_region_map.h308 static SpinLock lock_;
310 static SpinLock owner_lock_;
Dcentral_freelist.cc190 SpinLock *held_, *temp_;
192 inline explicit LockInverter(SpinLock* held, SpinLock *temp) in LockInverter()
Ddebugallocation.cc313 static SpinLock alloc_map_lock_;
323 static SpinLock free_queue_lock_;
823 SpinLock MallocBlock::alloc_map_lock_(SpinLock::LINKER_INITIALIZED);
827 SpinLock MallocBlock::free_queue_lock_(SpinLock::LINKER_INITIALIZED);
962 static SpinLock malloc_trace_lock(SpinLock::LINKER_INITIALIZED);
Dcentral_freelist.h153 SpinLock lock_;
Dmemory_region_map.cc144 SpinLock MemoryRegionMap::lock_(SpinLock::LINKER_INITIALIZED);
145 SpinLock MemoryRegionMap::owner_lock_( // ACQUIRED_AFTER(lock_)
146 SpinLock::LINKER_INITIALIZED);
Dprofile-handler.cc165 SpinLock control_lock_ ACQUIRED_BEFORE(signal_lock_);
166 SpinLock signal_lock_;
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dstatic_vars.cc42 SpinLock Static::pageheap_lock_(SpinLock::LINKER_INITIALIZED);
Dstatic_vars.h52 static SpinLock* pageheap_lock() { return &pageheap_lock_; } in pageheap_lock()
86 static SpinLock pageheap_lock_;
Dmemory_region_map.h284 static SpinLock lock_;
286 static SpinLock owner_lock_;
Ddebugallocation.cc315 static SpinLock alloc_map_lock_;
325 static SpinLock free_queue_lock_;
816 SpinLock MallocBlock::alloc_map_lock_(SpinLock::LINKER_INITIALIZED);
820 SpinLock MallocBlock::free_queue_lock_(SpinLock::LINKER_INITIALIZED);
955 static SpinLock malloc_trace_lock(SpinLock::LINKER_INITIALIZED);
Dcentral_freelist.cc191 SpinLock *held_, *temp_;
193 inline explicit LockInverter(SpinLock* held, SpinLock *temp) in LockInverter()
Dmemory_region_map.cc143 SpinLock MemoryRegionMap::lock_(SpinLock::LINKER_INITIALIZED);
144 SpinLock MemoryRegionMap::owner_lock_( // ACQUIRED_AFTER(lock_)
145 SpinLock::LINKER_INITIALIZED);
Dcentral_freelist.h153 SpinLock lock_;
Dprofile-handler.cc165 SpinLock control_lock_ ACQUIRED_BEFORE(signal_lock_);
166 SpinLock signal_lock_;
/external/valgrind/main/drd/tests/
Dtsan_thread_wrappers_pthread.h110 class SpinLock {
112 SpinLock() { in SpinLock() function
116 ~SpinLock() { in ~SpinLock()
134 class SpinLock {
137 SpinLock() : mu_(OS_SPINLOCK_INIT) { in SpinLock() function
140 ~SpinLock() { in ~SpinLock()

12