Lines Matching defs:current_pg
80 struct priority_group *current_pg;
330 if (!m->current_pg)
336 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) {
363 m->current_pg = pg;
391 if (unlikely(READ_ONCE(m->current_pg) != pg)) {
433 pg = READ_ONCE(m->current_pg);
465 m->current_pg = NULL;
1397 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) {
1452 m->current_pg = NULL;
1482 m->current_pg = NULL;
1593 m->current_pg = NULL;
1852 else if (m->current_pg)
1853 pg_num = m->current_pg->pg_num;
1864 else if (pg == m->current_pg)
1927 else if (pg == m->current_pg)
2058 if (!READ_ONCE(m->current_pg)) {
2137 pg = READ_ONCE(m->current_pg);
2171 * the current_pg will be changed at next mapping time.