Lines Matching refs:current_pgpath
82 struct pgpath *current_pgpath; member
305 m->current_pgpath = path_to_pgpath(path); in __choose_path_in_pg()
308 __switch_pg(m, m->current_pgpath); in __choose_path_in_pg()
354 m->current_pgpath = NULL; in __choose_pgpath()
393 if (!m->current_pgpath || in __multipath_map()
397 pgpath = m->current_pgpath; in __multipath_map()
962 if (pgpath == m->current_pgpath) in fail_path()
963 m->current_pgpath = NULL; in fail_path()
1004 m->current_pgpath = NULL; in reinstate_path()
1055 m->current_pgpath = NULL; in bypass_pg()
1085 m->current_pgpath = NULL; in switch_pg_num()
1191 if (pgpath == m->current_pgpath) { in pg_init_done()
1193 m->current_pgpath = NULL; in pg_init_done()
1545 if (!m->current_pgpath) in multipath_prepare_ioctl()
1548 if (m->current_pgpath) { in multipath_prepare_ioctl()
1550 *bdev = m->current_pgpath->path.dev->bdev; in multipath_prepare_ioctl()
1551 *mode = m->current_pgpath->path.dev->mode; in multipath_prepare_ioctl()
1639 if (unlikely(!m->current_pgpath && m->next_pg)) in multipath_busy()