Searched refs:ipp1 (Results 1 – 1 of 1) sorted by relevance
72 ipath_cmp(struct ipath *ipp1, struct ipath *ipp2) in ipath_cmp() argument76 ASSERT(ipp1 != NULL); in ipath_cmp()79 for (i = 0; ipp1[i].s != NULL && ipp2[i].s != NULL; i++) in ipath_cmp()80 if (ipp1[i].s != ipp2[i].s) in ipath_cmp()81 return (ipp2[i].s - ipp1[i].s); in ipath_cmp()82 else if (ipp1[i].i != ipp2[i].i) in ipath_cmp()83 return (ipp2[i].i - ipp1[i].i); in ipath_cmp()85 if (ipp1[i].s == NULL && ipp2[i].s == NULL) in ipath_cmp()87 else if (ipp1[i].s == NULL) in ipath_cmp()