Searched refs:bch2_dev_state_allowed (Results 1 – 2 of 2) sorted by relevance
| /fs/bcachefs/ |
| A D | super.h | 19 bool bch2_dev_state_allowed(struct bch_fs *, struct bch_dev *,
|
| A D | super.c | 1654 bool bch2_dev_state_allowed(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_state_allowed() function 1734 if (!bch2_dev_state_allowed(c, ca, new_state, flags)) in __bch2_dev_set_state() 1786 if (!bch2_dev_state_allowed(c, ca, BCH_MEMBER_STATE_failed, flags)) { in bch2_dev_remove() 2124 if (!bch2_dev_state_allowed(c, ca, BCH_MEMBER_STATE_failed, flags)) { in bch2_dev_offline() 2309 bool dev = bch2_dev_state_allowed(c, ca, in bch2_fs_bdev_mark_dead()
|
Completed in 7 milliseconds