Searched refs:bch2_dev_state_allowed (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | super.h | 16 bool bch2_dev_state_allowed(struct bch_fs *, struct bch_dev *,
|
D | super.c | 1466 bool bch2_dev_state_allowed(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_state_allowed() function 1574 if (!bch2_dev_state_allowed(c, ca, new_state, flags)) in __bch2_dev_set_state() 1624 if (!bch2_dev_state_allowed(c, ca, BCH_MEMBER_STATE_failed, flags)) { in bch2_dev_remove() 1910 if (!bch2_dev_state_allowed(c, ca, BCH_MEMBER_STATE_failed, flags)) { in bch2_dev_offline()
|
D | error.c | 58 dev = bch2_dev_state_allowed(c, ca, BCH_MEMBER_STATE_ro, in bch2_io_error_work()
|