Lines Matching refs:next
276 timeout->next = NULL;
293 timeout->next = next_timeout;
296 for(t = next_timeout; t != NULL; t = t->next) {
298 if (t->next == NULL || t->next->time > timeout->time) {
299 if (t->next != NULL) {
300 t->next->time -= timeout->time;
302 timeout->next = t->next;
303 t->next = timeout;
329 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) {
334 next_timeout = t->next;
336 prev_t->next = t->next;
338 /* If not the last one, add time of this one back to next */
339 if (t->next != NULL) {
340 t->next->time += t->time;
383 next_timeout = tmptimeout->next;
445 next_timeout = tmptimeout->next;