Lines Matching defs:current_pg
77 struct priority_group *current_pg;
321 if (!m->current_pg)
327 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) {
354 m->current_pg = pg;
382 if (unlikely(READ_ONCE(m->current_pg) != pg)) {
424 pg = READ_ONCE(m->current_pg);
456 m->current_pg = NULL;
1389 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) {
1444 m->current_pg = NULL;
1474 m->current_pg = NULL;
1585 m->current_pg = NULL;
1843 else if (m->current_pg)
1844 pg_num = m->current_pg->pg_num;
1855 else if (pg == m->current_pg)
2011 if (!READ_ONCE(m->current_pg)) {
2089 pg = READ_ONCE(m->current_pg);
2123 * the current_pg will be changed at next mapping time.