Searched refs:set_lock (Results 1 – 1 of 1) sorted by relevance
109 static int set_lock (struct lock *lock, int will_wait);535 if (set_lock (&global_readlock, 1) != L_OK) in Reader_Lock()748 status = set_lock (lock, 0); in set_promotable_lock()1011 set_lock (struct lock *lock, int will_wait) in set_lock() function1249 if (set_lock (&global_writelock, 1) != L_OK) in lock_dir_for_write()1328 if (set_lock (lock, 1) != L_OK) in internal_lock()