Searched refs:LOCK_EX (Results 1 – 17 of 17) sorted by relevance
/external/chromium/chrome/browser/ |
D | process_singleton_mac.cc | 86 int rc = HANDLE_EINTR(flock(lock_fd_, LOCK_EX|LOCK_NB)); in Create()
|
D | process_singleton_mac_unittest.cc | 50 int rc = HANDLE_EINTR(flock(fd, LOCK_EX|LOCK_NB)); in IsLocked()
|
/external/kernel-headers/original/asm-generic/ |
D | fcntl.h | 150 #define LOCK_EX 2 /* exclusive lock */ macro
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
D | file_lock.py | 48 fcntl.flock(self._lock_file_descriptor, fcntl.LOCK_EX | fcntl.LOCK_NB)
|
/external/webkit/Tools/Scripts/webkitperl/ |
D | httpd.pm | 315 …SEQUENTIAL_GUARD_LOCK, ">$exclusiveLockFile") && flock(SEQUENTIAL_GUARD_LOCK, LOCK_EX|LOCK_NB))) {}
|
/external/chromium/chrome/browser/chromeos/ |
D | external_metrics.cc | 133 result = flock(fd, LOCK_EX); in CollectEvents()
|
/external/chromium/net/tools/flip_server/ |
D | flip_in_mem_edsm_server.cc | 127 ret = flock(fd, LOCK_EX | LOCK_NB); in OpenPidFile()
|
/external/iproute2/misc/ |
D | rtacct.c | 553 if (flock(fd, LOCK_EX)) { in main()
|
D | nstat.c | 549 if (flock(fileno(hist_fp), LOCK_EX)) { in main()
|
D | ifstat.c | 699 if (flock(fileno(hist_fp), LOCK_EX)) { in main()
|
/external/mksh/src/ |
D | histrap.c | 727 (void)flock(histfd, LOCK_EX); in hist_init() 984 (void)flock(histfd, LOCK_EX); in writehistfile()
|
/external/strace/ |
D | desc.c | 177 { LOCK_EX, "LOCK_EX" },
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | stream.cc | 505 return flock(fileno(file_), LOCK_EX|LOCK_NB) == 0; in TryLock()
|
/external/ppp/pppd/ |
D | sys-linux.c | 2203 flock(wtmp, LOCK_EX); in logwtmp()
|
/external/dhcpcd/ |
D | dhcpcd.c | 2047 if (flock(pidfd, LOCK_EX | LOCK_NB) == -1) { in main()
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 27153 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); 27233 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
|
/external/sqlite/dist/ |
D | sqlite3.c | 27164 int lrc = robust_flock(pFile->h, LOCK_EX | LOCK_NB); 27244 if (robust_flock(pFile->h, LOCK_EX | LOCK_NB)) {
|