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()
433 pg = READ_ONCE(m->current_pg); in choose_pgpath()
465 m->current_pg = NULL; in choose_pgpath()
1397 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) { in reinstate_path()
1452 m->current_pg = NULL; in bypass_pg()
1482 m->current_pg = NULL; in switch_pg_num()
1593 m->current_pg = NULL; in pg_init_done()
1852 else if (m->current_pg) in multipath_status()
1853 pg_num = m->current_pg->pg_num; in multipath_status()
1864 else if (pg == m->current_pg) in multipath_status()
1927 else if (pg == m->current_pg) in multipath_status()
2058 if (!READ_ONCE(m->current_pg)) { in multipath_prepare_ioctl()
2137 pg = READ_ONCE(m->current_pg); in multipath_busy()