Lines Matching refs:slots
130 struct sfq_slot *slots; /* Flows table ('maxflows' entries) */ member
155 return &q->slots[val].dep; in sfq_dep_head()
228 struct sfq_slot *slot = &q->slots[x]; in sfq_link()
243 n = q->slots[x].dep.next; \
244 p = q->slots[x].dep.prev; \
257 d = q->slots[x].qlen--; in sfq_dec()
270 d = ++q->slots[x].qlen; in sfq_inc()
326 slot = &q->slots[x]; in sfq_drop()
342 slot = &q->slots[x]; in sfq_drop()
389 slot = &q->slots[x]; in sfq_enqueue()
395 slot = &q->slots[x]; in sfq_enqueue()
513 slot = &q->slots[a]; in sfq_dequeue()
567 slot = &q->slots[i]; in sfq_rehash()
585 slot = &q->slots[x]; in sfq_rehash()
596 slot = &q->slots[x]; in sfq_rehash()
728 sfq_free(q->slots); in sfq_destroy()
764 q->slots = sfq_alloc(sizeof(q->slots[0]) * q->maxflows); in sfq_init()
765 if (!q->ht || !q->slots) { in sfq_init()
773 slot_queue_init(&q->slots[i]); in sfq_init()
868 const struct sfq_slot *slot = &q->slots[idx]; in sfq_dump_class_stats()