Lines Matching refs:next
479 for (adh = host_head; adh != NULL; adh = adh->next) {
556 p = p->next;
563 p = prev->next;
686 for (adh = host_head, tries = 0; adh != NULL; adh = adh->next) {
699 * Begin round-robin at the next DS in the list after the last
707 * Round-robin -- pick the next one on the list; if the list
715 if (adh == NULL || (adh = adh->next) == NULL)
774 for (p = host_head; p != NULL; p = p->next) {
811 new->next = host_head;
838 for (p = &host_head; *p != NULL; p = &((*p)->next)) {
858 *p = (*p)->next;
984 new_state->next = qstatehead;
1008 for (p = qstatehead; p != NULL; p = p->next) {
1083 adutils_entry_t *e, *next;
1092 for (e = (*result)->entries; e != NULL; e = next) {
1093 next = e->next;
1295 entry->next = res->entries;
1501 for (p = &qstatehead; *p != NULL; p = &(*p)->next) {
1503 *p = (*state)->next;