Lines Matching refs:tail
133 struct sfq_slot *tail; /* current slot in round */ member
318 x = q->tail->next; in sfq_drop()
320 q->tail->next = slot->next; in sfq_drop()
446 if (q->tail == NULL) { /* It is the first flow */ in sfq_enqueue()
449 slot->next = q->tail->next; in sfq_enqueue()
450 q->tail->next = x; in sfq_enqueue()
456 q->tail = slot; in sfq_enqueue()
485 if (q->tail == NULL) in sfq_dequeue()
489 a = q->tail->next; in sfq_dequeue()
492 q->tail = slot; in sfq_dequeue()
507 q->tail = NULL; /* no more active slots */ in sfq_dequeue()
510 q->tail->next = next_a; in sfq_dequeue()
557 q->tail = NULL; in sfq_rehash()
588 if (q->tail == NULL) { /* It is the first flow */ in sfq_rehash()
591 slot->next = q->tail->next; in sfq_rehash()
592 q->tail->next = x; in sfq_rehash()
594 q->tail = slot; in sfq_rehash()
610 if (!q->filter_list && q->tail) in sfq_perturbation()
728 q->tail = NULL; in sfq_init()