Lines Matching refs:next
480 for (adh = host_head; adh != NULL; adh = adh->next) {
557 p = p->next;
564 p = prev->next;
693 for (adh = host_head, tries = 0; adh != NULL; adh = adh->next) {
706 * Begin round-robin at the next DS in the list after the last
714 * Round-robin -- pick the next one on the list; if the list
722 if (adh == NULL || (adh = adh->next) == NULL)
781 for (p = host_head; p != NULL; p = p->next) {
818 new->next = host_head;
845 for (p = &host_head; *p != NULL; p = &((*p)->next)) {
865 *p = (*p)->next;
991 new_state->next = qstatehead;
1015 for (p = qstatehead; p != NULL; p = p->next) {
1090 adutils_entry_t *e, *next;
1099 for (e = (*result)->entries; e != NULL; e = next) {
1100 next = e->next;
1302 entry->next = res->entries;
1508 for (p = &qstatehead; *p != NULL; p = &(*p)->next) {
1510 *p = (*state)->next;