Home
last modified time | relevance | path

Searched refs:LOCK (Results 1 – 25 of 81) 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/u-boot/arch/arm/cpu/armv8/zynqmp/
Dmp.c12 #define LOCK 0 macro
65 if (mode == LOCK) { in set_r5_halt_mode()
80 if (mode == LOCK) { in set_r5_tcm_mode()
101 if (mode == LOCK) in set_r5_reset()
115 if (mode == LOCK) in release_r5_reset()
141 set_r5_reset(LOCK); in cpu_disable()
211 set_r5_tcm_mode(LOCK); in initialize_tcm()
212 set_r5_halt_mode(HALT, LOCK); in initialize_tcm()
214 release_r5_reset(LOCK); in initialize_tcm()
268 set_r5_reset(LOCK); in cpu_release()
[all …]
/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/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.c105 #define LOCK(listener) EVLOCK_LOCK((listener)->lock, 0) macro
123 LOCK(listener);
266 LOCK(lev); in evconnlistener_free()
290 LOCK(lev); in evconnlistener_enable()
304 LOCK(lev); in evconnlistener_disable()
331 LOCK(lev); in evconnlistener_get_fd()
349 LOCK(lev); in evconnlistener_get_base()
368 LOCK(lev); in evconnlistener_set_cb()
382 LOCK(lev); in evconnlistener_set_error_cb()
395 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/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/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/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/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/InstPrinter/
DX86InstPrinterCommon.cpp132 if ((TSFlags & X86II::LOCK) || (Flags & X86::IP_HAS_LOCK)) in printInstFlags()
/external/capstone/
DChangeLog27 - LOCK NOP is a valid instruction
191 - CMPXCHG16B is a valid instruction with LOCK prefix.
257 - Properly handle LOCK, REP, REPE & REPNE prefixes.
340 - Add prefix symbols X86_PREFIX_REP/REPNE/LOCK/CS/DS/SS/FS/GS/ES/OPSIZE/ADDRSIZE.
451 as LOCK, REP, REPNE.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrCompiler.td598 Requires<[Not64BitMode]>, OpSize32, LOCK,
620 [(set EFLAGS, (Op addr:$dst, GR8:$src2))]>, LOCK;
628 OpSize16, LOCK;
636 OpSize32, LOCK;
643 [(set EFLAGS, (Op addr:$dst, GR64:$src2))]>, LOCK;
650 [(set EFLAGS, (Op addr:$dst, (i8 imm:$src2)))]>, LOCK;
658 OpSize16, LOCK;
666 OpSize32, LOCK;
674 LOCK;
682 OpSize16, LOCK;
[all …]

1234