Lines Matching refs:current_pg
80 struct priority_group *current_pg; member
330 if (!m->current_pg) in __pg_init_all_paths()
336 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) { in __pg_init_all_paths()
363 m->current_pg = pg; in __switch_pg()
391 if (unlikely(READ_ONCE(m->current_pg) != pg)) { in choose_path_in_pg()
417 pg = READ_ONCE(m->current_pg); in choose_pgpath()
464 m->current_pg = NULL; in choose_pgpath()
1396 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) { in reinstate_path()
1453 m->current_pg = NULL; in bypass_pg()
1486 m->current_pg = NULL; in switch_pg_num()
1598 m->current_pg = NULL; in pg_init_done()
1854 if (m->current_pg) in multipath_status()
1855 pg_num = m->current_pg->pg_num; in multipath_status()
1868 else if (pg == m->current_pg) in multipath_status()
1931 else if (pg == m->current_pg) in multipath_status()
2098 if (m->current_pg == m->last_probed_pg) in probe_active_paths()
2101 if (!m->current_pg || m->is_suspending || in probe_active_paths()
2105 pg = m->last_probed_pg = m->current_pg; in probe_active_paths()
2109 if (pg != READ_ONCE(m->current_pg) || in probe_active_paths()
2125 m->current_pg = NULL; in probe_active_paths()
2177 if (!READ_ONCE(m->current_pg)) { in multipath_prepare_ioctl()
2256 pg = READ_ONCE(m->current_pg); in multipath_busy()