Searched refs:current_res (Results 1 – 1 of 1) sorted by relevance
300 struct pci_resource *current_res; in sort_by_size() local317 current_res = *head; in sort_by_size()319 current_res->next = (*head)->next; in sort_by_size()320 (*head)->next = current_res; in sort_by_size()323 current_res = *head; in sort_by_size()325 while (current_res->next && current_res->next->next) { in sort_by_size()326 if (current_res->next->length > current_res->next->next->length) { in sort_by_size()328 next_res = current_res->next; in sort_by_size()329 current_res->next = current_res->next->next; in sort_by_size()330 current_res = current_res->next; in sort_by_size()[all …]