Lines Matching refs:current_pg
73 struct priority_group *current_pg; member
305 if (!m->current_pg) in __pg_init_all_paths()
311 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) { in __pg_init_all_paths()
336 m->current_pg = pg; in __switch_pg()
364 if (unlikely(READ_ONCE(m->current_pg) != pg)) { in choose_path_in_pg()
404 pg = READ_ONCE(m->current_pg); in choose_pgpath()
433 m->current_pg = NULL; in choose_pgpath()
1306 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) { in reinstate_path()
1358 m->current_pg = NULL; in bypass_pg()
1388 m->current_pg = NULL; in switch_pg_num()
1499 m->current_pg = NULL; in pg_init_done()
1748 else if (m->current_pg) in multipath_status()
1749 pg_num = m->current_pg->pg_num; in multipath_status()
1760 else if (pg == m->current_pg) in multipath_status()
1909 if (!READ_ONCE(m->current_pg)) { in multipath_prepare_ioctl()
1978 pg = READ_ONCE(m->current_pg); in multipath_busy()