Searched refs:acquire_lock (Results 1 – 1 of 1) sorted by relevance
43 static int acquire_lock(const char *name, int flags);130 lockfd = acquire_lock(lockname, flags | O_NONBLOCK); in main()133 lockfd = acquire_lock(lockname, flags); in main()136 lockfd = acquire_lock(lockname, flags | O_NONBLOCK); in main()173 acquire_lock(const char *name, int flags) in acquire_lock() function