Lines Matching refs:current_pg
83 struct priority_group *current_pg; member
266 if (!m->current_pg) in __pg_init_all_paths()
272 list_for_each_entry(pgpath, &m->current_pg->pgpaths, list) { in __pg_init_all_paths()
285 m->current_pg = pgpath->pg; in __switch_pg()
310 if (m->current_pg != pg) in __choose_path_in_pg()
335 if (m->current_pg && !__choose_path_in_pg(m, m->current_pg, nr_bytes)) in __choose_pgpath()
358 m->current_pg = NULL; in __choose_pgpath()
1021 } else if (m->hw_handler_name && (m->current_pg == pgpath->pg)) { in reinstate_path()
1071 m->current_pg = NULL; in bypass_pg()
1101 m->current_pg = NULL; in switch_pg_num()
1209 m->current_pg = NULL; in pg_init_done()
1419 else if (m->current_pg) in multipath_status()
1420 pg_num = m->current_pg->pg_num; in multipath_status()
1431 else if (pg == m->current_pg) in multipath_status()
1595 if (!m->current_pg) { in multipath_ioctl()
1662 else if (likely(m->current_pg)) in multipath_busy()
1663 pg = m->current_pg; in multipath_busy()