Home
last modified time | relevance | path

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

12345

/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 …]
/external/selinux/libselinux/src/
Dselinux_internal.h55 #define __pthread_mutex_init(LOCK, ATTR) \ argument
58 pthread_mutex_init(LOCK, ATTR); \
61 #define __pthread_mutex_destroy(LOCK) \ argument
64 pthread_mutex_destroy(LOCK); \
67 #define __pthread_mutex_lock(LOCK) \ argument
70 pthread_mutex_lock(LOCK); \
73 #define __pthread_mutex_unlock(LOCK) \ argument
76 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/musl/src/exit/
Dat_quick_exit.c16 LOCK(lock); in __funcs_on_quick_exit()
21 LOCK(lock); in __funcs_on_quick_exit()
28 LOCK(lock); in at_quick_exit()
Datexit.c29 LOCK(lock); in __funcs_on_exit()
35 LOCK(lock); in __funcs_on_exit()
45 LOCK(lock); in __cxa_atexit()
/external/musl/src/prng/
Drandom.c68 LOCK(lock); in srandom()
78 LOCK(lock); in initstate()
100 LOCK(lock); in setstate()
110 LOCK(lock); in random()
/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/robolectric/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.h266 #define nl_lock(LOCK) do { } while(0) argument
267 #define nl_unlock(LOCK) do { } while(0) argument
268 #define nl_read_lock(LOCK) do { } while(0) argument
269 #define nl_read_unlock(LOCK) do { } while(0) argument
270 #define nl_write_lock(LOCK) do { } while(0) argument
271 #define nl_write_unlock(LOCK) do { } while(0) argument
/external/musl/src/misc/
Dsyslog.c25 LOCK(lock); in setlogmask()
44 LOCK(lock); in closelog()
61 LOCK(lock); in openlog()
132 LOCK(lock); in __vsyslog()
/external/autotest/server/cros/
Dhost_lock_manager.py36 LOCK = 'lock' variable in HostLockManager
87 if operation == self.LOCK and host_info['lock_status']:
115 return self._host_modifier(new_hosts, self.LOCK, lock_reason=lock_reason)
163 if operation == self.LOCK:
Dhost_lock_manager_unittest.py49 if operation == self.LOCK:
74 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
92 actual = self.manager._check_host(self.HOST1, self.manager.LOCK)
/external/musl/src/thread/
Dsem_open.c48 LOCK(lock); in sem_open()
145 LOCK(lock); in sem_open()
162 LOCK(lock); in sem_open()
171 LOCK(lock); in sem_close()
Dpthread_atfork.c19 LOCK(lock); in __fork_handler()
39 LOCK(lock); in pthread_atfork()
/external/musl/src/malloc/mallocng/
Dglue.h68 if (MT) LOCK(__malloc_lock); in rdlock()
72 if (MT) LOCK(__malloc_lock); in wrlock()
/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()
/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/musl/src/ldso/
Ddlerror.c34 LOCK(freebuf_queue_lock); in __dl_thread_cleanup()
44 LOCK(freebuf_queue_lock); in __dl_vseterr()
/external/musl/src/stdio/
Dofl.c11 LOCK(ofl_lock); in __ofl_lock()
/external/musl/src/internal/
Dlock.h6 #define LOCK(x) __lock(x) macro
/external/musl/src/dirent/
Drewinddir.c8 LOCK(dir->lock); in rewinddir()
Dseekdir.c8 LOCK(dir->lock); in seekdir()

12345