Searched refs:SCM_WR_PROHIBIT (Results 1 – 2 of 2) sorted by relevance
148 return rq_data_dir(req) != WRITE || bdev->state != SCM_WR_PROHIBIT; in scm_permit_request()384 if (bdev->state != SCM_WR_PROHIBIT) in scm_blk_handle_error()387 bdev->state = SCM_WR_PROHIBIT; in scm_blk_handle_error()525 if (bdev->state == SCM_WR_PROHIBIT) in scm_blk_set_available()
25 enum {SCM_OPER, SCM_WR_PROHIBIT} state; enumerator
Completed in 5 milliseconds