Lines Matching refs:current_pg
83 struct priority_group *current_pg; member
263 if (!m->current_pg) in __pg_init_all_paths()
269 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) { in __pg_init_all_paths()
282 m->current_pg = pgpath->pg; in __switch_pg()
307 if (m->current_pg != pg) in __choose_path_in_pg()
332 if (m->current_pg && !__choose_path_in_pg(m, m->current_pg, nr_bytes)) in __choose_pgpath()
355 m->current_pg = NULL; in __choose_pgpath()
1006 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) { in reinstate_path()
1056 m->current_pg = NULL; in bypass_pg()
1086 m->current_pg = NULL; in switch_pg_num()
1194 m->current_pg = NULL; in pg_init_done()
1404 else if (m->current_pg) in multipath_status()
1405 pg_num = m->current_pg->pg_num; in multipath_status()
1416 else if (pg == m->current_pg) in multipath_status()
1569 if (!m->current_pg) { in multipath_prepare_ioctl()
1641 else if (likely(m->current_pg)) in multipath_busy()
1642 pg = m->current_pg; in multipath_busy()