Searched refs:LOCK_EX (Results 1 – 5 of 5) sorted by relevance
34 flock(nx_gzip_log->_fileno, LOCK_EX); \
178 #define LOCK_EX 2 /* exclusive lock */ macro
1358 TESTSYSCALL(flock(fd, LOCK_EX | LOCK_NB)); in flock_test()1359 TESTCONDERR((flock(fd2, LOCK_EX | LOCK_NB)) == -1); in flock_test()1362 TESTSYSCALL(flock(fd2, LOCK_EX | LOCK_NB)); in flock_test()1366 TESTCONDERR((flock(backing_fd, LOCK_EX | LOCK_NB)) == -1); in flock_test()1370 TESTSYSCALL(flock(backing_fd, LOCK_EX | LOCK_NB)); in flock_test()
349 err = flock(map_fd, LOCK_EX); in bperf_lock_attr_map()
1131 return flock(fd, LOCK_EX | LOCK_NB); in lockf()