}
struct multipath *
-find_mp (vector mp, char * alias)
+find_mp_by_alias (vector mp, char * alias)
{
int i;
int len;
int store_path (vector pathvec, struct path * pp);
int store_pathgroup (vector pgvec, struct pathgroup * pgp);
-struct multipath * find_mp (vector mp, char * alias);
+struct multipath * find_mp_by_alias (vector mp, char * alias);
struct multipath * find_mp_by_wwid (vector mp, char * wwid);
struct multipath * find_mp_by_minor (vector mp, int minor);
{
struct multipath * cmpp;
- cmpp = find_mp(curmp, mpp->alias);
+ cmpp = find_mp_by_alias(curmp, mpp->alias);
if (!cmpp) {
cmpp = find_mp_by_wwid(curmp, mpp->wwid);
if (!r) /* error */
return 1;
- struct multipath * mpp = find_mp(vecs->mpvec, param);
+ struct multipath * mpp = find_mp_by_alias(vecs->mpvec, param);
if (!mpp)
return 1;
if (!r) /* error */
return 1;
- struct multipath * mpp = find_mp(vecs->mpvec, param);
+ struct multipath * mpp = find_mp_by_alias(vecs->mpvec, param);
if (!mpp)
return 1;
int i, j;
int r = 1;
- mpp = find_mp(vecs->mpvec, mapname);
+ mpp = find_mp_by_alias(vecs->mpvec, mapname);
if (!mpp)
goto out;
return 0;
}
- mpp = find_mp(vecs->mpvec, alias);
+ mpp = find_mp_by_alias(vecs->mpvec, alias);
if (mpp) {
/*