Lines Matching refs:current_pg
73 struct priority_group *current_pg; member
298 if (!m->current_pg) in __pg_init_all_paths()
304 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) { in __pg_init_all_paths()
329 m->current_pg = pg; in __switch_pg()
357 if (unlikely(READ_ONCE(m->current_pg) != pg)) { in choose_path_in_pg()
397 pg = READ_ONCE(m->current_pg); in choose_pgpath()
426 m->current_pg = NULL; in choose_pgpath()
1312 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) { in reinstate_path()
1364 m->current_pg = NULL; in bypass_pg()
1394 m->current_pg = NULL; in switch_pg_num()
1505 m->current_pg = NULL; in pg_init_done()
1751 else if (m->current_pg) in multipath_status()
1752 pg_num = m->current_pg->pg_num; in multipath_status()
1763 else if (pg == m->current_pg) in multipath_status()
1912 if (!READ_ONCE(m->current_pg)) { in multipath_prepare_ioctl()
1981 pg = READ_ONCE(m->current_pg); in multipath_busy()