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.cpp44 if (TEMP_FAILURE_RETRY(flock(fd, LOCK_EX)) != 0) { in open_idmap()
/frameworks/native/cmds/installd/
Dcommands.cpp184 if (flock(ufd.get(), LOCK_EX | LOCK_NB) != 0) { in clear_profile()
210 if (flock(ufd.get(), LOCK_UN) != 0) { in clear_profile()
1527 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) { in dexopt()
1789 if (flock(idmap_fd, LOCK_EX | LOCK_NB) != 0) { in idmap()