Searched refs:LOCK_NB (Results 1 – 13 of 13) sorted by relevance
45 #define LOCK_NB 4 /* Don't block when locking. */ macro
19 if (op & LOCK_NB) return -1;
180 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
179 #define LOCK_NB 4 /* or'd with one of the above to prevent macro
239 # define LOCK_NB 4 /* Or'd with one of the above to prevent macro
43 fcntl.flock(lock_f, fcntl.LOCK_EX | fcntl.LOCK_NB)
224 fcntl.flock(self.taplock_descriptor, fcntl.LOCK_EX|fcntl.LOCK_NB)271 fcntl.flock(self.portlocks[lockfile], fcntl.LOCK_EX|fcntl.LOCK_NB)
479 op = op | fcntl.LOCK_NB522 fcntl.flock(lf.fileno(), fcntl.LOCK_EX|fcntl.LOCK_NB)
2230 can_sleep = !(cmd & LOCK_NB); in SYSCALL_DEFINE2()2231 cmd &= ~LOCK_NB; in SYSCALL_DEFINE2()