Searched refs:LOCK_NB (Results 1 – 4 of 4) sorted by relevance
178 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
212 if (flock(pid_file_handle, LOCK_EX|LOCK_NB) < 0) {
2216 type = flock_translate_cmd(cmd & ~LOCK_NB); in SYSCALL_DEFINE2()2233 can_sleep = !(cmd & LOCK_NB); in SYSCALL_DEFINE2()
1128 return flock(fd, LOCK_EX | LOCK_NB); in lockf()