Searched refs:pm_only (Results 1 – 3 of 3) sorted by relevance
311 atomic_inc(&q->pm_only); in blk_set_pm_only()317 int pm_only; in blk_clear_pm_only() local319 pm_only = atomic_dec_return(&q->pm_only); in blk_clear_pm_only()320 WARN_ON_ONCE(pm_only < 0); in blk_clear_pm_only()321 if (pm_only == 0) in blk_clear_pm_only()
99 seq_printf(m, "%d\n", atomic_read(&q->pm_only)); in queue_pm_only_show()
440 atomic_t pm_only; member677 #define blk_queue_pm_only(q) atomic_read(&(q)->pm_only)