Home
last modified time | relevance | path

Searched refs:flock (Results 1 – 3 of 3) sorted by relevance

/frameworks/compile/libbcc/lib/Support/
DFileBase.cpp40 int flock(int fd, int operation) { in flock() function
166 if (::flock(mFD, lock_operation) == 0) { in lock()
215 if (::flock(mFD, LOCK_UN) == 0) { in unlock()
/frameworks/base/cmds/idmap/
Dcreate.cpp43 if (TEMP_FAILURE_RETRY(flock(fd, LOCK_EX | LOCK_NB)) != 0) { in open_idmap()
/frameworks/native/cmds/installd/
Dcommands.c1046 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) { in dexopt()
1529 if (flock(idmap_fd, LOCK_EX | LOCK_NB) != 0) { in idmap()