Searched refs:btree_trans_lock (Results 1 – 3 of 3) sorted by relevance
589 seqmutex_lock(&c->btree_trans_lock); in bch2_btree_transactions_read()601 u32 seq = seqmutex_unlock(&c->btree_trans_lock); in bch2_btree_transactions_read()617 if (!seqmutex_relock(&c->btree_trans_lock, seq)) in bch2_btree_transactions_read()620 seqmutex_unlock(&c->btree_trans_lock); in bch2_btree_transactions_read()817 seqmutex_lock(&c->btree_trans_lock); in btree_deadlock_to_text()829 u32 seq = seqmutex_unlock(&c->btree_trans_lock); in btree_deadlock_to_text()838 if (!seqmutex_relock(&c->btree_trans_lock, seq)) in btree_deadlock_to_text()841 seqmutex_unlock(&c->btree_trans_lock); in btree_deadlock_to_text()
3167 seqmutex_lock(&c->btree_trans_lock); in __bch2_trans_get()3189 seqmutex_unlock(&c->btree_trans_lock); in __bch2_trans_get()3305 seqmutex_lock(&c->btree_trans_lock); in bch2_trans_put()3307 seqmutex_unlock(&c->btree_trans_lock); in bch2_trans_put()3315 seqmutex_lock(&c->btree_trans_lock); in bch2_current_has_btree_trans()3324 seqmutex_unlock(&c->btree_trans_lock); in bch2_current_has_btree_trans()3425 seqmutex_lock(&c->btree_trans_lock); in bch2_fs_btree_iter_exit()3427 seqmutex_unlock(&c->btree_trans_lock); in bch2_fs_btree_iter_exit()3465 seqmutex_init(&c->btree_trans_lock); in bch2_fs_btree_iter_init_early()
849 struct seqmutex btree_trans_lock; member