Home
last modified time | relevance | path

Searched refs:LOCK_EX (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium-trace/catapult/catapult_base/catapult_base/
Dlock.py8 LOCK_EX = None # Exclusive lock variable
21 LOCK_EX = win32con.LOCKFILE_EXCLUSIVE_LOCK variable
27 LOCK_EX = fcntl.LOCK_EX variable
55 LOCK_EX, LOCK_SH, LOCK_NB, LOCK_EX | LOCK_NB, LOCK_SH | LOCK_NB)
Dlock_unittest.py17 lock.AcquireFileLock(f, lock.LOCK_EX)
32 lock.AcquireFileLock(f2, lock.LOCK_EX)
39 lock.AcquireFileLock(f, lock.LOCK_EX | lock.LOCK_NB)
110 lock.AcquireFileLock(f, lock.LOCK_EX)
145 with lock.FileLock(f, lock.LOCK_EX):
Dcloud_storage.py226 fcntl.flock(fd, fcntl.LOCK_EX)
/external/strace/xlat/
Dflockcmds.h5 #if !(defined(LOCK_EX) || (defined(HAVE_DECL_LOCK_EX) && HAVE_DECL_LOCK_EX))
6 # define LOCK_EX 2 macro
36 XLAT(LOCK_EX),
Dflockcmds.in2 LOCK_EX 2
/external/dhcpcd-6.8.2/
Dauth.c392 #ifdef LOCK_EX in get_next_rdm_monotonic_counter()
403 #ifdef LOCK_EX in get_next_rdm_monotonic_counter()
404 flocked = flock(fileno(fp), LOCK_EX); in get_next_rdm_monotonic_counter()
408 #ifdef LOCK_EX in get_next_rdm_monotonic_counter()
409 flocked = flock(fileno(fp), LOCK_EX); in get_next_rdm_monotonic_counter()
428 #ifdef LOCK_EX in get_next_rdm_monotonic_counter()
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py76 with lock.FileLock(_log_file, lock.LOCK_EX):
114 with lock.FileLock(_log_file, lock.LOCK_EX):
/external/toybox/toys/other/
Dflock.c31 else op = (toys.optflags & FLAG_s) ? LOCK_SH : LOCK_EX; in flock_main()
/external/autotest/client/bin/
Dautotestd40 fcntl.flock(exit_file, fcntl.LOCK_EX)
Dautotestd_monitor46 fcntl.flock(exit_code_file, fcntl.LOCK_EX)
Dpartition.py699 fcntl.flock(mtab.fileno(), fcntl.LOCK_EX)
776 fcntl.flock(mtab.fileno(), fcntl.LOCK_EX)
Dcpuset.py183 fcntl.flock(lockfile, fcntl.LOCK_EX)
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h178 #define LOCK_EX 2 /* exclusive lock */ macro
/external/chromium-trace/catapult/devil/devil/android/
Dports.py56 fcntl.flock(fp_lock, fcntl.LOCK_EX)
Dforwarder.py38 fcntl.flock(self._fd, fcntl.LOCK_EX)
/external/selinux/policycoreutils/restorecond/
Duser.c215 if (flock(local_lock_fd, LOCK_EX | LOCK_NB) < 0) { in local_server()
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dmonsoon.py66 fcntl.lockf(self._tempfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dlocked_file.py209 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_EX)
/external/autotest/client/virt/
Daexpect.py17 fcntl.lockf(fd, fcntl.LOCK_EX)
32 fcntl.lockf(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
Dvirt_utils.py36 fcntl.lockf(f, fcntl.LOCK_EX)
325 mac_pool, lock_file = _open_mac_pool(fcntl.LOCK_EX)
349 mac_pool, lock_file = _open_mac_pool(fcntl.LOCK_EX)
363 mac_pool, lock_file = _open_mac_pool(fcntl.LOCK_EX)
/external/compiler-rt/lib/profile/
DGCDAProfiling.c280 flock(fd, LOCK_EX); in llvm_gcda_start_file()
/external/autotest/client/cros/
Dcrash_test.py613 fcntl.flock(f.fileno(), fcntl.LOCK_EX)
/external/iproute2/misc/
Drtacct.c552 if (flock(fd, LOCK_EX)) { in main()
/external/autotest/tko/
Dparse.py479 flags = fcntl.LOCK_EX
/external/mksh/src/
Dhistrap.c1539 (void)flock(fd, LOCK_EX); in mksh_lockfd()
1545 rv = flock(fd, LOCK_EX); in mksh_lockfd()

12