Searched refs:flock (Results 1 – 3 of 3) sorted by relevance
40 int flock(int fd, int operation) { in flock() function166 if (::flock(mFD, lock_operation) == 0) { in lock()215 if (::flock(mFD, LOCK_UN) == 0) { in unlock()
44 if (TEMP_FAILURE_RETRY(flock(fd, LOCK_EX)) != 0) { in open_idmap()
184 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()