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
198 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {
2103 type = flock_translate_cmd(cmd & ~LOCK_NB); in SYSCALL_DEFINE2()2121 can_sleep = !(cmd & LOCK_NB); in SYSCALL_DEFINE2()
1129 return flock(fd, LOCK_EX | LOCK_NB); in lockf()