Lines Matching refs:tail
134 struct sfq_slot *tail; /* current slot in round */ member
341 x = q->tail->next; in sfq_drop()
343 q->tail->next = slot->next; in sfq_drop()
469 if (q->tail == NULL) { /* It is the first flow */ in sfq_enqueue()
472 slot->next = q->tail->next; in sfq_enqueue()
473 q->tail->next = x; in sfq_enqueue()
479 q->tail = slot; in sfq_enqueue()
508 if (q->tail == NULL) in sfq_dequeue()
512 a = q->tail->next; in sfq_dequeue()
515 q->tail = slot; in sfq_dequeue()
530 q->tail = NULL; /* no more active slots */ in sfq_dequeue()
533 q->tail->next = next_a; in sfq_dequeue()
579 q->tail = NULL; in sfq_rehash()
609 if (q->tail == NULL) { /* It is the first flow */ in sfq_rehash()
612 slot->next = q->tail->next; in sfq_rehash()
613 q->tail->next = x; in sfq_rehash()
615 q->tail = slot; in sfq_rehash()
631 if (!q->filter_list && q->tail) in sfq_perturbation()
749 q->tail = NULL; in sfq_init()