Searched refs:bch2_two_state_trylock (Results 1 – 3 of 3) sorted by relevance
36 static inline bool bch2_two_state_trylock(two_state_lock_t *lock, int s) in bch2_two_state_trylock() function54 if (!bch2_two_state_trylock(lock, s)) in bch2_two_state_lock()
7 __wait_event(lock->wait, bch2_two_state_trylock(lock, s)); in __bch2_two_state_lock()
46 #define bch2_pagecache_add_tryget(i) bch2_two_state_trylock(&i->ei_pagecache_lock, 0)