Searched refs:curlun (Results 1 – 1 of 1) sorted by relevance
505 struct luninfo_list *newlun, *curlun, *prevlun; in update_lunlist() local507 newlun = curlun = prevlun = (struct luninfo_list *)NULL; in update_lunlist()555 curlun = (*lunlistpp)->next; in update_lunlist()558 while (curlun != NULL) { in update_lunlist()559 if (curlun->lunnum == lun) { in update_lunlist()562 } else if (curlun->lunnum < lun) { in update_lunlist()563 newlun->next = curlun; in update_lunlist()567 prevlun = curlun; in update_lunlist()568 curlun = curlun->next; in update_lunlist()