Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/external/kernel-headers/original/linux/
Dspinlock_api_up.h19 #define assert_spin_locked(lock) do { (void)(lock); } while (0) argument
27 #define __LOCK(lock) \ argument
30 #define __LOCK_BH(lock) \ argument
33 #define __LOCK_IRQ(lock) \ argument
36 #define __LOCK_IRQSAVE(lock, flags) \ argument
39 #define __UNLOCK(lock) \ argument
42 #define __UNLOCK_BH(lock) \ argument
45 #define __UNLOCK_IRQ(lock) \ argument
48 #define __UNLOCK_IRQRESTORE(lock, flags) \ argument
51 #define _spin_lock(lock) __LOCK(lock) argument
[all …]
Dspinlock.h94 # define spin_lock_init(lock) \ argument
102 # define spin_lock_init(lock) \ argument
109 # define rwlock_init(lock) \ argument
116 # define rwlock_init(lock) \ argument
120 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock) argument
126 #define spin_unlock_wait(lock) __raw_spin_unlock_wait(&(lock)->raw_lock) argument
139 #define _raw_spin_lock_flags(lock, flags) _raw_spin_lock(lock) argument
149 # define _raw_spin_lock(lock) __raw_spin_lock(&(lock)->raw_lock) argument
150 # define _raw_spin_lock_flags(lock, flags) \ argument
152 # define _raw_spin_trylock(lock) __raw_spin_trylock(&(lock)->raw_lock) argument
[all …]
Dspinlock_up.h23 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
29 __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
35 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
44 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
52 #define __raw_read_lock(lock) do { (void)(lock); } while (0) argument
53 #define __raw_write_lock(lock) do { (void)(lock); } while (0) argument
54 #define __raw_read_trylock(lock) ({ (void)(lock); 1; }) argument
55 #define __raw_write_trylock(lock) ({ (void)(lock); 1; }) argument
56 #define __raw_read_unlock(lock) do { (void)(lock); } while (0) argument
57 #define __raw_write_unlock(lock) do { (void)(lock); } while (0) argument
[all …]
Dseqlock.h34 spinlock_t lock; member
158 #define write_seqlock_irqsave(lock, flags) \ argument
160 #define write_seqlock_irq(lock) \ argument
162 #define write_seqlock_bh(lock) \ argument
165 #define write_sequnlock_irqrestore(lock, flags) \ argument
167 #define write_sequnlock_irq(lock) \ argument
169 #define write_sequnlock_bh(lock) \ argument
172 #define read_seqbegin_irqsave(lock, flags) \ argument
175 #define read_seqretry_irqrestore(lock, iv, flags) \ argument
/external/kernel-headers/original/asm-x86/
Dspinlock_32.h35 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock()
58 static inline void __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags()
87 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock()
106 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
113 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock()
124 static inline void __raw_spin_unlock_wait(raw_spinlock_t *lock) in __raw_spin_unlock_wait()
187 static inline int __raw_read_trylock(raw_rwlock_t *lock) in __raw_read_trylock()
197 static inline int __raw_write_trylock(raw_rwlock_t *lock) in __raw_write_trylock()
217 #define _raw_spin_relax(lock) cpu_relax() argument
218 #define _raw_read_relax(lock) cpu_relax() argument
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DTile.cpp96 android::AutoMutex lock(m_atomicSync); in setContents() local
109 android::AutoMutex lock(m_atomicSync); in reserveTexture() local
129 android::AutoMutex lock(m_atomicSync); in removeTexture() local
152 android::AutoMutex lock(m_atomicSync); in markAsDirty() local
161 android::AutoMutex lock(m_atomicSync); in markAsDirty() local
209 android::AutoMutex lock(m_atomicSync); in isDirty() local
215 android::AutoMutex lock(m_atomicSync); in isRepaintPending() local
221 android::AutoMutex lock(m_atomicSync); in setRepaintPending() local
253 android::AutoMutex lock(m_atomicSync); in isTileReady() local
375 android::AutoMutex lock(m_atomicSync); in discardTextures() local
[all …]
DImagesManager.cpp64 android::Mutex::Autolock lock(m_imagesLock); in setImage() local
77 android::Mutex::Autolock lock(m_imagesLock); in setImage() local
88 android::Mutex::Autolock lock(m_imagesLock); in retainImage() local
102 android::Mutex::Autolock lock(m_imagesLock); in releaseImage() local
113 android::Mutex::Autolock lock(m_imagesLock); in nbTextures() local
127 android::Mutex::Autolock lock(m_imagesLock); in prepareTextures() local
/external/webkit/Source/WebCore/bindings/js/
DScriptFunctionCall.cpp61 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
67 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
73 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
84 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
90 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
96 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
102 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
108 JSLock lock(SilenceAssertionsOnly); in appendArgument() local
128 JSLock lock(SilenceAssertionsOnly); in call() local
166 JSLock lock(SilenceAssertionsOnly); in construct() local
[all …]
DScriptObject.cpp64 JSLock lock(SilenceAssertionsOnly); in set() local
72 JSLock lock(SilenceAssertionsOnly); in set() local
80 JSLock lock(SilenceAssertionsOnly); in set() local
89 JSLock lock(SilenceAssertionsOnly); in get() local
103 JSLock lock(SilenceAssertionsOnly); in remove() local
/external/chromium/chrome/browser/sync/glue/
Dhttp_bridge.cc135 base::AutoLock lock(fetch_state_lock_); in SetUserAgent() local
150 base::AutoLock lock(fetch_state_lock_); in SetURL() local
168 base::AutoLock lock(fetch_state_lock_); in SetPostPayload() local
187 base::AutoLock lock(fetch_state_lock_); in MakeSynchronousPost() local
205 base::AutoLock lock(fetch_state_lock_); in MakeSynchronousPost() local
214 base::AutoLock lock(fetch_state_lock_); in MakeAsynchronousPost() local
230 base::AutoLock lock(fetch_state_lock_); in GetResponseContentLength() local
237 base::AutoLock lock(fetch_state_lock_); in GetResponseContent() local
246 base::AutoLock lock(fetch_state_lock_); in GetResponseHeaderValue() local
255 base::AutoLock lock(fetch_state_lock_); in Abort() local
[all …]
/external/webkit/Source/WebCore/page/
DGeolocationPositionCache.cpp66 MutexLocker lock(m_cachedPositionMutex); in addUser() local
75 MutexLocker lock(m_cachedPositionMutex); in removeUser() local
86 MutexLocker lock(m_databaseFileMutex); in setDatabasePath() local
99 MutexLocker lock(m_cachedPositionMutex); in setCachedPosition() local
105 MutexLocker lock(m_cachedPositionMutex); in cachedPosition() local
143 MutexLocker lock(m_databaseFileMutex); in readFromDatabaseImpl() local
182 MutexLocker lock(m_cachedPositionMutex); in readFromDatabaseImpl() local
202 MutexLocker lock(m_databaseFileMutex); in writeToDatabaseImpl() local
209 MutexLocker lock(m_cachedPositionMutex); in writeToDatabaseImpl() local
/external/chromium/third_party/libjingle/source/talk/session/tunnel/
Dpseudotcpchannel.cc124 CritScope lock(&cs_); in Connect() local
159 CritScope lock(&cs_); in GetStream() local
170 CritScope lock(&cs_); in OnChannelDestroyed() local
191 CritScope lock(&cs_); in OnSessionTerminate() local
211 CritScope lock(&cs_); in GetOption() local
218 CritScope lock(&cs_); in SetOption() local
229 CritScope lock(&cs_); in GetState() local
250 CritScope lock(&cs_); in Read() local
281 CritScope lock(&cs_); in Write() local
302 CritScope lock(&cs_); in Close() local
[all …]
/external/chromium/chrome/browser/sync/engine/
Dall_status.cc103 ScopedStatusLock lock(this); in OnSyncEngineEvent() local
123 ScopedStatusLock lock(this); in HandleServerConnectionEvent() local
136 base::AutoLock lock(mutex_); in status() local
141 ScopedStatusLock lock(this); in SetNotificationsEnabled() local
146 ScopedStatusLock lock(this); in IncrementNotificationsSent() local
151 ScopedStatusLock lock(this); in IncrementNotificationsReceived() local
/external/webkit/Source/WebCore/dom/default/
DPlatformMessagePortChannel.cpp156 MutexLocker lock(m_mutex); in setRemotePort() local
164 MutexLocker lock(m_mutex); in remotePort() local
170 MutexLocker lock(m_mutex); in entangledChannel() local
176 MutexLocker lock(m_mutex); in setEntangledChannel() local
185 MutexLocker lock(m_mutex); in postMessageToRemote() local
195 MutexLocker lock(m_mutex); in tryGetMessageFromRemote() local
202 MutexLocker lock(m_mutex); in isConnectedTo() local
218 MutexLocker lock(m_mutex); in closeInternal() local
227 MutexLocker lock(m_mutex); in hasPendingActivity() local
233 MutexLocker lock(m_mutex); in locallyEntangledPort() local
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebRequestContext.cpp91 MutexLocker lock(m_userAgentMutex); in setUserAgent() local
107 MutexLocker lock(m_userAgentMutex); in GetUserAgent() local
113 MutexLocker lock(acceptLanguageMutex); in setAcceptLanguage() local
120 MutexLocker lock(acceptLanguageMutex); in accept_language() local
126 MutexLocker lock(acceptLanguageMutex); in acceptLanguage() local
DWebCookieJar.cpp55 MutexLocker lock(databaseDirectoryMutex); in databaseDirectory() local
110 MutexLocker lock(instanceMutex); in get() local
123 MutexLocker lock(instanceMutex); in cleanup() local
135 MutexLocker lock(m_cookieStoreInitializeMutex); in initCookieStore() local
157 MutexLocker lock(m_allowCookiesMutex); in allowCookies() local
163 MutexLocker lock(m_allowCookiesMutex); in setAllowCookies() local
170 MutexLocker lock(m_allowCookiesMutex); in CanGetCookies() local
177 MutexLocker lock(m_allowCookiesMutex); in CanSetCookie() local
258 MutexLocker lock(instanceMutex); in acceptFileSchemeCookies() local
269 MutexLocker lock(instanceMutex); in setAcceptFileSchemeCookies() local
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DCanvasTexture.cpp60 android::Mutex::Autolock lock(s_texturesLock); in getCanvasTexture() local
69 android::Mutex::Autolock lock(m_surfaceLock); in setHwAccelerated() local
85 android::Mutex::Autolock lock(m_surfaceLock); in setSize() local
104 android::Mutex::Autolock lock(m_surfaceLock); in nativeWindow() local
164 android::Mutex::Autolock lock(m_surfaceLock); in requireTexture() local
173 android::Mutex::Autolock lock(m_surfaceLock); in updateTexImage() local
DMediaTexture.cpp71 android::Mutex::Autolock lock(m_mediaLock); in isContentInverted() local
76 android::Mutex::Autolock lock(m_mediaLock); in invertContents() local
83 android::Mutex::Autolock lock(m_mediaLock); in initNativeWindowIfNeeded() local
134 android::Mutex::Autolock lock(m_mediaLock); in draw() local
188 android::Mutex::Autolock lock(m_mediaLock); in requestNativeWindowForVideo() local
234 android::Mutex::Autolock lock(m_mediaLock); in getNativeWindowForContent() local
243 android::Mutex::Autolock lock(m_mediaLock); in releaseNativeWindow() local
256 android::Mutex::Autolock lock(m_mediaLock); in setDimensions() local
268 android::Mutex::Autolock lock(m_mediaLock); in setFramerateCallback() local
/external/compiler-rt/lib/asan/
Dasan_thread_registry.cc45 ScopedLock lock(&mu_); in RegisterThread() local
57 ScopedLock lock(&mu_); in UnregisterThread() local
105 ScopedLock lock(&mu_); in GetAccumulatedStats() local
111 ScopedLock lock(&mu_); in GetCurrentAllocatedBytes() local
117 ScopedLock lock(&mu_); in GetHeapSize() local
123 ScopedLock lock(&mu_); in GetFreeBytes() local
140 ScopedLock lock(&mu_); in FindThreadByStackAddress() local
/external/chromium/chrome/browser/chromeos/
Daudio_mixer_alsa.cc69 base::AutoLock lock(mixer_state_lock_); in ~AudioMixerAlsa() local
98 base::AutoLock lock(mixer_state_lock_); in Init() local
117 base::AutoLock lock(mixer_state_lock_); in GetVolumeDb() local
125 base::AutoLock lock(mixer_state_lock_); in GetVolumeLimits() local
136 base::AutoLock lock(mixer_state_lock_); in SetVolumeDb() local
151 base::AutoLock lock(mixer_state_lock_); in IsMute() local
164 base::AutoLock lock(mixer_state_lock_); in SetMute() local
191 base::AutoLock lock(mixer_state_lock_); in GetState() local
218 base::AutoLock lock(mixer_state_lock_); in DoInit() local
239 base::AutoLock lock(mixer_state_lock_); in InitThread() local
[all …]
/external/chromium/chrome/browser/sync/syncable/
Ddirectory_manager.cc48 base::AutoLock lock(lock_); in ~DirectoryManager() local
67 base::AutoLock lock(lock_); in OpenImpl() local
84 base::AutoLock lock(lock_); in OpenImpl() local
95 base::AutoLock lock(lock_); in Close() local
115 base::AutoLock lock(lock_); in FinalSaveChangesForAll() local
122 base::AutoLock lock(lock_); in GetOpenDirectories() local
/external/chromium/base/threading/
Dwatchdog.cc37 AutoLock lock(lock_); in ~Watchdog() local
55 AutoLock lock(lock_); in ArmAtStartTime() local
66 AutoLock lock(lock_); in Disarm() local
83 AutoLock lock(watchdog_->lock_); in ThreadMain() local
132 AutoLock lock(static_lock_); in ResetStaticData() local
/external/webkit/Source/WebCore/platform/graphics/android/utils/
DClassTracker.cpp54 android::Mutex::Autolock lock(m_lock); in increment() local
64 android::Mutex::Autolock lock(m_lock); in decrement() local
74 android::Mutex::Autolock lock(m_lock); in add() local
80 android::Mutex::Autolock lock(m_lock); in remove() local
86 android::Mutex::Autolock lock(m_lock); in show() local
/external/chromium/chrome/browser/net/
Dchrome_net_log.cc39 base::AutoLock lock(net_log_->lock_); in SetLogLevel() local
89 base::AutoLock lock(lock_); in AddEntry() local
106 base::AutoLock lock(lock_); in AddObserver() local
111 base::AutoLock lock(lock_); in RemoveObserver() local
120 base::AutoLock lock(lock_); in AddObserverAndGetAllPassivelyCapturedEvents() local
126 base::AutoLock lock(lock_); in GetAllPassivelyCapturedEvents() local
131 base::AutoLock lock(lock_); in ClearAllPassivelyCapturedEvents() local
/external/chromium/chrome/common/
Dworker_thread_ticker.cc47 base::AutoLock lock(lock_); in RegisterTickHandler() local
58 base::AutoLock lock(lock_); in UnregisterTickHandler() local
77 base::AutoLock lock(lock_); in Start() local
90 base::AutoLock lock(lock_); in Stop() local

12345678910>>...17