Home
last modified time | relevance | path

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

1234

/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.c622 state = LOCK; in master()
628 state = LOCK; in master()
631 case LOCK: in master()
819 case LOCK: in slave()
/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/selinux/libselinux/src/
Dselinux_internal.h155 #define __pthread_mutex_init(LOCK, ATTR) \ argument
158 pthread_mutex_init(LOCK, ATTR); \
161 #define __pthread_mutex_destroy(LOCK) \ argument
164 pthread_mutex_destroy(LOCK); \
167 #define __pthread_mutex_lock(LOCK) \ argument
170 pthread_mutex_lock(LOCK); \
173 #define __pthread_mutex_unlock(LOCK) \ argument
176 pthread_mutex_unlock(LOCK); \
/external/okio/okio/src/jvmMain/kotlin/okio/
DSegmentPool.kt18 import okio.SegmentPool.LOCK
48 private val LOCK = Segment(ByteArray(0), pos = 0, limit = 0, shared = false, owner = false) constant
79 val first = firstRef.getAndSet(LOCK) in take()
81 first === LOCK -> { in take()
108 if (first === LOCK) return // A take() is currently in progress. in recycle()
/external/libevent/
Dlistener.c106 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0) macro
124 LOCK(listener);
272 LOCK(lev); in evconnlistener_free()
296 LOCK(lev); in evconnlistener_enable()
310 LOCK(lev); in evconnlistener_disable()
337 LOCK(lev); in evconnlistener_get_fd()
355 LOCK(lev); in evconnlistener_get_base()
374 LOCK(lev); in evconnlistener_set_cb()
388 LOCK(lev); in evconnlistener_set_error_cb()
401 LOCK(lev); in listener_read_cb()
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dpthread_mutex.cpp10 #define LOCK __pthread_mutex_lock macro
13 #define LOCK pthread_mutex_lock macro
21 LOCK(&m); in Start()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowHttpResponseCache.java20 private static final Object LOCK = new Object(); field in ShadowHttpResponseCache
38 synchronized (LOCK) { in install()
46 synchronized (LOCK) { in getInstalled()
63 synchronized (LOCK) { in close()
/external/libnl/include/netlink-private/
Dnetlink.h271 #define nl_lock(LOCK) do { } while(0) argument
272 #define nl_unlock(LOCK) do { } while(0) argument
273 #define nl_read_lock(LOCK) do { } while(0) argument
274 #define nl_read_unlock(LOCK) do { } while(0) argument
275 #define nl_write_lock(LOCK) do { } while(0) argument
276 #define nl_write_unlock(LOCK) do { } while(0) argument
/external/autotest/server/cros/
Dhost_lock_manager.py35 LOCK = 'lock' variable in HostLockManager
86 if operation == self.LOCK and host_info['lock_status']:
114 return self._host_modifier(new_hosts, self.LOCK, lock_reason=lock_reason)
162 if operation == self.LOCK:
Dhost_lock_manager_unittest.py47 if operation == self.LOCK:
72 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
90 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DSimpleLogger.java36 private static final Object LOCK = new Object(); field in SimpleLogger
43 synchronized (LOCK) { in getInstance()
DTraceLogger.java35 private static final Object LOCK = new Object(); field in TraceLogger
41 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.java71 private static final Object LOCK = new Object(); field in WaltDevice
75 synchronized (LOCK) { in getInstance()
/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/rust/crates/lazycell/src/
Dlib.rs244 const LOCK: usize = 1; constant
270 if NONE != self.state.compare_and_swap(NONE, LOCK, Ordering::Acquire) { in fill()
276 if LOCK != self.state.compare_and_swap(LOCK, SOME, Ordering::Release) { in fill()
/external/icu/icu4c/source/i18n/
Dtridpars.cpp53 static UMutex LOCK; variable
663 Mutex lock(&LOCK); in registerSpecialInverse()
867 umtx_lock(&LOCK); in specsToSpecialInverse()
869 umtx_unlock(&LOCK); in specsToSpecialInverse()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrCompiler.td647 Requires<[Not64BitMode]>, OpSize32, LOCK,
669 [(set EFLAGS, (Op addr:$dst, GR8:$src2))]>, LOCK;
677 OpSize16, LOCK;
685 OpSize32, LOCK;
692 [(set EFLAGS, (Op addr:$dst, GR64:$src2))]>, LOCK;
702 OpSize16, LOCK;
710 OpSize32, LOCK;
718 LOCK;
725 [(set EFLAGS, (Op addr:$dst, (i8 imm:$src2)))]>, LOCK;
733 OpSize16, LOCK;
[all …]
/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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrCompiler.td668 Requires<[Not64BitMode]>, OpSize32, LOCK,
690 [(set EFLAGS, (Op addr:$dst, GR8:$src2))]>, LOCK;
698 OpSize16, LOCK;
706 OpSize32, LOCK;
713 [(set EFLAGS, (Op addr:$dst, GR64:$src2))]>, LOCK;
723 OpSize16, LOCK;
731 OpSize32, LOCK;
739 LOCK;
746 [(set EFLAGS, (Op addr:$dst, (i8 imm:$src2)))]>, LOCK;
754 OpSize16, LOCK;
[all …]

1234