Lines Matching refs:nr_valid_paths
80 atomic_t nr_valid_paths; /* Total number of usable paths */ member
212 atomic_set(&m->nr_valid_paths, 0); in alloc_multipath()
402 if (!atomic_read(&m->nr_valid_paths)) { in choose_pgpath()
804 atomic_read(&m->nr_valid_paths) == 0 && in enable_nopath_timeout()
1227 unsigned nr_valid_paths = atomic_read(&m->nr_valid_paths); in multipath_ctr() local
1235 nr_valid_paths += pg->nr_pgpaths; in multipath_ctr()
1236 atomic_set(&m->nr_valid_paths, nr_valid_paths); in multipath_ctr()
1342 atomic_dec(&m->nr_valid_paths); in fail_path()
1348 pgpath->path.dev->name, atomic_read(&m->nr_valid_paths)); in fail_path()
1368 unsigned nr_valid_paths; in reinstate_path() local
1385 nr_valid_paths = atomic_inc_return(&m->nr_valid_paths); in reinstate_path()
1386 if (nr_valid_paths == 1) { in reinstate_path()
1395 pgpath->path.dev->name, nr_valid_paths); in reinstate_path()
1663 if (!atomic_read(&m->nr_valid_paths) && in multipath_end_io()
1698 if (!atomic_read(&m->nr_valid_paths)) { in multipath_end_io_bio()
2117 if (!atomic_read(&m->nr_valid_paths)) { in multipath_busy()