Home
last modified time | relevance | path

Searched refs:LOCK (Results 1 – 25 of 61) sorted by relevance

123

/external/bison/lib/glthread/
Dlock.h168 # define glthread_lock_init(LOCK) \ argument
169 (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0)
170 # define glthread_lock_lock(LOCK) \ argument
171 (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0)
172 # define glthread_lock_unlock(LOCK) \ argument
173 (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0)
174 # define glthread_lock_destroy(LOCK) \ argument
175 (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0)
190 # define glthread_rwlock_init(LOCK) \ argument
191 (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0)
[all …]
/external/ltp/testcases/network/nfsv4/locks/
DREADME87 1. WRITE ON A READ LOCK
88 2. WRITE ON A WRITE LOCK
89 3. READ ON A READ LOCK
90 4. READ ON A WRITE LOCK
91 5. SET A READ LOCK ON A READ LOCK
92 6. SET A WRITE LOCK ON A WRITE LOCK
93 7. SET A WRITE LOCK ON A READ LOCK
94 8. SET A READ LOCK ON A WRITE LOCK
95 9. READ LOCK THE WHOLE FILE BYTE BY BYTE
96 10. WRITE LOCK THE WHOLE FILE BYTE BY BYTE
[all …]
Dlocktests.h111 LOCK, enumerator
Dlocktests.c667 etat = LOCK; in maitre()
673 etat = LOCK; in maitre()
676 case LOCK: in maitre()
888 case LOCK: in esclave()
/external/ltp/testcases/kernel/io/disktest/
Dsignals.c78 LOCK(sig_mutex); in sig_handler()
85 LOCK(sig_mutex); in sig_handler()
92 LOCK(sig_mutex); in sig_handler()
99 LOCK(sig_mutex); in sig_handler()
106 LOCK(sig_mutex); in sig_handler()
114 LOCK(sig_mutex); in sig_handler()
165 LOCK(sig_mutex); in clear_stat_signal()
Dthreading.h108 #define LOCK(Mutex) WaitForSingleObject((void *) Mutex, INFINITE) macro
113 #define LOCK(Mutex) \ macro
Dchildmain.c699 LOCK(env->mutexs.MutexACTION); in ChildMain()
778 LOCK(env->mutexs.MutexACTION); in ChildMain()
803 LOCK(env->mutexs.MutexIO); in ChildMain()
818 LOCK(env->mutexs.MutexACTION); in ChildMain()
856 LOCK(env->mutexs.MutexIO); in ChildMain()
885 LOCK(env->mutexs.MutexACTION); in ChildMain()
914 LOCK(MutexMISCOMP); in ChildMain()
995 LOCK(env->mutexs.MutexACTION); in ChildMain()
1005 LOCK(env->mutexs.MutexACTION); in ChildMain()
1014 LOCK(env->mutexs.MutexACTION); in ChildMain()
/external/autotest/server/cros/
Dhost_lock_manager.py36 LOCK = 'lock' variable in HostLockManager
90 if operation == self.LOCK and host_info.locked:
116 return self._host_modifier(new_hosts, self.LOCK, lock_reason=lock_reason)
163 kwargs = {'locked': True if operation == self.LOCK else False}
164 if operation == self.LOCK:
170 if operation == self.LOCK and lock_reason:
Dhost_lock_manager_unittest.py65 if operation == self.LOCK:
91 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
110 actual = self.manager._check_host(host_with_dot, self.manager.LOCK)
183 self.manager.LOCK).AndReturn(self.HOST1)
188 self.manager._host_modifier(hosts, self.manager.LOCK,
215 self.manager.LOCK).AndReturn(self.HOST1)
221 self.manager._host_modifier(hosts, self.manager.LOCK)
/external/libevent/
Dlistener.c103 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0) macro
121 LOCK(listener);
259 LOCK(lev); in evconnlistener_free()
283 LOCK(lev); in evconnlistener_enable()
297 LOCK(lev); in evconnlistener_disable()
324 LOCK(lev); in evconnlistener_get_fd()
342 LOCK(lev); in evconnlistener_get_base()
361 LOCK(lev); in evconnlistener_set_cb()
375 LOCK(lev); in evconnlistener_set_error_cb()
388 LOCK(lev); in listener_read_cb()
[all …]
/external/libnl/include/netlink-private/
Dnetlink.h268 #define nl_lock(LOCK) do { } while(0) argument
269 #define nl_unlock(LOCK) do { } while(0) argument
270 #define nl_read_lock(LOCK) do { } while(0) argument
271 #define nl_read_unlock(LOCK) do { } while(0) argument
272 #define nl_write_lock(LOCK) do { } while(0) argument
273 #define nl_write_unlock(LOCK) do { } while(0) argument
/external/bison/lib/
Dunsetenv.c42 # define LOCK __libc_lock_lock (envlock) in __libc_lock_define_initialized() macro
45 # define LOCK in __libc_lock_define_initialized()
70 LOCK; in __libc_lock_define_initialized()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSimpleLogger.java34 private static final Object LOCK = new Object(); field in SimpleLogger
41 synchronized (LOCK) { in getInstance()
DTraceLogger.java34 private static final Object LOCK = new Object(); field in TraceLogger
40 synchronized (LOCK) { in getInstance()
DWaltUsbConnection.java44 private static final Object LOCK = new Object(); field in WaltUsbConnection
53 synchronized (LOCK) { in getInstance()
DWaltTcpConnection.java61 private static final Object LOCK = new Object(); field in WaltTcpConnection
64 synchronized (LOCK) { in getInstance()
DWaltDevice.java69 private static final Object LOCK = new Object(); field in WaltDevice
73 synchronized (LOCK) { in getInstance()
/external/libvncserver/libvncserver/
Dmain.c83 LOCK(extMutex); in rfbRegisterProtocolExtension()
121 LOCK(extMutex); in rfbUnregisterProtocolExtension()
153 LOCK(extMutex); in rfbGetExtensionIterator()
245 LOCK(logMutex); in rfbDefaultLog()
274 LOCK(cl->updateMutex); in rfbScheduleCopyRegion()
406 LOCK(cl->updateMutex); in rfbMarkRegionAsModified()
462 LOCK(cl->updateMutex); in clientOutput()
490 LOCK(cl->updateMutex); in clientOutput()
496 LOCK(cl->sendMutex); in clientOutput()
557 LOCK(cl->updateMutex); in clientInput()
[all …]
Drfbserver.c132 LOCK(cl->refCountMutex); in rfbIncrClientRef()
139 LOCK(cl->refCountMutex); in rfbDecrClientRef()
204 LOCK(rfbClientListMutex); in rfbClientIteratorHead()
214 LOCK(rfbClientListMutex); in rfbClientIteratorNext()
405 LOCK(rfbClientListMutex); in rfbNewTCPOrUDPClient()
538 LOCK(rfbClientListMutex); in rfbClientConnectionGone()
553 LOCK(cl->refCountMutex); in rfbClientConnectionGone()
613 LOCK(cl->outputMutex); in rfbClientConnectionGone()
617 LOCK(cl->sendMutex); in rfbClientConnectionGone()
1127 LOCK(cl->sendMutex); in rfbSendXvp()
[all …]
Dscale.c326 LOCK(cl->updateMutex); in rfbScaledScreenAllocate()
378 LOCK(cl->updateMutex); in rfbScalingSetup()
397 LOCK(cl->updateMutex); in rfbSendNewScaleSize()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/programmer/
DBootloaderConnection.java13 private static final Object LOCK = new Object(); field in BootloaderConnection
17 synchronized (LOCK) { in getInstance()
/external/libvncserver/test/
Dencodingstest.c57 LOCK(statisticsMutex); in updateStatistics()
80 LOCK(frameBufferMutex); in doFramebuffersMatch()
210 LOCK(statisticsMutex); in idle()
222 LOCK(frameBufferMutex); in idle()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrCompiler.td540 []>, Requires<[In32BitMode]>, LOCK;
553 Requires<[In64BitMode]>, LOCK;
569 []>, LOCK;
575 []>, OpSize, LOCK;
581 []>, LOCK;
587 []>, LOCK;
594 []>, LOCK;
601 []>, LOCK;
608 []>, LOCK;
615 []>, LOCK;
[all …]
/external/icu/icu4c/source/i18n/
Dtridpars.cpp53 static UMutex LOCK = U_MUTEX_INITIALIZER; variable
662 Mutex lock(&LOCK); in registerSpecialInverse()
866 umtx_lock(&LOCK); in specsToSpecialInverse()
868 umtx_unlock(&LOCK); in specsToSpecialInverse()
/external/llvm/lib/Target/X86/
DX86InstrCompiler.td581 IIC_ALU_MEM>, Requires<[Not64BitMode]>, OpSize32, LOCK,
604 IIC_ALU_NONMEM>, LOCK;
612 IIC_ALU_NONMEM>, OpSize16, LOCK;
620 IIC_ALU_NONMEM>, OpSize32, LOCK;
628 IIC_ALU_NONMEM>, LOCK;
636 IIC_ALU_MEM>, LOCK;
644 IIC_ALU_MEM>, OpSize16, LOCK;
652 IIC_ALU_MEM>, OpSize32, LOCK;
660 IIC_ALU_MEM>, LOCK;
668 IIC_ALU_MEM>, OpSize16, LOCK;
[all …]

123