Searched refs:LOCK_NB (Results 1 – 5 of 5) sorted by relevance
180 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
200 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {
2109 can_sleep = !(cmd & LOCK_NB); in SYSCALL_DEFINE2()2110 cmd &= ~LOCK_NB; in SYSCALL_DEFINE2()
1129 return flock(fd, LOCK_EX | LOCK_NB); in lockf()