Lines Matching refs:slots
129 struct sfq_slot *slots; /* Flows table ('maxflows' entries) */ member
154 return &q->slots[val].dep; in sfq_dep_head()
205 struct sfq_slot *slot = &q->slots[x]; in sfq_link()
220 n = q->slots[x].dep.next; \
221 p = q->slots[x].dep.prev; \
234 d = q->slots[x].qlen--; in sfq_dec()
247 d = ++q->slots[x].qlen; in sfq_inc()
303 slot = &q->slots[x]; in sfq_drop()
319 slot = &q->slots[x]; in sfq_drop()
366 slot = &q->slots[x]; in sfq_enqueue()
372 slot = &q->slots[x]; in sfq_enqueue()
490 slot = &q->slots[a]; in sfq_dequeue()
545 slot = &q->slots[i]; in sfq_rehash()
563 slot = &q->slots[x]; in sfq_rehash()
575 slot = &q->slots[x]; in sfq_rehash()
707 sfq_free(q->slots); in sfq_destroy()
743 q->slots = sfq_alloc(sizeof(q->slots[0]) * q->maxflows); in sfq_init()
744 if (!q->ht || !q->slots) { in sfq_init()
752 slot_queue_init(&q->slots[i]); in sfq_init()
847 const struct sfq_slot *slot = &q->slots[idx]; in sfq_dump_class_stats()