Lines Matching defs:queues
170 struct hmap queues;
173 #define TC_INITIALIZER(TC, OPS) { OPS, HMAP_INITIALIZER(&(TC)->queues) }
182 struct hmap_node hmap_node; /* In struct tc's "queues" hmap. */
210 * Number of supported OpenFlow queues, 0 for qdiscs that have no
211 * queues. The queues are numbered 0 through n_queues - 1.
248 * part of 'tc'. (This includes destroying 'tc->queues' by calling
280 * 'netdev->tc->queues'.
286 * This function may be null if 'tc' does not have queues
301 * This function may be null if 'tc' does not have queues or its
302 * queues are not configurable.
309 * tc_queue's within 'netdev->tc->queues'.
311 * This function may be null if 'tc' does not have queues or its queues
318 * 'struct tc_queue's within 'netdev->tc->queues'.
322 * This function may be null if 'tc' does not have queues or if it
332 * This function may be null if 'tc' does not have queues or if it
344 hmap_init(&tc->queues);
350 hmap_destroy(&tc->queues);
383 HMAP_FOR_EACH_IN_BUCKET(queue, hmap_node, hash, &netdev->tc->queues) {
1819 unsigned int *queues;
1843 state->n_queues = hmap_count(&netdev->tc->queues);
1845 state->queues =
1846 xmalloc(state->n_queues * sizeof (*state->queues));
1849 HMAP_FOR_EACH(queue, hmap_node, &netdev->tc->queues) {
1850 state->queues[i++] = queue->queue_id;
1882 unsigned int queue_id = state->queues[state->cur_queue++];
1909 if (state->queues)
1910 free(state->queues);
2652 HMAP_FOR_EACH_SAFE(hc, next, tc_queue.hmap_node, &htb->tc.queues) {
2653 hmap_remove(&htb->tc.queues, &hc->tc_queue.hmap_node);
2748 hmap_insert(&htb->tc.queues, &queue->hmap_node, hash);
2787 hmap_remove(&htb->tc.queues, &hc->tc_queue.hmap_node);